Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > Scenario League / Civ2-Creation -Archive > Hex-editing: Adding a Civilization?
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Captain Nemo is offline Captain Nemo
Prince
Red Front
Jan 1970
time: 05:12
Question  Old Post 09-01-2000 16:45 Visit Captain Nemo's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Hex-editing: Adding a Civilization? Tired of ads?

Is anyone familiar with hex-editing an .scn or .sav file? I am trying to add a 5th civ to a game that only was set up with 4.

Captain Nemo is offline Captain Nemo
Prince
Red Front
Jan 1970
time: 05:12
Lightbulb  Old Post 23-01-2000 02:50 Visit Captain Nemo's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Suffering from ads?

I received no answers to my question here so I assume it means nobody knows... Well, I now have resolved it... and it might be useful to others.
If you have a saved scenario or game and want to add more Civs to it (To avoid having to start a setup from scratch) you CAN DO IT!

Here is how:
Use a Hex editor to open the .sav file. Set the editor to display the Hexcode in lines of 16 2-byte words. The active Civs in play are identified by the 15th word of the third line.

For example:
FF=11111111 means all Civs + Barbarians in play
F0=11110000 means Civs 1-4 in play, no barbarians
0F=00001111 means Civs 5-7 + Barbarians in play
7A=01111010 means Civs 2-5 + 7 in play, no barbarians
etc...
It works, I tested it!

For beginners at this, the hexcodes are:
0=0000
1=0001
2=0010
3=0011
4=0100
5=0101
6=0110
7=0111
8=1000
9=1001
A=1010
B=1011
C=1100
D=1101
E=1110
F=1111
Please feel free to E-mail me (Address in my profile) with any questions.

Allard HS is offline Allard HS
Prince
NL
Jan 1970
time: 06:12
Post  Old Post 23-01-2000 03:37 Visit Allard HS's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Browse Apolyton AD-FREE

Very interesting...

What about adding an 8th civ? Just adding another 1? That's what Harlan is after. But I guess it isn't possible.

Are there more things that are hex-editable? The start values like flat/round world, barbarian activity etc. must also all be somewhere there.

Captain Nemo is offline Captain Nemo
Prince
Red Front
Jan 1970
time: 05:12
Post  Old Post 24-01-2000 02:38 Visit Captain Nemo's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton

Yes, everything is in there... It's just tricky to find it because there is so much data and it's almost all Hex-codes.
What I did is started the absolutely simplest game: 3 players, no restart and saved it then entered the cheatmode and destroyed one of the three civs and saved it again.
By comparing the hexcodes word by word, I came across something that had changed which told me the location of the No. of civs settings. I also did a bit of editing of cities (Removed/added coastal flags etc...)using Andrew Living's tips on Hex-editing... He had figured out all the codes for the cities but not the Civs in play.
There is no way to add an 8th civ since the 8th bit is the barbarian bit.

Michael Daumen is offline Michael Daumen
Prince
Research Triangle
Jan 1970
time: 00:12
Question  Old Post 24-01-2000 18:51 Visit Michael Daumen's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

What sort of editor is necessary to fiddle with this stuff?

Captain Nemo is offline Captain Nemo
Prince
Red Front
Jan 1970
time: 05:12
Post  Old Post 25-01-2000 01:41 Visit Captain Nemo's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton buy from Amazon

I downloaded the Hex-Editor "HEdit" that Andrew Livings suggested. I don't know the address but it's on his site under utilities.
There is also a full explanation on how to edit all the city codes. And it's very straight forward.

Civfan is offline Civfan
Prince
Toronto, Canada
Sep 1999
time: 05:12
Post  Old Post 25-01-2000 07:59 Visit Civfan's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Browse Apolyton AD-FREE

Andrew Livings site?

Captain Nemo is offline Captain Nemo
Prince
Red Front
Jan 1970
time: 05:12
Post  Old Post 28-01-2000 02:32 Visit Captain Nemo's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton buy from Amazon

Yes, Andrew's site: http://members.xoom.com/HistCiv2/index2.htm
In the Help section under city editing there is a nice write up on how to do this for a city (Change ownership, change size, location, coastal/non-coastal etc...) and a recommended Hex-Editor and where to get it.

BTW I reversed the order of the Civs above: It's really 7,6,5,4,3,2,1,Barbarians. So, for example 11110000 means Civs 7-4 in play, no barbarians.

Gothmog tried the tip and figured out that I had them reversed. Thanks.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:12.
Apolyton Time is 00:12.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0293 seconds (87.97% PHP - 12.03% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net