Search found 114 matches

by kralyk
Sat Jul 18, 2009 3:04 am
Forum: PSP Development
Topic: Call Syscalls from plain binary ASM?
Replies: 22
Views: 7626

how about using mips sceKernelQuerySystemCall(desired_function)?

Whats the difference between jumping to a syscall directly and using sceKernelQuerySystemCall?
by kralyk
Mon Jul 06, 2009 10:44 pm
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 32727

Hi,
hows this project going? Any news? =)
by kralyk
Mon Jul 06, 2009 10:41 pm
Forum: PSP Development
Topic: PBP/SFO class for .NET?
Replies: 7
Views: 2226

Oh please dont use .DOT, Im sick of every program making me install a different version of .NET CLR...
by kralyk
Tue Jun 30, 2009 12:24 pm
Forum: PSP Development
Topic: Easy Hooking Example - User & Kernel
Replies: 8
Views: 6458

The problem seems to be in the syscall query.
When I substitute the MIPS_SYSCALL with just NOP, it's ok.
I mean, it's not ok, it doesn't work of course, but it doesn't crash
the psp so that should show that the problem is in the syscall...

dunno whats wrong with the syscall though, any ideas?
by kralyk
Tue Jun 30, 2009 11:24 am
Forum: PSP Development
Topic: [Announce]: MinPSPW on Win32/Ubuntu 9.04/OpenSolaris 2009.06
Replies: 17
Views: 7203

Hi, what actions do I need to take in order to install this properly?
Where should the pspsdk dir be located in linux?
Id like to make a PKGBUILD for Archlinux, which is my favourite distro.
Also, how do you compile this in linux? (I'd like to produce a x86_64 version as well)
by kralyk
Sat Jun 27, 2009 11:54 pm
Forum: PSP Development
Topic: PSP streaming media solution
Replies: 3
Views: 2303

why Java?
by kralyk
Thu Jun 25, 2009 12:30 am
Forum: PSP Development
Topic: Assembly question
Replies: 9
Views: 2816

uhm no it's not because the subroutine can still be reached by text_addr + 0x1b3c Anyway, I got it resolved now, I must have messed the text_addr somehow or something, dunno. My code now works like this: u32 instruction //<- in this var I have the addiu instruction from RAM, which is always the same...
by kralyk
Wed Jun 24, 2009 11:47 pm
Forum: PSP Development
Topic: Assembly question
Replies: 9
Views: 2816

Yes exactly, before loading to RAM the address (of subroutine) is 0x1b3c and after loading it gets 0xae3c for some reason...
by kralyk
Wed Jun 24, 2009 10:50 pm
Forum: PSP Development
Topic: Assembly question
Replies: 9
Views: 2816

Yes yes, thanks, but theres more trouble with it. See I need to get address of certain subroutine of fw module because of hooking (it cant be hooked standard way because its a hook already :)). But the offset of the subroutine differs in each CFW so I have to look it up dynamically. Somewhere in the...
by kralyk
Wed Jun 24, 2009 10:43 am
Forum: PSP Development
Topic: libtiff exploit question
Replies: 20
Views: 4688

Don't you think you're a bit overconfident there, calling others noobs, lol.
Because I wouldn't dare to...

(Damn, is "overconfident" even a word in english? I wish I was better at foreign languages...)
by kralyk
Wed Jun 24, 2009 6:13 am
Forum: PSP Development
Topic: Assembly question
Replies: 9
Views: 2816

I still don't understand... For example, this is a dissassembly of my module: ; ==== Section .text - Address 0x00000000 Size 0x000012D0 Flags 0x0006 ; ====================================================== ; Subroutine splugin_EE3DCDDE - Address 0x00000000 ; Exported in splugin splugin_EE3DCDDE&...
by kralyk
Wed Jun 24, 2009 12:44 am
Forum: PSP Development
Topic: Assembly question
Replies: 9
Views: 2816

Assembly question

Hi, I need a little help with MIPS assembly. I dumped some prx code from RAM and compared it to dissassembly just to see that it was quite different. I know that MIPS assembly is somewhat transformed during "compilation" (or when going to RAM?), but to be honest I have no clue how... In Co...
by kralyk
Wed Jun 24, 2009 12:37 am
Forum: PSP Development
Topic: PSP's FLIRT
Replies: 9
Views: 3372

Of course, psplibdoc doesn't work on firmware prx's where the NIDs have been randomized (or sodomized, whatever you call what they have been doing)
Which is what firmware? 5.50?
by kralyk
Wed Jun 24, 2009 12:31 am
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 32727

Griever: I compiled without any problems with mingw. I only needed to install expat.

wl: Not sure, it crashed when I tried one umd... =/
by kralyk
Mon Jun 22, 2009 11:46 pm
Forum: PSP Development
Topic: OSK Libraries
Replies: 65
Views: 16691

BUILD_PRX means that I'm working on a PRX which I'm not (right?)
Well depends on firmware, if your fw is 1.50 then youre working on ELF, if you build for modern fw like 3xx/4xx/5xx then you need to build PRX even for EBOOTS.

At least I was told so, and it worked...
by kralyk
Mon Jun 22, 2009 6:15 am
Forum: PSP Development
Topic: Question about kernel libc
Replies: 5
Views: 1771

