rkagerer Posted March 19, 2017 Share Posted March 19, 2017 (edited) Those darn, sneaky aliens. They got the drop on my dropship, then immediately launched a terror mission in Australia while I couldn't respond. There goes the continent. Sure, I could have kept on playing in the post-nuclear world. But they've been pissing me off and that was the last straw. So out comes the secret super-weapon my cyber black-ops team has been working on. ET, I've got a surprise for you. If you're stuck in snag like this, don't have an older savegame handy, and really, really need your dropship back, here's how you can instantly repair it by editing your savegame. Use at your own risk - my engineers keep telling me they can't be held responsible for unwanted side-effects. My dropship was called "Charlie - 1" and it was stationed in my main base called "Rhodes". Scanning my file I found this: Aha! That chinook looks familiar. After the base name (Rhodes) there are seven null bytes (the 00's), then the four magic numbers circled in red. Comparing a few saves, I noticed these changed over time as my craft healed. I'm guessing they're values for fuel, damage, etc, and probably a bit field for aircraft status. Once my craft was recovered and fully repaired, they stabilized at "00 00 48 43". So I popped those values into an earlier savegame and voilà, the dropship is ready to respond! Take that, mutant scum! I'm posting this here as I noticed there isn't much info out there on the savegame format and I figure this might help someone else in the future. I don't condone cheating - you'll have more fun if you don't! But if you need a little edge, here you go. And just in case your edit unwittingly triggers alien armaggeddon - make sure to keep a pristine backup from before you went hacking around in your file. Edited March 19, 2017 by rkagerer Fix line spacing Quote Link to comment Share on other sites More sharing options...
Wulf2k Posted April 3, 2017 Share Posted April 3, 2017 That'll be a single precision float value in little endian format. 29 84 2A 42 flipped = 42 2A 84 29 https://gregstoll.dyndns.org/~gregstoll/floattohex/ So your ship had roughly 42.6 hit points. Changing it to 00 00 48 43 ( = 4348000) gave it 200.0 hit points. Quote Link to comment Share on other sites More sharing options...
rkagerer Posted April 3, 2017 Author Share Posted April 3, 2017 Neat, thanks! Quote Link to comment Share on other sites More sharing options...
Solver Posted April 3, 2017 Share Posted April 3, 2017 Right. There's the base name, then a 1-byte flag indicating "low fuel" status, then mission and kill counters (int), and hit points are after that as a float. Quote Link to comment Share on other sites More sharing options...
Wulf2k Posted April 4, 2017 Share Posted April 4, 2017 Int, hey? Anything special happen after the 2,147,483,648th mission or kill? Quote Link to comment Share on other sites More sharing options...
Solver Posted April 4, 2017 Share Posted April 4, 2017 Some other bug will have destroyed things by then Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.