1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

What format is the savefile in?

Discussion in 'Civ4 - General Discussions' started by vhhawk, Dec 23, 2008.

  1. vhhawk

    vhhawk Warlord

    Joined:
    Nov 21, 2008
    Messages:
    195
    Location:
    Oklahoma City
    What format is the vanilla Civ4 savefile in? I pulled it up in Vim yesterday to have a look around and it appears to be a binary file. Any chance it is simply a compressed XML?

    Apologies if this question is in the wrong place or has been covered to death. I searched a long time yesterday but I get lost in here.
     
  2. Roller123

    Roller123 Prince

    Joined:
    Oct 14, 2007
    Messages:
    589
    I dont know, but it is probably something compressed, since winrar doesnt compress it at all.
     
  3. Karl Townsend

    Karl Townsend Prince

    Joined:
    Dec 27, 2005
    Messages:
    429
    Vandango0758 AD-2028-January.CivBeyondSwordSave

    So the Extension is

    CivBeyondSwordSave(BtS)
    Civ4SavedGame (Orginal)
    CivWarlordsSave (Warlords)

    its in there own format of compression you would need a user created tool to decode these saves in a readable format

    In Notepad you just get

    This:

    Code:
    S&#353;Þ5NÝ\Þûgp¦÷ý}o×ÜC.&#8482;·§÷oû½&#8482;¿&#8250;ù2áf¦6<û#T>ïÎ&#382;I¨ü¶¹ÿ;{&#8225;v¸	R%ÕS). .90ænEý$§òWjÏ«}¦|Sù3v¿e4Ý&#381;3'söw§ÿnú£Í¯5?Ú¤J «§R@sÈånEÁÊÙù&#732;}ëû&#8221;ÏTêqÇu¾ÛÈ6¿Û¤J «§R@sx&#8222;Ê. .Tøøð©Õû-&#376;»³gôögÏ7×>U»oå!&#8226;û&#381;3ûȨú¨ûzr). .91+&#8225;ç¦õ¿;¬rtü«üÐÚjÇ+U&#381;oe&#8226;Ã&#338;Ö&#8482;JÍÑ&#8226;Ï»/FüÞò&#339;ù>. .ϵ^V7á@ª²z*4ÇìªE	dõT
    h&#381;&#8250;Ê&#352;Èê©Ð&#339;°ËV%ÕS). .9¯rÊQeÿ/nÝÝT	dõT
    hN&#8482;Ê&#352;X²z*4§MeE,Y=&#8226;&#8250;²©¬&#8224;%«§R@&#732;Ê&#352;X²z*4iSYKVO¥&#8364;&¯²&#338;&#8250; K=&#8226;&#353;)7&#8226;í#Ï@.õT
    h²]&#8226;±w+zqùþ&#8230;û&#382;Px¦Ý&#402;DM.Bå5OWMFåw&#8211;¥ð+&#8230;Ë
    Ï6&#8226;IÐä#TñÌëí1ûÖÿ&#8482;qß&#339;:&#339;émT	dõT
     
  4. warpstorm

    warpstorm Yumbo? Yumbo!

    Joined:
    Dec 19, 2001
    Messages:
    7,688
    Location:
    Snack Food Capital of the World
    It is a custom binary format (look at the SDK for more details).

    The WorldBuilder save, on the other hand, is text.
     
  5. vhhawk

    vhhawk Warlord

    Joined:
    Nov 21, 2008
    Messages:
    195
    Location:
    Oklahoma City
    Thanks for the info. I've been reluctant to break open the SDK because I don't want to think I'm that far gone. :shifty:
     

Share This Page