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

Game Settings Extractions

Discussion in 'Civ3 - Utility Programs' started by ainwood, May 13, 2004.

  1. ainwood

    ainwood Consultant. Administrator

    Joined:
    Oct 5, 2001
    Messages:
    30,074
    I have seen a few requests for getting the world seed out of save games (seeing as the 'play last world' and 'world seed' options were added to conquests).

    So I decided to automate this via a utility. The attached utility will allow the user to get the world settings out of C3C, PTW and Vanilla Civ (1.29f only) saves.

    Note: To extract the details from non-scenario C3C games, you will need to have conquest installed (so that the utility can read data from the conquests.BIQ file).

    Please let me know if you find any bugs (I didn't put overly robust error handling in, and didn't exhaustively test it on all versions and scenarios). You can e-mail me with problematic saves to: cfcgotm@civgmail.com

    Or upload them in this thread. :)

    Edit: New version 1.0.2 attached.

    Version History:
    v1.0.0: Original Release (removed after 230 downloads)
    v1.0.1: (removed after 348 downloads)
    Fixed problem with mistaken identification of GOTM files.
    Fixed problem failing to read base Conquests games.
    v1.0.2: Added ability to export settings to a text file.


    For those of you who don't want to download the full setup pack, you can instead just download the new .exe. :)
     
  2. Gogf

    Gogf Indescribable

    Joined:
    Oct 12, 2003
    Messages:
    10,163
    Location:
    Plane Of Fish Sticks
    Awesome! I will definately use this, as I want to try the GGF1 map on an actually hard difficulty (emperor for this map). Thanks Ainwood!
     
  3. Revolutionary

    Revolutionary Anarchy!

    Joined:
    Dec 13, 2003
    Messages:
    811
    Location:
    Fighting The Good Fight
    this utility is great thank you very much :thanx:

    :hmm: it doesn't seem to be able to read C3C 1.15 beta saves, it says "failed reading save file"
     
  4. ainwood

    ainwood Consultant. Administrator

    Joined:
    Oct 5, 2001
    Messages:
    30,074
    Can you send me one please? gotm@civfanatics.net. :)
     
  5. MarineCorps

    MarineCorps Explosion!

    Joined:
    Jun 26, 2003
    Messages:
    8,187
    Gender:
    Male
    Location:
    Cape Cod
    Thank you ainwood this is extremly useful! :thanx: :thanx: :thanx: :thanx:
     
  6. sabrewolf

    sabrewolf Demidemigod

    Joined:
    Jan 11, 2004
    Messages:
    142
    Location:
    turicum, helvetistan
    :lol: good tool!

    but wierd stuff: i opened an old SP file which i once tweaked a bit to make a 20k-city-victory possible and it game me the error message "surely you wouldn't have thought that you could get GOTM spoiler info by using this utility, would you".
    as i don't play GOTM... no, i didn't think ;)

    anyway, it seems you criteria for defining GOTM saves are a bit too broad :)

    looking especially forward to the trade assist for c3c :)
     
  7. ainwood

    ainwood Consultant. Administrator

    Joined:
    Oct 5, 2001
    Messages:
    30,074
    Can you send me a copy of that file, please?
     
  8. sabrewolf

    sabrewolf Demidemigod

    Joined:
    Jan 11, 2004
    Messages:
    142
    Location:
    turicum, helvetistan
    here it is.

    although i usually play emperor level, i thought i had to go back to a lower level to get a 20k city victory. also, i enhanced the city location a bit and moved the starting location. i presume that makes your extractor think it's something else
     

    Attached Files:

    • 20k.zip
      File size:
      126.6 KB
      Views:
      440
  9. ainwood

    ainwood Consultant. Administrator

    Joined:
    Oct 5, 2001
    Messages:
    30,074
    Thanks!

    I've tweaked the check -> in the next version that problem should be gone. :)
     
  10. handy900

    handy900 Deity

    Joined:
    Jun 5, 2003
    Messages:
    2,411
    Location:
    Tennessee, USA
    I got this error message when trying to open a C3C 1.15 file from the HNDY03 - AWE SG. (SG link in sig)
    Supposed to be continents, but we are wondering if it's pangaea since the landmass looks funky. Tiny map if that matters. This will be a way cool tool.
    Save attached. :D

     
  11. ainwood

    ainwood Consultant. Administrator

    Joined:
    Oct 5, 2001
    Messages:
    30,074
    Thanks for the save -> it helped me track-down a bug. It is a continents game.
     
  12. ainwood

    ainwood Consultant. Administrator

    Joined:
    Oct 5, 2001
    Messages:
    30,074
    Ok -> New version attached. :) See the top post.
     
  13. handy900

    handy900 Deity

    Joined:
    Jun 5, 2003
    Messages:
    2,411
    Location:
    Tennessee, USA
    Works Great. We are unworthy. :worship:
    Is it hard to add AI aggression level, victory conditions enabled, Ai respawm on/off, etc. This is a great SG utility. Thank you! :D
     
  14. KayEss

    KayEss Gone to the dogs

    Joined:
    Feb 1, 2004
    Messages:
    227
    Location:
    Bangkok
    Looks interesting. Is there any chance of doing a C/C++ library or better yet an ActiveX version of this?

    Just asking as I've been meaning to get around to building a PBeM management site and this'd be really useful for it to read out turn numbers, game rules, next player etc. information when .SAV files come in.
     
  15. Ellkol

    Ellkol Chieftain

    Joined:
    Mar 6, 2004
    Messages:
    17
    Location:
    Observing all
    Thanks Ainwood! :love:

    Question deleted.

    Answer: No.



    No.




    And: oh my god, NO!
     
  16. Longasc

    Longasc Deity

    Joined:
    Jun 18, 2003
    Messages:
    2,763
    He ainwood, savior of the map seed seekers! :)

    I ask you for a FEATURE - to be able to save the Seed and Settings as a standard plain vanilla .txt file.

    This would be really great. It would be worth a small wonder, ainwood's world seed extractor utility -> makes 1 citizen (Longasc) happy. ;)
     
  17. KayEss

    KayEss Gone to the dogs

    Joined:
    Feb 1, 2004
    Messages:
    227
    Location:
    Bangkok
    Outputting to a text file would be great (especially if it can be automated) if COM is too hard.

    Do Longsac and I have to go in search of a (scientific) great leader to pass on to hurry this one up?
     
  18. ainwood

    ainwood Consultant. Administrator

    Joined:
    Oct 5, 2001
    Messages:
    30,074
    Good idea! That one I can do fairly quickly. See the top post. :)
     
  19. Longasc

    Longasc Deity

    Joined:
    Jun 18, 2003
    Messages:
    2,763
    Thanks a lot, it works great - and looks like this:

    D:\Civilization\Conquests\Saves\Cleopatra of the Egyptians.sav

    Barbarians: ROAMING.

    Climate: NORMAL.

    LandForm: CONTINENTS.

    Map Size: HUGE.

    Ocean Coverage: 70%.

    Temperature: WARM.

    World Age: 4 BILLION YEARS.

    World seed: 2100160304

    PLAYERS:
    Egypt (Human player)
    Inca
    Maya
    America
    Aztecs
    Iroquois
    Rome
    Greece
    France
    England
    India
    Persia
    Babylon
    Scandinavia
    Japan
    Byzantines


    no more typing - thanks, ainwood! (+1 happy citizen) :goodjob:
     
  20. sabrewolf

    sabrewolf Demidemigod

    Joined:
    Jan 11, 2004
    Messages:
    142
    Location:
    turicum, helvetistan
    ainwood,
    i generated a large map, but with just 8 players (instead of 12). your GSE extracted the information from the game, but it wasn't completely equal. geography was perfectly matching, but starting locations and some resources were different. i presume this comes from the number of players.

    so i changed the rules that large has only 8 players... and there... the map was even closer, but still not a match! i then gave up when trying to find the right minimal starting distance between civs. and maybe it's another reason

    now my question: do you think it's possible that your tool can extract all data for creating the exact match? what other factors could be infuencing the resource and SL placement?
     

Share This Page