Seems pretty similar to http://aluigi.altervista.org/bms/3ds_arcv.bms
Inside there is a bunch of concatenated CTPK 3DS files
Sumo Digital .sd3 archive
-
- Posts: 13
- Joined: Mon Jan 19, 2015 12:29 am
Re: Sumo Digital .sd3 archive
This file as well, I don't know what it contains. But it also has the sd3 extension
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: Sumo Digital .sd3 archive
Basically they are just a raw sequence of CTPK files.
The CTPK files are just a sort of header for containing one raw image.
The CTPK files are just a sort of header for containing one raw image.
Code: Select all
get ARCHIVE_SIZE asize
for i = 0
savepos OFFSET
if OFFSET == ARCHIVE_SIZE
break
endif
idstring "CTPK"
findloc NEXT_OFF binary "CTPK" 0 ""
if NEXT_OFF == ""
math NEXT_OFF = ARCHIVE_SIZE
endif
xmath SIZE "NEXT_OFF - OFFSET"
getdstring DUMMY 0x10
get XOFF long
getdstring DUMMY 0x2c
get NAME string
math OFFSET + XOFF
math SIZE - XOFF
# they are uncompressed images, not ready readable images
string NAME p "%d_%s" i NAME
log NAME OFFSET SIZE
goto NEXT_OFF
next i