Search found 216 matches

by cory1492
Fri Dec 04, 2009 6:46 pm
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 48771

expat:
http://expat.sourceforge.net/
I believe I used a prebuilt bin for win32, like expat-win32bin-2.0.1.exe, to compile under msys/mingw.
by cory1492
Fri Oct 23, 2009 10:16 pm
Forum: PSP Development
Topic: Flicker problem driving me crazy!
Replies: 7
Views: 8843

Have you tried different alignment size for your __attribute__ declarations? I see you are aligning to 64 in memalign, but only 16 in __attribute__. Not that it will actually fix the problem, though perhaps one of those is copied from in (for example) u32 but instead assembles to/winds up copying in...
by cory1492
Tue Oct 06, 2009 9:23 pm
Forum: PSP Development
Topic: A good tutorial for libusb
Replies: 1
Views: 1932

Basics . Beyond that it's just a matter of understanding USB packets and the USB modes PSP can support, and possibly tinkering with a sniffer while trying things if you don't know usb that well ~ it's actually fairly simple once you have libusb's back stand on and some sample code, though the PSP s...
by cory1492
Fri Sep 18, 2009 3:53 am
Forum: PSP Development
Topic: Cygwin: building libraries, fopen
Replies: 8
Views: 8923

google "cygwin error: C compiler cannot create executables", then search your system for other instances of cygwin1.dll outside the cygwin install directory (such as the most common abuse of this dll which is found in /windows/system) Once that is done, consider using heimdall's pre-built-...
by cory1492
Sun Sep 06, 2009 4:35 am
Forum: PSP Development
Topic: PSPlink on Vista x64
Replies: 9
Views: 11409

The problem isn't compatibility, it's the OS requiring signed drivers. I've used DSEO (driver signature enforcement overrider, did it by hand before using the vista DDK and the results are basically the same) to get vista into unsigned driver mode and to test-sign the 64bit psplink drivers, works fi...
by cory1492
Sat Aug 08, 2009 4:33 pm
Forum: PSP Development
Topic: Sending Command to memory stick
Replies: 3
Views: 3067

