Poll & Discussion: We wish the site to continue (Y/N)
Sinistar Unleashed (PC 1999) GFX Resource File
-
Darkfox
- VVIP member

- Posts: 688
- Joined: Fri Jul 04, 2003 6:11 pm
- Has thanked: 33 times
- Been thanked: 16 times
Re: Sinistar Unleashed (PC 1999) GFX Resource File
Each archive seems oddly uncompressed and are just used to store the data. I was able to extract audio from the sounds archive, and see some scripts. EVERYTHING is stored in these "GFX Resource Files V1.0".
Found something that may be useful. It is a DLL called rsrc.dll and is specifically used by the game in handling the "GFX Resource File" format.
Found something that may be useful. It is a DLL called rsrc.dll and is specifically used by the game in handling the "GFX Resource File" format.
You do not have the required permissions to view the files attached to this post.
-
Darkfox
- VVIP member

- Posts: 688
- Joined: Fri Jul 04, 2003 6:11 pm
- Has thanked: 33 times
- Been thanked: 16 times
Re: Sinistar Unleashed (PC 1999) GFX Resource File
The above attachment is a DLL used by the game to read the GFX Resource Files V1.0 files. It should help for those that can read them, I can't. It is all gibberish to me when I try debugging it.
- aluigi
- VVIP member

- Posts: 1916
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 654 times
- Contact:
Re: Sinistar Unleashed (PC 1999) GFX Resource File
uhmm, maybe try the following script:
Code: Select all
# script for QuickBMS http://aluigi.org/papers.htm#quickbms
getdstring SIGN 32
string SIGN -= -17
if SIGN != "GFX Resource File"
cleanexit
endif
get OFFSET1 long
get OFFSET2 long
get OFFSET3 long
get OFFSET4 long
get OFFSET5 long
goto OFFSET5
get NAMES long
for i = 0 < NAMES
get NAMESZ long
getdstring NAME NAMESZ
putarray 0 i NAME
next i
goto OFFSET4
for i = 0
savepos MYOFF
if MYOFF >= OFFSET5
cleanexit
endif
get DUMMY long
get NAME_NUM long
get DUMMY long
get OFFSET long
get SIZE long
if NAME_NUM >= 0
getarray NAME 0 NAME_NUM
else
set NAME string "data"
endif
string NAME += _
string NAME += i
string NAME += ".dat"
log NAME OFFSET SIZE
next i-
Darkfox
- VVIP member

- Posts: 688
- Joined: Fri Jul 04, 2003 6:11 pm
- Has thanked: 33 times
- Been thanked: 16 times
Re: Sinistar Unleashed (PC 1999) GFX Resource File
Here is what happens when I try dumping the content of sound.rsc. Doesn't quite read the structure correctly. And when I try extracting textures it gives an unreadable format.
You do not have the required permissions to view the files attached to this post.
-
Darkfox
- VVIP member

- Posts: 688
- Joined: Fri Jul 04, 2003 6:11 pm
- Has thanked: 33 times
- Been thanked: 16 times
Re: Sinistar Unleashed (PC 1999) GFX Resource File
The script doesn't seem to extract the sounds correctly, doesn't keep their directory structure which is seen in the header there. The TGA files also do not seem readable.
- aluigi
- VVIP member

- Posts: 1916
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 654 times
- Contact:
Re: Sinistar Unleashed (PC 1999) GFX Resource File
only some archives have filenames inside them.
for the content of the files I can't help, what was archived is extracted as is.
if someone is interested in the format of these files and consequently in updating the script he's welcome, I'm not.
for the content of the files I can't help, what was archived is extracted as is.
if someone is interested in the format of these files and consequently in updating the script he's welcome, I'm not.
