Difference between revisions of "Saves (GTA VC)"
								
								Jump to navigation
				Jump to search
				
				
		
					
								
							
		|  (garages, game logic, cranes) |  (pickups, phone, restarts) | ||
| Line 249: | Line 249: | ||
| | 0x22 | | 0x22 | ||
| | byte | | byte | ||
| − | |  | + | | current radio station | 
| |- | |- | ||
| | 0x23 | | 0x23 | ||
| Line 261: | Line 261: | ||
| | 0x25 | | 0x25 | ||
| | byte | | byte | ||
| − | |  | + | | bomb type | 
| |- | |- | ||
| |colspan=3| Each vehicle is 0x28 in size | |colspan=3| Each vehicle is 0x28 in size | ||
| Line 350: | Line 350: | ||
| |} | |} | ||
| − | ==Block 8: Cranes  | + | ==Block 8: Cranes== | 
| {| class="sortable" {{prettytable}} | {| class="sortable" {{prettytable}} | ||
| ! Offset | ! Offset | ||
| Line 373: | Line 373: | ||
| ! Type | ! Type | ||
| ! Description | ! Description | ||
| + | <!-- | ||
| + | 0x00 	- 	- | ||
| + | 0x04 	- 	- | ||
| + | 0x08 	- 	- | ||
| + | 0x0C 	- 	- | ||
| + | 0x14 	- 	- | ||
| + | 0x18 	- 	- | ||
| + | 0x1C 	- 	- | ||
| + | 0x20 	- 	- | ||
| + | 0x24 	- 	- | ||
| + | 0x28 	- 	- | ||
| + | 0x2C 	- 	- | ||
| + | 0x30 	- 	- | ||
| + | 0x34 	- 	- | ||
| + | 0x38 	- 	- | ||
| + | 0x3C 	- 	- | ||
| + | --> | ||
| |- | |- | ||
| | 0x40 | | 0x40 | ||
| | float | | float | ||
| | current z rotation | | current z rotation | ||
| + | <!-- | ||
| + | 0x44 	- 	- | ||
| + | 0x48 	- 	- | ||
| + | 0x4C 	- 	- | ||
| + | 0x50 	- 	- | ||
| + | 0x54 	- 	- | ||
| + | 0x58 	- 	- | ||
| + | 0x5C 	- 	- | ||
| + | 0x60 	- 	- | ||
| + | 0x64 	- 	- | ||
| + | 0x68 	- 	- | ||
| + | 0x6C 	- 	- | ||
| + | 0x70 	- 	- | ||
| + | 0x74 	- 	- | ||
| + | 0x75 	- 	- | ||
| + | 0x76 	- 	- | ||
| + | 0x77 	- 	- | ||
| + | 0x78 	- 	- | ||
| + | 0x79 	- 	- | ||
| + | 0x7A 	- 	- | ||
| + | --> | ||
| |- | |- | ||
| |colspan=3| Each crane is 0x7C in size | |colspan=3| Each crane is 0x7C in size | ||
| + | |} | ||
| + | |||
| + | ==Block 9: Pickups== | ||
| + | {| class="sortable" {{prettytable}} | ||
| + | ! Offset | ||
| + | ! Type | ||
| + | ! Description | ||
| + | |- | ||
| + | | 0x0 | ||
| + | | float[3] | ||
| + | | x,y,z coordinates | ||
| + | <!-- | ||
| + | 0x0C 	- 	- | ||
| + | 0x10 	- 	- | ||
| + | 0x14 	- 	- | ||
| + | --> | ||
| + | |- | ||
| + | | 0x18 | ||
| + | | dword | ||
| + | | ammo or asset revenue | ||
| + | <!-- | ||
| + | 0x1C 	- 	- | ||
| + | 0x20 	- 	- | ||
| + | 0x24 	- 	- | ||
| + | 0x26 	- 	- | ||
| + | 0x2A 	- 	- | ||
| + | --> | ||
| + | |- | ||
| + | | 0x2E | ||
| + | | byte | ||
| + | | type | ||
| + | |- | ||
| + | | 0x2F | ||
| + | | byte | ||
| + | | has been picked up | ||
| + | <!-- | ||
| + | 0x30 	- 	- | ||
| + | --> | ||
| + | |- | ||
| + | |colspan=3| Each pickup is 0x34 in size | ||
| + | |} | ||
| + | |||
| + | ==Block 10: Phone Info== | ||
| + | {| class="sortable" {{prettytable}} | ||
| + | ! Offset | ||
| + | ! Type | ||
| + | ! Description | ||
| + | |- | ||
| + | <!-- | ||
| + | 0x00 	- 	- | ||
| + | --> | ||
| + | | 0x04 | ||
| + | | dword | ||
| + | | number of phones | ||
| + | |- | ||
| + | | 0x08 | ||
| + | | [50] | ||
| + | | phone structures, see below | ||
| + | |} | ||
| + | {| class="sortable" {{prettytable}} | ||
| + | ! Offset | ||
| + | ! Type | ||
| + | ! Description | ||
| + | |- | ||
| + | | 0x0 | ||
| + | | float[3] | ||
| + | | x,y,z coordinates | ||
| + | |- | ||
| + | | 0x2C | ||
| + | | dword | ||
| + | | phone status (3=idle,9=ringing,others=leftover GTA III stuff) | ||
| + | |- | ||
| + | |colspan=3| Each phone is 0x34 in size | ||
| + | |} | ||
| + | |||
| + | ==Block 11: Restart Points Buffer== | ||
| + | {| class="sortable" {{prettytable}} | ||
| + | ! Offset | ||
| + | ! Type | ||
| + | ! Description | ||
| + | |- | ||
| + | | 0x00 | ||
| + | | string | ||
| + | | RST | ||
| + | <!-- | ||
| + | 0x4 	- 	- | ||
| + | --> | ||
| + | |- | ||
| + | | 0x8 | ||
| + | | float[3] | ||
| + | | hospital x,y,z coordinates | ||
| + | |- | ||
| + | | 0x14 | ||
| + | | float | ||
| + | | hospital z angle | ||
| + | |- | ||
| + | |colspan=3| Each point is 0x8 in size | ||
| + | |- | ||
| + | | 0x88 | ||
| + | | float[3] | ||
| + | | police x,y,z coordinates | ||
| + | |- | ||
| + | | 0x94 | ||
| + | | float | ||
| + | | police z angle | ||
| + | |- | ||
| + | |colspan=3| Each point is 0x8 in size | ||
| + | <!-- | ||
| + | 0x104 	- 	- | ||
| + | 0x108 	- 	- | ||
| + | 0x10A 	- 	- | ||
| + | 0x10C 	- 	- | ||
| + | 0x10D 	- 	- | ||
| + | 0x10E 	- 	- | ||
| + | --> | ||
| + | |- | ||
| + | | 0x110 | ||
| + | | float[3] | ||
| + | | override x,y,z coordinates | ||
| + | |- | ||
| + | | 0x11C | ||
| + | | float | ||
| + | | override z angle | ||
| + | <!-- | ||
| + | 0x120 	- 	- | ||
| + | 0x121 	- 	- | ||
| + | 0x122 	- 	- | ||
| + | 0x123 	- 	- | ||
| + | --> | ||
| |} | |} | ||
Revision as of 03:36, 22 August 2010
Contents
Block 0: Miscellaneous
| Offset | Type | Description | 
|---|---|---|
| 0x30 | word | Year | 
| 0x32 | word | Month | 
| 0x34 | word | Day of week | 
| 0x36 | word | Day | 
| 0x38 | word | Hour | 
| 0x3A | word | Minutes | 
| 0x3C | word | Seconds | 
| 0x3E | word | Milliseconds | 
| 0x48 | float[3] | camera coordinates (x,y,z) | 
| 0x54 | dword | length (ms) of in-game minute (1000=normal) | 
| 0x5C | dword | game hour | 
| 0x60 | dword | game minute | 
| 0x6C | float | game speed (015D) | 
| 0x90 | dword | current weather | 
| 0x98 | dword | current weather table offset (between 0 and 63) | 
| 0x9C | float | current vehicle camera view (between 0.0 and 5.0) | 
| 0xA0 | float | current on foot camera view (classic controls only) | 
| 0xA4 | dword | current interior (04BB) | 
| 0xA8 | dword | taxi boost jump (0572) | 
| 0xB0 | dword | sky color (04F9) | 
| 0xB4 | dword | sky atmosphere (0=normal,1=interior) | 
| 0xB8 | float | sky atmosphere blue overlay (between 0.0 and 1.0) | 
Block 3: Garages
| Offset | Type | Description | 
|---|---|---|
| 0x00 | dword | number of garages (0219) | 
| 0x04 | dword | free bombs (0=not,1=yes) | 
| 0x08 | dword | free respray (0335) | 
| 0x18 | dword | garage type 8 status, see below | 
| 0x1C | dword | garage type 9 status | 
| 0x20 | dword | garage type 10 status | 
| 0x24 | dword | garage type 22 status | 
| 0x2C | [48] | garage car structures, see below | 
| 0x7AC | [32] | garage structures, see below | 
Export garage status:
- 0x01=car 1 collected
- 0x02=car 2 collected
- 0x04=car 3 collected
- 0x08=car 4 collected
- 0x10=car 5 collected
- 0x20=car 6 collected
Add them up to set the garage as car already collected:
1 + 2 = 3, cars 1 and 2 collected 1 + 2 + 20 = 23, cars 1, 2, and 6 are collected
Garage car structure:
| Offset | Type | Description | 
|---|---|---|
| 0x00 | dword | model ID | 
| 0x04 | float[3] | x,y,z position | 
| 0x10 | float[3] | x,y,z vector rotation | 
| 0x1C | dword | immunities | 
| 0x20 | byte | primary color | 
| 0x21 | byte | secondary color | 
| 0x22 | byte | current radio station | 
| 0x23 | byte | variation 1 | 
| 0x24 | byte | variation 2 | 
| 0x25 | byte | bomb type | 
| Each vehicle is 0x28 in size | ||
Garage structure:
| Offset | Type | Description | 
|---|---|---|
| 0x00 | byte | type | 
| 0x01 | byte | door status (0=closed,1=opened,2=closing,3=opening) | 
| 0x02 | byte | max number of cars to store (4=default) | 
| 0x19 | byte | swing door (03BB) | 
| 0x1A | byte | camera follow player (03DA) | 
| 0x1C | float[3] | entrance bottom left x,y,z coordinates | 
| 0x28 | float[4] | rx,ry,rz,rw quaternion rotation | 
| 0x38 | float | ceiling z coordinate | 
| Each garage is 0xA8 in size | ||
Block 4: Game Logic
| Offset | Type | Description | 
|---|---|---|
| 0x00 | dword | number of restart taxis (058D) | 
| 0x04 | [16] | restart taxi locations, see below | 
| Offset | Type | Description | 
|---|---|---|
| 0x0 | float[3] | x,y,z coordinates | 
| 0xC | float | z angle rotation | 
| Each restart taxi is 0x10 in size | ||
Block 8: Cranes
| Offset | Type | Description | 
|---|---|---|
| 0x00 | dword | number of cranes | 
| 0x08 | [8] | crane structure, see below | 
| Offset | Type | Description | 
|---|---|---|
| 0x40 | float | current z rotation | 
| Each crane is 0x7C in size | ||
Block 9: Pickups
| Offset | Type | Description | 
|---|---|---|
| 0x0 | float[3] | x,y,z coordinates | 
| 0x18 | dword | ammo or asset revenue | 
| 0x2E | byte | type | 
| 0x2F | byte | has been picked up | 
| Each pickup is 0x34 in size | ||
Block 10: Phone Info
| Offset | Type | Description | 
|---|---|---|
| 0x04 | dword | number of phones | 
| 0x08 | [50] | phone structures, see below | 
| Offset | Type | Description | 
|---|---|---|
| 0x0 | float[3] | x,y,z coordinates | 
| 0x2C | dword | phone status (3=idle,9=ringing,others=leftover GTA III stuff) | 
| Each phone is 0x34 in size | ||
Block 11: Restart Points Buffer
| Offset | Type | Description | 
|---|---|---|
| 0x00 | string | RST | 
| 0x8 | float[3] | hospital x,y,z coordinates | 
| 0x14 | float | hospital z angle | 
| Each point is 0x8 in size | ||
| 0x88 | float[3] | police x,y,z coordinates | 
| 0x94 | float | police z angle | 
| Each point is 0x8 in size | ||
| 0x110 | float[3] | override x,y,z coordinates | 
| 0x11C | float | override z angle | 
External links
- Very old development topic - retrieved from archive.org
 GTAForums: Current development topic GTAForums: Current development topic
 GTAForums: Savefile Editor - by voodoo48 GTAForums: Savefile Editor - by voodoo48


