PCSX Modified for Sprite Ripping - Printable Version +- The VG Resource (https://www.vg-resource.com) +-- Forum: Archive (https://www.vg-resource.com/forum-65.html) +--- Forum: July 2014 Archive (https://www.vg-resource.com/forum-139.html) +---- Forum: Other Stuff (https://www.vg-resource.com/forum-6.html) +----- Forum: Questions, Info, and Tutorials (https://www.vg-resource.com/forum-89.html) +----- Thread: PCSX Modified for Sprite Ripping (/thread-21289.html) |
PCSX Modified for Sprite Ripping - gensym - 08-25-2012 Here is a modified PCSX version: http://minus.com/lb0rni5snRrf00 It is geared towards sprite ripping. Using it is very easy. I will again use Beyond the Beyond as a typical example (just because it is one of the best jRPGs ever made!). While Beyond the Beyond stores most graphics uncompressed 8-bit images, easy to get sheets, unfortunately *.DAT files (containing these big isometric sprites used in battle) are seems to be compressed. So we have no choice but to reverse engineer the game. Play the game till the battle starts (save a state before it). Now hit V to view game RAM, you will see something like this: Obviously this is the place where game code unpacks the sheet, so shift-click right mouse button inside this sheet to set a write breakpoint. Now load the saved state we made just before this battle and go into battle again. In the console window you will notice a bunch of "WB: PC=XXXXXX" messages, that werent there before: Code: WB: PC=0x80011DB0 Yay! We have found the unpacking routine and done with playing the game. Time to run IDA Pro (AFAIK, free version doesnt support MIPS). Open a game inside IDA (usually it is called like SCUS_947.02 or has an EXE extension). Do Jump -> Jump to Address and enter 0x80011DB0. You will end in the middle of unpacking subroutine (which in our case starts at 0x80011CE0): Code: TEXT:80011CE0 # =============== S U B R O U T I N E ======================================= After decompiling it into C/C++, you will get the following code, which is a simple LZ unpacker, you have probably already seen a thousand times: Code: // Typical LZ with mask word, that says which of the following words are backrefs Now time for ImageMagic, which assembles all these small 256x256 battle sheets into one huge: [MOD NOTE: Spoiler tagged the absurdly huge image for the sake of others' convenience. Try to do this for future images of similar size.] RE: PCSX Modified for Sprite Ripping - Toshio - 08-25-2012 It's possible to use it with Ojamajo Doremi Nijiro no Para-dice and Super Tokusatsu Wars 2001? RE: PCSX Modified for Sprite Ripping - gensym - 08-26-2012 (08-25-2012, 08:38 PM)Toshio Wrote: It's possible to use it with Ojamajo Doremi Nijiro no Para-dice and Super Tokusatsu Wars 2001?Some games use uncompressed graphics and breakpoint wont be triggered (DMA transfers dont trigger it). Just look for graphic files inside CD image. |