I don't think he's wondering about firmware based atapi commands sent over usb. coolkehon look for the IPL sdk, it has a small (read only) implementation of a MS driver at low level (not sure but I don't think MS is documented publicly?) as well as relatively tiny fat filesystem module - kinda neede...
by cory1492
Sun Aug 02, 2009 5:36 pm
Forum: PSP Development
Topic: PRX turns off psp
Replies: 35
Views: 19864

Havent found however the function to shutdown the psp completely. scePowerRequestStandby and sceSysconPowerStandby() just suspend the psp. Then you are using the wrong function in your actual code or have flubbed up by crosslinking in a self made stub, or are still using the wrong makefile includes...
by cory1492
Sat Aug 01, 2009 10:51 am
Forum: PSP Development
Topic: PRX turns off psp
Replies: 35
Views: 19864

You can also use m33 sdk
sctrlKernelExitVSH (systemctrl.h)
sceKernelExitVSHVSH (psploadexec_kernel.h)
sceKernelExitVSHKernel (psploadexec_kernel.h)
by cory1492
Fri Jul 31, 2009 6:55 am
Forum: PSP Development
Topic: How to boot a FW
Replies: 52
Views: 34870

prx's i can decompile, but an ipl, how exactly? Never tried it on ipl code, but prxtool has the option to disassemble plain binary segments. Keep in mind also that IPL is contsructed in chunks with header and hash data for each chunk, you'd have to look to see how closely the IPL exploit follows th...
by cory1492
Wed Jul 29, 2009 9:40 am
Forum: PSP Development
Topic: MS free space problem
Replies: 12
Views: 8963

I've always assumed the actual io command (0x02425818) would be different for different devices, at least it seems to me it is for flushes at any rate. Going by types.h a 64 bit is either u64 or s64, though signed 64bit should be long long . Are you sure you retyped all the buf/pbuf etc? Is there an...
by cory1492
Sun Jul 26, 2009 7:52 pm
Forum: PSP Development
Topic: PRX turns off psp
Replies: 35
Views: 19864

Any function that can reboot the psp? I tried sceSysconResetDevice(1,1), but that doesnt work... Anybody used a different one ? http://forums.ps2dev.org/viewtopic.php?t=5856 There are a few ways listed there, the ones moonlight mention are (or at least were) used by m33 to exit recovery menu or boo...
by cory1492
Sun Jul 26, 2009 6:49 am
Forum: PSP Development
Topic: LTE game engine on psp slim and light
Replies: 14
Views: 19745

Dark Chazz, still good to know this stuff (it is basics) so I'll post this anyway... the error is right where it says 'error' : CNetworkDriver.cpp:145: error: cannot convert 'char*' to 'SceNetApctlInfo*' for argument '2' to 'int sceNetApctlGetInfo(int, SceNetApctlInfo...
by cory1492
Thu Jul 23, 2009 10:28 am
Forum: PSP Development
Topic: PRX turns off psp
Replies: 35
Views: 19864

Btw, this prx inside games doesn't work. Using the code and makefile I posted I compiled the prx, added it to my seplugins folder, added it to game.txt with a 1 after (did you skip this? do you have any other plugins that handle power like hold+ or something?) to enable it and it works just fine - ...
by cory1492
Thu Jul 23, 2009 3:42 am
Forum: PSP Development
Topic: PRX turns off psp
Replies: 35
Views: 19864

If you create the makefile properly the toolchain handles taking out crt0 on prxs. The problem actually is that your makefile is using build.mak and not build_prx.mak - see the bottom include line in your makefile and look through those two different makefiles (you'll find the prx one already has th...
by cory1492
Wed Jul 22, 2009 4:31 pm
Forum: PSP Development
Topic: PRX turns off psp
Replies: 35
Views: 19864

You must have grabbed the code before I edited it: sceKernelDelayThreadCB(100000); There should be no real reason to use the CB (call back) variant as this does not register/need a call back, though it seems to work similar even without one to be proper it would be best to just use s...
by cory1492
Wed Jul 22, 2009 4:28 am
Forum: PSP Development
Topic: PRX turns off psp
Replies: 35
Views: 19864

I did a plugin like this a ways back, was basically using it to test grabbing button presses. Get the makefile from prx template and add -lpsppower to the LIBS line (use scePowerRequest* instead of syscon to avoid possibility of skipping power off processes like flushing writes to MS), delayThread (...
by cory1492
Wed Jul 01, 2009 6:21 pm
Forum: PSP Development
Topic: Some troubles with sceLed lib and nidresolver
Replies: 23
Views: 16744

prxtool has some of what is needed to resolve many NIDs, as the user exports (used by 'legacy' built UMD games) aren't ever going to be randomized but still correspond to the randomized kernel exports linked to the same binary function. Doesn't cover them all, but it would hit a good many of those i...
by cory1492
Wed Jul 01, 2009 6:04 pm
Forum: PSP Development
Topic: Playstation Store Patch in development?
Replies: 6
Views: 3152

~ Yeah, is there a patch? I can't use PSN store in 1.50 cfw PoC! Big surprise, the firmware PSN component changed something between 5.00 and 5.51 that causes an update prompt when they instituted something new that uses it on the server side. Why are you trying to use 5.00m33 on psn and (after readi...
by cory1492
Tue Jun 30, 2009 5:40 am
Forum: PSP Development
Topic: Some troubles with sceLed lib and nidresolver
Replies: 23
Views: 16744

but why not updatng the pspsdk with the feature to resolve the nid at compile time? specifying the fw version in the makefile... So you are saying every PSP developer (new or not) should release multiple binaries for all possible firmware versions, test each one on all versions for release, as well...
by cory1492
Thu Jun 25, 2009 8:32 am
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 48771

it's strange, but it not work properly when i compile sources under MVS2008. You will have to port the code, or set the right flags, or instruct MVS to use the Gnu C++ compiler instead of it's internal one. That kind of porting generally takes away portability, better to use msys with mingw (or cyg...
by cory1492
Wed Jun 24, 2009 10:58 am
Forum: PSP Development
Topic: PSP's FLIRT
Replies: 9
Views: 4545

After 3.50 (if memory serves) they started randomizing certain kernel NIDs, identical user NID exports in the same prx don't change like this as games sort of... need them to work. m33 since then has had a resolver in it to use many/most old NIDs for toolchain/homebrew compatibility (though I'm not ...
by cory1492
Wed Jun 24, 2009 10:38 am
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 48771

The one I posted is based on the current public source, compiled likely the same day hnaves last updated it. I updated the original file now that I've had a chance to review the license for libexpat, there is now a link to a much simpler zip with prebuilt win32 expat binary in it instead of the pre-...
by cory1492
Tue Jun 23, 2009 12:34 pm
Forum: PSP Development
Topic: PSP's FLIRT
Replies: 9
Views: 4545

hnaves's decompiler can use psplibdoc xml files directly too. 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) - but that's pretty much the same case for prxtool too. pspdecompiler.exe -n psplibdoc.xml...
by cory1492
Tue Jun 23, 2009 12:20 pm
Forum: PSP Development
Topic: PSP decompiler
Replies: 57
Views: 48771

Griever, you are right it is easy to make a win version, I built it the last time git was updated and source changes are minimal (I corrected a single crash-causing-on-exit problem in main if I remember right, kudos to the TC/Author(s) on a great program... with portability no less !): pspdecompiler...
by cory1492
Sat Jun 20, 2009 10:23 am
Forum: PSP Development
Topic: [HELP] Hooking sctrlSEGetVersion
Replies: 6
Views: 3391

Anything can be hooked, so long as you have permission for the memory region, you can find the function in memory, and are willing to deal with a little assembly/disassembly when pre-made methods don't work as expected. It's not like the PSP has a secure hypervisor clobbering executeable memory modi...
by cory1492
Fri Jun 19, 2009 9:38 am
Forum: PSP Development
Topic: [HELP] Hooking sctrlSEGetVersion
Replies: 6
Views: 3391

by cory1492
Thu Jun 18, 2009 11:52 am
Forum: PSP Development
Topic: SceModule struct - bug in sdk?
Replies: 4
Views: 3530

Are you working on 1.50 firm based files (which is what a large chunk of the sdk is based on, thus it shouldn't be a bug)? If so the struct should be accurate. If not 150 or lower look for more recent m33 sdk in 4.01m33, it has SceModule2 defined in it for use with 1.50+ modules // from 4.01m33 sdk ...
by cory1492
Sat Jun 13, 2009 2:33 pm
Forum: PSP Development
Topic: How to retrieve the firmware version string
Replies: 12
Views: 14414

Dariusc123456 wrote:Just get the address that has the firmwar version patch to show ether M33, GEM, TDP, or HEN, or whatever it may be.
* while keeping in mind VSH uses unicode
by cory1492
Wed Jun 10, 2009 9:11 am
Forum: PSP Development
Topic: How to retrieve the firmware version string
Replies: 12
Views: 14414

Do they even sell vhs with/without menus anymore?

Any particular reason why you didn't just keep asking in the same thread as before sauron_le_noir?
by cory1492
Tue Jun 09, 2009 6:21 pm
Forum: PSP Development
Topic: Sircs on 5.XX
Replies: 19
Views: 19491

lol, you are running into all the problems you can, I guess... -2147352262 in hex is 0x8002013a, the error being "Library is not linked yet" meaning it hasn't been loaded/started. I see you stripped the module loading code out of your svn... Try this, add this function above main in main.c...