Results 1 to 4 of 4

Thread: Odd and frustrating CTD - I need help

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member Seleucos I Nicator's Avatar
    Join Date
    Jan 2005
    Location
    Battle Ground, Washington, United States
    Posts
    16

    Default Odd and frustrating CTD - I need help

    I have a CTD that is pestering me where ever I go with the new maps bdh and I are working on. This is the Sicily alternative campaign that will be featured RTR 7.0, along with others.

    The game CTD's at the end of the loading sequence, when the map should show up. It does this whenever I try to code in a faction. Right now I am stuck with the romans_senate. What bothers me is that I did manage to get Carthage in, but it CTD's when I try to play as them. It does not when I am the Senate.





    Then I go to implement the romans_julii. I do so and it CTD's the same way, even with the senate now. I then think there is a problem with the number of factions. So I then implement the greek_cities. Still a CTD. I am at a loss.







    I have looked at every line of code, but I must have missed something. Something is mocking me in the files. I know it.

    I will show the files, they are short as I have not gotten very far. Scroll inside the code to look at it all.

    descr_regions.txt
    Code:
    ;	This file contains a variety of region information, in this format:
    ;	
    ;	region tag
    ;		settlement tag
    ;		default culture tag
    ;		map RGB value
    ;		comma-seperated resource list
    ;		triumph point value
    ;		base farm level
    ;
    
    Latium
    	Roma
    	romans_senate
    	Syrians
    	52 13 198
    	coastal_forest, iron, wine, aor_greek, sea_lanes, major_port
    	5
    	5
    
    
    Syria
    	Antioch
    	romans_senate
    	Syrians
    	119 179 195
    	coastal_forest, iron, wine, aor_greek, sea_lanes, major_port
    	5
    	7
    
    Sicilia_Romanus				
    	Messana				
    	romans_senate			
    	Sicani				
    	163 81 103						
    	dogs, pigs, italy, aor_greek, sea_lanes, major_port	
    	5
    	8
    
    Sicilia_Graecus				
    	Syracuse				
    	romans_senate				
    	Syracusans				
    	65 217 222				
    	grain, timber, dogs, pigs, italy, aor_greek, sea_lanes, major_port		
    	5
    	8
    
    Sicilia_Poeni				
    	Lilybaeum				
    	romans_senate				
    	Sicani				
    	176 155 87						
    	dogs, pigs, italy, aor_greek, sea_lanes, major_port	
    	5
    	7
    
    Halva				
    	Mazarum				
    	romans_senate				
    	Sicani				
    	146 98 119						
    	dogs, pigs, italy, aor_greek, sea_lanes, major_port	
    	5
    	5
    
    Hypsa				
    	Elaethium				
    	romans_senate				
    	Sicani				
    	157 76 168						
    	dogs, pigs, italy, aor_greek, sea_lanes, major_port	
    	5
    	6
    
    Hypsa_Minor				
    	Sedinus				
    	romans_senate				
    	Sicani				
    	236 33 68						
    	dogs, pigs, italy, aor_greek, sea_lanes, major_port	
    	5
    	6
    
    Triveala				
    	Selinuntiae				
    	romans_senate				
    	Sicani				
    	92 111 95						
    	dogs, pigs, italy, aor_greek, sea_lanes, major_port	
    	5
    	7
    
    Halysus				
    	Alaba				
    	romans_senate				
    	Sicani				
    	212 141 117						
    	dogs, pigs, italy, aor_greek, sea_lanes, major_port	
    	5
    	7
    
    Minoa				
    	Heraclea_Minoa				
    	romans_senate				
    	Sicani				
    	62 65 117						
    	dogs, pigs, italy, aor_greek, sea_lanes, major_port	
    	5
    	5
    
    Aeragas				
    	Cena				
    	romans_senate				
    	Sicani				
    	27 187 65						
    	dogs, pigs, italy, aor_greek, sea_lanes, major_port	
    	5
    	6
    
    Cameratum
    	Agrigento
    	romans_senate
    	Syracusans
    	79 149 233
    	grain, dogs, pigs, aor_greek, sea_lanes, major_port
    	5
    	8
    
    Cainia				
    	Navale				
    	romans_senate				
    	Sicani				
    	176 100 92						
    	dogs, pigs, italy, aor_greek, sea_lanes, major_port	
    	5
    	6
    
    Herbessus				
    	Herbessus				
    	romans_senate				
    	Sicani				
    	144 163 117						
    	dogs, pigs, italy, aor_greek, sea_lanes, major_port	
    	5
    	6
    
    Lipara				
    	Lipara				
    	romans_senate				
    	Sicani				
    	195 168 90						
    	dogs, pigs, italy, aor_greek, sea_lanes, major_port	
    	5
    	4
    
    Bruttium
    	Rhegium
    	romans_senate
    	Campanians
    	193 174 179
    	lead, dogs, pigs, aor_greek, sea_lanes, major_port
    	5
    	5
    descr_mercenaries.txt

    Code:
    pool New_Pool
    	regions Latium Syria Sicilia_Romanus Sicilia_Graecus Sicilia_Poeni Halva Hypsa Hypsa_Minor Triveala Halysus Minoa Aeragas Cameratum Cainia Herbessus Lipara Bruttium
    	unit aor asia archer,		exp 0 cost 100 replenish 0.00 - 0.01 max 1 initial 0
    descr_regions_and_settlement_names_lookup.txt

    Code:
    Latium
    Roma
    Syria
    Antioch
    Sicilia_Romanus
    Messana
    Sicilia_Graecus
    Syracuse
    Sicilia_Poeni
    Lilybaeum
    Halva
    Mazarum
    Hypsa
    Elaethium
    Hypsa_Minor
    Sedinus
    Triveala
    Selinuntiae
    Halysus
    Alaba
    Minoa
    Heraclea_Minoa
    Aeragas
    Cena
    Cameratum
    Agrigento
    Cainia
    Navale
    Herbessus
    Herbessus
    Lipara
    Lipara
    Bruttium
    Rhegium
    Imperial_campaign_regions_and_settlements_names.txt in text folder.

    Code:
    {Latium}			Thermae
    {Roma}				Thermae
    {Syria}			Syria
    {Antioch}				Antioch
    {Sicilia_Romanus}			Sicilia Romanus
    {Messana}				Messana
    {Sicilia_Graecus}			Sicilia Graecus
    {Syracuse}				Syracuse
    {Sicilia_Poeni}			Sicilia Poeni
    {Lilybaeum}				Lilybaeum
    {Halva}			Halva
    {Mazarum}			Mazarum
    {Hypsa}			Hypsa
    {Elaethium}			Elaethium
    {Hypsa_Minor}			Hypsa Minor
    {Sedinus}			Sedinus
    {Triveala}			Triveala
    {Selinuntiae}			Selinuntiae
    {Halysus}			Halysus
    {Alaba}			Alaba
    {Minoa}			Minoa
    {Heraclea_Minoa}			Heraclea Minoa
    {Aeragas}			Aeragas
    {Cena}			Cena
    {Cameratum}		Cameratum
    {Agrigento}		Agrigento
    {Cainia}		Cainia
    {Navale}		Navale
    {Herbessus}		Herbessus
    {Herbessus}		Herbessus
    {Lipara}		Lipara
    {Lipara}		Lipara
    {Bruttium}		Bruttium
    {Rhegium}		Rhegium




    Anyone have any ideas of what is wrong here? Anyone who finds a solution will get a nice spot in the RTR credits list. Thanks.
    Last edited by Seleucos I Nicator; 09-27-2005 at 08:38.
    Rome Total Realism team member
    Imperia Romana team member
    Syria TW mod creator, team leader

  2. #2
    Member Member Seleucos I Nicator's Avatar
    Join Date
    Jan 2005
    Location
    Battle Ground, Washington, United States
    Posts
    16

    Default Re: Odd and frustrating CTD - I need help

    For some reason the descr_strat would not show properly.
    Last edited by Seleucos I Nicator; 09-27-2005 at 08:37.
    Rome Total Realism team member
    Imperia Romana team member
    Syria TW mod creator, team leader

  3. #3
    CA CA JeromeGrasdyke's Avatar
    Join Date
    Dec 2002
    Location
    At a new top-secret (non-CA) location, surrounded by lots of steel and glass, high atriums, hordes of lovely marketing ladies, and with a new and spacious desk with plenty of room for body-moving.
    Posts
    257

    Default Re: Odd and frustrating CTD - I need help

    The fact that the descr_strat doesn't show properly could be related to the problem. The Rome parser relies on the file being a windows text file - with both carriage return and newline (invisible) characters at the end of each line. If you use any Unix-derived tools or text editors which do not enforce this you could run into trouble, as the Unix standard is different. Opening the file in Notepad and then saving it would sort this out, if i remember correctly...
    "All our words are but crumbs that fall down from the feast of the mind."
    -- from 'The Prophet' by Kahlil Gibran

  4. #4
    EB insanity coordinator Senior Member khelvan's Avatar
    Join Date
    Sep 2002
    Location
    Oakland, CA
    Posts
    8,449

    Default Re: Odd and frustrating CTD - I need help

    If your program allows you to change encoding, I believe unicode (little endian) will help; it has worked for me, even at times where the standard text encoding doesn't work (EB's export_buildings.txt file is over 2.5MB and climbing, text editors choke on it in standard format).
    Cogita tute


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