ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Feb 16, 2019 2:05 am

All times are UTC




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Thu Jan 31, 2019 2:08 pm 

Joined: Thu Jan 31, 2019 1:58 pm
Posts: 7
Hello folks,

i'm currently working on a mod for "SSX Tricky" on the PS2. I've managed to replace the final release board textures with the ones used in the late beta stage. (They can be found in the SSX Tricky Demo released on the "Winter Jampack 2001" Demo-Disc). I just replaced the final games' "TEXPS2.big" file with the one from the demo disc.

However, many boards use placeholder textures (Plain white boards with the text "board1" to "board12" on them.) I'd like to replace those with the ones used in the final game.

My problem:
I can't find a working program to extract the .ssh textures out of the "TEXPS2.big" file. The program "EAGT" only extracts a 0byte sized file with the extension ".lst" and using QuickBMS, I get the following errors:

(Using Big4 script:)
- signature of 3 bytes at offset 0x0000000000000000 doesn't match the one
expected by the script:

this one: "'"
c0 fb 27 ..'

expected: "BIG"
42 49 47 BIG

- 0 files found in 0 seconds
coverage file 0 0% 3 5247378 . offset 0000000000000003

(Using EB script:)
Error: the uncompressed data (-1) is bigger than the allocated buffer (2594305)

Last script line before the error or that produced the error:
227 clog NAME OFFSET ZSIZE SIZE

There's also the program "finalbig". It didn't detect the "TEXPS2.big" file format right away, but asked to "try anyway" and listed the textures. However when I try to extract these, all of them are around 500mb big (wich doesn't make sense to me) and they can't be opened in eagt (Program crashes with "runtime error '9' : subscript out of range"

Here's proof of what I managed so far:
https://www.merqurycity.com/ssx_forum/v ... 69#p333069


Top
   
PostPosted: Thu Jan 31, 2019 2:14 pm 

Joined: Fri Mar 30, 2018 2:48 am
Posts: 57
Hey :) This should probably be moved to Game Archive, but don't worry about it.
Also, upload one or two of the .big files and post a link here and I can take a look at it.


Top
   
PostPosted: Thu Jan 31, 2019 3:16 pm 

Joined: Thu Jan 31, 2019 1:58 pm
Posts: 7
Alright, so i'd need the folowing texture files out of the beta "TEXPS2.big" file. (I named it beta-TEXPS2.big):

brodi1_bord.ssh

brodi7_bord.ssh

eddie1_bord.ssh
eddie2_bord.ssh
eddie3_bord.ssh
eddie4_bord.ssh
eddie5_bord.ssh
eddie6_bord.ssh
eddie7_bord.ssh
eddie8_bord.ssh
eddie9_bord.ssh

eddie11_bord.ssh

marisol1_bord.ssh
marisol2_bord.ssh
marisol3_bord.ssh
marisol4_bord.ssh
marisol5_bord.ssh
marisol6_bord.ssh
marisol7_bord.ssh
marisol8_bord.ssh
marisol9_bord.ssh

psymon2_bord.ssh

seeiah1_bord.ssh

jp1_bord.ssh

luther1_bord.ssh
luther2_bord.ssh
luther3_bord.ssh
luther4_bord.ssh
luther5_bord.ssh
luther6_bord.ssh
luther7_bord.ssh

mac1_bord.ssh

moby1_bord.ssh

zoe1_bord.ssh

mmm1_bord.ssh


and have them replace the ones in the final TEXPS2.big (I left it named like that)

Here are the 2 .big files:
https://mega.nz/#!wEtARSZB!WEMhvMg6gvaG ... Dp4VB_Mr4s


Top
   
PostPosted: Fri Feb 01, 2019 9:34 am 

Joined: Fri Mar 30, 2018 2:48 am
Posts: 57
I made a script for that type of package now.

Code:
endian big
idstring \xC0\xFB
goto 4
get  AMOUNT short

goto 7
get OFFSET0 short
get DUMMY0 byte
get SIZE0 short
get NAME0 string


log NAME0 OFFSET0 SIZE0


for i = 1 < AMOUNT - 1
    goto -1 0 SEEK_CUR
    get OFFSET long
   get DUMMY1 byte
    get SIZE short
    get NAME string
   log NAME OFFSET SIZE
next i


Put that into a .txt file and rename to .bms and run it with QuickBMS and it will export the ssh files from the big file.


Last edited by GHFear on Fri Feb 01, 2019 10:10 am, edited 1 time in total.

Top
   
PostPosted: Fri Feb 01, 2019 10:03 am 

Joined: Thu Jan 31, 2019 1:58 pm
Posts: 7
- signature of 6 bytes at offset 0x00000000 doesn't match the one
expected by the script:

this one: "'?"
c0 fb 27 96 01 3f ..'..?

expected: "xC0xFB"
78 43 30 78 46 42 xC0xFB

- 0 files found in 0 seconds
coverage file 0 0% 6 5247378 . offset 00000006

:(


Top
   
PostPosted: Fri Feb 01, 2019 10:08 am 

Joined: Fri Mar 30, 2018 2:48 am
Posts: 57
on what file? a .big file?

Upload the file that doesn't work so I can see why.


Top
   
PostPosted: Fri Feb 01, 2019 10:18 am 

Joined: Fri Mar 30, 2018 2:48 am
Posts: 57
try this attached script: it's my script and it works for both the files you sent.
Maybe you copy pasted it a little fucked x) weird spaces and such.


Attachments:
bigSSX.zip [343 Bytes]
Downloaded 8 times
Top
   
PostPosted: Fri Feb 01, 2019 10:24 am 

Joined: Thu Jan 31, 2019 1:58 pm
Posts: 7
Thanks alot. Yes, that script worked :D


Top
   
PostPosted: Fri Feb 01, 2019 5:05 pm 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 569
this what i got from it, streamlined a bit. :D
Code:
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

endian big
get FOLDER basename
idstring "\xC0\xFB"
get STR_TBL_SZ short
get FILES short
for i = 0 < FILES
    get OFFSET threebyte
    get SIZE threebyte
    get NAME string
    string NAME p "%s\%s" FOLDER NAME
    log NAME OFFSET SIZE
next i

_________________
Quickbms.com link thread
Search bms scripts


Top
   
PostPosted: Sat Feb 02, 2019 5:08 am 

Joined: Fri Mar 30, 2018 2:48 am
Posts: 57
Acewell wrote:
this what i got from it, streamlined a bit. :D
Code:
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

endian big
get FOLDER basename
idstring "\xC0\xFB"
get STR_TBL_SZ short
get FILES short
for i = 0 < FILES
    get OFFSET threebyte
    get SIZE threebyte
    get NAME string
    string NAME p "%s\%s" FOLDER NAME
    log NAME OFFSET SIZE
next i


I gotta see if that works. I did the same thing and it told me threebytes were invalid or something when I ran the script. x) Thats way cleaner and would work for sizes larger than a Short. ^^
Edit: I have no idea what I did wrong when I tried threebytes, but they worked fine now. I am new to this, so I am still learning :) Thanks, Acewell.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited