Page 1 of 1

Game.TOC Initial Entry Offset

Posted: Tue Aug 05, 2014 6:08 pm
by StarkNebula
Game.TOC is rather simple and document on YAGCD. However, the initial offset the first file is given seems arbitrary. Does anyone know how it is determined?
Image
Examples are: Super Monkey Ball 2; F-Zero GX.

Re: Game.TOC Initial Entry Offset

Posted: Tue Aug 05, 2014 11:02 pm
by emu_kidid
F-Zero GX is a big game if I recall correctly, maybe it's determined by ((size of disc)-(header crap))-(sum of all the game file sizes).

Re: Game.TOC Initial Entry Offset

Posted: Wed Aug 06, 2014 2:52 am
by StarkNebula
I thought the same, but doing the math, &&SystemData only adds up to 1.7Mb for GX and 1.9Mb for SMB2. However, GX is offset by ~21Mb, and SMB2 a whopping 423Mb. So I really don't get what's going on. (Well, SMB2 is odd for sure, it's index isn't linearly incremental, sometimes the offset goes up, then down, then back up (rather than always up.))