Thank you, but I just resolved the problem using buit in prnt() function Here goes the code: #define TEMP_LEN 1024 typedef struct &#123; char str&#91;TEMP_LEN&#93;; int idx; int done; &#125; prnt_cb_ctx; void prnt_cb&#40;prnt_cb_ctx * ctx, int ch&#41; &#123; if &#40;!...
by kralyk
Mon Jun 22, 2009 5:28 am
Forum: PSP Development
Topic: Question about kernel libc
Replies: 5
Views: 1771

Allright, I found the prnt() function: http://dark-alex.org/pspsdk_docs/pspsysclib_8h.html
How do I use it? Using it via a callback isn't really convenient... :/ oh well...
by kralyk
Mon Jun 22, 2009 3:25 am
Forum: PSP Development
Topic: PSP's FLIRT
Replies: 9
Views: 3372

That's not a conception of dissassembly or anything,
it's a documentation of exports/imports and NIDs of firmware modules =)
by kralyk
Mon Jun 22, 2009 2:36 am
Forum: PSP Development
Topic: OSK Libraries
Replies: 65
Views: 16691

What firmware are you building for anyway?
Maybe adding these lines to your makefile could help...

Code: Select all

BUILD_PRX = 1
PSP_FW_VERSION = xxx &#40;enter yours&#41;
by kralyk
Mon Jun 22, 2009 1:13 am
Forum: PSP Development
Topic: Question about kernel libc
Replies: 5
Views: 1771

Question about kernel libc

Hi,

I found myself in a need of functions like vsprintf and/or vfprintf in my vsh plugin prx, but those function can't be found in kernel libc.

Is there any chance I could get those functions in kernel libc?
Or are there any other with similar functionality in kernel libc that I could use?
by kralyk
Sun Jun 21, 2009 12:19 am
Forum: PSP Development
Topic: PSP's FLIRT
Replies: 9
Views: 3372

You might want to have a look at this: http://forums.ps2dev.org/viewtopic.php?t=11985
by kralyk
Fri Jun 19, 2009 4:33 pm
Forum: PSP Development
Topic: Welcome to the PSP development forum!
Replies: 14
Views: 69018

by kralyk
Fri Jun 19, 2009 4:31 pm
Forum: PSP Development
Topic: [HELP] Hooking sctrlSEGetVersion
Replies: 6
Views: 2256

I dont think so, I think more likely you made some error.
Does your module export the pathced function? It has to be exported...
by kralyk
Thu Jun 18, 2009 9:10 pm
Forum: PSP Development
Topic: [SOLVED] Help Please!! error in Ubuntu 9.04 when compiling!!
Replies: 4
Views: 1977

MinPSPW is very convenient, it works out of the box.
But if you dont mind linux, stay on linux...
by kralyk
Thu Jun 18, 2009 8:53 pm
Forum: PSP Development
Topic: SceModule struct - bug in sdk?
Replies: 4
Views: 1712

right, I didnt know about that, thanks... is there a docu for m33 sdk at all?
And shouldn't the new struct be copied over to pspsdk as well?
Some people don't use m33 sdk... (I dont use it when I dont have to)

oh and no, I work on 5.00 modules...
by kralyk
Thu Jun 18, 2009 10:16 am
Forum: PSP Development
Topic: SceModule struct - bug in sdk?
Replies: 4
Views: 1712

SceModule struct - bug in sdk?

Hi, I think there's either a bug in SceModule structure definition, or I missed something critical... the structure is here: http://dark-alex.org/pspsdk_docs/structSceModule.html I made a simple dump from what sceKernelFindModuleByName returned and this is what I got: (it's vshControl module) E4 3E ...
by kralyk
Thu Jun 18, 2009 6:00 am
Forum: PSP Development
Topic: Question about GPL licence
Replies: 5
Views: 1762

Yes QT is now available under LGPL as well
see http://www.qtsoftware.com/downloads
by kralyk
Wed Jun 17, 2009 1:37 am
Forum: PSP Development
Topic: Some calls dont get hooked (in vsh mode) (solved)
Replies: 5
Views: 1870

Yes I read that tutorial by Coldbird, but Im afraid my func is ufortunatelly one of the unhookable ones, Ill try to figure out why... Anyway, thanks for help... EDIT: alright, I resolved the problem, the functions I need now get hooked ok. Here's the link to Coldbird's sample in case someone came ac...
by kralyk
Tue Jun 16, 2009 11:56 pm
Forum: PSP Development
Topic: Some calls dont get hooked (in vsh mode) (solved)
Replies: 5
Views: 1870

Thanks for all the information..

So when I cant find a syscall in syscall table it means its already hooked?
Because apart from IoFileMgr I also tried to hook some of the sceMpegVsh calls, but they could not have been found in syscalltable either...
Does CFW hook those as well? That'd be strange...
by kralyk
Tue Jun 16, 2009 9:53 pm
Forum: PSP Development
Topic: Some calls dont get hooked (in vsh mode) (solved)
Replies: 5
Views: 1870

The problem seems to be that the address of the call is not found in syscall table. I use this code: void* pspGetSysCallAddr&#40;u32 addr&#41; &#123; SyscallHeader *head; u32 *syscalls; void **ptr; int size; int i; if &#40;!addr&#41; return NULL; asm&#40; "cfc0 %0, $12\n...