You are viewing our Forum Archives. To view or take place in current topics click here.
[Release] Walkerneo's CoD4 GSC mods on SVG tool!
Posted:
[Release] Walkerneo's CoD4 GSC mods on SVG tool!Posted:
Status: Offline
Joined: May 19, 201014Year Member
Posts: 1,698
Reputation Power: 73
Virus Scan: [ Register or Signin to view external links. ]
Download: www (dot) cfgmodding (dot) com/Forum/index.php?topic=4727.0
(inner) save game you MUST use: [ Register or Signin to view external links. ]
Picture of the tool:
[ Register or Signin to view external links. ]
Quote from Walker:
Download: www (dot) cfgmodding (dot) com/Forum/index.php?topic=4727.0
(inner) save game you MUST use: [ Register or Signin to view external links. ]
Picture of the tool:
[ Register or Signin to view external links. ]
Quote from Walker:
I love the idea of being able to do GSC scripts in savegames, so I wrote up a quick program to open the call of duty 4 savegame GSCs.
All it does:
1. Reads int32 size at 0x450
2. Goes to offset at 0x450 + size
3. Skips 4 bytes (no clue what they are)
4. Read int32 size as the number of blocks to be read
5. Read int32 as size of next block
6. Read the amount of bytes indicated by the previously read size
7. Repeat 5-6 until all blocks are read (as indicated by the count in step 4)
Similar process for saving:
1. Go to same offset as step 2 above
2. Skip 4 bytes
3. Write block count
4. For each block, write size, then write block
To get the blocks to show up correctly in the winforms textBox, I replaced null bytes with \r\n and did the reverse when writing the blocks back to the file.
This will only work on the inner savegames and is probably super buggy. I made a very minor change to Poison's savegame and loaded it to make sure it worked, but I'm not sure how well it's actually going to work.
Teh1337 is working on his version of this, so hopefully this will work until then!
#2. Posted:
Status: Offline
Joined: Aug 02, 201113Year Member
Posts: 1,128
Reputation Power: 40
Status: Offline
Joined: Aug 02, 201113Year Member
Posts: 1,128
Reputation Power: 40
Link is down plz fix it thx
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: May 19, 201014Year Member
Posts: 1,698
Reputation Power: 73
Metagon wrote Link is down plz fix it thx
Check back in a min, I have to recover the topic.
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.