 |
 |
GoldenEye 007 Nintendo 64 Community, GoldenEye X, Nintendo 64 Games Discussion GoldenEye Cheats, GoldenEye X Codes, Tips, Help, Nintendo 64 Gaming Community
|
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
Wreck Administrator


Joined: 14 Dec 2005 Posts: 7244 Location: Ontario, Canada  |
Posted: Tue Feb 02, 2021 11:30 pm Post subject: Text File "default.str" Breakdown... |
 |
|
Very early, but I've made good progress thus far...
[addresses based on four character text name "arch"]
[if name is shorter or longer, can affect locations]
@ 0083 & @ 0097
Length from "text" string to end of file
@ 00A2
Character length of file name (end with zero)
@ 00A7
Original File Directory and Name "default.str"
@ 00FF
Character length of file name (end with zero) (can be further or sooner)
@ 0100
Original File Directory and Name 'default.str.adb" (can be further or sooner)
@ 0163 (can be further or sooner)
Length from "text" string to end of actual text (doesn't count any padding!)
@ 01BE (can be further depending on filename length)
Length to end of text from that spot
(might always believe ends in 00000000)
@ 01C2 (can be further depending on filename length)
Number of Entries
@ 01C4 (can be further depending on filename length)
Start of text entry table
Each entry is 0x6 long
XXYY (XX bank value and YY entry ID)
0000
???? (offset from start of text [divided by 2]) [begins at zero]
Ends with
FFFF
0000
???? (offset to last entry, which is just 0000)
Regarding the text...
Each character has "00" before it
Spaces are "0x20"
Asterisk (line change) is "0x0A"
Other locations of interest...
@ 18
0E common
02
06
0A
@ 1A
DE common
D2
D6
DA
@ 0053 & @ 0063
F0 common
F4 mpmenu, title
F8 options, propobj
FC mpweapons

Last edited by Wreck on Wed Feb 03, 2021 1:00 pm; edited 1 time in total |
|
|
|
|
|
 |
 |
 |
 |
 |
00action 00 Agent


Joined: 21 Feb 2007 Posts: 445 Location: UK  |
|
|
|
|
|
 |
 |
 |
 |
 |
Carnivorous Moderator

Joined: 15 Oct 2016 Posts: 657 Location: Ukraine  |
Posted: Wed Feb 03, 2021 8:15 pm Post subject: |
 |
|
All setups are in xex, data is unchanged from PAL. Same for built in AI lists.
Dam setup header: 82D115F0
Struct as follows per 4 bytes
path sets
path pointers
intro commands
object data
patrol paths
ai lists
pads
pads extra (also known as 27XX/10000 type)
Weapon stats block starts at 82420540, same struct as GE NTSC
Function 8240C368 starts loading all setups, believe it's called on first launch then copies all setup header pointers along with internal names to level temp struct. This is new compared to N64 versions
CAFF format has already been reversed, there is an extractor here
https://github.com/mojobojo/PublicXboxStuff/tree/master/Applications/Windows/bkextractor/caffextractor
Change the following code for it to work.
Code: | private string GetSymbolDestFromIndex(int index, string destFolder)
{
string path = Symbols[index - 1];
path = path.Replace("D:\\", "");
path = destFolder + "\\" + path;
return path;
} |
Code: | private string GetSymbolDestFromIndex(int index, string destFolder)
{
string path = Symbols[index - 1];
path = path.Replace(":", "");
path = destFolder + "\\" + path;
return path;
} |
|
|
|
|
|
|
 |
 |
 |
 |
 |
G14Classified Agent

Joined: 05 Oct 2012 Posts: 101
 |
Posted: Wed Feb 03, 2021 9:55 pm Post subject: |
 |
|
Super Excited to see this leaked,
what does this mean for the community??
How easy is it to de-compile and read vs the GE ROM?
Can GEX benefit in any way from this??
Can current levels be expanded and a lot more objects be added now that we are not confined to the n64 ram and processor?
I know its barely been two days, but so many questions, could anyone enlighten us?? Thanks |
|
|
|
|
|
 |
 |
 |
 |
 |
Carnivorous Moderator

Joined: 15 Oct 2016 Posts: 657 Location: Ukraine  |
Posted: Wed Feb 03, 2021 10:20 pm Post subject: |
 |
|
It means XBLA is out
It's still an O2 build, depends on PPC decompiler used
No
Depends how long it takes to document CAFF format |
|
|
|
|
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
 |