ShootersForever.com Forum Index

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


Text File "default.str" Breakdown...

 
Post new topic   Reply to topic    ShootersForever.com Forum Index -> GoldenEye XBLA
View previous topic :: View next topic  
Wreck
Administrator
Administrator


Joined: 14 Dec 2005
Posts: 7197
Location: Ontario, Canada

 PostPosted: Tue Feb 02, 2021 11:30 pm    Post subject: Text File "default.str" Breakdown... Reply with quote Back to top

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
 
View user's profile Send private message Visit poster's website
00action
00 Agent
00 Agent


Joined: 21 Feb 2007
Posts: 445
Location: UK

 PostPosted: Wed Feb 03, 2021 11:19 am    Post subject: Reply with quote Back to top

This is great thanx for posting. I was just looking at the files myself, its not obvious where the setup files are, maybe in the level deafult file?
_________________
My YouTube Channel
https://www.youtube.com/channel/UCGWK44nRWYkQyNUcauIiIYQ
My Twitch Channel
https://www.twitch.tv/00action
 
View user's profile Send private message
Carnivorous
Moderator
Moderator


Joined: 15 Oct 2016
Posts: 657
Location: Ukraine

 PostPosted: Wed Feb 03, 2021 8:15 pm    Post subject: Reply with quote Back to top

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;
        }
 
View user's profile Send private message
G14Classified
Agent
Agent


Joined: 05 Oct 2012
Posts: 101

 PostPosted: Wed Feb 03, 2021 9:55 pm    Post subject: Reply with quote Back to top

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
 
View user's profile Send private message
Carnivorous
Moderator
Moderator


Joined: 15 Oct 2016
Posts: 657
Location: Ukraine

 PostPosted: Wed Feb 03, 2021 10:20 pm    Post subject: Reply with quote Back to top

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
 
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ShootersForever.com Forum Index -> GoldenEye XBLA All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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

Cobalt 2.0 BB theme/template by Jakob Persson.
Copyright © 2002-2004 Jakob Persson


Powered by BB © 01, 02 BB Group

 


Please Visit My Other Sites: GoldenEyeForever.com | GrandTheftAutoForever.com

Got kids? Check out my Dora The Explorer site with games and coloring pages!

Our forums feature Nintendo 64 games, GoldenEye 007 N64 New Maps and Missions, GoldenEye Cheats, N64 Emulator, Gameshark, GoldenEye Multiplayer and more!

[ Privacy Policy ]