Results 1 to 18 of 18

Thread: Changing turn/year in save file

  1. #1

    Default Changing turn/year in save file

    I have decided to write this tutorial here in org, because I am not sure if it will not be destructed in TWC during its period of instability. It is a bit difficult to start in some other "English" speaking place for me with some tutorial, because my English is bad and in TWC it took me some time than readers my posts concetrated what I am saying and not how I am saying it. So dont be afraid that you dont understand nothing after the first reading this my post. Its normal. But after several readings you will be able to grasp what I have meant and trust me, I write only things which are worth of it ....

    So, to the problem.

    Definition of problem:
    I am in permanent lack of free time. Nebvertheless I am eager to paly MTW2 also from time to time. So my style of playing is slow pace of one concrete campaign, which I interrupt several times during day and I dont care about starting some new campaign till the time I have "mined" the original one. I was curious what is the feeling of the MTW2 vanilla, so I ahve started as HRE with original imperial campaign, without any modification already available in the start and with origianl 2years/turn pace. I like the campaign, but I dont like the incoherence of age in my family with aears in camapigns and I also have so complicated situations in game that I prefer now to have more time for solving them in the particular era. From this I ahve implyid today morning that I will mod the turns and years in the save file firstly and then will play my campaign again after a 1 week pause. I do it for myself, so there is no problem as for explanations how and with what hexedit tha save file. Please if you are not gramot in this, wait to the time when ShellShock will incorpaote this my approach to his MedSelector mod.

    Which places must be changed?
    Well, I will not send some pictures, it is so simple that anybody will see it after short viewing the file.
    Open the file in hexeditor and almost in the start of the file, after a short section with "4", you will see the section with text, which is strating with D.
    Exactly this part of file is this:

    Code:
    .........D......P...POSITION.....WORLD_MAP.....AI_GLOBAL_STRATEGY_DIRECTOR.....DIPLOMATIC_ATTITUDE.....JOURNAL_EVENT.....GROUND_TILE.....MERCENARY_DESCRIPTION.....ECONOMICS_DATA.....LOG_EVENT.....AI_GLOBAL_PRODUCTION_CONTROLLER.....FACTION.....WORLD_MAP_PARAMETERS.....SIEGE_ENGINE_QUEUE_ITEM.....MAP_REGIONS.....LEGION_DESCRIPTION.....HOLD_REGIONS.....SOLDIER_PERSISTENT.....ANCILLARY_UNIT.....FORT_MANAGER.....EVENT_DETAILS.....BUILDING.....GARRISON_RESIDENCE.....CHARACTER_DB.....WATCHTOWER_MANAGER.....SETTLEMENT_MECHANICS.....HORDE.....FORT_SHROUD.....PORT_MANAGER.....FOG_OF_WAR_TABLE.....WATCHTOWER_SHROUD.....SETTLEMENT_MANAGER.....PORT_SHROUD.....DENOUNCEMENT_MISSION.....UNIT_SHIP.....WIN_CONDITION.....AI_FACTION_BASE.....BUILDING_CONSTRUCTION_ITEM.....RESOURCE_MANAGER.....SETTLEMENT_SHROUD.....OFFICER.....STRATEGY_DATE.....ROAD_MANAGER.....SETTLEMENT_HEADER.....EVENT_MANAGER.....FAMOUS_BATTLE_DETAIL.....FORT.....AI_CHEAT_MANAGER.....WATCHTOWER.....DIPLOMATIC_PROPOSITION.....CHARACTER_RECORD.....RESOURCE_HEADER.....ACQUISITION_MISSION.....PORT.....CALENDER.....SETTLEMENT_MECHANICS_STATS.....SETTLEMENT.....MARRIAGE_MISSION.....STRATEGY_MAP_POSITION.....RESOURCE.....RECRUITMENT_ITEM.....UNIT.....ROAD.....WORLD.....ARMY.....SETTLEMENT_BUILDINGS.....MISSION.....FAMOUS_BATTLE_SITE_MANAGER.....FACTION_ECONOMICS.....RESOURCE_ID.....OUTLIVE_FACTIONS.....UNIT_ARTILLERY.....CHARACTER.....ASSASSINATION_MISSION.....SIEGE.....UNIT_DB.....CHARACTER_PATHS.....STRATEGY_MAP.....SETTLEMENT_BUILDING_DAMAGE.....MISSION_FACTORY.....CHARACTER_ACTION_DETAILS.......!...9.....c.a.m.p.a.i.g.n./.i.m.p.e.r.i.a.l._.c.a.m.p.a.i.g.n...i.m.p.e.r.i.a.l._.c.a.m.p.a.i.g.n.........................$..........#................................................................................................................................................................................................................................................................................U)..:.d.a.t.a./.w.o.r.l.d./.m.a.p.s./.c.a.m.p.a.i.g.n./.i.m.p.e.r.i.a.l._.c.a.m.p.a.i.g.n./.d.e.s.c.r._.s.t.r.a.t...t.x.t......6...N......D.......D.....@.D........
    In hex it is more visible:
    Code:
    0000 0002 0000 0000 8E44 FCBB 1F00 0000 5000 0000 504F 5349 5449 4F4E 
    0001 0000 0057 4F52 4C44 5F4D 4150 0001 0000 0041 495F 474C 4F42 414C 
    5F53 5452 4154 4547 595F 4449 5245 4354 4F52 0001 0000 0044 4950 4C4F 
    4D41 5449 435F 4154 5449 5455 4445 0003 0000 004A 4F55 524E 414C 5F45 
    5645 4E54 0001 0000 0047 524F 554E 445F 5449 4C45 0001 0000 004D 4552 
    4345 4E41 5259 5F44 4553 4352 4950 5449 4F4E 0001 0000 0045 434F 4E4F 
    4D49 4353 5F44 4154 4100 0100 0000 4C4F 475F 4556 454E 5400 0100 0000 
    4149 5F47 4C4F 4241 4C5F 5052 4F44 5543 5449 4F4E 5F43 4F4E 5452 4F4C 
    4C45 5200 0100 0000 4641 4354 494F 4E00 0600 0000 574F 524C 445F 4D41 
    505F 5041 5241 4D45 5445 5253 0001 0000 0053 4945 4745 5F45 4E47 494E 
    455F 5155 4555 455F 4954 454D 0001 0000 004D 4150 5F52 4547 494F 4E53 
    0001 0000 004C 4547 494F 4E5F 4445 5343 5249 5054 494F 4E00 0100 0000 
    484F 4C44 5F52 4547 494F 4E53 0001 0000 0053 4F4C 4449 4552 5F50 4552 
    5349 5354 454E 5400 0100 0000 414E 4349 4C4C 4152 595F 554E 4954 0001 
    0000 0046 4F52 545F 4D41 4E41 4745 5200 0100 0000 4556 454E 545F 4445 
    5441 494C 5300 0200 0000 4255 494C 4449 4E47 0001 0000 0047 4152 5249 
    534F 4E5F 5245 5349 4445 4E43 4500 0100 0000 4348 4152 4143 5445 525F 
    4442 0001 0000 0057 4154 4348 544F 5745 525F 4D41 4E41 4745 5200 0100 
    0000 5345 5454 4C45 4D45 4E54 5F4D 4543 4841 4E49 4353 0001 0000 0048 
    4F52 4445 0001 0000 0046 4F52 545F 5348 524F 5544 0001 0000 0050 4F52 
    545F 4D41 4E41 4745 5200 0100 0000 464F 475F 4F46 5F57 4152 5F54 4142 
    4C45 0003 0000 0057 4154 4348 544F 5745 525F 5348 524F 5544 0001 0000 
    0053 4554 544C 454D 454E 545F 4D41 4E41 4745 5200 0100 0000 504F 5254 
    5F53 4852 4F55 4400 0100 0000 4445 4E4F 554E 4345 4D45 4E54 5F4D 4953 
    5349 4F4E 0001 0000 0055 4E49 545F 5348 4950 0001 0000 0057 494E 5F43 
    4F4E 4449 5449 4F4E 0001 0000 0041 495F 4641 4354 494F 4E5F 4241 5345 
    0001 0000 0042 5549 4C44 494E 475F 434F 4E53 5452 5543 5449 4F4E 5F49 
    5445 4D00 0100 0000 5245 534F 5552 4345 5F4D 414E 4147 4552 0001 0000 
    0053 4554 544C 454D 454E 545F 5348 524F 5544 0001 0000 004F 4646 4943 
    4552 0001 0000 0053 5452 4154 4547 595F 4441 5445 0001 0000 0052 4F41 
    445F 4D41 4E41 4745 5200 0100 0000 5345 5454 4C45 4D45 4E54 5F48 4541 
    4445 5200 0100 0000 4556 454E 545F 4D41 4E41 4745 5200 0100 0000 4641 
    4D4F 5553 5F42 4154 544C 455F 4445 5441 494C 0001 0000 0046 4F52 5400 
    0100 0000 4149 5F43 4845 4154 5F4D 414E 4147 4552 0001 0000 0057 4154 
    4348 544F 5745 5200 0100 0000 4449 504C 4F4D 4154 4943 5F50 524F 504F 
    5349 5449 4F4E 0001 0000 0043 4841 5241 4354 4552 5F52 4543 4F52 4400 
    0300 0000 5245 534F 5552 4345 5F48 4541 4445 5200 0100 0000 4143 5155 
    4953 4954 494F 4E5F 4D49 5353 494F 4E00 0100 0000 504F 5254 0001 0000 
    0043 414C 454E 4445 5200 0200 0000 5345 5454 4C45 4D45 4E54 5F4D 4543 
    4841 4E49 4353 5F53 5441 5453 0002 0000 0053 4554 544C 454D 454E 5400 
    0100 0000 4D41 5252 4941 4745 5F4D 4953 5349 4F4E 0001 0000 0053 5452 
    4154 4547 595F 4D41 505F 504F 5349 5449 4F4E 0001 0000 0052 4553 4F55 
    5243 4500 0100 0000 5245 4352 5549 544D 454E 545F 4954 454D 0001 0000 
    0055 4E49 5400 0100 0000 524F 4144 0001 0000 0057 4F52 4C44 0004 0000 
    0041 524D 5900 0100 0000 5345 5454 4C45 4D45 4E54 5F42 5549 4C44 494E 
    4753 0001 0000 004D 4953 5349 4F4E 0003 0000 0046 414D 4F55 535F 4241 
    5454 4C45 5F53 4954 455F 4D41 4E41 4745 5200 0100 0000 4641 4354 494F 
    4E5F 4543 4F4E 4F4D 4943 5300 0100 0000 5245 534F 5552 4345 5F49 4400 
    0100 0000 4F55 544C 4956 455F 4641 4354 494F 4E53 0001 0000 0055 4E49 
    545F 4152 5449 4C4C 4552 5900 0100 0000 4348 4152 4143 5445 5200 0300 
    0000 4153 5341 5353 494E 4154 494F 4E5F 4D49 5353 494F 4E00 0100 0000 
    5349 4547 4500 0100 0000 554E 4954 5F44 4200 0100 0000 4348 4152 4143 
    5445 525F 5041 5448 5300 0100 0000 5354 5241 5445 4759 5F4D 4150 0001 
    0000 0053 4554 544C 454D 454E 545F 4255 494C 4449 4E47 5F44 414D 4147 
    4500 0100 0000 4D49 5353 494F 4E5F 4641 4354 4F52 5900 0100 0000 4348 
    4152 4143 5445 525F 4143 5449 4F4E 5F44 4554 4149 4C53 0001 0000 0004 
    0021 0D00 0039 971A 001A 0063 0061 006D 0070 0061 0069 0067 006E 002F 
    0069 006D 0070 0065 0072 0069 0061 006C 005F 0063 0061 006D 0070 0061 
    0069 0067 006E 0011 0069 006D 0070 0065 0072 0069 0061 006C 005F 0063 
    0061 006D 0070 0061 0069 0067 006E 0083 0D00 0014 0000 0001 0000 0000 
    0000 0002 0000 0097 0D00 0024 0100 0004 0000 0008 80F1 2300 0000 0000 
    0000 0000 0101 0000 0101 001F 0000 00FF FF9F 0001 0000 0001 0000 0001 
    0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 
    0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 
    0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 
    0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 
    0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 
    0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 
    0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 
    0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 0000 0001 
    0000 0001 0000 0001 0000 0001 0000 0055 290A 003A 0064 0061 0074 0061 
    002F 0077 006F 0072 006C 0064 002F 006D 0061 0070 0073 002F 0063 0061 
    006D 0070 0061 0069 0067 006E 002F 0069 006D 0070 0065 0072 0069 0061 
    006C 005F 0063 0061 006D 0070 0061 0069 0067 006E 002F 0064 0065 0073 
    0063 0072 005F 0073 0074 0072 0061 0074 002E 0074 0078 0074 0001 1C00 
    0000 360F 0000 4E00 0000 0000 8E44 0000 0000 0000 8744 0000 0000 0040 
    BF44 0100 0000 0000 0000
    The first "02" is with high probability for changing the faction, but dont care about this, it is more complicated.

    What is however very simple is the manipulation with the next section, i.e. in this concrete example:
    Code:
    0000 0000 8B
    Whan you change it for example on this:
    Code:
    0100 0040 89
    You get the changed date and season in the loding sreen of your campaign.

    The 01 is for winter, the 40 is repalceble with 00 or 80 or c0 in my concrete example with 2years per turn (maybe it is also universal incremetation, so also for othe Time_pace values). The starting year 1080 in summer of campaign is then:

    Code:
    0000 0000 87
    You get in load screen summer 1080 .....

    But this is not solution for changing the turn and year in campaign.

    You must now go to the bottom of the cut-offed section in hex represntaion of the info. Do you see anything? Yes, you are right. This part in the end of the section:

    Code:
    0000 8E44 0000 0000 0000 8744 0000 0000 0040 BF44 0100
    has very similar structure like the part for changing the year and seson in loading screen.
    In fact it is talking to us that we are in this campaign in year 1136, summer. That the campaign has started in 1080, summer. and that it will end in 1530, winter. Simple like that.

    As for changing the vaues quite arbitrarily I advise you to prefer to open some previous save file from time to which you want to change the save file and use the concrete values - this is particularly important for holding the right ratio with number of turns otherwise the game crash.
    So, I have decided that for me will be sufficient for solving my problem with to much rapid pace of campaign to change it to 00008B440000.

    The last step was the most difficult for me personally to locate. You nedd to change apprpriatelly the turn also....
    But it is very simple in the end, one must be able to be patient only ...

    The whole section after the path for descr_strat.txt file is this:

    Code:
    0001 1C00 0000 360F 0000 4E00 0000 0000 8E44 0000 0000 0000 8744 0000 0000 0040 BF44 0100 0000 0000 0000
    And all what is changing when you change the turns is this xxxx 1Cxx xxxx.
    So for the 008B year is the right value xxxx 10xx xxxx.

    i.e.
    Code:
    0001 1000 0000 360F 0000 4E00 0000 0000 8B44 0000 0000 0000 8744 0000 0000 0040 BF44 0100 0000 0000 0000
    And it is all. I have tested it and it appaers to be fully functional. You must be wise only as for reasonable small change, which you can do repeatedly anyway. So by this solution you can be able to play the early era indefinitely.

    Bye Sinuhet

  2. #2
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Changing turn/year in save file

    Very nice. So, did you also find out how to change the time scale (i.e. speed)?

  3. #3

    Default Re: Changing turn/year in save file

    Not yet.

    I had to prefer yesterday and today to back up my previous work on TWC. It is not so simple to backup some 100MB of info sufficiently selectively. However now I am in a point that all things which are the highest value for me are now independent on the TWC/ON medium/servers and I am only expanding the mirrored material about other for me important things. It is also worth of noticing that if somebody colud start to think that will use my work in DL section of TWC for commercial purposes without my written permission, that I can use his network scripts and layout and other graphical stuff for my purposes without permissions.

    I would suggest to do the same to all people who are in crisis of trust in TWC. Such parallel mirroring would create: 1. the independnence aon the bad-will of administrators, which can in any time erase all your previous posts/work. 2. the eventual bandwith problems to TWC and this can show where is the real power (I assume that in the mambers of TWC, not in its servers ...). All is perfeectly legal. It is the same like "run on the bank" when all people stop to trust in it and wants parallel pay-offs. We have "our money" inTWC servers and we caould want to them back and go to another "bank" with them. If the original "bank" will have diffficulties with cash-flow is its problem ....

    It is only for expalnation why I have stopped my work on th topic of this thread. So, I assume that I will work again on MTW2 save files research today evening.

    Bye Sinuhet
    Last edited by Sinuhet; 12-03-2006 at 11:44.

  4. #4

    Default Re: Changing turn/year in save file

    I have found out the code for changing the "speed" also (i.e. exactly speaking changing the value of timescale flag in descr_strat.txt file).

    It was still more complicated for research then the chnging the turns/years, it took me almost 4 hours . However for implementation by users it is on the other hand more simple.

    You need chnge the code in two different parts in save file.

    The first part is starting in offset: 00 00 00 30 and is longer,
    the second part is starting in offset: 00 00 0F 70.

    Dont ask me why are the respective values such, but they appear fully functional and is faction independent (tested for england, france, hre):

    A. timescale 0.50

    1. offset: 00 00 00 30, value: 92 CA 3A 82
    2. offset: 00 00 0F 70, value: 00 3F

    A. timescale 1.00

    1. offset: 00 00 00 30, value: 42 2F A6 EC
    2. offset: 00 00 0F 70, value: 80 3F

    A. timescale 2.00

    1. offset: 00 00 00 30, value: 68 F4 63 D3
    2. offset: 00 00 0F 70, value: 00 40

    It is all. We can now only ask ShellShock to incorporate this changes options to some .NET program for more convenient handling.

    I have changed by this way the above described save file of mine to be in summer 1112, 17 turns, 836 turns to play in timescale 0.50 from standard timescale 2.00 with summer 1136, 29 turns, 197 turns to play. And the game is acting without crashes. The AI is deciding to act differently, however, in AI diplomacy - these things must be dependent on the count of turns left, otherwise everything seems to be same like before change .....

    Bye Sinuhet

  5. #5
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Changing turn/year in save file

    The stuff at the second offset are the actual floating point numbers. No idea about the first offset.

  6. #6
    Spindly Killer Fish Member ShellShock's Avatar
    Join Date
    Aug 2004
    Location
    UK
    Posts
    189

    Default Re: Changing turn/year in save file

    Nice work Sinuhet!

    I will look into putting this into MedManager.
    He does sit in gold, his eye red as 'twould burn Rome.

  7. #7

    Default Re: Changing turn/year in save file

    Quote Originally Posted by ShellShock
    Nice work Sinuhet!

    I will look into putting this into MedManager.
    Thanks, friend. I have asked you about this in TWC before a while, then it has been again down .... I have metioned there (I dont know if you had read it there) that I have maybe a clue how to change the faction also. But it is so simple that I have a suscpicion that it will be in the end more complicated - so I will test it thoroughly at first and let you know after I will be sure.

    There will be maybe a problem how to count exactly the values for years if the user would like to input quite arbitrary values, the simplest for the start solution would be to collect some "real" combinations of values for turn, season, and year respectively from actual save files by users and let change them via your programm only to these "tested" preset values ....

    Bye Sinuhet

  8. #8
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Changing turn/year in save file

    Short addition: The values you mention above for the years are floats, too (00008744 is 1080., 00008E44 is 1136., 0040BF44 is 1530.). So it shouldn't be too hard to extend that further in a save game editor. Just write the number as float.

  9. #9
    Spindly Killer Fish Member ShellShock's Avatar
    Join Date
    Aug 2004
    Location
    UK
    Posts
    189

    Default Re: Changing turn/year in save file

    Thanks - makes sense that these are four byte floats. I seem to remember something similar in RTW.
    He does sit in gold, his eye red as 'twould burn Rome.

  10. #10

    Default Re: Changing turn/year in save file

    Quote Originally Posted by alpaca
    Short addition: The values you mention above for the years are floats, too (00008744 is 1080., 00008E44 is 1136., 0040BF44 is 1530.). So it shouldn't be too hard to extend that further in a save game editor. Just write the number as float.
    Thanks, alpaca. Make sense perfectly. I dindt investigated the meaning the hex fragments, my method was more empiric and observational. But this your explanation helps to use the arbitrary values for years flags also (i.e. also extension of campaign by redefining the last year flag value).

    As for faction changing via hexediting of savefile, it is too complicated. There are needed several changes in the front parts of the file (i.e. the parts of file like in the changes above), which are not however sufficient. There must be something else to change in sections responsible for buildings, characters, units or such a stuff in middle and further parts of the file probably. It is not worth of it to investigate and use in this form, because the same can be done nicely via Show me script (I assume it is identical with RTW scripting) - so we can only wait for unpacker to have access to export_descr_advice.txt file .... I will give (when I will be at home) the more detailed report for theoretical purposes, but it is not working solution, but wip - however the used structures are nicely logical .

    However, I will try find out still some other possiblities of chnging flags of descr_strat.txt file (spawn values of rebels and pirates, etc.)

    Bye Sinuhet

  11. #11
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Changing turn/year in save file

    Quote Originally Posted by Sinuhet
    Thanks, alpaca. Make sense perfectly. I dindt investigated the meaning the hex fragments, my method was more empiric and observational. But this your explanation helps to use the arbitrary values for years flags also (i.e. also extension of campaign by redefining the last year flag value).

    As for faction changing via hexediting of savefile, it is too complicated. There are needed several changes in the front parts of the file (i.e. the parts of file like in the changes above), which are not however sufficient. There must be something else to change in sections responsible for buildings, characters, units or such a stuff in middle and further parts of the file probably. It is not worth of it to investigate and use in this form, because the same can be done nicely via Show me script (I assume it is identical with RTW scripting) - so we can only wait for unpacker to have access to export_descr_advice.txt file .... I will give (when I will be at home) the more detailed report for theoretical purposes, but it is not working solution, but wip - however the used structures are nicely logical .

    However, I will try find out still some other possiblities of chnging flags of descr_strat.txt file (spawn values of rebels and pirates, etc.)

    Bye Sinuhet
    Actually, no. The control console command doesn't work anymore, or at least not in the same way as it did in RTW and is mentioned in the help for it.
    I guess they removed it because it conflicted with the seemingly-planned hotseat mode. The problem is they didn't finish that, either.

  12. #12

    Default Re: Changing turn/year in save file

    Quote Originally Posted by alpaca
    Actually, no. The control console command doesn't work anymore, or at least not in the same way as it did in RTW and is mentioned in the help for it.
    I guess they removed it because it conflicted with the seemingly-planned hotseat mode. The problem is they didn't finish that, either.
    Ohh, do you mean that there are not console commands possible to use in Show me scripts anymore? I have not downloaded the new (MTW2) docudaemon yet, but I would assume that they would not do such a silly thing because it is very handful also for testing - so how they change the AI controlled faction in campaign during their testing then??? Or, alternatively, didnt I grasped your post in bad manner? And, eventually, do you assume that from reading the "available " commands in MTW2 documentation or have you done some test via campaign script??? (it should be possible to use any scripting commands in the new campaign script to, I suppose, with the condition only of restarting/starting new/ the campaign, but for testing purposes it doesnt matter ....)

    In every case, this your remark could shed a new light to further investments of time and effort in the direction of changing the faction in save file via hexediting.....

    Thanks and bye, Sinuhet

  13. #13
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Changing turn/year in save file

    Well, you can still call the console commands from scripts, it's just that the control command doesn't work. Maybe they changed the syntax or they had some other way to change which faction they're playing, but I tried the control command and it didn't work. And I didn't use wrong faction names either, because they worked with halt_ai.

    Unfortunately the console commands are completely missing from the docudemon files this time around, so we can't check the syntax there either.

  14. #14

    Default Re: Changing turn/year in save file

    Quote Originally Posted by alpaca
    Well, you can still call the console commands from scripts, it's just that the control command doesn't work. Maybe they changed the syntax or they had some other way to change which faction they're playing, but I tried the control command and it didn't work. And I didn't use wrong faction names either, because they worked with halt_ai.

    Unfortunately the console commands are completely missing from the docudemon files this time around, so we can't check the syntax there either.
    Thanks for the answer, alpaca. However, it seems to me strange because I have these info dumped from memory (the same strings should be in hexeditor in exe) during playing the MTW2 Demo SE (I have assumed that the MTW2 exe will be the same in this, so I have not bothered with dumping it again til yet...).

    Section of console commands:

    Code:
    0x0137F7B0  23 23 20 4D 65 64 69 65  76 61 6C 53 68 65 6C 6C  ## MedievalShell
    0x0137F7C0  20 63 6F 6E 73 6F 6C 65  20 63 6F 6D 6D 61 6E 64   console command
    0x0137F7D0  20 6C 69 73 74 69 6E 67  20 23 23 0D 0A 0D 0A 00   listing ##.....
    0x0137F7E0  0A 74 6F 6F 20 6D 61 6E  79 20 63 6F 6D 6D 61 6E  .too many comman
    0x0137F7F0  64 73 2E 2E 2E 00 00 00  0A 6D 75 6C 74 69 70 6C  ds.......multipl
    0x0137F800  65 20 77 6F 72 64 20 6E  61 6D 65 73 20 73 68 6F  e word names sho
    0x0137F810  75 6C 64 20 62 65 20 77  72 61 70 70 65 64 20 69  uld be wrapped i
    0x0137F820  6E 20 71 75 6F 74 65 73  00 00 00 00 0A 75 73 65  n quotes.....use
    0x0137F830  20 27 3F 63 6D 64 6E 61  6D 65 27 20 74 6F 20 72   '?cmdname' to r
    0x0137F840  65 74 72 69 65 76 65 20  68 65 6C 70 20 66 6F 72  etrieve help for
    0x0137F850  20 61 20 63 6F 6D 6D 61  6E 64 00 00 4D 65 64 69   a command..Medi
    0x0137F860  65 76 61 6C 53 68 65 6C  6C 20 63 6F 6D 6D 61 6E  evalShell comman
    0x0137F870  64 20 6C 69 73 74 69 6E  67 3A 0A 0A 00 00 00 00  d listing:......
    0x0137F880  65 72 72 3A 20 63 6F 6D  6D 61 6E 64 20 27 25 73  err: command '%s
    0x0137F890  27 20 6E 6F 74 20 72 65  63 6F 67 6E 69 73 65 64  ' not recognised
    0x0137F8A0  00 00 00 00 63 6F 6D 6D  61 6E 64 20 6E 6F 74 20  ....command not 
    0x0137F8B0  72 65 63 6F 67 6E 69 73  65 64 20 28 75 73 65 20  recognised (use 
    0x0137F8C0  3F 20 66 6F 72 20 68 65  6C 70 29 2E 00 00 00 00  ? for help).....
    0x0137F8D0  63 6F 6E 73 6F 6C 65 20  6D 6F 64 65 20 6E 6F 74  console mode not
    0x0137F8E0  20 69 6E 69 74 69 61 6C  69 73 65 64 2C 20 6E 6F   initialised, no
    0x0137F8F0  20 63 6F 6D 6D 61 6E 64  73 20 61 76 61 69 6C 61   commands availa
    0x0137F900  62 6C 65 00 00 00 00 00  63 6F 6E 73 6F 6C 65 20  ble.....console 
    0x0137F910  63 75 72 72 65 6E 74 6C  79 20 64 69 73 61 62 6C  currently disabl
    0x0137F920  65 64 20 66 6F 72 20 68  6F 74 73 65 61 74 20 6D  ed for hotseat m
    0x0137F930  75 6C 74 69 70 6C 61 79  65 72 2C 20 6E 6F 20 63  ultiplayer, no c
    0x0137F940  6F 6D 6D 61 6E 64 73 20  61 76 61 69 6C 61 62 6C  ommands availabl
    0x0137F950  65 00 00 00 84 17 48 01  CC 7C 14 01 CC 17 48 01  e.....H..|....H.
    0x0137F960  10 10 CB 00 00 00 00 00  61 64 64 5F 6D 6F 6E 65  ........add_mone
    0x0137F970  79 20 3C 6F 70 74 3A 66  61 63 74 69 6F 6E 5F 74  y <opt:faction_t
    0x0137F980  79 70 65 3E 20 3C 61 6D  6F 75 6E 74 3E 20 3A 20  ype> <amount> : 
    0x0137F990  61 64 64 73 20 61 6E 20  61 6D 6F 75 6E 74 20 6F  adds an amount o
    0x0137F9A0  66 20 6D 6F 6E 65 79 20  74 6F 20 61 20 66 61 63  f money to a fac
    0x0137F9B0  74 69 6F 6E 27 73 20 63  6F 66 66 65 72 73 2C 20  tion's coffers, 
    0x0137F9C0  63 61 6E 20 62 65 20 6E  65 67 61 74 69 76 65 2C  can be negative,
    0x0137F9D0  20 64 65 66 61 75 6C 74  20 69 73 20 70 6C 61 79   default is play
    0x0137F9E0  65 72 20 66 61 63 74 69  6F 6E 00 00 61 64 64 5F  er faction..add_
    0x0137F9F0  6D 6F 6E 65 79 00 00 00  66 61 63 74 69 6F 6E 20  money...faction 
    0x0137FA00  6E 6F 74 20 66 6F 75 6E  64 00 00 00 14 18 48 01  not found.....H.
    0x0137FA10  20 11 CB 00 00 00 00 00  61 64 64 5F 70 6F 70 75   .......add_popu
    0x0137FA20  6C 61 74 69 6F 6E 20 3C  73 65 74 74 6C 65 6D 65  lation <settleme
    0x0137FA30  6E 74 5F 6E 61 6D 65 3E  20 3C 61 6D 6F 75 6E 74  nt_name> <amount
    0x0137FA40  3E 20 3A 20 61 64 64 73  20 61 6E 20 61 6D 6F 75  > : adds an amou
    0x0137FA50  6E 74 20 6F 66 20 70 6F  70 75 6C 61 74 69 6F 6E  nt of population
    0x0137FA60  20 74 6F 20 61 20 73 65  74 74 6C 65 6D 65 6E 74   to a settlement
    0x0137FA70  2C 20 63 61 6E 20 62 65  20 6E 65 67 61 74 69 76  , can be negativ
    0x0137FA80  65 00 00 00 61 64 64 5F  70 6F 70 75 6C 61 74 69  e...add_populati
    0x0137FA90  6F 6E 00 00 73 65 74 74  6C 65 6D 65 6E 74 20 6E  on..settlement n
    0x0137FAA0  6F 74 20 66 6F 75 6E 64  00 00 00 00 5C 18 48 01  ot found....\.H.
    0x0137FAB0  50 12 CB 00 00 00 00 00  6D 6F 76 65 5F 63 68 61  P.......move_cha
    0x0137FAC0  72 61 63 74 65 72 20 3C  6E 61 6D 65 3E 20 3C 78  racter <name> <x
    0x0137FAD0  3E 2C 3C 79 3E 20 3A 20  6D 6F 76 65 73 20 6E 61  >,<y> : moves na
    0x0137FAE0  6D 65 64 20 63 68 61 72  61 63 74 65 72 20 74 6F  med character to
    0x0137FAF0  20 70 6F 73 69 74 69 6F  6E 20 6F 6E 20 63 61 6D   position on cam
    0x0137FB00  70 61 69 67 6E 20 6D 61  70 00 00 00 6D 6F 76 65  paign map...move
    0x0137FB10  5F 63 68 61 72 61 63 74  65 72 00 00 64 65 73 74  _character..dest
    0x0137FB20  69 6E 61 74 69 6F 6E 20  74 69 6C 65 20 6E 6F 74  ination tile not
    0x0137FB30  20 76 61 6C 69 64 00 00  63 68 61 72 61 63 74 65   valid..characte
    0x0137FB40  72 20 6E 6F 74 20 66 6F  75 6E 64 00 A4 18 48 01  r not found...H.
    0x0137FB50  A0 13 CB 00 00 00 00 00  61 75 74 6F 5F 77 69 6E  ........auto_win
    0x0137FB60  20 3C 61 74 74 61 63 6B  65 72 2F 64 65 66 65 6E   <attacker/defen
    0x0137FB70  64 65 72 3E 3A 20 74 68  65 20 61 74 74 61 63 6B  der>: the attack
    0x0137FB80  65 72 20 6F 72 20 64 65  66 65 6E 64 65 72 20 77  er or defender w
    0x0137FB90  69 6E 73 20 74 68 65 20  6E 65 78 74 20 61 75 74  ins the next aut
    0x0137FBA0  6F 72 65 73 6F 6C 76 65  64 20 62 61 74 74 6C 65  oresolved battle
    0x0137FBB0  00 00 00 00 61 75 74 6F  5F 77 69 6E 00 00 00 00  ....auto_win....
    0x0137FBC0  70 61 72 61 6D 65 74 65  72 20 6E 6F 74 20 72 65  parameter not re
    0x0137FBD0  63 6F 67 6E 69 73 65 64  00 00 00 00 64 65 66 65  cognised....defe
    0x0137FBE0  6E 64 65 72 00 00 00 00  61 74 74 61 63 6B 65 72  nder....attacker
    0x0137FBF0  00 00 00 00 EC 18 48 01  50 75 CB 00 00 00 00 00  ......H.Pu......
    0x0137FC00  63 72 65 61 74 65 5F 75  6E 69 74 20 3C 73 65 74  create_unit <set
    0x0137FC10  74 6C 65 6D 65 6E 74 2F  63 68 61 72 61 63 74 65  tlement/characte
    0x0137FC20  72 5F 6E 61 6D 65 3E 20  3C 75 6E 69 74 5F 69 64  r_name> <unit_id
    0x0137FC30  3E 20 3C 6F 70 74 3A 68  6F 77 5F 6D 61 6E 79 3E  > <opt:how_many>
    0x0137FC40  20 3C 6F 70 74 3A 65 78  70 2F 61 72 6D 6F 75 72   <opt:exp/armour
    0x0137FC50  2F 77 65 61 70 6F 6E 3E  3A 20 63 72 65 61 74 65  /weapon>: create
    0x0137FC60  73 20 6F 6E 65 20 6F 72  20 6D 6F 72 65 20 75 6E  s one or more un
    0x0137FC70  69 74 73 20 6F 66 20 74  68 65 20 73 70 65 63 69  its of the speci
    0x0137FC80  66 69 65 64 20 74 79 70  65 00 00 00 34 19 48 01  fied type...4.H.
    0x0137FC90  A0 14 CB 00 74 6F 67 67  6C 65 5F 66 6F 77 20 3A  ....toggle_fow :
    0x0137FCA0  20 74 6F 67 67 6C 65 73  20 74 68 65 20 66 6F 67   toggles the fog
    0x0137FCB0  20 6F 66 20 77 61 72 20  6F 6E 20 6F 72 20 6F 66   of war on or of
    0x0137FCC0  66 00 00 00 74 6F 67 67  6C 65 5F 66 6F 77 00 00  f...toggle_fow..
    0x0137FCD0  7C 19 48 01 60 15 CB 00  74 6F 67 67 6C 65 5F 72  |.H.`...toggle_r
    0x0137FCE0  65 73 74 72 69 63 74 63  61 6D 20 3A 20 74 6F 67  estrictcam : tog
    0x0137FCF0  67 6C 65 73 20 63 61 6D  65 72 61 20 72 65 73 74  gles camera rest
    0x0137FD00  72 69 63 74 69 6F 6E 73  20 6F 6E 20 6F 72 20 6F  rictions on or o
    0x0137FD10  66 66 00 00 74 6F 67 67  6C 65 5F 72 65 73 74 72  ff..toggle_restr
    0x0137FD20  69 63 74 63 61 6D 00 00  C4 19 48 01 C0 15 CB 00  ictcam....H.....
    0x0137FD30  73 61 76 65 5F 62 61 74  74 6C 65 5F 72 65 70 6C  save_battle_repl
    0x0137FD40  61 79 20 3A 20 73 61 76  65 73 20 62 61 74 74 6C  ay : saves battl
    0x0137FD50  65 20 72 65 70 6C 61 79  20 69 6E 20 66 69 6C 65  e replay in file
    0x0137FD60  20 72 65 70 6C 61 79 73  2F 3C 6E 61 6D 65 3E 2E   replays/<name>.
    0x0137FD70  72 70 79 00 73 61 76 65  5F 62 61 74 74 6C 65 5F  rpy.save_battle_
    0x0137FD80  72 65 70 6C 61 79 20 3C  6E 61 6D 65 3E 00 00 00  replay <name>...
    0x0137FD90  63 61 6E 20 6E 6F 74 20  73 61 76 65 20 72 65 70  can not save rep
    0x0137FDA0  6C 61 79 00 72 65 70 6C  61 79 73 2F 00 00 00 00  lay.replays/....
    0x0137FDB0  6E 61 6D 65 20 69 73 20  65 6D 70 74 79 00 00 00  name is empty...
    0x0137FDC0  0C 1A 48 01 60 17 CB 00  67 69 76 65 5F 61 6E 63  ..H.`...give_anc
    0x0137FDD0  69 6C 6C 61 72 79 20 3C  63 68 61 72 61 63 74 65  illary <characte
    0x0137FDE0  72 6E 61 6D 65 3E 20 3C  61 6E 63 69 6C 6C 61 72  rname> <ancillar
    0x0137FDF0  79 20 6E 61 6D 65 3E 20  3A 20 67 69 76 65 73 20  y name> : gives 
    0x0137FE00  74 68 65 20 63 68 61 72  61 63 74 65 72 20 61 6E  the character an
    0x0137FE10  20 61 6E 63 69 6C 6C 61  72 79 00 00 43 6F 75 6C   ancillary..Coul
    0x0137FE20  64 20 6E 6F 74 20 66 69  6E 64 20 74 68 69 73 20  d not find this 
    0x0137FE30  61 6E 63 69 6C 6C 61 72  79 20 69 6E 20 74 68 65  ancillary in the
    0x0137FE40  20 64 61 74 61 62 61 73  65 00 00 00 54 1A 48 01   database...T.H.
    0x0137FE50  D0 18 CB 00 00 00 00 00  67 69 76 65 5F 74 72 61  ........give_tra
    0x0137FE60  69 74 20 3C 63 68 61 72  61 63 74 65 72 6E 61 6D  it <characternam
    0x0137FE70  65 3E 20 3C 74 72 61 69  74 20 6E 61 6D 65 3E 20  e> <trait name> 
    0x0137FE80  3C 6F 70 74 3A 6C 65 76  65 6C 3E 3A 20 67 69 76  <opt:level>: giv
    0x0137FE90  65 73 20 74 68 65 20 63  68 61 72 61 63 74 65 72  es the character
    0x0137FEA0  20 61 20 74 72 61 69 74  20 61 74 20 6C 65 76 65   a trait at leve
    0x0137FEB0  6C 20 28 64 65 66 61 75  6C 74 20 3D 20 6C 65 76  l (default = lev
    0x0137FEC0  65 6C 20 31 29 00 00 00  67 69 76 65 5F 74 72 61  el 1)...give_tra
    0x0137FED0  69 74 00 00 43 6F 75 6C  64 20 6E 6F 74 20 66 69  it..Could not fi
    0x0137FEE0  6E 64 20 74 68 69 73 20  74 72 61 69 74 20 69 6E  nd this trait in
    0x0137FEF0  20 74 68 65 20 64 61 74  61 62 61 73 65 00 00 00   the database...
    0x0137FF00  9C 1A 48 01 60 1A CB 00  70 72 6F 63 65 73 73 5F  ..H.`...process_
    0x0137FF10  63 71 20 3C 73 65 74 74  6C 65 6D 65 6E 74 3E 3A  cq <settlement>:
    0x0137FF20  20 0A 43 6F 6D 70 6C 65  74 65 73 20 61 6C 6C 20   .Completes all 
    0x0137FF30  28 70 6F 73 73 69 62 6C  65 29 20 63 6F 6E 73 74  (possible) const
    0x0137FF40  72 75 63 74 69 6F 6E 20  70 65 6E 64 69 6E 67 20  ruction pending 
    0x0137FF50  69 6E 20 71 75 65 75 65  0A 00 00 00 70 72 6F 63  in queue....proc
    0x0137FF60  65 73 73 5F 63 71 00 00  E4 1A 48 01 F0 1A CB 00  ess_cq....H.....
    0x0137FF70  63 68 61 72 61 63 74 65  72 5F 72 65 73 65 74 20  character_reset 
    0x0137FF80  3A 20 72 65 73 65 74 73  20 74 68 65 20 63 68 61  : resets the cha
    0x0137FF90  72 61 63 74 65 72 20 62  61 63 6B 20 74 6F 20 69  racter back to i
    0x0137FFA0  74 27 73 20 73 74 61 72  74 20 6F 66 20 74 75 72  t's start of tur
    0x0137FFB0  6E 20 73 65 74 74 69 6E  67 73 00 00 63 68 61 72  n settings..char
    0x0137FFC0  61 63 74 65 72 5F 72 65  73 65 74 00 2C 1B 48 01  acter_reset.,.H.
    0x0137FFD0  E0 7F CB 00 73 68 6F 77  5F 63 75 72 73 6F 72 73  ....show_cursors
    0x0137FFE0  74 61 74 20 3A 20 73 68  6F 77 73 20 74 68 65 20  tat : shows the 
    0x0137FFF0  63 75 72 73 6F 72 20 70  6F 73 69 74 69 6F 6E 20  cursor position 
    0x01380000  61 6E 64 20 72 65 67 69  6F 6E 20 69 64 00 00 00  and region id...
    0x01380010  74 1B 48 01 00 1D CB 00  74 6F 67 67 6C 65 5F 74  t.H.....toggle_t
    0x01380020  65 72 72 61 69 6E 20 3C  6F 70 74 3A 72 65 67 69  errain <opt:regi
    0x01380030  6F 6E 2F 74 69 6C 65 74  79 70 65 2F 63 6C 69 6D  on/tiletype/clim
    0x01380040  61 74 65 2F 63 68 6F 6B  65 2F 6C 61 6E 64 69 6E  ate/choke/landin
    0x01380050  67 2F 66 72 6F 6E 74 69  65 72 2F 66 65 61 74 75  g/frontier/featu
    0x01380060  72 65 73 2F 66 72 6F 6E  74 69 65 72 5F 64 65 66  res/frontier_def
    0x01380070  65 6E 64 3E 20 3A 20 74  6F 67 67 6C 65 73 20 74  end> : toggles t
    0x01380080  68 65 20 74 65 72 72 61  69 6E 20 74 6F 20 64 69  he terrain to di
    0x01380090  73 70 6C 61 79 20 76 61  72 69 6F 75 73 20 64 61  splay various da
    0x013800A0  74 61 20 73 65 74 73 2C  20 6E 6F 20 70 61 72 61  ta sets, no para
    0x013800B0  6D 20 72 65 73 65 74 73  20 74 6F 20 6E 6F 72 6D  m resets to norm
    0x013800C0  61 6C 00 00 74 6F 67 67  6C 65 5F 74 65 72 72 61  al..toggle_terra
    0x013800D0  69 6E 00 00 66 72 6F 6E  74 69 65 72 5F 64 65 66  in..frontier_def
    0x013800E0  65 6E 64 00 66 65 61 74  75 72 65 73 00 00 00 00  end.features....
    0x013800F0  66 72 6F 6E 74 69 65 72  00 00 00 00 6C 61 6E 64  frontier....land
    0x01380100  69 6E 67 00 63 68 6F 6B  65 00 00 00 74 69 6C 65  ing.choke...tile
    0x01380110  74 79 70 65 00 00 00 00  BC 1B 48 01 30 1F CB 00  type......H.0...
    0x01380120  62 65 73 74 62 75 79 20  3A 20 73 65 6C 6C 73 20  bestbuy : sells 
    0x01380130  75 6E 69 74 73 20 63 68  65 61 70 65 72 00 00 00  units cheaper...
    0x01380140  62 65 73 74 62 75 79 00  04 1C 48 01 40 7A CB 00  bestbuy...H.@z..
    0x01380150  6F 6C 69 70 68 61 75 6E  74 20 3A 20 74 68 65 20  oliphaunt : the 
    0x01380160  62 69 67 67 65 73 74 20  61 72 6F 75 6E 64 00 00  biggest around..
    0x01380170  6F 6C 69 70 68 61 75 6E  74 00 00 00 4C 1C 48 01  oliphaunt...L.H.
    0x01380180  F0 1F CB 00 6A 65 72 69  63 68 6F 20 3A 20 61 6E  ....jericho : an
    0x01380190  64 20 74 68 65 20 77 61  6C 6C 73 20 63 61 6D 65  d the walls came
    0x013801A0  20 61 2D 74 75 6D 62 6C  69 6E 27 20 64 6F 77 6E   a-tumblin' down
    0x013801B0  00 00 00 00 6A 65 72 69  63 68 6F 00 94 1C 48 01  ....jericho...H.
    0x013801C0  40 20 CB 00 77 72 69 74  65 5F 75 69 5F 63 61 63  @ ..write_ui_cac
    0x013801D0  68 65 3A 20 77 72 69 74  65 73 20 6F 75 74 20 74  he: writes out t
    0x013801E0  68 65 20 75 69 20 74 65  78 74 75 72 65 20 63 61  he ui texture ca
    0x013801F0  63 68 65 20 74 6F 20 64  69 73 6B 00 77 72 69 74  che to disk.writ
    0x01380200  65 5F 75 69 5F 63 61 63  68 65 00 00 DC 1C 48 01  e_ui_cache....H.
    0x01380210  90 20 CB 00 00 00 00 00  67 69 76 65 5F 74 72 61  . ......give_tra
    0x01380220  69 74 5F 70 6F 69 6E 74  73 20 3C 63 68 61 72 61  it_points <chara
    0x01380230  63 74 65 72 6E 61 6D 65  3E 20 3C 74 72 61 69 74  ctername> <trait
    0x01380240  20 6E 61 6D 65 3E 20 3C  70 6F 69 6E 74 73 3E 3A   name> <points>:
    0x01380250  20 67 69 76 65 73 20 74  68 65 20 63 68 61 72 61   gives the chara
    0x01380260  63 74 65 72 20 70 6F 69  6E 74 73 20 66 6F 72 20  cter points for 
    0x01380270  74 72 61 69 74 00 00 00  67 69 76 65 5F 74 72 61  trait...give_tra
    0x01380280  69 74 5F 70 6F 69 6E 74  73 00 00 00 24 1D 48 01  it_points...$.H.
    0x01380290  10 22 CB 00 6C 69 73 74  5F 74 72 61 69 74 73 20  ."..list_traits 
    0x013802A0  3A 20 6C 69 73 74 73 20  61 6C 6C 20 74 68 65 20  : lists all the 
    0x013802B0  61 76 61 69 6C 61 62 6C  65 20 74 72 61 69 74 73  available traits
    0x013802C0  00 00 00 00 6C 69 73 74  5F 74 72 61 69 74 73 00  ....list_traits.
    0x013802D0  2E 2E 2E 54 52 55 4E 43  41 54 45 44 00 00 00 00  ...TRUNCATED....
    0x013802E0  25 73 28 25 64 29 0A 00  6C 1D 48 01 E0 23 CB 00  %s(%d)..l.H..#..
    0x013802F0  6C 69 73 74 5F 61 6E 63  69 6C 6C 61 72 69 65 73  list_ancillaries
    0x01380300  20 3A 20 6C 69 73 74 73  20 61 6C 6C 20 74 68 65   : lists all the
    0x01380310  20 61 76 61 69 6C 61 62  6C 65 20 61 6E 63 69 6C   available ancil
    0x01380320  6C 61 72 69 65 73 00 00  6C 69 73 74 5F 61 6E 63  laries..list_anc
    0x01380330  69 6C 6C 61 72 69 65 73  00 00 00 00 B4 1D 48 01  illaries......H.
    0x01380340  B0 25 CB 00 00 00 00 00  6D 70 20 3C 63 68 61 72  .%......mp <char
    0x01380350  61 63 74 65 72 6E 61 6D  65 3E 20 3C 61 6D 6F 75  actername> <amou
    0x01380360  6E 74 3E 3A 20 67 69 76  65 73 20 74 68 65 20 63  nt>: gives the c
    0x01380370  68 61 72 61 63 74 65 72  20 6D 6F 76 65 6D 65 6E  haracter movemen
    0x01380380  74 20 70 6F 69 6E 74 73  00 00 00 00 6D 70 00 00  t points....mp..
    0x01380390  FC 1D 48 01 90 26 CB 00  6C 69 73 74 5F 63 68 61  ..H..&..list_cha
    0x013803A0  72 61 63 74 65 72 73 20  3C 6F 70 74 3A 66 61 63  racters <opt:fac
    0x013803B0  74 69 6F 6E 5F 74 79 70  65 3E 20 3A 20 6C 69 73  tion_type> : lis
    0x013803C0  74 73 20 61 6C 6C 20 74  68 65 20 63 68 61 72 61  ts all the chara
    0x013803D0  63 74 65 72 73 20 69 6E  20 74 68 65 20 77 6F 72  cters in the wor
    0x013803E0  6C 64 20 6F 72 20 74 68  6F 73 65 20 62 65 6C 6F  ld or those belo
    0x013803F0  6E 67 69 6E 67 20 74 6F  20 61 20 66 61 63 74 69  nging to a facti
    0x01380400  6F 6E 00 00 6C 69 73 74  5F 63 68 61 72 61 63 74  on..list_charact
    0x01380410  65 72 73 00 25 73 20 2D  20 25 73 0A 00 00 00 00  ers.%s - %s.....
    0x01380420  44 1E 48 01 30 2A CB 00  73 68 6F 77 5F 6C 61 6E  D.H.0*..show_lan
    0x01380430  64 69 6E 67 73 20 3C 6F  70 74 3A 63 75 72 73 6F  dings <opt:curso
    0x01380440  72 2F 72 65 67 69 6F 6E  5F 69 64 3E 20 3A 20 73  r/region_id> : s
    0x01380450  68 6F 77 73 20 74 68 65  20 6C 61 6E 64 69 6E 67  hows the landing
    0x01380460  20 70 6F 73 69 74 69 6F  6E 73 20 61 76 61 69 6C   positions avail
    0x01380470  61 62 6C 65 20 74 6F 20  74 68 65 20 61 69 20 66  able to the ai f
    0x01380480  72 6F 6D 20 61 20 67 69  76 65 6E 20 72 65 67 69  rom a given regi
    0x01380490  6F 6E 2C 20 64 65 66 61  75 6C 74 20 68 69 64 65  on, default hide
    0x013804A0  73 20 74 68 65 6D 00 00  73 68 6F 77 5F 6C 61 6E  s them..show_lan
    0x013804B0  64 69 6E 67 73 00 00 00  72 65 67 69 6F 6E 20 69  dings...region i
    0x013804C0  64 20 6F 75 74 2D 6F 66  2D 72 61 6E 67 65 00 00  d out-of-range..
    0x013804D0  63 61 6E 6E 6F 74 20 68  69 67 68 6C 69 67 68 74  cannot highlight
    0x013804E0  20 6C 61 6E 64 69 6E 67  20 70 6F 73 69 74 69 6F   landing positio
    0x013804F0  6E 73 20 66 72 6F 6D 20  61 20 73 65 61 20 72 65  ns from a sea re
    0x01380500  67 69 6F 6E 00 00 00 00  66 61 69 6C 65 64 20 74  gion....failed t
    0x01380510  6F 20 72 65 74 72 69 65  76 65 20 63 75 72 73 6F  o retrieve curso
    0x01380520  72 20 69 6E 74 65 72 73  65 63 74 69 6F 6E 20 70  r intersection p
    0x01380530  6F 69 6E 74 00 00 00 00  8C 1E 48 01 F0 2C CB 00  oint......H..,..
    0x01380540  66 69 6C 74 65 72 5F 63  6F 61 73 74 6C 69 6E 65  filter_coastline
    0x01380550  73 20 3A 20 61 70 70 6C  69 65 73 20 66 69 6C 74  s : applies filt
    0x01380560  65 72 20 74 6F 20 77 6F  72 6C 64 20 6D 61 70 20  er to world map 
    0x01380570  63 6F 61 73 74 6C 69 6E  65 73 00 00 66 69 6C 74  coastlines..filt
    0x01380580  65 72 5F 63 6F 61 73 74  6C 69 6E 65 73 00 00 00  er_coastlines...
    0x01380590  D4 1E 48 01 50 2D CB 00  74 6F 67 67 6C 65 5F 63  ..H.P-..toggle_c
    0x013805A0  6F 61 73 74 6C 69 6E 65  73 20 3A 20 74 6F 67 67  oastlines : togg
    0x013805B0  6C 65 73 20 73 74 72 61  74 65 67 79 20 6D 61 70  les strategy map
    0x013805C0  20 63 6F 61 73 74 6C 69  6E 65 20 64 69 73 70 6C   coastline displ
    0x013805D0  61 79 00 00 74 6F 67 67  6C 65 5F 63 6F 61 73 74  ay..toggle_coast
    0x013805E0  6C 69 6E 65 73 00 00 00  1C 1F 48 01 A0 2D CB 00  lines.....H..-..
    0x013805F0  73 65 74 5F 62 75 69 6C  64 69 6E 67 5F 68 65 61  set_building_hea
    0x01380600  6C 74 68 20 3C 73 65 74  74 6C 65 6D 65 6E 74 5F  lth <settlement_
    0x01380610  6E 61 6D 65 3E 20 3C 62  75 69 6C 64 69 6E 67 5F  name> <building_
    0x01380620  63 68 61 69 6E 3E 20 3C  66 69 6E 61 6C 20 68 65  chain> <final he
    0x01380630  61 6C 74 68 20 70 65 72  63 65 6E 74 3E 3A 20 0A  alth percent>: .
    0x01380640  73 65 74 73 20 68 65 61  6C 74 68 20 6F 66 20 61  sets health of a
    0x01380650  20 62 75 69 6C 64 69 6E  67 20 6F 66 20 74 68 65   building of the
    0x01380660  20 73 70 65 63 69 66 69  65 64 20 74 79 70 65 20   specified type 
    0x01380670  28 65 67 20 63 6F 72 65  5F 62 75 69 6C 64 69 6E  (eg core_buildin
    0x01380680  67 29 20 0A 69 6E 20 61  20 73 65 74 74 6C 65 6D  g) .in a settlem
    0x01380690  65 6E 74 2C 20 73 6F 20  74 68 61 74 20 74 68 65  ent, so that the
    0x013806A0  20 66 69 6E 61 6C 20 68  65 61 6C 74 68 20 70 65   final health pe
    0x013806B0  72 63 65 6E 74 61 67 65  20 69 73 20 61 73 20 73  rcentage is as s
    0x013806C0  70 65 63 69 66 69 65 64  3B 20 66 6F 72 20 62 75  pecified; for bu
    0x013806D0  69 6C 64 69 6E 67 20 63  68 61 69 6E 73 20 73 65  ilding chains se
    0x013806E0  65 20 65 78 70 6F 72 74  5F 64 65 73 63 72 5F 62  e export_descr_b
    0x013806F0  75 69 6C 64 69 6E 67 2E  74 78 74 00 73 65 74 5F  uilding.txt.set_
    0x01380700  62 75 69 6C 64 69 6E 67  5F 68 65 61 6C 74 68 00  building_health.
    0x01380710  6E 6F 20 62 75 69 6C 64  69 6E 67 20 6F 66 20 74  no building of t
    0x01380720  68 69 73 20 74 79 70 65  20 69 6E 20 73 65 74 74  his type in sett
    0x01380730  6C 65 6D 65 6E 74 00 00  62 75 69 6C 64 69 6E 67  lement..building
    0x01380740  20 63 68 61 69 6E 20 69  64 20 6E 6F 74 20 72 65   chain id not re
    0x01380750  63 6F 67 6E 69 73 65 64  00 00 00 00 64 1F 48 01  cognised....d.H.
    0x01380760  70 30 CB 00 00 00 00 00  61 69 5F 74 75 72 6E 5F  p0......ai_turn_
    0x01380770  73 70 65 65 64 20 3C 6D  75 6C 74 69 70 6C 69 65  speed <multiplie
    0x01380780  72 3E 20 3A 20 73 65 74  73 20 74 68 65 20 6D 61  r> : sets the ma
    0x01380790  78 69 6D 75 6D 20 73 70  65 65 64 20 6F 66 20 74  ximum speed of t
    0x013807A0  75 72 6E 20 70 72 6F 63  65 73 73 69 6E 67 20 64  urn processing d
    0x013807B0  75 72 69 6E 67 20 74 68  65 20 61 69 20 72 6F 75  uring the ai rou
    0x013807C0  6E 64 00 00 61 69 5F 74  75 72 6E 5F 73 70 65 65  nd..ai_turn_spee
    0x013807D0  64 00 00 00 69 6C 6C 65  67 61 6C 20 74 75 72 6E  d...illegal turn
    0x013807E0  20 73 70 65 65 64 3B 20  6D 61 78 69 6D 75 6D 20   speed; maximum 
    0x013807F0  73 75 70 70 6F 72 74 65  64 20 73 70 65 65 64 20  supported speed 
    0x01380800  69 73 20 32 35 35 78 00  AC 1F 48 01 F0 30 CB 00  is 255x...H..0..
    0x01380810  61 6D 64 62 5F 6D 69 6E  20 3A 20 73 65 74 73 20  amdb_min : sets 
    0x01380820  61 65 72 69 61 6C 20 6D  61 70 20 6F 76 65 72 6C  aerial map overl
    0x01380830  61 79 20 64 65 70 74 68  20 62 69 61 73 20 66 6F  ay depth bias fo
    0x01380840  72 20 6D 69 6E 20 7A 6F  6F 6D 00 00 61 6D 64 62  r min zoom..amdb
    0x01380850  5F 6D 69 6E 00 00 00 00  F4 1F 48 01 50 31 CB 00  _min......H.P1..
    0x01380860  61 6D 64 62 5F 6D 61 78  20 3A 20 73 65 74 73 20  amdb_max : sets 
    0x01380870  61 65 72 69 61 6C 20 6D  61 70 20 6F 76 65 72 6C  aerial map overl
    0x01380880  61 79 20 64 65 70 74 68  20 62 69 61 73 20 66 6F  ay depth bias fo
    0x01380890  72 20 6D 61 78 20 7A 6F  6F 6D 00 00 61 6D 64 62  r max zoom..amdb
    0x013808A0  5F 6D 61 78 00 00 00 00  3C 20 48 01 B0 31 CB 00  _max....< H..1..
    0x013808B0  61 6D 64 62 5F 6F 66 66  73 65 74 20 3A 20 73 65  amdb_offset : se
    0x013808C0  74 73 20 61 65 72 69 61  6C 20 6D 61 70 20 6F 76  ts aerial map ov
    0x013808D0  65 72 6C 61 79 20 6F 66  66 73 65 74 20 74 6F 77  erlay offset tow
    0x013808E0  61 72 64 73 20 63 61 6D  65 72 61 00 61 6D 64 62  ards camera.amdb
    0x013808F0  5F 6F 66 66 73 65 74 00  84 20 48 01 10 32 CB 00  _offset.. H..2..
    0x01380900  7A 6F 6F 6D 20 3A 20 7A  6F 6F 6D 73 20 74 6F 20  zoom : zooms to 
    0x01380910  73 70 65 63 69 66 69 65  64 20 61 65 72 69 61 6C  specified aerial
    0x01380920  20 6D 61 70 20 7A 6F 6F  6D 00 00 00 7A 6F 6F 6D   map zoom...zoom
    0x01380930  00 00 00 00 6F 6E 6C 79  20 76 61 6C 69 64 20 64  ....only valid d
    0x01380940  75 72 69 6E 67 20 61 20  76 69 65 77 20 6F 66 20  uring a view of 
    0x01380950  74 68 65 20 73 74 72 61  74 65 67 79 20 6D 61 70  the strategy map
    0x01380960  00 00 00 00 CC 20 48 01  90 32 CB 00 00 00 00 00  ..... H..2......
    0x01380970  73 65 74 5F 72 61 6E 6B  69 6E 67 5F 69 6E 74 65  set_ranking_inte
    0x01380980  72 76 61 6C 20 3A 20 73  65 74 73 20 74 68 65 20  rval : sets the 
    0x01380990  64 65 6E 6F 6D 69 6E 61  74 6F 72 20 6F 66 20 74  denominator of t
    0x013809A0  68 65 20 66 61 63 74 69  6F 6E 20 72 61 6E 6B 69  he faction ranki
    0x013809B0  6E 67 20 67 72 61 70 68  20 69 6E 74 65 72 76 61  ng graph interva
    0x013809C0  6C 20 77 68 69 63 68 20  69 73 20 63 61 6C 63 75  l which is calcu
    0x013809D0  6C 61 74 65 64 20 61 73  20 28 6E 75 6D 62 65 72  lated as (number
    0x013809E0  5F 6F 66 5F 74 75 72 6E  73 20 2F 20 64 65 6E 6F  _of_turns / deno
    0x013809F0  6D 69 6E 61 74 6F 72 29  2E 20 20 49 66 20 73 65  minator).  If se
    0x01380A00  74 20 74 6F 20 30 2C 20  74 68 65 6E 20 74 68 65  t to 0, then the
    0x01380A10  20 64 65 6E 6F 6D 69 6E  61 74 6F 72 20 77 69 6C   denominator wil
    0x01380A20  6C 20 62 65 20 73 65 74  20 74 6F 20 6E 75 6D 62  l be set to numb
    0x01380A30  65 72 5F 6F 66 5F 74 75  72 6E 73 2C 20 67 69 76  er_of_turns, giv
    0x01380A40  69 6E 67 20 61 6E 20 69  6E 74 65 72 76 61 6C 20  ing an interval 
    0x01380A50  6F 66 20 31 00 00 00 00  73 65 74 5F 72 61 6E 6B  of 1....set_rank
    0x01380A60  69 6E 67 5F 69 6E 74 65  72 76 61 6C 00 00 00 00  ing_interval....
    0x01380A70  14 21 48 01 F0 32 CB 00  72 65 67 65 6E 65 72 61  .!H..2..regenera
    0x01380A80  74 65 5F 72 61 64 61 72  3A 20 44 6F 65 73 20 77  te_radar: Does w
    0x01380A90  68 61 74 20 69 74 20 73  61 79 73 20 6F 6E 20 74  hat it says on t
    0x01380AA0  68 65 20 74 69 6E 00 00  72 65 67 65 6E 65 72 61  he tin..regenera
    0x01380AB0  74 65 5F 72 61 64 61 72  00 00 00 00 5C 21 48 01  te_radar....\!H.
    0x01380AC0  50 33 CB 00 61 64 6A 75  73 74 5F 73 65 61 5F 62  P3..adjust_sea_b
    0x01380AD0  65 64 20 3A 20 61 64 6A  75 73 74 73 20 77 68 6F  ed : adjusts who
    0x01380AE0  6C 65 20 73 65 61 20 62  65 64 20 74 6F 20 73 70  le sea bed to sp
    0x01380AF0  65 63 69 66 69 65 64 20  68 65 69 67 68 74 00 00  ecified height..
    0x01380B00  61 64 6A 75 73 74 5F 73  65 61 5F 62 65 64 00 00  adjust_sea_bed..
    0x01380B10  A4 21 48 01 D0 33 CB 00  72 65 6C 6F 61 64 5F 73  .!H..3..reload_s
    0x01380B20  68 61 64 65 72 73 20 3A  20 72 65 6C 6F 61 64 73  haders : reloads
    0x01380B30  20 61 6C 6C 20 76 65 72  74 65 78 20 73 68 61 64   all vertex shad
    0x01380B40  65 72 73 00 72 65 6C 6F  61 64 5F 73 68 61 64 65  ers.reload_shade
    0x01380B50  72 73 00 00 EC 21 48 01  30 34 CB 00 72 65 6C 6F  rs...!H.04..relo
    0x01380B60  61 64 5F 74 65 78 74 75  72 65 73 20 3A 20 72 65  ad_textures : re
    0x01380B70  6C 6F 61 64 73 20 61 6C  6C 20 74 65 78 74 75 72  loads all textur
    0x01380B80  65 73 00 00 72 65 6C 6F  61 64 5F 74 65 78 74 75  es..reload_textu
    0x01380B90  72 65 73 00 34 22 48 01  80 34 CB 00 74 6F 67 67  res.4"H..4..togg
    0x01380BA0  6C 65 5F 67 61 6D 65 5F  75 70 64 61 74 65 00 00  le_game_update..
    0x01380BB0  7C 22 48 01 E0 34 CB 00  74 6F 67 67 6C 65 5F 70  |"H..4..toggle_p
    0x01380BC0  65 72 66 65 63 74 5F 73  70 79 20 3A 20 74 6F 67  erfect_spy : tog
    0x01380BD0  67 6C 65 73 20 65 76 65  72 79 6F 6E 65 27 73 20  gles everyone's 
    0x01380BE0  73 70 79 69 6E 67 20 61  62 69 6C 69 74 79 20 74  spying ability t
    0x01380BF0  6F 20 70 65 72 66 65 63  74 20 61 6E 64 20 69 6E  o perfect and in
    0x01380C00  66 69 6E 69 74 65 20 72  61 6E 67 65 2C 20 61 6E  finite range, an
    0x01380C10  64 20 6F 66 66 20 61 67  61 69 6E 00 74 6F 67 67  d off again.togg
    0x01380C20  6C 65 5F 70 65 72 66 65  63 74 5F 73 70 79 00 00  le_perfect_spy..
    0x01380C30  C4 22 48 01 40 35 CB 00  72 65 73 65 74 5F 64 69  ."H.@5..reset_di
    0x01380C40  73 70 6C 61 79 3A 20 0A  46 6F 72 63 65 73 20 61  splay: .Forces a
    0x01380C50  20 64 69 73 70 6C 61 79  5F 63 6C 6F 73 65 28 29   display_close()
    0x01380C60  3B 20 64 69 73 70 6C 61  79 5F 6F 70 65 6E 28 29  ; display_open()
    0x01380C70  20 64 69 73 70 6C 61 79  20 72 65 73 65 74 20 63   display reset c
    0x01380C80  79 63 6C 65 0A 00 00 00  72 65 73 65 74 5F 64 69  ycle....reset_di
    0x01380C90  73 70 6C 61 79 00 00 00  0C 23 48 01 A0 35 CB 00  splay....#H..5..
    0x01380CA0  70 72 6F 63 65 73 73 5F  72 71 20 3C 73 65 74 74  process_rq <sett
    0x01380CB0  6C 65 6D 65 6E 74 3E 3A  20 0A 43 6F 6D 70 6C 65  lement>: .Comple
    0x01380CC0  74 65 73 20 61 6C 6C 20  28 70 6F 73 73 69 62 6C  tes all (possibl
    0x01380CD0  65 29 20 72 65 63 72 75  69 74 6D 65 6E 74 20 70  e) recruitment p
    0x01380CE0  65 6E 64 69 6E 67 20 69  6E 20 71 75 65 75 65 0A  ending in queue.
    0x01380CF0  00 00 00 00 70 72 6F 63  65 73 73 5F 72 71 00 00  ....process_rq..
    0x01380D00  54 23 48 01 20 36 CB 00  66 6F 72 63 65 5F 64 69  T#H. 6..force_di
    0x01380D10  70 6C 6F 6D 61 63 79 20  3C 61 63 63 65 70 74 2F  plomacy <accept/
    0x01380D20  64 65 63 6C 69 6E 65 2F  6F 66 66 3E 3A 20 0A 46  decline/off>: .F
    0x01380D30  6F 72 63 65 73 20 74 68  65 20 6E 65 67 6F 74 69  orces the negoti
    0x01380D40  61 74 6F 72 20 74 6F 20  61 63 63 65 70 74 20 6F  ator to accept o
    0x01380D50  72 20 64 65 63 6C 69 6E  65 20 61 20 70 72 6F 70  r decline a prop
    0x01380D60  6F 73 69 74 69 6F 6E 0A  00 00 00 00 66 6F 72 63  osition.....forc
    0x01380D70  65 5F 64 69 70 6C 6F 6D  61 63 79 00 66 6F 72 63  e_diplomacy.forc
    0x01380D80  65 5F 64 69 70 6C 6F 6D  61 63 79 20 6D 6F 64 65  e_diplomacy mode
    0x01380D90  20 75 6E 6B 6E 6F 77 6E  00 00 00 00 9C 23 48 01   unknown.....#H.
    0x01380DA0  F0 36 CB 00 00 00 00 00  64 69 70 6C 6F 6D 61 74  .6......diplomat
    0x01380DB0  69 63 5F 73 74 61 6E 63  65 20 3C 66 61 63 74 69  ic_stance <facti
    0x01380DC0  6F 6E 5F 61 3E 20 3C 66  61 63 74 69 6F 6E 5F 62  on_a> <faction_b
    0x01380DD0  3E 20 3C 61 6C 6C 69 65  64 2F 6E 65 75 74 72 61  > <allied/neutra
    0x01380DE0  6C 2F 77 61 72 3E 3A 20  0A 53 65 74 20 74 68 65  l/war>: .Set the
    0x01380DF0  20 64 69 70 6C 6F 6D 61  74 69 63 20 73 74 61 6E   diplomatic stan
    0x01380E00  63 65 20 62 65 74 77 65  65 6E 20 74 68 65 20 74  ce between the t
    0x01380E10  77 6F 20 66 61 63 74 69  6F 6E 73 0A 00 00 00 00  wo factions.....
    0x01380E20  64 69 70 6C 6F 6D 61 74  69 63 5F 73 74 61 6E 63  diplomatic_stanc
    0x01380E30  65 00 00 00 64 69 70 6C  6F 6D 61 74 69 63 5F 73  e...diplomatic_s
    0x01380E40  74 61 6E 63 65 20 73 74  61 6E 63 65 20 75 6E 6B  tance stance unk
    0x01380E50  6E 6F 77 6E 00 00 00 00  6E 65 75 74 72 61 6C 00  nown....neutral.
    0x01380E60  66 61 63 74 69 6F 6E 73  20 6D 75 73 74 20 62 65  factions must be
    0x01380E70  20 64 69 66 66 65 72 65  6E 74 00 00 69 6E 76 61   different..inva
    0x01380E80  6C 69 64 20 66 61 63 74  69 6F 6E 20 74 79 70 65  lid faction type
    0x01380E90  00 00 00 00 E4 23 48 01  C0 38 CB 00 69 65 20 3C  .....#H..8..ie <
    0x01380EA0  72 65 6C 6F 61 64 3E 0A  00 00 00 00 69 65 00 00  reload>.....ie..
    0x01380EB0  6F 69 6C 00 72 65 6C 6F  61 64 00 00 2C 24 48 01  oil.reload..,$H.
    0x01380EC0  60 39 CB 00 00 00 00 00  69 6E 76 75 6C 6E 65 72  `9......invulner
    0x01380ED0  61 62 6C 65 5F 67 65 6E  65 72 61 6C 20 3C 63 68  able_general <ch
    0x01380EE0  61 72 61 63 74 65 72 5F  6E 61 6D 65 3E 20 3A 20  aracter_name> : 
    0x01380EF0  6D 61 6B 65 73 20 74 68  61 74 20 6E 61 6D 65 64  makes that named
    0x01380F00  20 67 65 6E 65 72 61 6C  20 69 6E 76 75 6C 6E 65   general invulne
    0x01380F10  72 61 62 6C 65 20 69 6E  20 62 61 74 74 6C 65 00  rable in battle.
    0x01380F20  74 24 48 01 E0 39 CB 00  61 64 64 73 20 61 6C 6C  t$H..9..adds all
    0x01380F30  20 61 6E 63 69 6C 6C 61  72 79 20 74 6F 20 74 68   ancillary to th
    0x01380F40  65 20 63 68 61 72 61 63  74 65 72 20 69 6E 66 6F  e character info
    0x01380F50  20 64 69 73 70 6C 61 79  0A 61 6E 63 69 6C 6C 61   display.ancilla
    0x01380F60  72 69 65 73 20 61 72 65  6E 27 74 20 61 63 74 75  ries aren't actu
    0x01380F70  61 6C 6C 79 20 61 64 64  65 64 20 74 6F 20 74 68  ally added to th
    0x01380F80  65 20 63 68 61 72 61 63  74 65 72 00 74 65 73 74  e character.test
    0x01380F90  5F 61 6E 63 69 6C 6C 61  72 79 5F 6C 6F 63 61 6C  _ancillary_local
    0x01380FA0  69 73 61 74 69 6F 6E 00  BC 24 48 01 40 3A CB 00  isation..$H.@:..
    0x01380FB0  54 6F 67 67 6C 65 20 64  69 73 70 6C 61 79 20 6F  Toggle display o
    0x01380FC0  66 20 73 69 6D 70 6C 65  20 70 65 72 66 6F 72 6D  f simple perform
    0x01380FD0  61 6E 63 65 20 74 69 6D  65 73 20 6F 66 20 67 61  ance times of ga
    0x01380FE0  6D 65 20 75 70 64 61 74  65 20 76 73 20 64 69 73  me update vs dis
    0x01380FF0  70 6C 61 79 00 00 00 00  70 65 72 66 5F 74 69 6D  play....perf_tim
    0x01381000  65 73 00 00 04 25 48 01  90 3A CB 00 62 75 72 6E  es...%H..:..burn
    0x01381010  5F 70 69 67 67 69 65 73  5F 62 75 72 6E 20 20 3C  _piggies_burn  <
    0x01381020  6F 6E 2F 6F 66 66 3E 20  3A 20 69 67 6E 69 74 65  on/off> : ignite
    0x01381030  20 61 6C 6C 20 74 68 65  20 70 69 67 67 79 20 77   all the piggy w
    0x01381040  69 6E 6B 73 00 00 00 00  62 75 72 6E 5F 70 69 67  inks....burn_pig
    0x01381050  67 69 65 73 5F 62 75 72  6E 00 00 00 4C 25 48 01  gies_burn...L%H.
    0x01381060  B0 3B CB 00 00 00 00 00  74 65 73 74 5F 6D 65 73  .;......test_mes
    0x01381070  73 61 67 65 20 3C 65 76  65 6E 74 5F 6D 65 73 73  sage <event_mess
    0x01381080  61 67 65 5F 6E 61 6D 65  20 7C 20 61 6C 6C 3E 20  age_name | all> 
    0x01381090  3A 20 54 65 73 74 20 74  68 65 20 65 76 65 6E 74  : Test the event
    0x013810A0  20 6D 65 73 73 61 67 65  20 73 70 65 63 69 66 69   message specifi
    0x013810B0  65 64 20 69 6E 20 64 65  73 63 72 5F 65 76 65 6E  ed in descr_even
    0x013810C0  74 5F 65 6E 75 6D 73 2E  74 78 74 00 74 65 73 74  t_enums.txt.test
    0x013810D0  5F 6D 65 73 73 61 67 65  00 00 00 00 45 72 72 6F  _message....Erro
    0x013810E0  72 3A 20 74 65 73 74 5F  6D 65 73 73 61 67 65 20  r: test_message 
    0x013810F0  72 65 71 75 69 72 65 73  20 65 69 74 68 65 72 20  requires either 
    0x01381100  61 20 6D 65 73 73 61 67  65 20 6E 61 6D 65 20 6F  a message name o
    0x01381110  72 20 27 61 6C 6C 27 00  45 72 72 6F 72 3A 20 45  r 'all'.Error: E
    0x01381120  76 65 6E 74 20 4D 65 73  73 61 67 65 20 3C 25 73  vent Message <%s
    0x01381130  3E 20 75 6E 73 75 70 70  6F 72 74 65 64 20 61 74  > unsupported at
    0x01381140  20 70 72 65 73 65 6E 74  0A 00 00 00 94 25 48 01   present.....%H.
    0x01381150  90 3C CB 00 00 00 00 00  54 65 73 74 20 65 76 65  .<......Test eve
    0x01381160  6E 74 20 6D 6F 76 69 65  3A 20 74 65 73 74 5F 6D  nt movie: test_m
    0x01381170  6F 76 69 65 20 3C 6D 69  73 73 69 6F 6E 5F 74 79  ovie <mission_ty
    0x01381180  70 65 3E 20 3C 6D 6F 76  69 65 5F 6E 61 6D 65 3E  pe> <movie_name>
    0x01381190  20 3C 72 65 73 75 6C 74  3E 00 00 00 74 65 73 74   <result>...test
    0x013811A0  5F 6D 6F 76 69 65 00 00  DC 25 48 01 B0 3D CB 00  _movie...%H..=..
    0x013811B0  52 65 6C 6F 61 64 73 20  6D 6F 76 69 65 20 64 62  Reloads movie db
    0x013811C0  00 00 00 00 72 65 6C 6F  61 64 5F 6D 6F 76 69 65  ....reload_movie
    0x013811D0  5F 64 62 00 24 26 48 01  10 3E CB 00 00 00 00 00  _db.$&H..>......
    0x013811E0  73 68 6F 77 5F 74 65 72  72 61 69 6E 5F 6C 69 6E  show_terrain_lin
    0x013811F0  65 73 20 3C 64 75 72 61  74 69 6F 6E 3E 20 3A 20  es <duration> : 
    0x01381200  64 69 73 70 6C 61 79 20  64 65 66 65 6E 73 69 76  display defensiv
    0x01381210  65 20 74 65 72 72 61 69  6E 20 66 65 61 74 75 72  e terrain featur
    0x01381220  65 73 00 00 73 68 6F 77  5F 74 65 72 72 61 69 6E  es..show_terrain
    0x01381230  5F 6C 69 6E 65 73 00 00  6C 26 48 01 80 3E CB 00  _lines..l&H..>..
    0x01381240  53 65 74 20 74 68 65 20  6D 65 73 73 61 67 65 20  Set the message 
    0x01381250  63 6F 6C 6C 61 74 69 6F  6E 20 6F 6E 20 6F 72 20  collation on or 
    0x01381260  6F 66 66 20 28 73 65 74  73 20 61 6C 6C 20 66 61  off (sets all fa
    0x01381270  63 74 69 6F 6E 73 29 00  6D 65 73 73 61 67 65 5F  ctions).message_
    0x01381280  63 6F 6C 6C 61 74 69 6F  6E 5F 73 65 74 00 00 00  collation_set...
    0x01381290  55 6E 72 65 63 6F 67 6E  69 73 65 64 20 63 6F 6D  Unrecognised com
    0x013812A0  6D 61 6E 64 2C 20 75 73  65 20 22 6F 6E 22 2C 20  mand, use "on", 
    0x013812B0  6F 72 20 22 6F 66 66 22  00 00 00 00 B4 26 48 01  or "off".....&H.
    0x013812C0  60 3F CB 00 54 6F 67 67  6C 65 73 20 74 68 65 20  `?..Toggles the 
    0x013812D0  55 49 20 6F 6E 20 6F 72  20 6F 66 66 20 61 73 20  UI on or off as 
    0x013812E0  70 65 72 20 74 68 65 20  73 68 6F 77 5F 75 69 20  per the show_ui 
    0x013812F0  73 63 72 69 70 74 20 63  6F 6D 6D 61 6E 64 00 00  script command..
    0x01381300  55 6E 72 65 63 6F 67 6E  69 73 65 64 20 63 6F 6D  Unrecognised com
    0x01381310  6D 61 6E 64 2C 20 75 73  65 20 22 74 72 75 65 22  mand, use "true"
    0x01381320  2C 20 6F 72 20 22 66 61  6C 73 65 22 00 00 00 00  , or "false"....
    0x01381330  FC 26 48 01 10 40 CB 00  53 68 6F 77 20 61 6C 6C  .&H..@..Show all
    0x01381340  20 6D 65 73 73 61 67 65  73 20 74 6F 20 61 6C 6C   messages to all
    0x01381350  20 66 61 63 74 69 6F 6E  73 20 28 6F 6E 2F 6F 66   factions (on/of
    0x01381360  66 29 00 00 73 68 6F 77  5F 61 6C 6C 5F 6D 65 73  f)..show_all_mes
    0x01381370  73 61 67 65 73 00 00 00  44 27 48 01 B0 40 CB 00  sages...D'H..@..
    0x01381380  43 6C 65 61 72 20 61 6C  6C 20 74 68 65 20 63 75  Clear all the cu
    0x01381390  72 72 65 6E 74 20 73 74  61 63 6B 65 64 20 6D 65  rrent stacked me
    0x013813A0  73 73 61 67 65 73 00 00  63 6C 65 61 72 5F 6D 65  ssages..clear_me
    0x013813B0  73 73 61 67 65 73 00 00  8C 27 48 01 40 41 CB 00  ssages...'H.@A..
    0x013813C0  3F 3F 3F 3F 3F 3F 00 00  70 75 70 70 69 66 79 5F  ??????..puppify_
    0x013813D0  6D 79 5F 6C 6F 76 65 00  D4 27 48 01 C0 41 CB 00  my_love..'H..A..
    0x013813E0  75 70 67 72 61 64 65 5F  73 65 74 74 6C 65 6D 65  upgrade_settleme
    0x013813F0  6E 74 20 3C 73 65 74 74  6C 65 6D 65 6E 74 20 6E  nt <settlement n
    0x01381400  61 6D 65 3E 20 3A 20 75  70 67 72 61 64 65 20 73  ame> : upgrade s
    0x01381410  65 74 74 6C 65 6D 65 6E  74 20 6C 65 76 65 6C 00  ettlement level.
    0x01381420  75 70 67 72 61 64 65 5F  73 65 74 74 6C 65 6D 65  upgrade_settleme
    0x01381430  6E 74 00 00 1C 28 48 01  40 42 CB 00 54 6F 67 67  nt...(H.@B..Togg
    0x01381440  6C 65 20 77 69 72 65 66  72 61 6D 65 20 72 65 6E  le wireframe ren
    0x01381450  64 65 72 69 6E 67 00 00  74 6F 67 67 6C 65 5F 77  dering..toggle_w
    0x01381460  69 72 65 66 72 61 6D 65  00 00 00 00 64 28 48 01  ireframe....d(H.
    0x01381470  A0 42 CB 00 72 65 61 70  70 6C 79 5F 72 69 67 69  .B..reapply_rigi
    0x01381480  64 5F 6D 6F 64 65 6C 5F  69 6E 66 6C 75 65 6E 63  d_model_influenc
    0x01381490  65 00 00 00 AC 28 48 01  F0 42 CB 00 74 6F 67 67  e....(H..B..togg
    0x013814A0  6C 65 73 20 64 69 73 70  6C 61 79 20 6F 66 20 63  les display of c
    0x013814B0  61 6D 70 61 69 67 6E 20  6D 61 70 20 66 6C 6F 77  ampaign map flow
    0x013814C0  69 6E 67 20 77 61 74 65  72 00 00 00 74 6F 67 67  ing water...togg
    0x013814D0  6C 65 5F 66 6C 6F 77 69  6E 67 5F 77 61 74 65 72  le_flowing_water
    0x013814E0  00 00 00 00 F4 28 48 01  40 43 CB 00 6E 77 5F 73  .....(H.@C..nw_s
    0x013814F0  74 61 74 73 3A 20 0A 74  6F 67 67 6C 65 73 20 64  tats: .toggles d
    0x01381500  69 73 70 6C 61 79 20 6F  66 20 6E 65 74 77 6F 72  isplay of networ
    0x01381510  6B 20 73 74 61 74 73 2E  0A 00 00 00 6E 77 5F 73  k stats.....nw_s
    0x01381520  74 61 74 73 00 00 00 00  3C 29 48 01 90 43 CB 00  tats....<)H..C..
    0x01381530  74 6F 67 67 6C 65 5F 70  72 3A 20 0A 74 6F 67 67  toggle_pr: .togg
    0x01381540  6C 65 73 20 70 72 20 6D  6F 64 65 2E 0A 00 00 00  les pr mode.....
    0x01381550  74 6F 67 67 6C 65 5F 70  72 00 00 00 84 29 48 01  toggle_pr....)H.
    0x01381560  F0 43 CB 00 00 00 00 00  6C 69 73 74 5F 75 6E 69  .C......list_uni
    0x01381570  74 73 20 3C 63 68 61 72  61 63 74 65 72 2F 73 65  ts <character/se
    0x01381580  74 74 6C 65 6D 65 6E 74  20 6E 61 6D 65 3E 20 3A  ttlement name> :
    0x01381590  20 6C 69 73 74 73 20 61  6C 6C 20 6F 66 20 74 68   lists all of th
    0x013815A0  65 20 75 6E 69 74 73 20  69 6E 20 61 6E 20 61 72  e units in an ar
    0x013815B0  6D 79 2C 20 77 69 74 68  20 64 65 74 61 69 6C 73  my, with details
    0x013815C0  2E 00 00 00 6C 69 73 74  5F 75 6E 69 74 73 00 00  ....list_units..
    0x013815D0  63 68 61 72 61 63 74 65  72 20 6F 72 20 73 65 74  character or set
    0x013815E0  74 6C 65 6D 65 6E 74 20  6E 6F 74 20 66 6F 75 6E  tlement not foun
    0x013815F0  64 00 00 00 0A 74 6F 6F  20 6D 75 63 68 20 74 65  d....too much te
    0x01381600  73 74 2E 2E 2E 00 00 00  25 69 2E 20 27 25 73 27  st......%i. '%s'
    0x01381610  20 28 73 6F 6C 64 69 65  72 73 20 25 69 2C 20 65   (soldiers %i, e
    0x01381620  78 70 20 25 69 2C 20 77  65 61 70 20 25 69 2C 20  xp %i, weap %i, 
    0x01381630  61 72 6D 20 25 69 29 2E  0A 00 00 00 61 72 6D 79  arm %i).....army
    0x01381640  20 75 6E 69 74 73 20 28  74 6F 74 61 6C 20 73 74   units (total st
    0x01381650  72 65 6E 67 74 68 3A 20  25 69 29 3A 0A 00 00 00  rength: %i):....
    0x01381660  73 65 74 74 6C 65 6D 65  6E 74 20 66 6F 75 6E 64  settlement found
    0x01381670  2C 20 62 75 74 20 69 74  20 68 61 73 20 6E 6F 20  , but it has no 
    0x01381680  67 61 72 72 69 73 6F 6E  2E 00 00 00 63 68 61 72  garrison....char
    0x01381690  61 63 74 65 72 20 66 6F  75 6E 64 2C 20 62 75 74  acter found, but
    0x013816A0  20 68 65 20 68 61 73 20  6E 6F 20 61 72 6D 79 2E   he has no army.
    0x013816B0  00 00 00 00 CC 29 48 01  90 45 CB 00 00 00 00 00  .....)H..E......
    0x013816C0  76 69 63 74 6F 72 79 20  3C 66 61 63 74 69 6F 6E  victory <faction
    0x013816D0  3E 20 3C 73 68 6F 72 74  3E 3A 20 73 68 6F 77 20  > <short>: show 
    0x013816E0  76 69 63 74 6F 72 79 20  6D 65 73 73 61 67 65 20  victory message 
    0x013816F0  66 6F 72 20 66 61 63 74  69 6F 6E 20 66 6F 72 20  for faction for 
    0x01381700  73 68 6F 72 74 20 6F 72  20 6C 6F 6E 67 20 63 61  short or long ca
    0x01381710  6D 70 61 69 67 6E 2E 00  76 69 63 74 6F 72 79 00  mpaign..victory.
    0x01381720  66 61 63 74 69 6F 6E 20  6E 6F 74 20 66 6F 75 6E  faction not foun
    0x01381730  64 2E 00 00 66 61 63 74  69 6F 6E 20 6E 6F 74 20  d...faction not 
    0x01381740  72 65 63 6F 67 6E 69 73  65 64 2E 00 14 2A 48 01  recognised...*H.
    0x01381750  50 46 CB 00 74 72 69 67  67 65 72 73 20 61 6E 20  PF..triggers an 
    0x01381760  61 64 76 69 63 65 20 74  68 72 65 61 64 0A 00 00  advice thread...
    0x01381770  74 72 69 67 67 65 72 5F  61 64 76 69 63 65 00 00  trigger_advice..
    0x01381780  54 68 72 65 61 64 20 6E  6F 74 20 66 6F 75 6E 64  Thread not found
    0x01381790  2E 00 00 00 57 72 6F 6E  67 20 69 74 65 6D 20 69  ....Wrong item i
    0x013817A0  6E 64 65 78 2E 00 00 00  5C 2A 48 01 D0 47 CB 00  ndex....\*H..G..
    0x013817B0  64 61 6D 61 67 65 5F 77  61 6C 6C 20 3C 73 65 74  damage_wall <set
    0x013817C0  74 6C 65 6D 65 6E 74 3E  20 3C 67 61 74 65 3E 20  tlement> <gate> 
    0x013817D0  3C 62 72 65 61 63 68 3E  3A 20 0A 44 61 6D 61 67  <breach>: .Damag
    0x013817E0  65 20 77 61 6C 6C 20 6F  66 20 73 65 74 74 6C 65  e wall of settle
    0x013817F0  6D 65 6E 74 2E 20 20 46  6F 72 63 65 73 20 34 30  ment.  Forces 40
    0x01381800  25 20 64 61 6D 61 67 65  20 74 6F 20 61 20 72 61  % damage to a ra
    0x01381810  6E 64 6F 6D 20 67 61 74  65 68 6F 75 73 65 20 61  ndom gatehouse a
    0x01381820  6E 64 20 61 20 6E 65 61  72 62 79 20 73 74 72 61  nd a nearby stra
    0x01381830  69 67 68 74 20 73 65 63  74 69 6F 6E 2E 20 44 65  ight section. De
    0x01381840  73 74 72 6F 79 73 20 67  61 74 65 68 6F 75 73 65  stroys gatehouse
    0x01381850  20 69 66 20 27 67 61 74  65 27 20 70 61 72 61 6D   if 'gate' param
    0x01381860  65 74 65 72 20 70 72 65  73 65 6E 74 3B 20 62 72  eter present; br
    0x01381870  65 61 63 68 65 73 20 77  61 6C 6C 20 69 66 20 27  eaches wall if '
    0x01381880  62 72 65 61 63 68 27 20  70 72 65 73 65 6E 74 0A  breach' present.
    0x01381890  00 00 00 00 64 61 6D 61  67 65 5F 77 61 6C 6C 00  ....damage_wall.
    0x013818A0  62 72 65 61 63 68 00 00  A4 2A 48 01 F0 48 CB 00  breach...*H..H..
    0x013818B0  74 65 73 74 5F 76 69 63  74 6F 72 79 5F 73 63 72  test_victory_scr
    0x013818C0  6F 6C 6C 20 3C 66 61 63  74 69 6F 6E 20 76 69 63  oll <faction vic
    0x013818D0  74 6F 72 3E 20 3C 73 68  6F 72 74 20 63 61 6D 70  tor> <short camp
    0x013818E0  61 69 67 6E 20 28 74 72  75 65 2F 66 61 6C 73 65  aign (true/false
    0x013818F0  29 3E 3A 20 0A 4F 70 65  6E 73 20 75 70 20 74 68  )>: .Opens up th
    0x01381900  65 20 76 69 63 74 6F 72  79 20 73 63 72 6F 6C 6C  e victory scroll
    0x01381910  20 64 65 63 6C 61 72 69  6E 67 20 74 68 61 74 20   declaring that 
    0x01381920  74 68 65 20 67 69 76 65  6E 20 66 61 63 74 69 6F  the given factio
    0x01381930  6E 20 69 73 20 74 68 65  20 76 69 63 74 6F 72 0A  n is the victor.
    0x01381940  49 66 20 6E 6F 20 66 61  63 74 69 6F 6E 20 69 73  If no faction is
    0x01381950  20 64 65 63 6C 61 72 65  64 20 74 68 65 6E 20 74   declared then t
    0x01381960  68 65 20 27 74 69 6D 65  6F 75 74 27 20 73 63 72  he 'timeout' scr
    0x01381970  6F 6C 6C 20 69 73 20 64  69 73 70 6C 61 79 65 64  oll is displayed
    0x01381980  00 00 00 00 74 65 73 74  5F 76 69 63 74 6F 72 79  ....test_victory
    0x01381990  5F 73 63 72 6F 6C 6C 00  EC 2A 48 01 50 4A CB 00  _scroll..*H.PJ..
    0x013819A0  64 61 74 65 20 3C 79 65  61 72 3E 20 3A 20 63 68  date <year> : ch
    0x013819B0  61 6E 67 65 73 20 74 68  65 20 63 61 6D 70 61 69  anges the campai
    0x013819C0  67 6E 20 64 61 74 65 20  74 6F 20 74 68 65 20 67  gn date to the g
    0x013819D0  69 76 65 6E 20 79 65 61  72 00 00 00 34 2B 48 01  iven year...4+H.
    0x013819E0  10 4B CB 00 00 00 00 00  73 65 61 73 6F 6E 20 3C  .K......season <
    0x013819F0  73 65 61 73 6F 6E 3E 20  3A 20 63 68 61 6E 67 65  season> : change
    0x01381A00  73 20 74 68 65 20 63 61  6D 70 61 69 67 6E 20 73  s the campaign s
    0x01381A10  65 61 73 6F 6E 20 74 6F  20 74 68 65 20 67 69 76  eason to the giv
    0x01381A20  65 6E 20 73 65 61 73 6F  6E 00 00 00 73 65 61 73  en season...seas
    0x01381A30  6F 6E 20 6E 6F 74 20 72  65 63 6F 67 6E 69 73 65  on not recognise
    0x01381A40  64 00 00 00 7C 2B 48 01  C0 4B CB 00 00 00 00 00  d...|+H..K......
    0x01381A50  66 6F 72 63 65 5F 62 61  74 74 6C 65 5F 76 69 63  force_battle_vic
    0x01381A60  74 6F 72 79 20 3C 6F 70  74 3A 63 61 70 74 75 72  tory <opt:captur
    0x01381A70  65 5F 70 65 72 63 65 6E  74 3E 20 3A 20 66 6F 72  e_percent> : for
    0x01381A80  63 65 73 20 74 68 65 20  6C 6F 63 61 6C 20 70 6C  ces the local pl
    0x01381A90  61 79 65 72 27 73 20 61  6C 6C 69 61 6E 63 65 20  ayer's alliance 
    0x01381AA0  74 6F 20 77 69 6E 20 74  68 65 20 62 61 74 74 6C  to win the battl
    0x01381AB0  65 2C 20 63 6F 6D 70 6C  65 74 65 6C 79 20 64 65  e, completely de
    0x01381AC0  73 74 72 6F 79 69 6E 67  20 74 68 65 20 65 6E 65  stroying the ene
    0x01381AD0  6D 79 20 61 6C 6C 69 61  6E 63 65 20 6F 72 20 6F  my alliance or o
    0x01381AE0  70 74 69 6F 6E 61 6C 6C  79 20 63 61 70 74 75 72  ptionally captur
    0x01381AF0  69 6E 67 20 61 20 70 65  72 63 65 6E 74 61 67 65  ing a percentage
    0x01381B00  20 6F 66 20 74 68 65 20  65 6E 65 6D 79 20 61 6C   of the enemy al
    0x01381B10  6C 69 61 6E 63 65 00 00  66 6F 72 63 65 5F 62 61  liance..force_ba
    0x01381B20  74 74 6C 65 5F 76 69 63  74 6F 72 79 00 00 00 00  ttle_victory....
    0x01381B30  C4 2B 48 01 50 4C CB 00  66 6F 72 63 65 5F 62 61  .+H.PL..force_ba
    0x01381B40  74 74 6C 65 5F 64 65 66  65 61 74 20 3C 6F 70 74  ttle_defeat <opt
    0x01381B50  3A 63 61 70 74 75 72 65  5F 70 65 72 63 65 6E 74  :capture_percent
    0x01381B60  3E 20 3A 20 66 6F 72 63  65 73 20 74 68 65 20 6C  > : forces the l
    0x01381B70  6F 63 61 6C 20 70 6C 61  79 65 72 27 73 20 61 6C  ocal player's al
    0x01381B80  6C 69 61 6E 63 65 20 74  6F 20 6C 6F 73 65 20 74  liance to lose t
    0x01381B90  68 65 20 62 61 74 74 6C  65 2C 20 63 6F 6D 70 6C  he battle, compl
    0x01381BA0  65 74 65 6C 79 20 64 65  73 74 72 6F 79 69 6E 67  etely destroying
    0x01381BB0  20 74 68 65 20 6C 6F 63  61 6C 20 61 6C 6C 69 61   the local allia
    0x01381BC0  6E 63 65 20 6F 72 20 6F  70 74 69 6F 6E 61 6C 6C  nce or optionall
    0x01381BD0  79 20 63 61 70 74 75 72  69 6E 67 20 61 20 70 65  y capturing a pe
    0x01381BE0  72 63 65 6E 74 61 67 65  20 6F 66 20 74 68 65 20  rcentage of the 
    0x01381BF0  6C 6F 63 61 6C 20 61 6C  6C 69 61 6E 63 65 00 00  local alliance..
    0x01381C00  66 6F 72 63 65 5F 62 61  74 74 6C 65 5F 64 65 66  force_battle_def
    0x01381C10  65 61 74 00 0C 2C 48 01  F0 4C CB 00 00 00 00 00  eat..,H..L......
    0x01381C20  6F 75 74 70 75 74 5F 75  6E 69 74 5F 70 6F 73 69  output_unit_posi
    0x01381C30  74 69 6F 6E 73 20 3C 66  69 6C 65 6E 61 6D 65 3E  tions <filename>
    0x01381C40  20 3A 20 6F 75 74 70 75  74 20 74 68 65 20 70 6F   : output the po
    0x01381C50  73 69 74 69 6F 6E 73 20  6F 66 20 61 6C 6C 20 75  sitions of all u
    0x01381C60  6E 69 74 73 20 69 6E 20  74 68 65 20 62 61 74 74  nits in the batt
    0x01381C70  6C 65 20 74 6F 20 74 68  65 20 73 70 65 63 69 66  le to the specif
    0x01381C80  69 65 64 20 66 69 6C 65  00 00 00 00 6F 75 74 70  ied file....outp
    0x01381C90  75 74 5F 75 6E 69 74 5F  70 6F 73 69 74 69 6F 6E  ut_unit_position
    0x01381CA0  73 00 00 00 25 64 2C 20  25 64 2C 20 25 64 2C 20  s...%d, %d, %d, 
    0x01381CB0  25 66 2C 20 25 66 2C 20  25 66 2C 20 25 66 2C 20  %f, %f, %f, %f, 
    0x01381CC0  25 64 0D 0A 00 00 00 00  46 6F 72 6D 61 74 3A 2D  %d......Format:-
    0x01381CD0  20 61 6C 6C 69 61 6E 63  65 5F 69 6E 64 65 78 2C   alliance_index,
    0x01381CE0  20 61 72 6D 79 5F 69 6E  64 65 78 2C 20 75 6E 69   army_index, uni
    0x01381CF0  74 5F 69 6E 64 65 78 2C  20 66 6F 72 6D 61 74 69  t_index, formati
    0x01381D00  6F 6E 5F 6F 72 69 67 69  6E 5F 78 2C 20 66 6F 72  on_origin_x, for
    0x01381D10  6D 61 74 69 6F 6E 5F 6F  72 69 67 69 6E 5F 79 2C  mation_origin_y,
    0x01381D20  20 72 6F 74 61 74 69 6F  6E 5F 69 6E 5F 64 65 67   rotation_in_deg
    0x01381D30  72 65 65 73 2C 20 75 6E  69 74 5F 77 69 64 74 68  rees, unit_width
    0x01381D40  5F 69 6E 5F 6D 65 74 72  65 73 2C 20 75 6E 69 74  _in_metres, unit
    0x01381D50  5F 77 69 64 74 68 5F 69  6E 5F 6D 65 6E 0D 0A 0D  _width_in_men...
    0x01381D60  0A 00 00 00 54 2C 48 01  B0 4F CB 00 7A 6F 6F 6D  ....T,H..O..zoom
    0x01381D70  5F 74 6F 5F 75 6E 69 74  20 3A 20 7A 6F 6F 6D 20  _to_unit : zoom 
    0x01381D80  74 68 65 20 63 61 6D 65  72 61 20 74 6F 20 61 20  the camera to a 
    0x01381D90  75 6E 69 74 20 6F 66 20  61 20 73 70 65 63 69 66  unit of a specif
    0x01381DA0  69 63 20 69 64 0A 00 00  7A 6F 6F 6D 5F 74 6F 5F  ic id...zoom_to_
    0x01381DB0  75 6E 69 74 00 00 00 00  9C 2C 48 01 70 51 CB 00  unit.....,H.pQ..
    0x01381DC0  73 68 6F 77 5F 62 61 74  74 6C 65 5F 6D 61 72 6B  show_battle_mark
    0x01381DD0  65 72 20 3C 78 3E 20 3C  79 3E 20 3C 74 3E 20 3A  er <x> <y> <t> :
    0x01381DE0  20 64 69 73 70 6C 61 79  20 61 20 6D 61 72 6B 65   display a marke
    0x01381DF0  72 20 61 74 20 28 78 2C  20 79 29 20 66 6F 72 20  r at (x, y) for 
    0x01381E00  74 20 73 65 63 6F 6E 64  73 00 00 00 73 68 6F 77  t seconds...show
    0x01381E10  5F 62 61 74 74 6C 65 5F  6D 61 72 6B 65 72 00 00  _battle_marker..
    0x01381E20  E4 2C 48 01 40 52 CB 00  73 68 6F 77 5F 62 61 74  .,H.@R..show_bat
    0x01381E30  74 6C 65 5F 6C 69 6E 65  20 3C 78 31 3E 20 3C 79  tle_line <x1> <y
    0x01381E40  31 3E 20 3C 78 32 3E 20  3C 79 32 3E 20 3C 74 3E  1> <x2> <y2> <t>
    0x01381E50  20 3A 20 64 69 73 70 6C  61 79 20 61 20 6C 69 6E   : display a lin
    0x01381E60  65 20 66 72 6F 6D 20 28  78 31 2C 20 79 31 29 20  e from (x1, y1) 
    0x01381E70  74 6F 20 28 78 32 2C 20  79 32 29 20 66 6F 72 20  to (x2, y2) for 
    0x01381E80  74 20 73 65 63 6F 6E 64  73 00 00 00 73 68 6F 77  t seconds...show
    0x01381E90  5F 62 61 74 74 6C 65 5F  6C 69 6E 65 00 00 00 00  _battle_line....
    0x01381EA0  2C 2D 48 01 50 53 CB 00  73 68 6F 77 5F 62 61 74  ,-H.PS..show_bat
    0x01381EB0  74 6C 65 5F 63 69 72 63  6C 65 20 3C 78 3E 20 3C  tle_circle <x> <
    0x01381EC0  79 3E 20 3C 72 3E 20 3C  74 3E 20 3A 20 64 69 73  y> <r> <t> : dis
    0x01381ED0  70 6C 61 79 20 61 20 63  69 72 63 6C 65 20 61 74  play a circle at
    0x01381EE0  20 28 78 2C 20 79 29 20  6F 66 20 72 20 72 61 64   (x, y) of r rad
    0x01381EF0  69 75 73 20 66 6F 72 20  74 20 73 65 63 6F 6E 64  ius for t second
    0x01381F00  73 00 00 00 73 68 6F 77  5F 62 61 74 74 6C 65 5F  s...show_battle_
    0x01381F10  63 69 72 63 6C 65 00 00  74 2D 48 01 40 54 CB 00  circle..t-H.@T..
    0x01381F20  6B 69 6C 6C 5F 66 61 63  74 69 6F 6E 20 3C 66 61  kill_faction <fa
    0x01381F30  63 74 69 6F 6E 5F 74 79  70 65 3E 20 3A 20 72 65  ction_type> : re
    0x01381F40  6D 6F 76 65 73 20 74 68  65 20 66 61 63 74 69 6F  moves the factio
    0x01381F50  6E 20 66 72 6F 6D 20 74  68 65 20 67 61 6D 65 00  n from the game.
    0x01381F60  6B 69 6C 6C 5F 66 61 63  74 69 6F 6E 00 00 00 00  kill_faction....
    0x01381F70  66 61 63 74 69 6F 6E 20  69 73 20 6E 6F 74 20 61  faction is not a
    0x01381F80  6C 69 76 65 00 00 00 00  63 61 6E 6E 6F 74 20 6B  live....cannot k
    0x01381F90  69 6C 6C 20 73 6C 61 76  65 20 66 61 63 74 69 6F  ill slave factio
    0x01381FA0  6E 00 00 00 BC 2D 48 01  20 55 CB 00 00 00 00 00  n....-H. U......
    0x01381FB0  64 69 70 6C 6F 6D 61 63  79 5F 6D 69 73 73 69 6F  diplomacy_missio
    0x01381FC0  6E 20 3C 61 69 5F 66 61  63 74 69 6F 6E 3E 20 3C  n <ai_faction> <
    0x01381FD0  74 61 72 67 65 74 5F 66  61 63 74 69 6F 6E 3E 20  target_faction> 
    0x01381FE0  3C 6D 69 73 73 69 6F 6E  5F 74 79 70 65 3E 20 3C  <mission_type> <
    0x01381FF0  6F 70 74 3A 6D 69 73 73  69 6F 6E 5F 74 61 72 67  opt:mission_targ
    0x01382000  65 74 3E 20 3A 20 63 72  65 61 74 65 73 20 61 20  et> : creates a 
    0x01382010  64 69 70 6C 6F 6D 61 63  79 20 6D 69 73 73 69 6F  diplomacy missio
    0x01382020  6E 00 00 00 64 69 70 6C  6F 6D 61 63 79 5F 6D 69  n...diplomacy_mi
    0x01382030  73 73 69 6F 6E 00 00 00  74 61 72 67 65 74 5F 66  ssion...target_f
    0x01382040  61 63 74 69 6F 6E 20 72  65 71 75 69 72 65 64 00  action required.
    0x01382050  61 69 5F 64 69 70 6C 6F  6D 61 63 79 5F 6D 61 6E  ai_diplomacy_man
    0x01382060  61 67 65 72 20 6E 6F 74  20 66 6F 75 6E 64 00 00  ager not found..
    0x01382070  61 69 5F 66 61 63 74 69  6F 6E 20 6E 6F 74 20 66  ai_faction not f
    0x01382080  6F 75 6E 64 00 00 00 00  69 6E 76 61 6C 69 64 20  ound....invalid 
    0x01382090  74 61 72 67 65 74 5F 66  61 63 74 69 6F 6E 20 74  target_faction t
    0x013820A0  79 70 65 00 69 6E 76 61  6C 69 64 20 6D 69 73 73  ype.invalid miss
    0x013820B0  69 6F 6E 5F 74 79 70 65  00 00 00 00 69 6E 76 61  ion_type....inva
    0x013820C0  6C 69 64 20 6D 69 73 73  69 6F 6E 5F 66 61 63 74  lid mission_fact
    0x013820D0  69 6F 6E 20 74 79 70 65  00 00 00 00 69 6E 76 61  ion type....inva
    0x013820E0  6C 69 64 20 61 69 5F 66  61 63 74 69 6F 6E 20 74  lid ai_faction t
    0x013820F0  79 70 65 00 04 2E 48 01  C0 7D CB 00 00 00 00 00  ype...H..}......
    0x01382100  65 76 65 6E 74 20 3C 73  74 61 72 74 5F 79 65 61  event <start_yea
    0x01382110  72 5B 3A 65 6E 64 5F 79  65 61 72 5D 3E 20 3C 63  r[:end_year]> <c
    0x01382120  61 74 65 67 6F 72 79 5B  3A 74 79 70 65 5D 3E 20  ategory[:type]> 
    0x01382130  5B 3C 78 2C 79 3E 20 3C  73 63 61 6C 65 3E 5D 20  [<x,y> <scale>] 
    0x01382140  3A 20 63 72 65 61 74 65  73 20 61 6E 20 65 76 65  : creates an eve
    0x01382150  6E 74 00 00 4C 2E 48 01  00 58 CB 00 00 00 00 00  nt..L.H..X......
    0x01382160  6B 69 6C 6C 5F 63 68 61  72 61 63 74 65 72 20 3C  kill_character <
    0x01382170  63 68 61 72 61 63 74 65  72 5F 6E 61 6D 65 3E 20  character_name> 
    0x01382180  3A 20 6B 69 6C 6C 73 20  61 20 63 68 61 72 61 63  : kills a charac
    0x01382190  74 65 72 20 77 69 74 68  20 74 68 65 20 67 69 76  ter with the giv
    0x013821A0  65 6E 20 6E 61 6D 65 00  94 2E 48 01 C0 58 CB 00  en name...H..X..
    0x013821B0  63 6F 6E 74 72 6F 6C 20  3C 66 61 63 74 69 6F 6E  control <faction
    0x013821C0  5F 74 79 70 65 3E 20 3A  20 73 77 69 74 63 68 65  _type> : switche
    0x013821D0  73 20 70 6C 61 79 65 72  20 63 6F 6E 74 72 6F 6C  s player control
    0x013821E0  20 74 6F 20 73 70 65 63  69 66 69 65 64 20 66 61   to specified fa
    0x013821F0  63 74 69 6F 6E 3B 20 6F  6C 64 20 66 61 63 74 69  ction; old facti
    0x01382200  6F 6E 20 6D 61 79 20 6E  6F 74 20 61 63 74 20 63  on may not act c
    0x01382210  6F 72 72 65 63 74 6C 79  20 61 73 20 61 69 20 66  orrectly as ai f
    0x01382220  61 63 74 69 6F 6E 00 00  63 6F 6E 74 72 6F 6C 00  action..control.
    0x01382230  20 20 43 68 61 6E 67 65  64 20 66 61 63 74 69 6F    Changed factio
    0x01382240  6E 20 3C 25 73 3E 20 74  6F 20 48 75 6D 61 6E 20  n <%s> to Human 
    0x01382250  63 6F 6E 74 72 6F 6C 00  20 20 43 68 61 6E 67 65  control.  Change
    0x01382260  64 20 66 61 63 74 69 6F  6E 20 3C 25 73 3E 20 74  d faction <%s> t
    0x01382270  6F 20 41 49 20 63 6F 6E  74 72 6F 6C 00 00 00 00  o AI control....
    0x01382280  45 72 72 6F 72 3A 20 63  61 6E 6E 6F 74 20 63 68  Error: cannot ch
    0x01382290  61 6E 67 65 20 63 6F 6E  74 72 6F 6C 20 64 75 72  ange control dur
    0x013822A0  69 6E 67 20 63 75 72 72  65 6E 74 20 73 74 61 74  ing current stat
    0x013822B0  65 2E 20 20 4D 61 79 20  62 65 20 72 65 73 6F 6C  e.  May be resol
    0x013822C0  76 69 6E 67 20 61 20 62  61 74 74 6C 65 20 6F 72  ving a battle or
    0x013822D0  20 69 6E 20 64 69 70 6C  6F 6D 61 63 79 20 74 61   in diplomacy ta
    0x013822E0  6C 6B 73 00 45 72 72 6F  72 3A 20 63 61 6E 6E 6F  lks.Error: canno
    0x013822F0  74 20 63 68 61 6E 67 65  20 74 68 65 20 63 75 72  t change the cur
    0x01382300  72 65 6E 74 20 6C 6F 63  61 6C 20 61 69 20 70 6C  rent local ai pl
    0x01382310  61 79 65 72 20 64 75 72  69 6E 67 20 74 75 72 6E  ayer during turn
    0x01382320  00 00 00 00 70 6C 61 79  65 72 20 66 61 63 74 69  ....player facti
    0x01382330  6F 6E 20 69 73 20 61 6C  72 65 61 64 79 20 74 68  on is already th
    0x01382340  65 20 74 61 72 67 65 74  20 66 61 63 74 69 6F 6E  e target faction
    0x01382350  00 00 00 00 DC 2E 48 01  F0 5B CB 00 00 00 00 00  ......H..[......
    0x01382360  63 72 65 61 74 65 5F 62  75 69 6C 64 69 6E 67 20  create_building 
    0x01382370  3C 73 65 74 74 6C 65 6D  65 6E 74 5F 6E 61 6D 65  <settlement_name
    0x01382380  3E 20 3C 62 75 69 6C 64  69 6E 67 5F 6C 65 76 65  > <building_leve
    0x01382390  6C 5F 69 64 3E 20 3A 20  63 72 65 61 74 65 73 20  l_id> : creates 
    0x013823A0  61 20 62 75 69 6C 64 69  6E 67 20 6F 66 20 74 68  a building of th
    0x013823B0  65 20 73 70 65 63 69 66  69 65 64 20 74 79 70 65  e specified type
    0x013823C0  20 69 6E 20 61 20 73 65  74 74 6C 65 6D 65 6E 74   in a settlement
    0x013823D0  3B 20 66 6F 72 20 62 75  69 6C 64 69 6E 67 20 6C  ; for building l
    0x013823E0  65 76 65 6C 20 69 64 27  73 20 73 65 65 20 65 78  evel id's see ex
    0x013823F0  70 6F 72 74 5F 64 65 73  63 72 5F 62 75 69 6C 64  port_descr_build
    0x01382400  69 6E 67 2E 74 78 74 00  63 72 65 61 74 65 5F 62  ing.txt.create_b
    0x01382410  75 69 6C 64 69 6E 67 00  66 61 69 6C 65 64 20 74  uilding.failed t
    0x01382420  6F 20 62 75 69 6C 64 20  62 75 69 6C 64 69 6E 67  o build building
    0x01382430  00 00 00 00 62 75 69 6C  64 69 6E 67 20 6C 65 76  ....building lev
    0x01382440  65 6C 20 69 64 20 6E 6F  74 20 72 65 63 6F 67 6E  el id not recogn
    0x01382450  69 73 65 64 00 00 00 00  24 2F 48 01 00 5F CB 00  ised....$/H.._..
    0x01382460  63 61 70 74 75 72 65 5F  73 65 74 74 6C 65 6D 65  capture_settleme
    0x01382470  6E 74 20 3C 73 65 74 74  6C 65 6D 65 6E 74 20 6E  nt <settlement n
    0x01382480  61 6D 65 3E 20 3A 20 65  76 69 63 74 73 20 61 6E  ame> : evicts an
    0x01382490  79 20 72 65 73 69 64 65  6E 74 20 63 68 61 72 61  y resident chara
    0x013824A0  63 74 65 72 73 20 61 6E  64 20 61 72 6D 69 65 73  cters and armies
    0x013824B0  20 61 6E 64 20 67 69 76  65 73 20 74 68 65 20 73   and gives the s
    0x013824C0  65 74 74 6C 65 6D 65 6E  74 20 74 6F 20 74 68 65  ettlement to the
    0x013824D0  20 6C 6F 63 61 6C 20 70  6C 61 79 65 72 00 00 00   local player...
    0x013824E0  63 61 70 74 75 72 65 5F  73 65 74 74 6C 65 6D 65  capture_settleme
    0x013824F0  6E 74 00 00 73 65 74 74  6C 65 6D 65 6E 74 20 61  nt..settlement a
    0x01382500  6C 72 65 61 64 79 20 62  65 6C 6F 6E 67 73 20 74  lready belongs t
    0x01382510  6F 20 74 68 65 20 6C 6F  63 61 6C 20 70 6C 61 79  o the local play
    0x01382520  65 72 00 00 6C 2F 48 01  D0 5F CB 00 00 00 00 00  er..l/H.._......
    0x01382530  64 69 73 61 62 6C 65 5F  61 69 20 5B 6F 70 74 3A  disable_ai [opt:
    0x01382540  20 74 61 63 20 7C 20 73  75 62 20 7C 20 64 69 70   tac | sub | dip
    0x01382550  20 7C 20 6E 61 6D 65 20  7C 20 70 72 69 65 73 74   | name | priest
    0x01382560  5D 3A 20 64 69 73 61 62  6C 65 73 20 61 6C 6C 20  ]: disables all 
    0x01382570  28 64 65 66 61 75 6C 74  29 20 6F 72 20 70 61 72  (default) or par
    0x01382580  74 20 6F 66 20 74 68 65  20 61 69 20 66 6F 72 20  t of the ai for 
    0x01382590  61 6C 6C 20 66 61 63 74  69 6F 6E 73 00 00 00 00  all factions....
    0x013825A0  64 69 73 61 62 6C 65 5F  61 69 00 00 61 69 20 69  disable_ai..ai i
    0x013825B0  73 20 61 6C 72 65 61 64  79 20 64 69 73 61 62 6C  s already disabl
    0x013825C0  65 64 00 00 6F 70 74 69  6F 6E 20 6E 6F 74 20 72  ed..option not r
    0x013825D0  65 63 6F 67 6E 69 73 65  64 00 00 00 64 69 70 00  ecognised...dip.
    0x013825E0  73 75 62 00 74 61 63 00  B4 2F 48 01 30 61 CB 00  sub.tac../H.0a..
    0x013825F0  68 61 6C 74 5F 61 69 20  3C 6F 70 74 3A 66 61 63  halt_ai <opt:fac
    0x01382600  74 69 6F 6E 74 79 70 65  6E 61 6D 65 3E 20 3A 20  tiontypename> : 
    0x01382610  68 61 6C 74 73 20 74 68  65 20 74 75 72 6E 20 73  halts the turn s
    0x01382620  65 71 75 65 6E 63 65 20  6A 75 73 74 20 62 65 66  equence just bef
    0x01382630  6F 72 65 20 74 68 65 20  73 74 61 72 74 20 6F 66  ore the start of
    0x01382640  20 74 68 65 20 73 70 65  63 69 66 69 65 64 20 66   the specified f
    0x01382650  61 63 74 69 6F 6E 27 73  20 74 75 72 6E 2C 20 6F  action's turn, o
    0x01382660  72 20 74 68 65 20 63 75  72 72 65 6E 74 20 66 61  r the current fa
    0x01382670  63 74 69 6F 6E 20 69 66  20 6E 6F 20 66 61 63 74  ction if no fact
    0x01382680  69 6F 6E 20 67 69 76 65  6E 00 00 00 68 61 6C 74  ion given...halt
    0x01382690  5F 61 69 00 FC 2F 48 01  C0 61 CB 00 00 00 00 00  _ai../H..a......
    0x013826A0  72 75 6E 5F 61 69 20 5B  6F 70 74 3A 78 5D 3A 20  run_ai [opt:x]: 
    0x013826B0  72 65 2D 73 74 61 72 74  73 20 61 6E 20 61 69 20  re-starts an ai 
    0x013826C0  74 75 72 6E 20 73 65 71  75 65 6E 63 65 20 61 66  turn sequence af
    0x013826D0  74 65 72 20 64 69 73 61  62 6C 65 61 69 20 6F 72  ter disableai or
    0x013826E0  20 68 61 6C 74 61 69 20  68 61 73 20 62 65 65 6E   haltai has been
    0x013826F0  20 74 72 69 67 67 65 72  65 64 3B 20 0A 75 73 65   triggered; .use
    0x01382700  20 78 20 74 6F 20 61 6C  73 6F 20 72 65 2D 65 6E   x to also re-en
    0x01382710  61 62 6C 65 20 61 6C 6C  20 70 61 72 74 73 20 6F  able all parts o
    0x01382720  66 20 74 68 65 20 61 69  20 77 68 69 63 68 20 68  f the ai which h
    0x01382730  61 76 65 20 62 65 65 6E  20 69 6E 64 69 76 69 64  ave been individ
    0x01382740  75 61 6C 6C 79 20 64 69  73 61 62 6C 65 64 00 00  ually disabled..
    0x01382750  72 75 6E 5F 61 69 00 00  61 69 20 69 73 20 61 6C  run_ai..ai is al
    0x01382760  72 65 61 64 79 20 65 6E  61 62 6C 65 64 00 00 00  ready enabled...
    0x01382770  44 30 48 01 C0 62 CB 00  73 75 72 72 65 6E 64 65  D0H..b..surrende
    0x01382780  72 5F 72 65 67 69 6F 6E  73 20 3C 6F 70 74 3A 20  r_regions <opt: 
    0x01382790  68 6F 72 64 65 3E 20 3C  6F 70 74 3A 66 61 63 74  horde> <opt:fact
    0x013827A0  69 6F 6E 5F 74 79 70 65  3E 20 3A 20 67 69 76 65  ion_type> : give
    0x013827B0  73 20 61 6C 6C 20 74 68  69 73 20 66 61 63 74 69  s all this facti
    0x013827C0  6F 6E 27 73 20 72 65 67  69 6F 6E 73 20 74 6F 20  on's regions to 
    0x013827D0  74 68 65 20 73 6C 61 76  65 73 2E 20 22 68 6F 72  the slaves. "hor
    0x013827E0  64 65 22 20 73 75 72 72  65 6E 64 65 72 73 20 72  de" surrenders r
    0x013827F0  65 67 69 6F 6E 73 20 66  6F 72 20 61 6C 6C 20 66  egions for all f
    0x01382800  61 63 74 69 6F 6E 73 20  74 68 61 74 20 63 61 6E  actions that can
    0x01382810  20 62 65 20 68 6F 72 64  65 73 00 00 73 75 72 72   be hordes..surr
    0x01382820  65 6E 64 65 72 5F 72 65  67 69 6F 6E 73 00 00 00  ender_regions...
    0x01382830  8C 30 48 01 00 64 CB 00  74 6F 67 67 6C 65 5F 63  .0H..d..toggle_c
    0x01382840  68 61 74 5F 6C 6F 67 20  3A 20 73 68 6F 77 73 20  hat_log : shows 
    0x01382850  20 6F 72 20 68 69 64 65  73 20 74 68 65 20 6D 75   or hides the mu
    0x01382860  6C 74 69 70 6C 61 79 65  72 20 63 68 61 74 20 77  ltiplayer chat w
    0x01382870  69 6E 64 6F 77 00 00 00  74 6F 67 67 6C 65 5F 63  indow...toggle_c
    0x01382880  68 61 74 5F 6C 6F 67 00  D4 30 48 01 50 64 CB 00  hat_log..0H.Pd..
    0x01382890  62 6F 75 6E 64 73 20 3A  20 74 6F 67 67 6C 65 20  bounds : toggle 
    0x013828A0  64 69 73 70 6C 61 79 20  6F 66 20 62 6F 75 6E 64  display of bound
    0x013828B0  69 6E 67 20 6F 62 6A 65  63 74 73 00 62 6F 75 6E  ing objects.boun
    0x013828C0  64 73 00 00 1C 31 48 01  B0 64 CB 00 6C 69 67 68  ds...1H..d..ligh
    0x013828D0  74 73 20 3A 20 3C 6D 65  72 67 65 3E 20 3C 75 73  ts : <merge> <us
    0x013828E0  65 64 3E 20 3C 61 75 74  6F 3E 00 00 6D 65 72 67  ed> <auto>..merg
    0x013828F0  65 00 00 00 64 31 48 01  80 86 CB 00 00 00 00 00  e...d1H.........
    0x01382900  73 65 74 5F 6F 70 74 69  6F 6E 20 3C 6F 70 74 5F  set_option <opt_
    0x01382910  6E 61 6D 65 3E 20 3C 6F  70 74 5F 76 61 6C 75 65  name> <opt_value
    0x01382920  3E 20 3A 20 53 65 74 20  6E 65 77 20 76 61 6C 75  > : Set new valu
    0x01382930  65 20 66 6F 72 20 73 70  65 63 69 66 69 65 64 20  e for specified 
    0x01382940  6F 70 74 69 6F 6E 20 28  75 73 65 20 31 20 61 6E  option (use 1 an
    0x01382950  64 20 30 20 66 6F 72 20  62 6F 6F 6C 65 61 6E 20  d 0 for boolean 
    0x01382960  6F 70 74 69 6F 6E 73 29  20 00 00 00 73 65 74 5F  options) ...set_
    0x01382970  6F 70 74 69 6F 6E 00 00  C4 31 48 01 90 65 CB 00  option...1H..e..
    0x01382980  67 66 78 20 64 75 6D 70  5F 74 65 78 74 75 72 65  gfx dump_texture
    0x01382990  73 00 00 00 64 75 6D 70  5F 74 65 78 74 75 72 65  s...dump_texture
    0x013829A0  73 00 00 00 0C 32 48 01  10 66 CB 00 00 00 00 00  s....2H..f......
    0x013829B0  63 61 70 61 62 69 6C 69  74 69 65 73 20 3C 73 65  capabilities <se
    0x013829C0  74 74 6C 65 6D 65 6E 74  5F 6E 61 6D 65 3E 20 3A  ttlement_name> :
    0x013829D0  20 6C 69 73 74 20 64 65  74 61 69 6C 73 20 6F 66   list details of
    0x013829E0  20 74 68 65 20 72 65 63  72 75 69 74 6D 65 6E 74   the recruitment
    0x013829F0  20 63 61 70 61 62 69 6C  69 74 69 65 73 20 6F 66   capabilities of
    0x01382A00  20 61 20 73 65 74 74 6C  65 6D 65 6E 74 00 00 00   a settlement...
    0x01382A10  63 61 70 61 62 69 6C 69  74 69 65 73 00 00 00 00  capabilities....
    0x01382A20  20 20 2A 20 75 6E 69 74  28 25 73 29 2C 20 69 6E    * unit(%s), in
    0x01382A30  69 74 69 61 6C 5F 73 69  7A 65 28 25 66 29 2C 20  itial_size(%f), 
    0x01382A40  72 65 70 6C 65 6E 5F 72  61 74 65 28 25 66 29 2C  replen_rate(%f),
    0x01382A50  20 6D 61 78 5F 73 69 7A  65 28 25 66 29 2C 20 65   max_size(%f), e
    0x01382A60  78 70 28 25 64 29 0A 00  20 20 20 20 75 6E 69 74  xp(%d)..    unit
    0x01382A70  28 25 73 29 2C 20 69 6E  69 74 69 61 6C 5F 73 69  (%s), initial_si
    0x01382A80  7A 65 28 25 66 29 2C 20  72 65 70 6C 65 6E 5F 72  ze(%f), replen_r
    0x01382A90  61 74 65 28 25 66 29 2C  20 6D 61 78 5F 73 69 7A  ate(%f), max_siz
    0x01382AA0  65 28 25 66 29 2C 20 65  78 70 28 25 64 29 0A 00  e(%f), exp(%d)..
    0x01382AB0  0A 52 65 63 72 75 69 74  6D 65 6E 74 20 43 61 70  .Recruitment Cap
    0x01382AC0  61 62 69 6C 69 74 69 65  73 0A 3D 3D 3D 3D 3D 3D  abilities.======
    0x01382AD0  3D 3D 3D 3D 3D 3D 3D 3D  3D 3D 3D 3D 3D 3D 3D 3D  ================
    0x01382AE0  3D 3D 0A 00 54 32 48 01  C0 67 CB 00 00 00 00 00  ==..T2H..g......
    0x01382AF0  72 65 63 72 75 69 74 6D  65 6E 74 5F 70 6F 6F 6C  recruitment_pool
    0x01382B00  20 3C 73 65 74 74 6C 65  6D 65 6E 74 5F 6E 61 6D   <settlement_nam
    0x01382B10  65 3E 20 3A 20 6C 69 73  74 20 64 65 74 61 69 6C  e> : list detail
    0x01382B20  73 20 6F 66 20 74 68 65  20 63 75 72 72 65 6E 74  s of the current
    0x01382B30  20 72 65 63 72 75 69 74  6D 65 6E 74 20 70 6F 6F   recruitment poo
    0x01382B40  6C 20 6F 66 20 61 20 73  65 74 74 6C 65 6D 65 6E  l of a settlemen
    0x01382B50  74 00 00 00 72 65 63 72  75 69 74 6D 65 6E 74 5F  t...recruitment_
    0x01382B60  70 6F 6F 6C 00 00 00 00  20 20 2A 20 75 6E 69 74  pool....  * unit
    0x01382B70  28 25 73 29 2C 20 61 76  61 69 6C 61 62 6C 65 28  (%s), available(
    0x01382B80  25 66 29 0A 00 00 00 00  20 20 20 20 75 6E 69 74  %f).....    unit
    0x01382B90  28 25 73 29 2C 20 61 76  61 69 6C 61 62 6C 65 28  (%s), available(
    0x01382BA0  25 66 29 0A 00 00 00 00  0A 52 65 63 72 75 69 74  %f)......Recruit
    0x01382BB0  6D 65 6E 74 20 50 6F 6F  6C 0A 3D 3D 3D 3D 3D 3D  ment Pool.======
    0x01382BC0  3D 3D 3D 3D 3D 3D 3D 3D  3D 3D 0A 00 9C 32 48 01  ==========...2H.
    0x01382BD0  20 69 CB 00 00 00 00 00  64 69 70 6C 6F 6D 61 63   i......diplomac
    0x01382BE0  79 5F 63 6F 73 74 73 20  3C 72 65 63 65 69 76 69  y_costs <receivi
    0x01382BF0  6E 67 5F 66 61 63 74 69  6F 6E 3E 20 3C 70 72 6F  ng_faction> <pro
    0x01382C00  70 6F 73 69 6E 67 5F 66  61 63 74 69 6F 6E 3E 20  posing_faction> 
    0x01382C10  3C 6F 70 74 3A 74 61 72  67 65 74 5F 66 61 63 74  <opt:target_fact
    0x01382C20  69 6F 6E 3E 20 3C 6F 70  74 3A 73 65 74 74 6C 65  ion> <opt:settle
    0x01382C30  6D 65 6E 74 5F 6E 61 6D  65 3E 20 3C 6F 70 74 3A  ment_name> <opt:
    0x01382C40  70 61 79 6D 65 6E 74 5F  61 6D 6F 75 6E 74 3E 20  payment_amount> 
    0x01382C50  3C 6F 70 74 3A 70 61 79  6D 65 6E 74 5F 79 65 61  <opt:payment_yea
    0x01382C60  72 73 3E 3A 20 64 69 73  70 6C 61 79 73 20 61 20  rs>: displays a 
    0x01382C70  6C 69 73 74 20 6F 66 20  72 61 77 20 61 6E 64 20  list of raw and 
    0x01382C80  70 65 72 63 65 69 76 65  64 20 64 69 70 6C 6F 6D  perceived diplom
    0x01382C90  61 63 79 20 69 74 65 6D  73 20 63 6F 73 74 73 20  acy items costs 
    0x01382CA0  66 72 6F 6D 20 74 68 65  20 70 65 72 73 70 65 63  from the perspec
    0x01382CB0  74 69 76 65 20 6F 66 20  74 68 65 20 72 65 63 65  tive of the rece
    0x01382CC0  69 76 69 6E 67 20 66 61  63 74 69 6F 6E 2E 00 00  iving faction...
    0x01382CD0  64 69 70 6C 6F 6D 61 63  79 5F 63 6F 73 74 73 00  diplomacy_costs.
    0x01382CE0  20 20 55 6E 6B 6E 6F 77  6E 20 44 69 70 6C 6F 6D    Unknown Diplom
    0x01382CF0  61 63 79 20 49 74 65 6D  21 00 00 00 20 20 44 65  acy Item!...  De
    0x01382D00  6D 61 6E 64 20 41 74 74  61 63 6B 20 46 61 63 74  mand Attack Fact
    0x01382D10  69 6F 6E 3A 20 20 25 64  2C 20 28 72 61 77 3A 25  ion:  %d, (raw:%
    0x01382D20  64 29 00 00 20 20 44 65  6D 61 6E 64 20 43 65 64  d)..  Demand Ced
    0x01382D30  65 20 52 65 67 69 6F 6E  3A 20 20 25 64 2C 20 28  e Region:  %d, (
    0x01382D40  72 61 77 3A 25 64 29 00  20 20 44 65 6D 61 6E 64  raw:%d).  Demand
    0x01382D50  20 59 65 61 72 6C 79 20  50 61 79 6D 65 6E 74 20   Yearly Payment 
    0x01382D60  28 25 64 20 6F 76 65 72  20 25 64 20 79 65 61 72  (%d over %d year
    0x01382D70  73 29 3A 20 20 25 64 2C  20 28 72 61 77 3A 25 64  s):  %d, (raw:%d
    0x01382D80  29 00 00 00 20 20 53 74  6F 70 70 69 6E 67 20 44  )...  Stopping D
    0x01382D90  65 6D 61 6E 64 20 50 61  79 6D 65 6E 74 20 28 25  emand Payment (%
    0x01382DA0  64 29 3A 20 20 25 64 2C  20 28 72 61 77 3A 25 64  d):  %d, (raw:%d
    0x01382DB0  29 00 00 00 20 20 44 65  6D 61 6E 64 20 4D 61 70  )...  Demand Map
    0x01382DC0  20 49 6E 66 6F 72 6D 61  74 69 6F 6E 3A 20 20 25   Information:  %
    0x01382DD0  64 2C 20 28 72 61 77 3A  25 64 29 00 20 20 44 65  d, (raw:%d).  De
    0x01382DE0  6D 61 6E 64 20 4D 69 6C  69 74 61 72 79 20 41 63  mand Military Ac
    0x01382DF0  63 65 73 73 3A 20 20 25  64 2C 20 28 72 61 77 3A  cess:  %d, (raw:
    0x01382E00  25 64 29 00 20 20 44 65  6D 61 6E 64 43 61 72 64  %d).  DemandCard
    0x01382E10  69 6E 61 6C 20 56 6F 74  65 3A 20 20 25 64 2C 20  inal Vote:  %d, 
    0x01382E20  28 72 61 77 3A 25 64 29  00 00 00 00 20 20 44 65  (raw:%d)....  De
    0x01382E30  6D 61 6E 64 20 52 65 63  6F 6D 6D 75 6E 69 63 61  mand Recommunica
    0x01382E40  74 69 6F 6E 3A 20 20 25  64 2C 20 28 72 61 77 3A  tion:  %d, (raw:
    0x01382E50  25 64 29 00 20 20 44 65  6D 61 6E 64 20 50 72 6F  %d).  Demand Pro
    0x01382E60  74 65 63 74 6F 72 61 74  65 3A 20 20 25 64 2C 20  tectorate:  %d, 
    0x01382E70  28 72 61 77 3A 25 64 29  00 00 00 00 20 20 44 65  (raw:%d)....  De
    0x01382E80  6D 61 6E 64 20 50 61 79  6D 65 6E 74 20 28 25 64  mand Payment (%d
    0x01382E90  29 3A 20 20 25 64 2C 20  28 72 61 77 3A 25 64 29  ):  %d, (raw:%d)
    0x01382EA0  00 00 00 00 20 20 44 65  63 6C 61 72 65 20 43 61  ....  Declare Ca
    0x01382EB0  6E 63 65 6C 20 54 72 61  64 65 20 52 69 67 68 74  ncel Trade Right
    0x01382EC0  73 3A 20 20 25 64 2C 20  28 72 61 77 3A 25 64 29  s:  %d, (raw:%d)
    0x01382ED0  00 00 00 00 20 20 44 65  63 6C 61 72 65 20 43 61  ....  Declare Ca
    0x01382EE0  6E 63 65 6C 20 4D 69 6C  69 74 61 72 79 20 41 63  ncel Military Ac
    0x01382EF0  63 65 73 73 3A 20 20 25  64 2C 20 28 72 61 77 3A  cess:  %d, (raw:
    0x01382F00  25 64 29 00 20 20 44 65  63 6C 61 72 65 20 4E 75  %d).  Declare Nu
    0x01382F10  6C 6C 69 66 79 20 41 6C  6C 69 61 6E 63 65 3A 20  llify Alliance: 
    0x01382F20  20 25 64 2C 20 28 72 61  77 3A 25 64 29 00 00 00   %d, (raw:%d)...
    0x01382F30  20 20 4F 66 66 65 72 20  54 68 72 65 61 74 20 6F    Offer Threat o
    0x01382F40  66 20 41 74 74 61 63 6B  3A 20 20 25 64 2C 20 28  f Attack:  %d, (
    0x01382F50  72 61 77 3A 25 64 29 00  20 20 4F 66 66 65 72 20  raw:%d).  Offer 
    0x01382F60  41 74 74 61 63 6B 20 46  61 63 74 69 6F 6E 3A 20  Attack Faction: 
    0x01382F70  20 25 64 2C 20 28 72 61  77 3A 25 64 29 00 00 00   %d, (raw:%d)...
    0x01382F80  20 20 4F 66 66 65 72 20  43 65 64 65 20 52 65 67    Offer Cede Reg
    0x01382F90  69 6F 6E 3A 20 20 25 64  2C 20 28 72 61 77 3A 25  ion:  %d, (raw:%
    0x01382FA0  64 29 00 00 20 20 4F 66  66 65 72 20 59 65 61 72  d)..  Offer Year
    0x01382FB0  6C 79 20 70 61 79 6D 65  6E 74 20 28 25 64 20 6F  ly payment (%d o
    0x01382FC0  76 65 72 20 25 64 20 79  65 61 72 73 29 3A 20 20  ver %d years):  
    0x01382FD0  25 64 2C 20 28 72 61 77  3A 25 64 29 00 00 00 00  %d, (raw:%d)....
    0x01382FE0  20 20 53 74 6F 70 70 69  6E 67 20 4F 66 66 65 72    Stopping Offer
    0x01382FF0  20 70 61 79 6D 65 6E 74  20 28 25 64 29 3A 20 20   payment (%d):  
    0x01383000  25 64 2C 20 28 72 61 77  3A 25 64 29 00 00 00 00  %d, (raw:%d)....
    0x01383010  20 20 4F 66 66 65 72 20  4D 61 70 20 49 6E 66 6F    Offer Map Info
    0x01383020  72 6D 61 74 69 6F 6E 3A  20 20 25 64 2C 20 28 72  rmation:  %d, (r
    0x01383030  61 77 3A 25 64 29 00 00  20 20 4F 66 66 65 72 20  aw:%d)..  Offer 
    0x01383040  4D 69 6C 69 74 61 72 79  20 41 63 63 65 73 73 3A  Military Access:
    0x01383050  20 20 25 64 2C 20 28 72  61 77 3A 25 64 29 00 00    %d, (raw:%d)..
    0x01383060  20 20 4F 66 66 65 72 20  54 72 61 64 65 20 52 69    Offer Trade Ri
    0x01383070  67 68 74 73 3A 20 20 25  64 2C 20 28 72 61 77 3A  ghts:  %d, (raw:
    0x01383080  25 64 29 00 20 20 4F 66  66 65 72 20 43 65 61 73  %d).  Offer Ceas
    0x01383090  65 66 69 72 65 3A 20 20  25 64 2C 20 28 72 61 77  efire:  %d, (raw
    0x013830A0  3A 25 64 29 00 00 00 00  20 20 4F 66 66 65 72 20  :%d)....  Offer 
    0x013830B0  4D 61 72 72 79 20 4C 65  61 64 65 72 20 74 6F 20  Marry Leader to 
    0x013830C0  50 72 69 6E 63 65 73 73  3A 20 20 25 64 2C 20 28  Princess:  %d, (
    0x013830D0  72 61 77 3A 25 64 29 00  20 20 4F 66 66 65 72 20  raw:%d).  Offer 
    0x013830E0  4D 61 72 72 79 20 48 65  69 72 20 74 6F 20 50 72  Marry Heir to Pr
    0x013830F0  69 6E 63 65 73 73 3A 20  20 25 64 2C 20 28 72 61  incess:  %d, (ra
    0x01383100  77 3A 25 64 29 00 00 00  20 20 4F 66 66 65 72 20  w:%d)...  Offer 
    0x01383110  4D 61 72 72 79 20 4C 65  61 64 65 72 3A 20 20 25  Marry Leader:  %
    0x01383120  64 2C 20 28 72 61 77 3A  25 64 29 00 20 20 4F 66  d, (raw:%d).  Of
    0x01383130  66 65 72 20 4D 61 72 72  79 20 48 65 69 72 3A 20  fer Marry Heir: 
    0x01383140  20 25 64 2C 20 28 72 61  77 3A 25 64 29 00 00 00   %d, (raw:%d)...
    0x01383150  20 20 4F 66 66 65 72 20  43 61 72 64 69 6E 61 6C    Offer Cardinal
    0x01383160  20 56 6F 74 65 3A 20 20  25 64 2C 20 28 72 61 77   Vote:  %d, (raw
    0x01383170  3A 25 64 29 00 00 00 00  20 20 4F 66 66 65 72 20  :%d)....  Offer 
    0x01383180  52 65 63 6F 6D 6D 75 6E  69 63 61 74 69 6F 6E 3A  Recommunication:
    0x01383190  20 20 25 64 2C 20 28 72  61 77 3A 25 64 29 00 00    %d, (raw:%d)..
    0x013831A0  20 20 4F 66 66 65 72 20  41 6C 6C 69 61 6E 63 65    Offer Alliance
    0x013831B0  3A 20 20 25 64 2C 20 28  72 61 77 3A 25 64 29 00  :  %d, (raw:%d).
    0x013831C0  20 20 4F 66 66 65 72 20  50 72 6F 74 65 63 74 6F    Offer Protecto
    0x013831D0  72 61 74 65 3A 20 20 25  64 2C 20 28 72 61 77 3A  rate:  %d, (raw:
    0x013831E0  25 64 29 00 20 20 4F 66  66 65 72 20 50 61 79 6D  %d).  Offer Paym
    0x013831F0  65 6E 74 20 28 25 64 29  3A 20 20 25 64 2C 20 28  ent (%d):  %d, (
    0x01383200  72 61 77 3A 25 64 29 00  20 20 42 61 6C 61 6E 63  raw:%d).  Balanc
    0x01383210  65 20 4F 77 65 64 3A 20  20 25 64 2C 20 28 72 61  e Owed:  %d, (ra
    0x01383220  77 3A 25 64 29 00 00 00  0A 0A 44 49 50 4C 4F 4D  w:%d).....DIPLOM
    0x01383230  41 43 59 20 43 4F 53 54  53 0A 3D 3D 3D 3D 3D 3D  ACY COSTS.======
    0x01383240  3D 3D 3D 3D 3D 3D 3D 3D  3D 0A 0A 00 72 65 63 65  =========...rece
    0x01383250  69 76 69 6E 67 5F 66 61  63 74 69 6F 6E 20 6E 6F  iving_faction no
    0x01383260  74 20 66 6F 75 6E 64 00  73 65 74 74 6C 65 6D 65  t found.settleme
    0x01383270  6E 74 20 6E 6F 74 20 66  6F 75 6E 64 0A 00 00 00  nt not found....
    0x01383280  69 6E 76 61 6C 69 64 20  74 61 72 67 65 74 5F 66  invalid target_f
    0x01383290  61 63 74 69 6F 6E 20 74  79 70 65 0A 00 00 00 00  action type.....
    0x013832A0  69 6E 76 61 6C 69 64 20  70 72 6F 70 6F 73 69 6E  invalid proposin
    0x013832B0  67 5F 66 61 63 74 69 6F  6E 20 74 79 70 65 00 00  g_faction type..
    0x013832C0  69 6E 76 61 6C 69 64 20  72 65 63 65 69 76 69 6E  invalid receivin
    0x013832D0  67 5F 66 61 63 74 69 6F  6E 20 74 79 70 65 00 00  g_faction type..
    0x013832E0  E4 32 48 01 00 6F CB 00  72 65 6C 6F 61 64 5F 64  .2H..o..reload_d
    0x013832F0  69 70 6C 6F 6D 61 63 79  5F 64 62 3A 20 52 65 6C  iplomacy_db: Rel
    0x01383300  6F 61 64 73 20 74 68 65  20 64 69 70 6C 6F 6D 61  oads the diploma
    0x01383310  63 79 20 64 61 74 61 62  61 73 65 2E 00 00 00 00  cy database.....
    0x01383320  72 65 6C 6F 61 64 5F 64  69 70 6C 6F 6D 61 63 79  reload_diplomacy
    0x01383330  5F 64 62 00 2C 33 48 01  50 6F CB 00 72 65 6C 6F  _db.,3H.Po..relo
    0x01383340  61 64 5F 63 61 6D 70 61  69 67 6E 5F 64 62 3A 20  ad_campaign_db: 
    0x01383350  52 65 6C 6F 61 64 73 20  74 68 65 20 63 61 6D 70  Reloads the camp
    0x01383360  61 69 67 6E 20 70 61 72  61 6D 65 74 65 72 20 64  aign parameter d
    0x01383370  61 74 61 62 61 73 65 2E  00 00 00 00 72 65 6C 6F  atabase.....relo
    0x01383380  61 64 5F 63 61 6D 70 61  69 67 6E 5F 64 62 00 00  ad_campaign_db..
    0x01383390  74 33 48 01 A0 6F CB 00  72 65 6C 6F 61 64 5F 73  t3H..o..reload_s
    0x013833A0  65 74 74 5F 6D 65 63 68  5F 64 62 3A 20 52 65 6C  ett_mech_db: Rel
    0x013833B0  6F 61 64 73 20 74 68 65  20 73 65 74 74 6C 65 6D  oads the settlem
    0x013833C0  65 6E 74 20 6D 65 63 68  61 6E 69 63 73 20 64 61  ent mechanics da
    0x013833D0  74 61 62 61 73 65 2E 00  72 65 6C 6F 61 64 5F 73  tabase..reload_s
    0x013833E0  65 74 74 5F 6D 65 63 68  5F 64 62 00 BC 33 48 01  ett_mech_db..3H.
    0x013833F0  50 70 CB 00 72 65 6C 6F  61 64 5F 63 6F 6C 6F 75  Pp..reload_colou
    0x01383400  72 5F 64 62 3A 20 52 65  6C 6F 61 64 73 20 74 68  r_db: Reloads th
    0x01383410  65 20 55 49 20 63 6F 6C  6F 75 72 20 64 61 74 61  e UI colour data
    0x01383420  62 61 73 65 2E 00 00 00  72 65 6C 6F 61 64 5F 63  base....reload_c
    0x01383430  6F 6C 6F 75 72 5F 64 62  00 00 00 00 20 20 46 61  olour_db....  Fa
    0x01383440  69 6C 65 64 20 74 6F 20  6C 6F 61 64 20 55 49 20  iled to load UI 
    0x01383450  63 6F 6C 6F 75 72 20 44  42 21 00 00 04 34 48 01  colour DB!...4H.
    0x01383460  D0 70 CB 00 00 00 00 00  74 6F 67 67 6C 65 5F 64  .p......toggle_d
    0x01383470  65 6D 65 61 6E 6F 75 72  3A 20 54 6F 67 67 6C 65  emeanour: Toggle
    0x01383480  20 77 68 65 74 68 65 72  20 74 6F 20 73 68 6F 77   whether to show
    0x01383490  20 74 68 65 20 63 61 6C  63 75 6C 61 74 65 64 20   the calculated 
    0x013834A0  64 65 6D 65 61 6E 6F 75  72 20 76 61 6C 75 65 73  demeanour values
    0x013834B0  20 69 6E 20 74 68 65 20  64 69 70 6C 6F 6D 61 63   in the diplomac
    0x013834C0  79 20 73 63 72 6F 6C 6C  2E 00 00 00 74 6F 67 67  y scroll....togg
    0x013834D0  6C 65 5F 64 65 6D 65 61  6E 6F 75 72 00 00 00 00  le_demeanour....
    0x013834E0  73 68 6F 77 20 64 65 6D  65 61 6E 6F 75 72 20 76  show demeanour v
    0x013834F0  61 6C 75 65 20 3D 20 74  72 75 65 0A 00 00 00 00  alue = true.....
    0x01383500  73 68 6F 77 20 64 65 6D  65 61 6E 6F 75 72 20 76  show demeanour v
    0x01383510  61 6C 75 65 20 3D 20 66  61 6C 73 65 0A 00 00 00  alue = false....
    0x01383520  4C 34 48 01 60 71 CB 00  63 72 65 61 74 65 5F 6D  L4H.`q..create_m
    0x01383530  69 73 73 69 6F 6E 20 3C  73 65 6E 74 5F 66 61 63  ission <sent_fac
    0x01383540  74 69 6F 6E 3E 20 3C 6D  69 73 73 69 6F 6E 5F 69  tion> <mission_i
    0x01383550  64 3E 20 3A 20 41 74 74  65 6D 70 74 20 74 6F 20  d> : Attempt to 
    0x01383560  63 72 65 61 74 65 20 61  6E 64 20 61 64 64 20 61  create and add a
    0x01383570  20 6D 69 73 73 69 6F 6E  20 74 6F 20 74 68 65 20   mission to the 
    0x01383580  73 70 65 63 69 66 69 65  64 20 66 61 63 74 69 6F  specified factio
    0x01383590  6E 00 00 00 75 6E 73 70  65 63 69 66 69 65 64 20  n...unspecified 
    0x013835A0  72 65 63 65 69 76 69 6E  67 5F 66 61 63 74 69 6F  receiving_factio
    0x013835B0  6E 20 74 79 70 65 00 00  53 75 63 63 65 73 73 66  n type..Successf
    0x013835C0  75 6C 6C 79 20 63 72 65  61 74 65 64 20 6D 69 73  ully created mis
    0x013835D0  73 69 6F 6E 20 25 73 20  66 6F 72 20 66 61 63 74  sion %s for fact
    0x013835E0  69 6F 6E 20 25 73 00 00  63 6F 75 6C 64 20 6E 6F  ion %s..could no
    0x013835F0  74 20 63 72 65 61 74 65  20 73 70 65 63 69 66 69  t create specifi
    0x01383600  65 64 20 6D 69 73 73 69  6F 6E 00 00 94 34 48 01  ed mission...4H.
    0x01383610  60 73 CB 00 54 6F 67 67  6C 65 73 20 74 68 65 20  `s..Toggles the 
    0x01383620  66 6F 67 20 6F 6E 20 6F  72 20 6F 66 66 00 00 00  fog on or off...
    0x01383630  DC 34 48 01 10 74 CB 00  74 6F 67 67 6C 65 5F 48  .4H..t..toggle_H
    0x01383640  55 44 5F 6D 6F 64 65 3A  20 73 77 69 74 63 68 65  UD_mode: switche
    0x01383650  73 20 62 65 74 77 65 65  6E 20 66 75 6C 6C 20 61  s between full a
    0x01383660  6E 64 20 6D 69 6E 69 6D  61 6C 20 48 55 44 20 64  nd minimal HUD d
    0x01383670  75 72 69 6E 67 20 61 20  62 61 74 74 6C 65 2E 00  uring a battle..
    0x01383680  74 6F 67 67 6C 65 5F 48  55 44 5F 6D 6F 64 65 00  toggle_HUD_mode.
    0x01383690  24 35 48 01 70 74 CB 00  70 72 69 6E 74 5F 73 68  $5H.pt..print_sh
    0x013836A0  6F 72 74 63 75 74 73 3A  20 70 72 69 6E 74 73 20  ortcuts: prints 
    0x013836B0  61 6C 6C 20 74 68 65 20  6B 65 79 62 6F 61 72 64  all the keyboard
    0x013836C0  20 73 68 6F 72 74 63 75  74 73 20 66 6F 72 20 74   shortcuts for t
    0x013836D0  68 65 20 63 75 72 72 65  6E 74 20 68 61 6E 64 6C  he current handl
    0x013836E0  65 72 20 74 6F 20 64 6F  63 75 6D 65 6E 74 61 74  er to documentat
    0x013836F0  69 6F 6E 2F 63 75 72 72  65 6E 74 5F 68 61 6E 64  ion/current_hand
    0x01383700  6C 65 72 5F 73 68 6F 72  74 63 75 74 73 2E 74 78  ler_shortcuts.tx
    0x01383710  74 00 00 00 70 72 69 6E  74 5F 73 68 6F 72 74 63  t...print_shortc
    0x01383720  75 74 73 00 00 00 00 00  63 61 6E 6E 6F 74 20 61  uts.....cannot a
    0x01383730  64 64 20 75 6E 69 74 28  73 29 20 62 65 63 61 75  dd unit(s) becau
    0x01383740  73 65 20 74 68 65 20 67  61 72 72 69 73 6F 6E 20  se the garrison 
    0x01383750  61 6C 72 65 61 64 79 20  63 6F 6E 74 61 69 6E 73  already contains
    0x01383760  20 74 68 65 20 6D 61 78  69 6D 75 6D 20 6E 75 6D   the maximum num
    0x01383770  62 65 72 20 6F 66 20 75  6E 69 74 73 00 00 00 00  ber of units....
    0x01383780  63 61 6E 6E 6F 74 20 61  64 64 20 73 68 69 70 20  cannot add ship 
    0x01383790  75 6E 69 74 20 74 6F 20  67 61 72 72 69 73 6F 6E  unit to garrison
    0x013837A0  00 00 00 00 00 00 00 00  63 61 6E 6E 6F 74 20 61  ........cannot a
    0x013837B0  64 64 20 75 6E 69 74 28  73 29 20 62 65 63 61 75  dd unit(s) becau
    0x013837C0  73 65 20 63 68 61 72 61  63 74 65 72 27 73 20 61  se character's a
    0x013837D0  72 6D 79 20 61 6C 72 65  61 64 79 20 63 6F 6E 74  rmy already cont
    0x013837E0  61 69 6E 73 20 74 68 65  20 6D 61 78 69 6D 75 6D  ains the maximum
    0x013837F0  20 6E 75 6D 62 65 72 20  6F 66 20 75 6E 69 74 73   number of units
    0x01383800  00 00 00 00 63 61 6E 6E  6F 74 20 61 64 64 20 6C  ....cannot add l
    0x01383810  61 6E 64 20 75 6E 69 74  20 74 6F 20 61 64 6D 69  and unit to admi
    0x01383820  72 61 6C 20 63 68 61 72  61 63 74 65 72 00 00 00  ral character...
    0x01383830  63 61 6E 6E 6F 74 20 61  64 64 20 73 68 69 70 20  cannot add ship 
    0x01383840  75 6E 69 74 20 74 6F 20  6E 6F 6E 2D 61 64 6D 69  unit to non-admi
    0x01383850  72 61 6C 20 63 68 61 72  61 63 74 65 72 00 00 00  ral character...
    0x01383860  75 6E 69 74 20 74 79 70  65 20 6E 6F 74 20 72 65  unit type not re
    0x01383870  63 6F 67 6E 69 73 65 64  00 00 00 00 59 6F 75 20  cognised....You 
    0x01383880  63 61 6E 20 6F 6E 6C 79  20 61 64 64 20 61 20 75  can only add a u
    0x01383890  6E 69 74 20 74 6F 20 61  6E 20 67 65 6E 65 72 61  nit to an genera
    0x013838A0  6C 00 00 00 63 61 6E 6E  6F 74 20 61 64 64 20 75  l...cannot add u
    0x013838B0  6E 69 74 20 74 6F 20 6E  6F 6E 2D 67 65 6E 65 72  nit to non-gener
    0x013838C0  61 6C 20 63 68 61 72 61  63 74 65 72 20 74 79 70  al character typ
    0x013838D0  65 00 00 00 63 61 6E 6E  6F 74 20 61 64 64 20 75  e...cannot add u
    0x013838E0  6E 69 74 20 74 6F 20 63  68 61 72 61 63 74 65 72  nit to character
    0x013838F0  20 69 6E 20 72 65 73 69  64 65 6E 63 65 00 00 00   in residence...
    0x01383900  79 6F 75 20 6E 65 65 64  20 74 6F 20 73 65 6C 65  you need to sele
    0x01383910  63 74 20 61 20 70 6C 61  63 65 20 74 6F 20 70 75  ct a place to pu
    0x01383920  74 20 69 74 2C 20 65 69  74 68 65 72 20 61 20 63  t it, either a c
    0x01383930  68 61 72 61 63 74 65 72  2C 20 73 65 74 74 6C 65  haracter, settle
    0x01383940  6D 65 6E 74 20 6F 72 20  66 6F 72 74 20 77 69 6C  ment or fort wil
    0x01383950  6C 20 64 6F 00 00 00 00  63 68 65 61 74 20 6F 6C  l do....cheat ol
    0x01383960  69 70 68 61 6E 74 73 00  69 6E 76 61 6C 69 64 20  iphants.invalid
    There you can locate also the "control" command as previously in RTW, so maybe bad syntax ??? See the difference with halt_ai, wher is faction type NAME, but in kill faction and control is only faction type. Maybe we must to use number for the each faction respectively, ....

    Bye Sinuhet

  15. #15
    Spindly Killer Fish Member ShellShock's Avatar
    Join Date
    Aug 2004
    Location
    UK
    Posts
    189

    Default Re: Changing turn/year in save file

    I have posted a new version of MedManager that makes it easy to edit the dates, as documented by Sinuhet.

    Nice work everyone!
    Last edited by ShellShock; 12-05-2006 at 22:05.
    He does sit in gold, his eye red as 'twould burn Rome.

  16. #16
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: Changing turn/year in save file

    Sinuhet: In RTW it worked with the faction name, I tried supplying numbers but that didn't work either.

  17. #17

    Default Re: Changing turn/year in save file

    Quote Originally Posted by alpaca
    Sinuhet: In RTW it worked with the faction name, I tried supplying numbers but that didn't work either.
    Yes, I have tried it in campaign script the same day I hav esuggested it to you and it doesnt work for me too, with names or numbers.

    I would like to suggest to try it again with names firstly like in RTW via Show me script after releasing the CA expert_descr_advice.txt file. This was solution which worked for me in RTW, so there is the highest probability that if it will be functional in MTW2 too (i.e. it is not only a residuum in the code of the Demo exe), it will be possible to activate this command via script in this way. I cannot to do myself unfortunatelly, I have to yesterday spent all my time with some statistics for job and today I have some party, and if I will be able to do anything after it is a big question .... However, I think that it is worth of it to try it still via the Show me script.

    After releasing the CA Data files, I will direct my research toward AI battle mechanics, so this topic will be such an orphan for some time now from my side ....

    Bye Sinuhet

  18. #18

    Default Re: Changing turn/year in save file

    With hex editting would it also be possible to change the faction you are, the money you have, relations and diplomacy and stuff like that?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO