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


"hits" Files Dissection...

 
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: Thu Feb 17, 2022 3:22 am    Post subject: "hits" Files Dissection... Reply with quote Back to top

I had spent some time previously looking into these, but went back over another file and jotted down everything I could either figure out or get some kind of sense of.

Aside from obvious unknowns, I still don't know why props can't use anything other than the default hit type. Even if you set something else, it doesn't work. The BG files are fine, so the support for them must not be setup properly in .xex?


alarm2_hits (default.rbh)

0x14: Header Size [0x78]
0x18: Checksum [06A7E018]

0x30: Number of Entries in List 1 @ 0170 [0x35]
0x40: Number of Entries in List 2 @ 0250 [0x3]

0x50: Size of asset section (0x78-0x16F) [0xF8]
0x60: Size of asset section (0x78-0x16F) [0xF8]
0x64: Size of 2 lists before "hits" string (starts with 00000001 00000001) [0xF8]
0x74: Size of 2 lists before "hits" string (starts with 00000001 00000001) [0xF8]
0x81: Length from "hits" string to end [0x690]
0x95: Length from "hits" string to end [0x690]

0x9F: Length of file location text "default.rbh" and 00 [0x59]
0xA7: File location text "default.rbh"
0x100: Length of file location text "default.rbh.adb" and 00 [0x5D]
0x104: File location text "default.rbh.adb"

0x169: Length from "hits" string to end [0x690]

0x170: List 1 start
00000001 00000001 0000XXXX Entries [0x35]
Could these offset to data from "hits" string start?
first 6 right after "hits" string, rest after polygon list?

0x250: List 2 start
00000001 00000001 0000XXXX Entries [0x3]
Could these offset to data from "hits" string start?
0014 -> frequently 0000002C
0018 -> hit type list, number of hit types, scale of hits?
0024 -> other list at end (Dam only?)

0x268: "hits" text string

0x280: Offset to Hit Types (from "hits" string) [0x678]

0x286: Number of Hit Types [0x1]
0x288: Scale? [1.0]
0x28C: Offset to ??? (from "hits" string) (Dam only?) [0x680]

0x2D4: Number of Float Point Sets (Dam uses 2, since vertices exceed FFFF) [0x1]

0x2E0: Offset to Vertices (from "hits" string) [0x4B8]

0x2EC: Offset to Polygon List (from "hits" string) [0xC0]
0x2F0: Number of Polygons [0x14]
0x2F4: Offset to unknown table of data (from "hits" string) [0x160]
0x2F8: Series of Float Points
0x328: Polygon List (0x8 each = point #1, point #2, point #3, hit entry)
0x3C8: Unknown sets of data (assuming linked to by List 1)
0x720: Vertices (0x1C each)
0x8E0: Hit Types (0x8 each) [0x0 Default]
0x8E8: Unknown (ends with 0x10 null)


List of Hit Type Impacts (seems only work on BG files?)
00 Default
01 Stone
02 Wood
03 Metal
04 Glass
05 Water
06 Snow
07 Dirt (Black Smudge)
08 Mud (Black Smudge)
09 Tile
0A MetalObj
0B CHR (Black Smudge)
0C Glass_XLU


Last edited by Wreck on Fri Feb 18, 2022 1:58 am; edited 2 times in total
 
View user's profile Send private message Visit poster's website
Wreck
Administrator
Administrator


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

 PostPosted: Fri Feb 18, 2022 12:11 am    Post subject: Reply with quote Back to top

Updated this with "alarm2_hits" instead, as that's an object actually in use by levels such as Dam and Bunker. Also listed values assigned at locations noted, if it felt necessary.
 
View user's profile Send private message Visit poster's website
Will6546
Agent
Agent


Joined: 14 Jan 2022
Posts: 70
Location: In the Cold Time of-Northern, Mitten: State: area

 PostPosted: Fri Feb 18, 2022 10:17 am    Post subject: Reply with quote Back to top

Very cool bud good luck on your Experiments...

Um,may be off topic, sorry
I put your few great 2X guns cheat codes in my ED
Last night I like the 2X Lasers they even, look real cool in game, helps for when I'm out Ammo, in the tight spot like!) 2x K7 Evengers look great to!
So... Just was glad get them working bud, an I love the 2x Cross bows are Sweet.
My Map isn't loading in PD.ver.1.1 Rom I can't understand why it's not?( I have many codes off to.

I been busy today have a good weekend, Wreck cya 😎☮️🔙🔜 🤔.... ...
_________________
If you look further down the list of Tracks you'll see all my Works I done over the years 😎 WiLL
https://www.nfsaddons.com/downloads/nfshs/tracks/
 
View user's profile Send private message Visit poster's website
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 ]