Author Topic: Replay File/Memory documentation  (Read 4382 times)

0 Members and 1 Guest are viewing this topic.

ZeroX3k

  • Guest
Replay File/Memory documentation
« Reply #15 on: May 07, 2006, 11:32:16 PM »
Nice Work, Good Luck :)

Offline gunner

  • Senior Member
  • Posts: 2721
    • View Profile
    • ZeroLives.com
Replay File/Memory documentation
« Reply #16 on: May 08, 2006, 05:28:13 AM »
Quote
Nice Work, Good Luck :)
What nice work? theres nothing interesting in here yet..

Offline boxXx

  • Veteran Member
  • Posts: 4692
    • View Profile
Replay File/Memory documentation
« Reply #17 on: May 08, 2006, 10:42:36 AM »
i liek it hope you guys get more stuff :P  

mikey2008

  • Guest
Replay File/Memory documentation
« Reply #18 on: May 15, 2006, 06:05:04 PM »
yea so far this is really interesting seeing as how i have noe experence w/ .rep files or even Sa on pc yet.

Offline marklund

  • Posts: 6166
    • View Profile
    • http://
Replay File/Memory documentation
« Reply #19 on: May 27, 2006, 09:14:42 AM »
Hey Fox, any more progress? I'm really interested in this. :D

Offline gunner

  • Senior Member
  • Posts: 2721
    • View Profile
    • ZeroLives.com
Replay File/Memory documentation
« Reply #20 on: May 30, 2006, 05:22:09 AM »
nope, he doesnt mod gta anymore, so close this.

Offline JayFoxRox

  • Posts: 2221
    • View Profile
    • Homepage
Replay File/Memory documentation
« Reply #21 on: June 08, 2006, 02:28:24 AM »
This has been discussed on a german forum via pm.

We found sum more stuff. I will update the list when i know the whole format because i not want to give you wrong infos.

sry for that delay but i lost my gtas login data ^^

gunner: yeh - i said i m not making mp anymore (that much as before). i dunt lik other mods than mp. but i never said i will stop modding from one to another day. i will look around sumtimes and finish all my projects. so i m kinda back ;)

Offline JayFoxRox

  • Posts: 2221
    • View Profile
    • Homepage
Replay File/Memory documentation
« Reply #22 on: July 05, 2006, 10:28:17 AM »
Well i m sum kinda back and got some more information:

'.0 Type info - 8 bytes | Everytime GtaSA29{NULL}
'.8 Header - 52 bytes | Useless (?)
'.60 Matrix (XYZ) - 12 bytes | Useless (?)
'.72 xxx - 12 bytes | Useless (?)
'.84 Matrix (XYZ) - 12 bytes | Useless (?)
'.96 xxx - 24 bytes | Useless (?)
'.120 Matrix (XYZ) - 12 bytes | Useless (?)
'.132 xxx - 104 bytes | Useless (?)
'...
'.176 Matrix (???) - 12 bytes | Useless (?)

'.300 - 60 bytes | Zero

Thats been in my current Test replay. For now i m searching for the clothes states. Here are some:

0|00CDF163|TSHIRT|TSHIRT
0|CCA41CBB|VEST|VEST
1|47693314|PLAYER_FACE|HEAD
2|9C70F41F|BBSHORTWHT|BOXINGSHORT
2|8BCF9A28|JEANSDENIM|JEANS
3|BE526233|SNEAKERBINCBLK|SNEAKER
3|EDF74809|TIMBERFAWN|TIMBER

The naming is still wrong - Its texture change only when injecting at Gi3 (Head model? ô.O) -7 (Body) -3 (Head - cGi3) +1 (Trousers) +4 (Shoes)

w/e i cant figure out how the replay works - When deleting existing data the game will crash - when only writing zero to the useless stuff nothing changes (expect Camera warp which has to do sthin with one Matrix). When adding new zeros the game will crash anyways which messed up my idea of chunks

An important name seems to be 2222 (hexcode: 32 32  32 32) its found often (in steps of 344 bytes) which looks like an object pool to me.

The weather seems to be set by rockstar - its not random! I just need to have an look at the rep files which seem to link to an array rockstar set up in there gta_sa.exe ( - I still dno how dis is working anyways)

Also I noticed that the clothes states like Gi3 or Rb3 are found often to. The Replays got a fixed size of 98 kb - when having a longer one the header is left (expect clothes) and attached to the older ones. So 2 minutes replay (player only) is about big 782 kb ( ~ 8 * 98 )

When changing the header the game simply wont load ur file which is really tricky. w/e - The first 64 bytes seem to be the same everytime. I m sure its sum kind of internal setup.

Also i found out that 84 is used to store the original player stuff too (an F1 leftover? o.O). So when changing it to the current player pos (Must be 100%ly exactly) the replay mode wont be started! the screen is just frozen, Replay text is blinkin and u can c another Player running around doing the replay stuff close to you).


As i said i have stopped working on the tool used for changing replays - anyways i m programming an new tool which helps me to debug certain areas only, change time, weather, skin, bike/car colors adding spark, fire, ... when i know more.

Offline gunner

  • Senior Member
  • Posts: 2721
    • View Profile
    • ZeroLives.com
Replay File/Memory documentation
« Reply #23 on: July 05, 2006, 12:07:32 PM »
i still think you should post this at gtaforums.com

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal