Results 1 to 16 of 16

Thread: My Mapping crashes

  1. #1

    Default My Mapping crashes

    Hi again!

    I've edited following files:
    descr_regions.txt
    descr_strat
    imperial_campaign_regions_and_settlement_names
    [/TD]


    [/TR]
    [/TABLE]

    but the game crashed. The system.log says that it doesn't recognise the name "Comté"...
    Can someone help me out?

    Here are the names of the settlements:


    [TD="width: 280"]Europe[/TD]
    [TD="class: xl66, width: 260"]Europe[/TD]
    [TD="class: xl66, width: 80"]Gaia[/TD]



    [TD="class: xl65"]Comté de Vendôme[/TD]
    [TD="class: xl65"]Vendôme[/TD]




    [TD="class: xl65"]Le_Mans[/TD]



    [TD="class: xl65"]Comté d'Anjou[/TD]
    [TD="class: xl65"]Angers[/TD]



    [TD="class: xl65"]Comté de Tours[/TD]
    [TD="class: xl65"]Tours[/TD]



    [TD="class: xl65"]Comté du Cotentin[/TD]
    [TD="class: xl65"]Coutances[/TD]


    [TD="class: xl65"]Comté_d'Avranches[/TD]
    [TD="class: xl65"]Comté d'Avranches[/TD]
    [TD="class: xl65"]Avranches[/TD]


    [TD="class: xl65"]Comté_de_Rouen[/TD]
    [TD="class: xl65"]Comté de Rouen[/TD]
    [TD="class: xl65"]Rouen[/TD]


    [TD="class: xl65"]Duché_de_Normandie_(Bayeux_&_Lisieux)[/TD]
    [TD="class: xl65"]Duché de Normandie (Bayeux & Lisieux)[/TD]
    [TD="class: xl65"]Caen[/TD]


    [TD="class: xl65"]Comté_d'Alencon[/TD]
    [TD="class: xl65"]Comté d'Alencon[/TD]
    [TD="class: xl65"]Alencon[/TD]


    [TD="class: xl65"]Comté_d'Evreux[/TD]
    [TD="class: xl65"]Comté d'Evreux[/TD]
    [TD="class: xl65"]Evreux
    [/TD]

    Comté_de_Vendôme
    Comté_du_Maine Comté du Maine
    Comté_d'Anjou
    Comté_de_Tours
    Comté_du_Cotentin


    Download the mod with system.log:
    https://www.dropbox.com/s/9zkrazjjfg...pping.rar?dl=0
    Last edited by xpoing; July 21, 2018 at 12:39 PM.

  2. #2
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: My Mapping crashes

    It looks like your descr_regions is not using internal names. e.g. It has "Comté du Maine" and "Le Mans" instead of "Comté_du_Maine" and "Le_Mans".

    And your imperial_campaign_regions_and_settlement_names isn't mapping internal names to game names, just internal names to internal names. Should be:

    {Comté_du_Maine}Comté du Maine
    {Le_Mans}Le Mans

    I'm not sure if "é" is allowed or not as an internal name character. I though they must be pure ASCII characters, not "extended ASCII" ones.

  3. #3
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,126
    Blog Entries
    35

    Default Re: My Mapping crashes

    Uh, oh - special characters within the curly brackets is asking for trouble, you are right. It should be:

    {Comte_du_Maine}Comté du Maine

    Change your entries accordingly in all files, and don't use ANY special characters within the curly brackets. another example:

    Duché_de_Normandie_(Bayeux_&_Lisieux)

    Simply do this:

    {Duche_de_Normandie_BL}Duché de Normandie (Bayeux & Lisieux)

    Recommendation: keep the names within the curly brackets short - you will be using those in any script you might make. Suggestion:

    {D_de_Norm_BL}Duché de Normandie (Bayeux & Lisieux)










  4. #4

    Default Re: My Mapping crashes

    I've changed it, but I get an unknown error (nothing is marked in the log-file)
    In the "descr_regions.txt & descr_start.txt I need to write the name in { } right?

    here is the link:
    https://www.dropbox.com/s/9zkrazjjfg...pping.rar?dl=0

  5. #5
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,126
    Blog Entries
    35

    Default Re: My Mapping crashes

    If you have only worked with the settlement and region names then you have to make sure that the entries are the same.

    The game uses the name that you enter in the curly brackets, which means you have to make sure that it is the same in descr_regions, descr_strat and imperial_campaign_regions_and_settlement_names - you obviously don't use the brackets when entering the name in descr_regions and descr_strat.


    The black pixels for your settlements in the map_regions file have the wrong RGB value, they are using 1,1,1 instead of 0,0,0

    Corrected that but the game still crashes, I'll check further

    Here are the other steps I took to get your mod going:

    - one region had a pixel with the wrong RGB value (descr_regions)
    - the settlement of anjou touched a neighboring region (descr_regions)
    - the slave faction had an invalid region in descr_win_conditions
    - added 8 regions to break up the massive 'Europe' region (stability)
    - removed 0,0,0 RGB values from map_heights (look black but get created as water)

    The corrected files are here, simply extract into you my mapping directory
    Last edited by Gigantus; July 24, 2018 at 12:55 AM.










  6. #6

    Default Re: My Mapping crashes

    it worked

    I tried to add 10 more regions but the game crashed again.
    Log file doesn't specifies the error. Could you check it out?

    - the RGB value of 0,0,0 for the cities should be good

    here are the files:
    https://www.dropbox.com/s/9zkrazjjfg...pping.rar?dl=0

  7. #7
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,126
    Blog Entries
    35

    Default Re: My Mapping crashes

    You never fixed the mismatched pixel at the left, why didn't you use the files I uploaded - you could simply delete the new regions in Geomod.
    And added another mismatched pixel
    The region I marked seems to have a complete RGB mismatch











  8. #8

    Default Re: My Mapping crashes

    I don' understand. I took the bucket-tool in my image program. Now it should be good. But the game crashes. Did I forgot any pixels?

    Link:
    https://www.dropbox.com/s/9zkrazjjfg...pping.rar?dl=0

  9. #9
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,126
    Blog Entries
    35

    Default Re: My Mapping crashes

    It's still the pixel on the left. In Geomod it's position 79, 116


    Last edited by Gigantus; July 25, 2018 at 08:54 PM.










  10. #10

    Default Re: My Mapping crashes

    thx !!!!

    I'll double check next time... I can't explain why some pixels have other tones.

    @Gigantus: can I change the faction name in your "my mapping" mode. I know how to change it but I also want to change the
    ingame name like: {H_Normandy} - ingame & "House of Normandy" in the game.
    I want to replace all "england"-names to "House of Normandy"

  11. #11

    Default Re: My Mapping crashes

    I've added 10 more regions. The campaign will start but the game crashes:
    19:53:58.363 [script.err] [error] Script Error in mods/MyMapping/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 179, column 12
    You have chosen an invalid tile(91, 116) for the settlement of Blois.
    It will mean not being able to reach this settlement and is a bug.
    For now we'll ignore it.

    19:53:58.387 [script.err] [error] Script Error in mods/MyMapping/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 205, column 12
    You have chosen an invalid tile(97, 124) for the settlement of Mantes.
    It will mean not being able to reach this settlement and is a bug.
    For now we'll ignore it.
    19:53:58.387 [script.err] [error] Script Error in mods/MyMapping/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 300, column 12
    You have chosen an invalid tile(115, 128) for the settlement of Reims.
    It will mean not being able to reach this settlement and is a bug.
    For now we'll ignore it.

    19:53:58.389 [script.err] [error] Script Error in mods/MyMapping/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 414, column 12
    You have chosen an invalid tile(121, 131) for the settlement of Rethel.
    It will mean not being able to reach this settlement and is a bug.
    For now we'll ignore it.
    19:53:58.389 [script.err] [error] Script Error in mods/MyMapping/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 471, column 12
    You have chosen an invalid tile(76, 99) for the settlement of Saintes.
    It will mean not being able to reach this settlement and is a bug.
    For now we'll ignore it.
    19:53:58.389 [script.err] [error] Script Error in mods/MyMapping/data/world/maps/campaign/imperial_campaign/descr_strat.txt, at line 547, column 12
    You have chosen an invalid tile(94, 107) for the settlement of Issoudun.
    It will mean not being able to reach this settlement and is a bug.
    For now we'll ignore it.

    Here are the files (with log-file):
    https://www.dropbox.com/s/9zkrazjjfg...pping.rar?dl=0

  12. #12
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,126
    Blog Entries
    35

    Default Re: My Mapping crashes

    First clear out all the placement errors, then see if it still crashes. As the errors say: 'invalid placement' - which usually means that the settlement sits on impassable terrain.

    Are you using the Geomod tool to work with your map? Then switch the ground type display on to check and correct the placement, here is the manual for the tool to get you going with stuff like that.










  13. #13

    Default Re: My Mapping crashes

    thx Gigantus!

    I've corrected the placement errors (the log file doesn't show any errors). But the game crashes when I start the campaign and try to scroll down.
    Could someone look at it?

    here are the files:
    https://www.dropbox.com/s/9zkrazjjfg...pping.rar?dl=0
    Last edited by xpoing; July 28, 2018 at 11:43 AM.

  14. #14
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,126
    Blog Entries
    35

    Default Re: My Mapping crashes

    It's the very same issue I told you in the very first response: your 'europe' region is way too big and you need to split it up into about 6 evenly sized regions. You didn't bother to use my corrected files that time so I won't bother to upload them this time.










  15. #15

    Default Re: My Mapping crashes

    Thank you very much Gigantus!!!

    I've added to big regions and it worked. I thought that it had to do with the amount of regions not the size. That's why I didn't adapted your repartition.
    Sorry for that. I'm having a lot of fun now adding my regions

    How about adding more factions to my mod? I've posted another issue here:
    http://www.twcenter.net/forums/showthread.php?787251-Replace-all-quot-ENGLAND-quot-entries&p=15634949#post15634949

    This is what I want to achieve at the end:
    https://www.dropbox.com/s/j8y6vh146n...20pic.jpg?dl=0
    Last edited by xpoing; July 30, 2018 at 01:21 PM.

  16. #16
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,126
    Blog Entries
    35

    Default Re: My Mapping crashes

    You can have 200 regions inclusive of sea regions - in your case the game gets unstable if the region size is too big in relation to other regions, eg a more 'distributed' region set up is required.

    Responded in your other thread.










Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •