Panic Posted October 17, 2013 Posted October 17, 2013 Hi there, I'm looking to extract images (literally the sprites, backgrounds, CGs, etc) from a PS2 game/iso. Can anyone point me in the right direction? Thank you very much. Quote
Panic Posted October 21, 2013 Author Posted October 21, 2013 Strawberry Panic! Girls' School in Fullbloom Quote
Nanashi3 Posted October 23, 2013 Posted October 23, 2013 1. Download QuickBMS.zip from http://aluigi.altervista.org/quickbms.htm and extract it.  2. Create a file in the same directory called spanic_databin.bms and paste this contents: # extract LZ77 files from DATA.BIN in PS2 Strawberry Panic [SLPS-25612] endian little comtype PUYO_LZ01 For FindLoc OFFSET string "LZ77" 0 "" #print "OFFSET = %OFFSET%" If OFFSET == "" cleanexit EndIf xmath REM "OFFSET % 16" If REM == 0 GoTo OFFSET getdstring SIGN 4 get SIZE long math SIZE += 0x7FF get ZSIZE long savepos OFFSETZ get NAME basename string NAME += "_" string NAMEEND p= "%08x.dmp" OFFSET string NAME += NAMEEND print "@ %OFFSET% %ZSIZE% -> %SIZE% => %NAME%" clog NAME OFFSETZ ZSIZE SIZE Else xmath OFFSET "OFFSET + 16" GoTo OFFSET EndIf Next 3. Open a command prompt in the directory. Copy and paste this command: quickbms.exe spanic_databin.bms e:\DATA.BIN . where e:\DATA.BIN is the PS2 DVD resource path.   Result is a bunch of files - those which have a "TIM2" header when opened in a hexadecimal editor = de-facto PS2 image file format standard (see here for example http://blogs.yahoo.co.jp/osaka_0705/18217893.html) - those which don't, may be a collection of TIM2 files (e.g. DATA_001e0000.dmp, DATA_158bf780.dmp, etc.) - need further study - some others are rather mysterious: DATA_1b5a0000, obfuscated scripts maybe??  decoder provided as is with no warranty that produced data is correct. Quote
REtransInternational Posted October 23, 2013 Posted October 23, 2013 LZ77 is a standard compression algorithm. Of course it has several dozen parameterisations so you will need to figure out which one exactly... Quote
Nanashi3 Posted October 25, 2013 Posted October 25, 2013 Here is a ripping script, although still imperfect.  http://www.embedupload.com/?d=2VCZCUIVEP  Usage: 1. Install Python 3.x 2. Edit "dump_data.py" to reflect data.bin path  3. Open a command prompt and chdir to script directory python dump_data.py 4. Double-click "_convert_tm2.cmd" to begin conversion process. Only a small fraction of BG/CG/Tachie files seem to be properly handled?  There is more work needed to unpack multi-TIM2 containers.  Quote
CasualBoy Posted February 6, 2014 Posted February 6, 2014 Sorry for necroposting. Can somebody here guiding me how to rip images or data from Castle Fantasia ~Arihato Senki~ game. Quote
gcr27 Posted November 1 Posted November 1 Hello its possible extracting dat files and mif files from Cart fury ps2 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.