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

Is there a primer for map editing?

Discussion in 'Civ1 - General Discussions' started by RobinDude, Apr 8, 2020.

Tags:
  1. RobinDude

    RobinDude Chieftain

    Joined:
    Apr 8, 2020
    Messages:
    10
    Hi there. I've been playing Civ on my Amiga emulator for a bit now, and realize I'd like to fiddle around with maps at this point. Is there a description somewhere of how Civ 1 stored the map data so I can alter it? I tried using Cheat Engine on the emulator to see what changed when I altered a specific square back and forth between irrigated and not, and it led me to find a value for that square. But when I changed it around a lot and looked at that square, all that seemed to happen is that the specific square was either irrigated or not. Kinda confused.
    As I write this, it occurs to me that perhaps it is an array of bits that controls whether a specific square is irrigated or not, which says nothing about what the square under it actually is (terrain type). Which would be... weird, but explicable I suppose.
     
  2. divec

    divec Chieftain

    Joined:
    May 17, 2019
    Messages:
    8
    Last edited: Apr 25, 2020
  3. RobinDude

    RobinDude Chieftain

    Joined:
    Apr 8, 2020
    Messages:
    10
    I am aware of it, now. Wasn't when I wrote this.
    The reason I ask is that I tend to like doing things myself. Also, if I can figure out how it's stored in memory, I can use Cheat Engine to change it on the first turn. :p Or change it on the fly.
     
  4. tupi

    tupi Chieftain

    Joined:
    Jun 25, 2011
    Messages:
    57
    Location:
    Russia
    .map files are compressed, at least in dos version. So it's not so easy to edit them without some decompression tool. You can learn about how they are compressed from JCivED source code, I guess...

    There's a very small chance that data is stored in Amiga version the exactly same way as in dos version. So, if it is .sve and .map files, I think you should try to open it with JCivED. At least out of curiosity.

    And about RAM editing... You can still use JCivED for better understanding. For example, on improvements map 0x1 is a city, 0x2 is irrigation, 0x4 is a mine and 0x8 is road. Probably Amiga has same values.
     
    Last edited: Apr 28, 2020

Share This Page