Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Doctor Who - Top Trumps [Wii] [2008] Extraction of PACKWII.T3P & OPENING.BNR?

Featured Replies

  • Author
  • Localization

klsd33, posted Wed Oct 19, 2022 1:08 am (73866)


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
  • Author
  • Localization

BloodRaynare, posted Wed Oct 19, 2022 6:40 am (73868)


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.

Code:
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


As for OPENING.BNR, it's just an animated banner for the Wii's menu when you inserted the game disc.
  • Author
  • Localization

klsd33, posted Wed Oct 19, 2022 2:53 pm (73873)


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.


That's great. Hopefully in the near future, the SFX and textures will also be useable and readable.

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
  • Author
  • Localization

BloodRaynare, posted Thu Oct 20, 2022 12:17 am (73879)


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

Code:
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


However, as always, file is still compressed (Haven't figured out what the compression algorithm is and the offset where the compression stream starts).
  • Author
  • Localization

klsd33, posted Thu Oct 20, 2022 2:11 am (73881)


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

Code:
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


However, as always, file is still compressed (Haven't figured out what the compression algorithm is and the offset where the compression stream starts).


Thanks.

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
  • Author
  • Localization

BloodRaynare, posted Thu Oct 20, 2022 2:21 am (73882)


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.
  • Author
  • Localization

klsd33, posted Thu Oct 20, 2022 2:57 am (73883)


Alright. Thanks for letting me know!
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.