KillzXGaming / Switch-Toolbox

A tool to edit many video game file formats
GNU General Public License v3.0
971 stars 155 forks source link

.PAK and .msbt file support Donkey Kong Country Tropical Freeze #112

Open timartinelli opened 5 years ago

timartinelli commented 5 years ago

Header 52 46 52 4D 00 00 00 00 00 06 A8 28 00 00 00 00 00 00 00 00 4D 53 42 54 00 00 00 05 00 00 00 05 55 53 45 4E 00 00 00 00 00 00 B5 50 00 00 00 00 00 00 00 00 00 00 00 00 4D 73 67 53 74 64 42 6E FF FE 00 00 01 03 03 00 00 00 50 B5 00 00 00 00 00 00 00 00 00 00 00 00 4C 42 4C 31 C5 2F 00 00

Extracted from .PAK file with tool at link below PakTool v1.02 developed by Aruki made to handle Retro Studios

https://drive.google.com/open?id=14vxMpGVmjZ8fHFjLxFULxal4QA4b2Vej

timartinelli commented 5 years ago

I mapped the .msbt files inside the .pak of the Donkey Kong game.

UI\UIPak.pak

ADRESS Name 1037EDD - USEN.msbt - size B550 1043445 - USFR.msbt - size CC50 10500AD - USSP.msbt - size CB20 105CBE5 - EUEN.msbt - size B550 106814D - EUFR.msbt - size CB10 1074C75 - EUSP.msbt - size CA80 108170D - EUGE.msbt - size C770 108DE95 - EUIT.msbt - size C160 109A00D - JPJP.msbt - size 86E0 502 - Entries

MiscData.pak

ADRESS Name AEC - USEN.msbt - size 1370 1E74 - USFR.msbt - size 15B0 343C - USSP.msbt - size 15A0 49F4 - EUEN.msbt - size 1370 5D7C - EUFR.msbt - size 15C0 7354 - EUSP.msbt - size 1590 88FC - EUGE.msbt - size 13E0 9CF4 - EUIT.msbt - size 1540 B24C - JPJP.msbt - size 1170 73 - Entries

ADRESS Name CBBF8 - USEN-2.msbt - size 0D60 CC970 - USFR-2.msbt - size 0D60 CD6E8 - USSP-2.msbt - size 0D60 CE460 - EUEN-2.msbt - size 0D60 CF1D8 - EUFR-2.msbt - size 0D60 CFF50 - EUSP-2.msbt - size 0D60 D0CC8 - EUGE-2.msbt - size 0D60 D1A40 - EUIT-2.msbt - size 0D60 D27B8 - JPJP-2.msbt - size 0D40 69 - Entries

ADRESS Name D4CE2 - USEN-3.msbt - size 4400 D90FA - USFR-3.msbt - size 4FF0 DE102 - USSP-3.msbt - size 4980 E2A9A - EUEN-3.msbt - size 4400 E6EB2 - EUFR-3.msbt - size 4ED0 EBD9A - EUSP-3.msbt - size 4970 F0722 - EUGE-3.msbt - size 4D30 F546A - EUIT-3.msbt - size 4830 F9CB2 - JPJP-3.msbt - size 2FD0 205 - Entries

Worlds\MapLevel.pak

ADRESS Name F049E4B - USEN.msbt - size 84E0 F052343 - USFR.msbt - size 9150 F05B4AB - USSP.msbt - size 88F0 F063DB3 - EUEN.msbt - size 84E0 F06C2AB - EUFR.msbt - size 8D60 F075023 - EUSP.msbt - size 8840 F07D87B - EUGE.msbt - size 8800 F086093 - EUIT.msbt - size 88C0 F08E96B - JPJP.msbt - size 58F0
184 - Entries

ADRESS Name 13264C9A - USEN-2.msbt - size 2D60 13267A12 - USFR-2.msbt - size 2E60 1326A88A - USSP-2.msbt - size 2D60 1326D602 - EUEN-2.msbt - size 2D60 1327037A - EUFR-2.msbt - size 2E60 132731F2 - EUSP-2.msbt - size 2D60
13275F6A - EUGE-2.msbt - size 2D60 13278CE2 - EUIT-2.msbt - size 2D60 1327BA5A - JPJP-2.msbt - size 2ED0 138 - Entries CREDITS

Worlds\w06_frozen\b00_frozen_warusKing.pak - CREDITS

ADRESS Name 56CBCF0 - USEN.msbt - size 2D60 56CEA68 - USFR.msbt - size 2E60 56D18E0 - USSP.msbt - size 2D60 56D4658 - EUEN.msbt - size 2D60 56D73D0 - EUFR.msbt - size 2D60 56DA248 - EUSP.msbt - size 2D60 56DCFC0 - EUGE.msbt - size 2D60 56DFD38 - EUIT.msbt - size 2D60 56E2AB0 - JPJP.msbt - size 2ED0 138 - Entries - CREDITS

timartinelli commented 5 years ago

The files are extracted from .PAK, the extraction must be done via Hex. Once extracted .msbt can be changed with Kurrimu normally. Then just put the files inside the .PAK via Hex, respecting the size of the files. I could not repackage these different sized .PAKs. If anyone is interested in this file is the addresses and size of the files.

KillzXGaming commented 5 years ago

MSBT files can be loaded now. Still need to do PAK.

timartinelli commented 5 years ago

thanks friend, posted 2 other .pak files in case it helps.

is on the link below.

https://drive.google.com/drive/folders/14vxMpGVmjZ8fHFjLxFULxal4QA4b2Vej?usp=sharing