Save Files
May 12 2011, 2:24 am
By: LoveLess  

May 12 2011, 2:24 am LoveLess Post #1

Let me show you how to hump without making love.

What exactly do save states for the game NOT include? I've heard some hearsay and would like to know exactly what it entails. From this, it will help me determine if I need to employ a save system.



None.

May 12 2011, 11:42 am NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

I've read somewhere that it doesn't save the state of randomized switches and playing wavs and speaking portraits.




May 12 2011, 12:39 pm rockz Post #3

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from NudeRaider
state of randomized switches
this seems like a really big oversight.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

May 12 2011, 3:09 pm LoveLess Post #4

Let me show you how to hump without making love.

So things like modified EUDs are all saved as well?



None.

May 12 2011, 3:50 pm NudeRaider Post #5

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

I'd say that depends on what part of the memory you're reading. The triggers are certainly untouched, wouldn't count on all variables though. If I were to guess I'd say currently active/blocked waits are also not saved.
My mentions were by no means comprehensive, and I'm not even sure because I never checked myself.
Probably Heinermann would know more of these things. Otherwise maybe you can just test the variables you need saved yourself?




May 12 2011, 3:59 pm Heinermann Post #6

memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes memes

Depends what you're doing with the EUD.

Switch states ARE saved. They are in a 96000 byte block that Starcraft just copies(and compresses) to save file.

Included in that 96000 block are
  • Some map settings
  • Player resources, scores, supply, upgrades, tech
  • Message filter (chat)
  • Current music ID
  • Console index
  • Alliance/Vision
  • Timers
  • Player Colors
  • Next scenario name
  • Saved Screen and Start Location positions
  • Selections
  • Some palette references
  • Player settings/forces including names
  • Leaderboard state
  • Game pauses remaining
  • Switch States
  • Locations
  • Timer pause state
  • Upgrades/Tech in progress
  • Other things

The state of the randomizer is also saved individually in another block. Triggers and their execution states are all copied.
Things like the AI are also saved in complete detail (such as AI "Captains", "Towns", "Controller" etc).

Things not saved:
  • The timers for trigger loops and countdown timer (The timer itself is saved, just not the frame counter between each countdown).
  • Pylon aura and selection circle images.
  • All non-modifiable DAT file data.
  • The position/state of a currently playing WAV or talking portrait. (Both of these are reasonable since they're handled by Storm and not Starcraft)
  • The per-player global trigger flags and states.
  • Trigger waits and wait states. However, this will resume the current action and re-execute the wait from the beginning. (untested)

Fun fact: You don't actually need a map to load a save file.

Post has been edited 1 time(s), last time on May 12 2011, 4:04 pm by Heinermann.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:37 am]
Ultraviolet -- 80% of statistics are made up on the spot
[08:05 pm]
Symmetry -- 50% of strings in starcraft are references
[2026-6-07. : 1:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[2026-6-06. : 5:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
Please log in to shout.


Members Online: Heinermann, GunPark12, GooKim12