Hi all.
Doctor Who Top Trumps has a data file containing the various files from the game, 'PACKWII.T3P' and a file called, 'OPENING.BNR'
Need help with a script to extract both contents.
Help is very much appreciated.
https://m1.afileditch.ch/bFzsIcBKlgKswEpANaer.T3P
https://s1.fileditch.ch/VpaOcdPCYrghxAYHpas.BNR
Doctor Who - Top Trumps [Wii] [2008] Extraction of PACKWII.T3P & OPENING.BNR?
-
- Posts: 10
- Joined: Sun Aug 29, 2021 1:53 pm
-
- Posts: 367
- Joined: Fri Mar 10, 2017 7:23 am
Re: Doctor Who - Top Trumps [Wii] [2008] Extraction of PACKWII.T3P & OPENING.BNR?
Here's the script to extract T3P files.
Most of the files are compressed and however I haven't figured out what the compression was (might be custom IDK) so most of the game files aren't usable yet for time being.
As for OPENING.BNR, it's just an animated banner for the Wii's menu when you inserted the game disc.
Most of the files are compressed and however I haven't figured out what the compression was (might be custom IDK) so most of the game files aren't usable yet for time being.
Code: Select all
endian big
IDString "T3PK4.00"
get UNK long
get NAME_INFO_OFF long
get NAME_INFO_SZ long
get NAME_INFO_OFF_ABS long
for i = 0
get OFFSET long
if OFFSET == 0
break
endif
get ZSIZE long
get SIZE long
get UNK1 long
get NAME_ABS_OFF long
get PATH_NAME_ABS_OFF long
getDstring PAD 0x10
savepos INFO_OFF
xmath PATH_NAME_OFF "NAME_INFO_OFF + PATH_NAME_ABS_OFF"
goto PATH_NAME_OFF
get PATH string
xmath FNAME_OFF "NAME_INFO_OFF + NAME_INFO_OFF_ABS + NAME_ABS_OFF"
goto FNAME_OFF
get FNAME string
string NAME p "%s%s" PATH FNAME
# clog NAME OFFSET ZSIZE SIZE
if ZSIZE == 0
log NAME OFFSET SIZE
else
log NAME OFFSET ZSIZE
endif
goto INFO_OFF
next i
-
- Posts: 10
- Joined: Sun Aug 29, 2021 1:53 pm
Re: Doctor Who - Top Trumps [Wii] [2008] Extraction of PACKWII.T3P & OPENING.BNR?
That's great. Hopefully in the near future, the SFX and textures will also be useable and readable.BloodRaynare wrote:Here's the script to extract T3P files.
Most of the files are compressed and however I haven't figured out what the compression was (might be custom IDK) so most of the game files aren't usable yet for time being.
As for OPENING.BNR, it's just an animated banner for the Wii's menu when you inserted the game disc.
Since the files aren't useable, the games pre-rendered movie FMVS aren't working yet but as a reference they are .t3m files
Example below;
mission_complete.t3m https://s1.fileditch.ch/TIrOvfVxBLrnMSAVpjlp.t3m
There is also the PS2 version which is, 'PACKPS2.T3P'
BTW, Wii script doesn't work for the PS2 version.
https://m1.afileditch.ch/SoKgdHMVdvXhBMfZyudj.T3P
-
- Posts: 367
- Joined: Fri Mar 10, 2017 7:23 am
Re: Doctor Who - Top Trumps [Wii] [2008] Extraction of PACKWII.T3P & OPENING.BNR?
Here's the script for PS2 version
The differences is just the endianness (PS2 is little while the Wii is big) and lack of 0x10 padding at the end of each file entries
However, as always, file is still compressed (Haven't figured out what the compression algorithm is and the offset where the compression stream starts).
The differences is just the endianness (PS2 is little while the Wii is big) and lack of 0x10 padding at the end of each file entries
Code: Select all
IDString "T3PK4.00"
get FILES long
get NAME_INFO_OFF long
get NAME_INFO_SZ long
get NAME_INFO_OFF_ABS long
for i = 0 < FILES
get OFFSET long
if OFFSET == 0
break
endif
get ZSIZE long
get SIZE long
get UNK1 long
get NAME_ABS_OFF long
get PATH_NAME_ABS_OFF long
savepos INFO_OFF
xmath PATH_NAME_OFF "NAME_INFO_OFF + PATH_NAME_ABS_OFF"
goto PATH_NAME_OFF
get PATH string
xmath FNAME_OFF "NAME_INFO_OFF + NAME_INFO_OFF_ABS + NAME_ABS_OFF"
goto FNAME_OFF
get FNAME string
string NAME p "%s%s" PATH FNAME
# clog NAME OFFSET ZSIZE SIZE
if ZSIZE == 0
log NAME OFFSET SIZE
else
log NAME OFFSET ZSIZE
endif
goto INFO_OFF
next i
-
- Posts: 10
- Joined: Sun Aug 29, 2021 1:53 pm
Re: Doctor Who - Top Trumps [Wii] [2008] Extraction of PACKWII.T3P & OPENING.BNR?
Thanks.BloodRaynare wrote:Here's the script for PS2 version
The differences is just the endianness (PS2 is little while the Wii is big) and lack of 0x10 padding at the end of each file entries
However, as always, file is still compressed (Haven't figured out what the compression algorithm is and the offset where the compression stream starts).Code: Select all
IDString "T3PK4.00" get FILES long get NAME_INFO_OFF long get NAME_INFO_SZ long get NAME_INFO_OFF_ABS long for i = 0 < FILES get OFFSET long if OFFSET == 0 break endif get ZSIZE long get SIZE long get UNK1 long get NAME_ABS_OFF long get PATH_NAME_ABS_OFF long savepos INFO_OFF xmath PATH_NAME_OFF "NAME_INFO_OFF + PATH_NAME_ABS_OFF" goto PATH_NAME_OFF get PATH string xmath FNAME_OFF "NAME_INFO_OFF + NAME_INFO_OFF_ABS + NAME_ABS_OFF" goto FNAME_OFF get FNAME string string NAME p "%s%s" PATH FNAME # clog NAME OFFSET ZSIZE SIZE if ZSIZE == 0 log NAME OFFSET SIZE else log NAME OFFSET ZSIZE endif goto INFO_OFF next i
I also missed off the PC version of the game which features the following file which presumably also has the audio inside.
packpc.t3p: https://m1.afileditch.ch/DJjQiqwrcTrTqtDPMExj.t3p
-
- Posts: 367
- Joined: Fri Mar 10, 2017 7:23 am
Re: Doctor Who - Top Trumps [Wii] [2008] Extraction of PACKWII.T3P & OPENING.BNR?
The PS2 script is compatible with the PC one, so no need to create another. However, what I've said about compression is still applies.
-
- Posts: 10
- Joined: Sun Aug 29, 2021 1:53 pm
Re: Doctor Who - Top Trumps [Wii] [2008] Extraction of PACKWII.T3P & OPENING.BNR?
Alright. Thanks for letting me know!