Page 1 of 2 12 LastLast
Results 1 to 20 of 33

Thread: Question on descr_region and descr_strat and CTDs

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    RollingWave's Avatar Praepositus
    Join Date
    Feb 2005
    Location
    Taiwan
    Posts
    5,083

    Default Question on descr_region and descr_strat and CTDs

    Hi, in my process of doing submods I have ran into problems with CTDs on loading campaigns (after I deleted map.rwm)... the end of the trace line is ...

    Spoiler Alert, click show to read: 
    20:12:04.144 [system.io] [info] open: found mods/SS6.3/data/world/maps/base/descr_disasters.txt (from: C:\Program Files\SEGA\Medieval II Total War)
    20:12:04.148 [system.io] [info] exists: missing mods/SS6.3/data/world/maps/campaign/imperial_campaign/unlocked.txt
    20:12:04.150 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.



    Since descr_region is the file that comes after descr_disastor I'm guessing that's where the problem is.

    My main question is...

    1. What exactly does this line do in descr_region?

    Spoiler Alert, click show to read: 
    Oslo_Province
    Oslo
    norway <------
    Norse_Rebels
    255 180 190
    norway
    5
    5
    religions { catholic 80 orthodox 3 islam 0 pagan 15 heretic 2 }


    It's not hidden_resource obviously, and it isn't what faction starts owning it either. so is it what correlates with faction creater in descr_strat? and would that cause a problem if the two sides are inconsistent?

    A few questions concerning descr_strat, since that might also be where the problem is...

    A. if a building say... needs large_town to build but I listed it in a town to start the game, will that crash the game?

    B. I've read in other places that population must be consistent with different levels.. for example a large_city must start with large city population... but that doesn't seem to be the case. in SS for example Jerusalem starts as a large city but only 1000 population (probably representing that slaughter of the first crusade)

    C.Would there be other reasons for the crash I'm experiencing? since the log doesn't say any specific error and from my checking of the EDB everything seems to be consistent (no missing entries in export_buildings either). I'm having a hard time figuring out what's wrong, other than my massive changes to the descr_strat and changing some of the hidden_resource entires in descr_region

    D.Would a wrong unit name entry (say a typo) in descr_strat cause such a type of crash? but I thought the log would point out what unit entry that is

    help would be appreciated...
    Last edited by RollingWave; February 24, 2011 at 07:02 AM.
    1180, an unprecedented period of peace and prosperity in East Asia, it's technology and wealth is the envy of the world. But soon conflict will engulf the entire region with great consequences and lasting effects for centuries to come, not just for this region, but the entire known world, when one man, one people, unites.....

  2. #2
    Gorrrrrn's Avatar Citizen
    Join Date
    Jan 2007
    Location
    here
    Posts
    5,546

    Default Re: Question on descr_region and descr_strat and CTDs

    RW - this thread should help you out:
    http://www.twcenter.net/forums/showt...27#post3243827

    have you run your sub-mod through the geoMod prog - that's good for spotting errors?

    check the entire system.log for error and warning messages just in case there's something there.

    check the stickied crashes threads here for some useful ideas.

    all else fails you could try posting the descr_regions in case the problem is there.

  3. #3

    Default Re: Question on descr_region and descr_strat and CTDs

    Quote Originally Posted by RollingWave View Post
    Hi, in my process of doing submods I have ran into problems with CTDs on loading campaigns (after I deleted map.rwm)... the end of the trace line is ...




    Since descr_region is the file that comes after descr_disastor I'm guessing that's where the problem is.

    My main question is...

    1. What exactly does this line do in descr_region?
    Line one: region name
    Line two: city name
    Line three: faction creator (determines stratmap appearance of the city), independent from descr_strat entry
    Line four: Rebel type (see data\descr_rebel_factions.txt)
    Line five: RGB numericals (color code, duh)
    Line six: hidden resources, multiple listing does not have a comma, trading resources have no effect!
    Line seven: triumph value (left over from RTW unless someone can tell me otherwise) has to be 5, else CTD
    Line eight: level of farming\pop increase – anything above 6 is ridiculous: 5000 city with no farming will grow at 4.5% at level 10.
    Line nine: religions – must total 100 (percent), else another CTD
    For more mapping info please read:- Gigantus's Adding detailed Regions
    That's incorrect it only determines loyalty not the appearance of the model of the settlement AFAIK.


    Quote Originally Posted by RollingWave View Post
    It's not hidden_resource obviously, and it isn't what faction starts owning it either. so is it what correlates with faction creater in descr_strat? and would that cause a problem if the two sides are inconsistent?
    No it won't the faction creator line in descr_strat only affects the model display of the settlement on strat and battle map.
    Quote Originally Posted by RollingWave View Post
    A. if a building say... needs large_town to build but I listed it in a town to start the game, will that crash the game?
    No it won't give a CTD.

    Quote Originally Posted by RollingWave View Post
    B. I've read in other places that population must be consistent with different levels.. for example a large_city must start with large city population... but that doesn't seem to be the case. in SS for example Jerusalem starts as a large city but only 1000 population (probably representing that slaughter of the first crusade)
    No starting population also doesn't gives a problem.

    Quote Originally Posted by RollingWave View Post
    C.Would there be other reasons for the crash I'm experiencing? since the log doesn't say any specific error and from my checking of the EDB everything seems to be consistent (no missing entries in export_buildings either). I'm having a hard time figuring out what's wrong, other than my massive changes to the descr_strat and changing some of the hidden_resource entires in descr_region

    D.Would a wrong unit name entry (say a typo) in descr_strat cause such a type of crash? but I thought the log would point out what unit entry that is
    When did the problem started that is what changes that you made started giving you CTDs..?

  4. #4
    RollingWave's Avatar Praepositus
    Join Date
    Feb 2005
    Location
    Taiwan
    Posts
    5,083

    Default Re: Question on descr_region and descr_strat and CTDs

    well that's the problem I made massive amount of changes so I'm not quiiiite sure whats wrong all I know is that I can get into the loading screen so it's probably not a EDU / EDB / Export_building thing... I changed all the errors it showed associated with my building changes ( descr_mission ancillary traits etc...)
    1180, an unprecedented period of peace and prosperity in East Asia, it's technology and wealth is the envy of the world. But soon conflict will engulf the entire region with great consequences and lasting effects for centuries to come, not just for this region, but the entire known world, when one man, one people, unites.....

  5. #5

    Default Re: Question on descr_region and descr_strat and CTDs

    Quote Originally Posted by RollingWave View Post
    well that's the problem I made massive amount of changes so I'm not quiiiite sure whats wrong all I know is that I can get into the loading screen so it's probably not a EDU / EDB / Export_building thing... I changed all the errors it showed associated with my building changes ( descr_mission ancillary traits etc...)
    Well then there is no way but to start from scratch i had learned my lessons in the past lol so i always make a backup when modding on a huge scale on different things as sometimes log doesn't gives you anything.

  6. #6
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Question on descr_region and descr_strat and CTDs

    Descr_strat and descr_regions errors can include imperial_campaign_reions_and_settlements.txt, descr_win_conditions.txt, and descr_mercs.txt for a few.

  7. #7
    RollingWave's Avatar Praepositus
    Join Date
    Feb 2005
    Location
    Taiwan
    Posts
    5,083

    Default Re: Question on descr_region and descr_strat and CTDs

    I havn't done Descr_merc yet... but I did massive changes to the EDU so many units there might not exist anymore... that would be a problem right...?
    1180, an unprecedented period of peace and prosperity in East Asia, it's technology and wealth is the envy of the world. But soon conflict will engulf the entire region with great consequences and lasting effects for centuries to come, not just for this region, but the entire known world, when one man, one people, unites.....

  8. #8
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Question on descr_region and descr_strat and CTDs

    Quote Originally Posted by RollingWave View Post
    I havn't done Descr_merc yet... but I did massive changes to the EDU so many units there might not exist anymore... that would be a problem right...?
    SS is using the max number of units in the EDU afaik - did you change the total?

    Then recheck the hidden resource part if you removed some resource then you have to remove it from EDB also.
    It's the other way round - removal from EDB needs removal from descr_regions to avoid error messages. It isn't fatal afaik.

    Compress the log and attach it here, sometimes some indication is somewhere further up in the log. Did you work on the modelDB file?
    Last edited by Gigantus; February 24, 2011 at 11:48 PM.










  9. #9
    RollingWave's Avatar Praepositus
    Join Date
    Feb 2005
    Location
    Taiwan
    Posts
    5,083

    Default Re: Question on descr_region and descr_strat and CTDs

    Quote Originally Posted by Gigantus View Post
    SS is using the max number of units in the EDU afaik - did you change the total?

    It's the other way round - removal from EDB needs removal from descr_regions to avoid error messages. It isn't fatal afaik.

    Compress the log and attach it here, sometimes some indication is somewhere further up in the log. Did you work on the modelDB file?
    EDU: I removed plenty of units from the tree (some fantasy units and merged things like Peasant Xbow vs Crossbow Militia etc..) and kept check of it, I'm well under the total as of now (about 30 free slots )

    BMDB : yes I made a lot of changes but given that I actually got to the main menu it probably isn't the issue here right now, and i havn't changed it in awhile anyway and I'm pretty sure all units work atm. (excpet for possible missing UIs and Export unit entries)

    edit: attaching current log ... this feels a little like a missing Export building entry but running through the EDB validator it doesn't spot anything wrong
    Last edited by RollingWave; February 25, 2011 at 07:19 AM.
    1180, an unprecedented period of peace and prosperity in East Asia, it's technology and wealth is the envy of the world. But soon conflict will engulf the entire region with great consequences and lasting effects for centuries to come, not just for this region, but the entire known world, when one man, one people, unites.....

  10. #10
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Question on descr_region and descr_strat and CTDs

    Yes, but missing units should show up in your log.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  11. #11
    RollingWave's Avatar Praepositus
    Join Date
    Feb 2005
    Location
    Taiwan
    Posts
    5,083

    Default

    hmmm.. the log files says ...

    Spoiler Alert, click show to read: 

    01:42:26.085 [system.io] [info] exists: missing mods/SS6.3/data/world/maps/campaign/imperial_campaign/descr_regions.txt
    01:42:26.086 [system.io] [info] exists: found mods/SS6.3/data/world/maps/base/descr_regions.txt (from: C:\Program Files\SEGA\Medieval II Total War)
    01:42:26.086 [system.io] [info] exists: found mods/SS6.3/data/text/imperial_campaign_regions_and_settlement_names.txt (from: C:\Program Files\SEGA\Medieval II Total War)
    01:42:26.086 [system.io] [info] exists: found mods/SS6.3/data/world/maps/campaign/imperial_campaign/descr_regions_and_settlement_name_lookup.txt (from: C:\Program Files\SEGA\Medieval II Total War)


    So this means descr_region is cleared? it ends after tracing descr_sounds_music_types.txt .... hmmmmmmmmm

    Yeah... well I guess I could simply take out my descr_strat and put in the original one and see what happens ...
    Last edited by Ishan; February 24, 2011 at 11:54 AM. Reason: double post
    1180, an unprecedented period of peace and prosperity in East Asia, it's technology and wealth is the envy of the world. But soon conflict will engulf the entire region with great consequences and lasting effects for centuries to come, not just for this region, but the entire known world, when one man, one people, unites.....

  12. #12

    Default Re: Question on descr_region and descr_strat and CTDs

    Music files don't give a CTD. Did you modify the regions file in anyway? Added a new reigon maybe?
    Correspond those regions with imperial_campaign_regions_and_settlement_names.txt.

    Also did you remove any hidden resource from there descr_reigons.txt that is? If so then remove that hidden resource from the EDB as well it's placed in the starting para of the file and then used in some lines along the unit and building lines.

    Btw lookup files are not used in M2TW they are just left overs from RTW.

    Edit:-
    I doubt that coz if that file was the culprit then you would get a push back to menu error and the error had been logged.

  13. #13
    RollingWave's Avatar Praepositus
    Join Date
    Feb 2005
    Location
    Taiwan
    Posts
    5,083

    Default Re: Question on descr_region and descr_strat and CTDs

    well it's too late to experiment now...

    I didn't add / remove any region, I know that takes addtional mapping and i'm not into that yet. all i did was to switch around the hidden resources a bit, mostly it's just redefining all the Southern Iberian provinces as Andalusia (neither Moors nor Spain) and also increased the sphere of Lithuania's hidden resource a bit so that it basically represent all pagan balts in that area.

    Also added river / large_river / slave / silk_road hidden resource for obvious use on economic buildings.
    1180, an unprecedented period of peace and prosperity in East Asia, it's technology and wealth is the envy of the world. But soon conflict will engulf the entire region with great consequences and lasting effects for centuries to come, not just for this region, but the entire known world, when one man, one people, unites.....

  14. #14

    Default Re: Question on descr_region and descr_strat and CTDs

    Then recheck the hidden resource part if you removed some resource then you have to remove it from EDB also. Could be a typo also in either of the files. Also when you make changes in the descr_regions.txt file you have to delete the map.rwm file always to accept the new changes.

  15. #15
    Gorrrrrn's Avatar Citizen
    Join Date
    Jan 2007
    Location
    here
    Posts
    5,546

    Default Re: Question on descr_region and descr_strat and CTDs

    RW - have you changed anything that cause problems with historic_events?
    (comes after the sounds in my system.log)

  16. #16
    RollingWave's Avatar Praepositus
    Join Date
    Feb 2005
    Location
    Taiwan
    Posts
    5,083

    Default Re: Question on descr_region and descr_strat and CTDs

    Quote Originally Posted by Rozanov View Post
    RW - have you changed anything that cause problems with historic_events?
    (comes after the sounds in my system.log)
    hmmmm... now geomod also stops because it can't find historic_events.txt.bin ... maybe that's where the problem is... but how? I didn't really touch it as far as I'm aware
    1180, an unprecedented period of peace and prosperity in East Asia, it's technology and wealth is the envy of the world. But soon conflict will engulf the entire region with great consequences and lasting effects for centuries to come, not just for this region, but the entire known world, when one man, one people, unites.....

  17. #17
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Question on descr_region and descr_strat and CTDs

    If it isn't there, then you have to add it.

    Have a look into my manual to get a basic idea about the set up for Geomod.










  18. #18
    RollingWave's Avatar Praepositus
    Join Date
    Feb 2005
    Location
    Taiwan
    Posts
    5,083

    Default Re: Question on descr_region and descr_strat and CTDs

    Ack, I redid the descr_region and descr_strat again but still no luck :/

    Spoiler Alert, click show to read: 

    18:08:20.071 [system.io] [info] open: found mods/SS6.3/data/world/maps/base/descr_disasters.txt (from: C:\Program Files\SEGA\Medieval II Total War)
    18:08:20.075 [system.io] [info] exists: missing mods/SS6.3/data/world/maps/campaign/imperial_campaign/unlocked.txt
    18:08:20.076 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.




    arrragh, this is annoying as hell
    1180, an unprecedented period of peace and prosperity in East Asia, it's technology and wealth is the envy of the world. But soon conflict will engulf the entire region with great consequences and lasting effects for centuries to come, not just for this region, but the entire known world, when one man, one people, unites.....

  19. #19
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Question on descr_region and descr_strat and CTDs

    This is getting nowhere.

    I can have a look at it, for that I need the following:

    1. All files in the data folder
    2. complete data\text folder
    3. complete data\world\ folder

    With these I can run Geomod and check what the error is. To test it like that (regular game) will not be possible as there will be a lot of customizations in SS6.4










  20. #20
    RollingWave's Avatar Praepositus
    Join Date
    Feb 2005
    Location
    Taiwan
    Posts
    5,083

    Default Re: Question on descr_region and descr_strat and CTDs

    alright, do I zip the whole SS6.3 data folder? or do I just zip my part and you run it over a fresh SS6.4 install? (since obviously SS6.4 is huge)
    1180, an unprecedented period of peace and prosperity in East Asia, it's technology and wealth is the envy of the world. But soon conflict will engulf the entire region with great consequences and lasting effects for centuries to come, not just for this region, but the entire known world, when one man, one people, unites.....

Page 1 of 2 12 LastLast

Posting Permissions

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