Tony Hawk Pro Skater 1-4 (PS1) - .hed/.wad/.str

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Tony Hawk Pro Skater 1-4 (PS1) - .hed/.wad/.str

Post by AnonBaiter »

It's funny that both hedwadext and thps_hed_wad.bms can't handle this file. Especially if said .hed/.wad files have had a different structure than the files that these things currently supports(see attachment if you need evidence).

Oh, and in the PS1 version of THPS2, FE.STR/FE.WAD are archive files. Heck, even the same version has a CD.HED file, in which there are no filenames in it. This kind of tradition continues on the PS1 ports of THPS3 and THPS4, but not these weird archive files from THPS2.

I know I sound like an asshole by saying all of the above, but what I'm saying is that your tool/.bms script can't support just the PS2 version(or anything below the sixth-generation console versions of these Tony Hawk games for that matter). Which is why this link exists:
THPS_ARCHIVES

This "folder" I created contains archive files that are not yet supported by these things(one is a tool, while other is a .bms script). There you'll find a sub-folder for each system.

Anyway, I should have more versions of these Tony Hawk posted as soon as I get my hand on these versions(barring the cartidge-based versions, of course). By the time more samples are posted, I shall rename this thread "Tony Hawk Pro Skater Sample Thread". If not, then this should be enough.
Last edited by AnonBaiter on Wed Oct 19, 2016 10:38 pm, edited 1 time in total.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Tony Hawk Pro Skater 1-4 (PS1) - .hed/.wad/.str

Post by AnonBaiter »

Actually, let me handle the FE.STR/FE.WAD archive files.

Code: Select all

# one thing to note before using this script:
# the FE.STR file must not be extracted as "RAW data" while using IsoBuster

open FDDE "WAD"
open FDDE "STR" 1

get INDEX_SIZE asize
for
   savepos TMP
   if TMP >= INDEX_SIZE
      break
   endif
   getdstring NAME 0x14
   get OFFSET long
   get SIZE long
   get ZERO long
   log NAME OFFSET SIZE 1
next
I included the script as an attachment in case someone doesn't like to copy-paste the above and save it as a .bms script.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Tony Hawk Pro Skater 1-4 (PS1) - .hed/.wad/.str

Post by AnonBaiter »

Bump.