file formats

This commit is contained in:
UnitedAirforce
2025-01-31 18:43:28 +08:00
parent 2c73735719
commit 27199876c8
5 changed files with 108 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
This file is not really used? As achievement/mission is server-sided.
Start 2 byte is amount of achievements.
*(_QWORD *)v10 = RomReadString(); Name_en
*(_QWORD *)(v10 + 8) = RomReadString(); Name_ja
*(_DWORD *)(v10 + 16) = (unsigned __int8)RomReadUByte(); enabled
*(_DWORD *)(v10 + 20) = RomReadIntBig(); Amount_needed
*(_QWORD *)(v10 + 24) = RomReadString(); ID

View File

@@ -0,0 +1,28 @@
0 BootData related - OBB
1 BootData related - OBB
2 thumbs_1 - tuneFile
3 Avatar_1 - tuneFile
4 items - OBB
5 Skin - tuneFile
6 Tutorial - OBB
7 Tutorial - OBB
8 Result-related - OBB
9 Splash screen - OBB
10 Splash screen - OBB
11 PlayScene popups - OBB
12 Touch anim - OBB
13 EMPTY?
14 Logo - OBB
15 Splash screen - OBB
16 special event - tuneFile
17 thumbs_2 - tuneFile
18 Tutorial - OBB
19 NexTone - OBB
20 Avatar_2 - tuneFile
21 Splash screen - OBB
22 thumbs_3 - tuneFile
23 thumbs_4 - tuneFile (not there yet, but addable)
//More avatar support?
Blank image will default to red

View File

@@ -0,0 +1,8 @@
Start 2 byte header: amount of levels (299)
v10[7] = RomReadIntBig(); // Amount of xp required
v10[8] = (unsigned __int8)RomReadUByte(); // Award type: 01: Avatar 03: Skin 0A: Item
v10[9] = (unsigned __int8)RomReadUByte(); // Award ID.
v10[10] = RomReadIntBig(); // Most times 0, sometimes 2, 3, but no effect
v10[11] = (unsigned __int8)RomReadUByte(); // Always 0
v10[12] = (unsigned __int8)RomReadUByte(); // Always 0
v10[13] = RomReadIntBig(); // Always 0

View File

@@ -0,0 +1,51 @@
Header 2 byte per usual
*(v27 - 74) = RomReadIntBig(); //
*(v27 - 73) = (unsigned __int8)RomReadUByte();
*(v27 - 72) = RomReadIntBig();
*(v27 - 71) = (unsigned __int8)RomReadUByte();
*((_QWORD *)v27 - 35) = RomReadString();
*((_QWORD *)v27 - 34) = RomReadString();
*((_QWORD *)v27 - 33) = RomReadString(); //tumo
*((_QWORD *)v27 - 32) = RomReadString(); //tusc
*((_QWORD *)v27 - 31) = RomReadString();
*((_QWORD *)v27 - 30) = RomReadString();
*(v27 - 58) = RomReadIntBig();
*((float *)v27 - 57) = (float)(unsigned __int8)RomReadUByte() / 255.0;
*((float *)v27 - 56) = (float)(unsigned __int8)RomReadUByte() / 255.0;
*((float *)v27 - 55) = (float)(unsigned __int8)RomReadUByte() / 255.0;
*((float *)v27 - 54) = (float)(unsigned __int8)RomReadUByte() / 255.0;
*(v27 - 53) = (unsigned __int8)RomReadUByte();
*(v27 - 80) = (unsigned __int8)RomReadUByte();
*(v27 - 79) = RomReadIntBig();
*(v27 - 78) = (unsigned __int8)RomReadUByte();
*v27 = (unsigned __int8)RomReadUByte();
*(v27 - 52) = RomReadIntBig();
*(v27 - 51) = RomReadIntBig();
*(v27 - 50) = RomReadIntBig();
*(v27 - 49) = RomReadIntBig();
*(v27 - 48) = (unsigned __int8)RomReadUByte();
*(v27 - 30) = (unsigned __int8)RomReadUByte();
*(v27 - 29) = RomReadIntBig();
*(v27 - 26) = RomReadIntBig();
*(v27 - 28) = (unsigned __int8)RomReadUByte();
*(v27 - 27) = RomReadIntBig();
*(v27 - 36) = (unsigned __int8)RomReadUByte();
*(v27 - 35) = RomReadIntBig();
*(v27 - 33) = RomReadIntBig();
*(v27 - 19) = (unsigned __int8)RomReadUByte();
*(v27 - 18) = RomReadIntBig();
*(v27 - 15) = RomReadIntBig();
*(v27 - 17) = (unsigned __int8)RomReadUByte();
*(v27 - 16) = RomReadIntBig();
*(v27 - 25) = (unsigned __int8)RomReadUByte();
*(v27 - 24) = RomReadIntBig();
*(v27 - 22) = RomReadIntBig();
*(v27 - 8) = (unsigned __int8)RomReadUByte();
*(v27 - 7) = RomReadIntBig();
*(v27 - 4) = RomReadIntBig();
*(v27 - 6) = (unsigned __int8)RomReadUByte();
*(v27 - 5) = RomReadIntBig();
*(v27 - 14) = (unsigned __int8)RomReadUByte();
*(v27 - 13) = RomReadIntBig();
IntBig = RomReadIntBig();

View File

@@ -0,0 +1,13 @@
Header 2 byte, amount of objects.
*(_QWORD *)(v11 - 8) = RomReadString(); //Name
*(_DWORD *)v11 = (unsigned __int8)RomReadUByte(); //Image grid ID
*(_DWORD *)(v11 + 4) = RomReadIntBig(); // Autoincrementing, but has gaps
*(_QWORD *)(v11 + 8) = RomReadString(); // skin folder in skin.pak
*(_DWORD *)(v11 + 16) = (unsigned __int8)RomReadUByte();
*(_DWORD *)(v11 + 20) = RomReadIntBig();
*(_DWORD *)(v11 - 32) = (unsigned __int8)RomReadUByte();
*(_DWORD *)(v11 - 28) = RomReadIntBig();
*(_DWORD *)(v11 - 24) = (unsigned __int8)RomReadUByte();
*(_DWORD *)(v11 - 20) = RomReadIntBig();
*(_DWORD *)(v11 - 16) = (unsigned __int8)RomReadUByte(); //Always 00