Total War Center Forums  
<a href="http://www.game-advertising-online.com/" target=_blank>Game Advertising Online</a><br> banner requires iframes

Go Back   Total War Center Forums > Total War: Eras > Rome Workshop

Rome Workshop This is where you can find help modding RTW/BI/Alex, ask questions and find tutorials.

Reply
 
Thread Tools Search this Thread
Khelvan
Old December 29, 2005, 03:57 PM / A modder's guide to errors   #1
Artifex
 
Posts: 1,539
++
My hope is to generate a long list of exactly what can cause errors throughout all of RTW. I would love to be able to compile and update this list. I hope we continue to have participation, even if only adding a few here and there.

EDU = /data/export_descr_unit.txt
DMB = /data/descr_model_battle.txt

RTW Loading CTDs:
- Mismatch between descr_names.txt and names.txt

Loading Screen Slowdowns:
- campaign_descriptions.txt must have less than 1000 characters per line and less than 20 lines per faction, or file load time is increased by 85%

Faction selection screen:
- Lack of campaign descriptions.

Campaign Map Loading Kick to Main Menu:
- Typographical error in descr_strat.txt
- Overwriting rather than deleting and then copying an update of map tga files
- Resource not defined in EDB
- Typo in building capabilities in EDB

Campaign Map Loading CTDs:
- Landmass ratio problem causes a CTD when loading the campaign map.
- A named character has an invalid name in descr_strat.
- The game is loaded but the screen is centered onto a buggy region (see the campaign map scrolling CTDs).

In Campaign Mode CTDs:
During play/AI turn:
- A family member being generated without a general_unit for the faction.
- A new character is generated and not given a valid name.
- Some building bonuses in the same building level as certain unit recruitment strings (this will happen both during AI turn and when the building is right-clicked).
- Units able to be recruited in EDB but no faction "ownership" for a faction in EDU.
- Units added to descr_rebel_factions.txt but no slave faction ownership in EDU.
- Units added to descr_mercenaries.txt but no mercenary_unit in EDU.
- Bad defined type of unit for army spawned via script file
- Mismatch between export_desc_character_traits.txt and export_VnVs.txt entries causes CTD when viewing the portrait of a named character with the bad trait.

Scrolling over campaign map:
- Not enough province/settlements on a too large map (fix : add provinces on the map/may be fixed with BI) causes CTD while scrolling the map.
- Error with the rebel faction/settlement owner and or creator (when you scroll over a given settlement)
- Some hidden resources can cause CTDs when you scroll over the region.

Custom Battle Menu Selection CTD:
- If you forgot to put in the second (or first) skeleton to units with secondary attacks in EDU.txt, the game CTDs the moment your mouse arrow reaches that unit in the menu.

Battle Loading CTDs:
- A unit with the attribute mercenary_unit in EDU that has no texture line for "merc" in the soldier, officer, and other related models found in DMB.
- A non-mercenary_unit in EDU that has no texture line in DMB for any faction given ownership of the unit in EDU, for the soldier, officer, and other related models.
- A sprite defined in DMB with no distance value.

In Battle Mode CTDs:
- Bad defined formations for Human Player (i.e. mainly changing names of formations in "descr_formations.txt" file)

BI specific:
- A reference to spawn event in descr_sm_factions and have modded the game to include those factions at the start date will CTD on AI's turn.
Ignoranti, quem portum petat, nullus suus ventus est. - Seneca


Last edited by Khelvan; January 02, 2006 at 01:26 AM.
Khelvan is offline  
Send a message via ICQ to Khelvan Send a message via AIM to Khelvan Send a message via MSN to Khelvan
Reply With Quote
Seleukos
Old December 29, 2005, 04:09 PM   #2
 
Seleukos's Avatar
rabble rabble rabble
Citizen
 
Posts: 8,925
++++++++++++++++++++++++++++++++++++++++
++++++
Excellent initiative. This can help out everyone. Pinned.

I found that if you have, in BI, a reference to spawn event in descr_sm_factions and have modded the game to include those factions at the start date, it will CTD on AI's turn.
Seleukos is offline  
Send a message via MSN to Seleukos
Reply With Quote
Sinuhet
Old December 29, 2005, 04:35 PM   #3
 
Sinuhet's Avatar
Preparing for death
 
Posts: 1,074
++++++++++
My notices to possible things, which can cause the CTDs:

- in campaign: bad defined type of unit for army spawned via script file (I have really bad time than I have isolated the bug caused from the typos "merc merc samnite" instead "merc samnite", no help via -show_err in shortcut)
- in battles: bad defined formations for Human Player (i.e. mainly changing names of formations in "descr_formations.txt" file)

Thanks for this helpfule initiative.
Bye Sinuhet
My TW games "Battle AI" projects:
Sinuhet's ETW Battle AI v2.0
Sinuhet's Formations v1.2 – for ETW
Sinuhet's Battle Mechanics v5.0 – for MTW2
Sinuhet's Battle Mechanics v3.0 – for MTW2
Sinuhet's AI Battle Formations v7.0 – for RTW 1.5


In Patrocinivm Svb HorseArcher
Sinuhet is offline  
Reply With Quote
Lusted
Old December 29, 2005, 05:00 PM   #4
 
Lusted's Avatar
Look to the stars
 
Posts: 18,175
highpos highpos highpos +++++++++++++++++++++++++
+++++++++++
+++
-in campaign and battles: typo's
Creator of:
Lands to Conquer Gold for Medieval II: Kingdoms
Terrae Expugnandae Gold Open Beta for RTW 1.5
Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
Awarded the Rank of Divus for oustanding work during my times as Administrator.
Lusted is offline  
Reply With Quote
Dr Fox
Old December 29, 2005, 06:50 PM   #5
 
Dr Fox's Avatar
Chosen Man
 
Posts: 178
?
Faction selection screen: Lack of campaign descriptions
Rock!?!?!
Dr Fox is offline  
Reply With Quote
nikolai1962
Old December 30, 2005, 04:52 AM / Trait descriptions   #6
Grenadier
 
Posts: 79
off
If you have a trait description like

Level CursusVigilentivir
Description CursusVigilentivir_desc
EffectsDescription CursusVigilentivir_effects_desc
Threshold 1

in your export_desc_character_traits.txt but the link to your text description in the export_VnVs.txt file is wrong e.g

{Vigilentivir} Vigilentivir

{Vigilentivir_desc}
This character has come of age but is too young for military service.

{Vigilentivir_effects_desc}
No effects.

i.e it says Vigilentivir_desc instead of CursusVigilentivir_desc, then the game will CTD when you try and right-click a general's portrait that has the trait with the typo.
nikolai1962 is offline  
Reply With Quote
Khelvan
Old January 02, 2006, 01:27 AM   #7
Artifex
 
Posts: 1,539
++
Updated.
Ignoranti, quem portum petat, nullus suus ventus est. - Seneca

Khelvan is offline  
Send a message via ICQ to Khelvan Send a message via AIM to Khelvan Send a message via MSN to Khelvan
Reply With Quote
HorseArcher
Old January 02, 2006, 01:36 AM   #8
 
HorseArcher's Avatar
The Pale Rider
 
Posts: 13,227
highpos highpos ++++++++++++++++
cool thread.

During Battle:

- If your game CTDs while your units switching weapons - the secondary weapon description either contains typos or the secondary attack of the unit is defined wrong (their skeleton does not support it) in the export_descr_unit.txt. for example, giving your general a missile for secondary attack (to a "sword-only" general), and ALT+right click-ing on an enemy, the game will CTDs at the time of the unit trying to switch weapons.

At the game Loading/During any time:

- If you have edited the "export_descr_building.txt" it is one of the most sensitive files in the game. One small mistake as a comma, or an extra space missing or added can cause the game to CTD during the loading or during sometime the campaign.
(edit: oops you added this one already)

- At loading/during campaign or battle:

The game will CTD if you try to go beyond the Hardcoded Limits of RTW.
answer : Yes You can use the skymod or whichever mod I made in the past...Thanks!
HorseArcher is offline  
Send a message via MSN to HorseArcher
Reply With Quote
Malrubius
Old January 02, 2006, 03:37 AM   #9
 
Malrubius's Avatar
Colour Sergeant
 
Posts: 372
+
Trying to assign a trait or ancillary that has not been defined in export_descr_character_traits.txt or export_descr_ancillaries.txt will cause a CTD with no error message. This means a line like:

Code:
Affects Loyl  1  Chance  100
or

Code:
AcquireAncillary  doctr  1  Chance  100
would cause a CTD, due to misspellings.
Malrubius is offline  
Reply With Quote
PatWest
Old January 04, 2006, 04:15 AM   #10
 
PatWest's Avatar
Colour Sergeant
 
Posts: 449
?
Removing a faction from the game without removing the culture line from descr regions.txt and the creator line in descr strat.txt will cause a campaign map scrolling CTD.

For Lawrence, mercy is a passion, for me, it is merely good manners. You may judge which is the more reliable.
PatWest is offline  
Reply With Quote
Muizer
Old January 25, 2006, 03:38 PM   #11
 
Muizer's Avatar
Sentinel
 
Posts: 3,921
++++++++++++++++++++++++++++++++
I'm pretty sure about these:

1) Campaign map scrolling CTD: if this occurs everytime at or near a given junction of regions it means the region has an "illegal geometry". Sometimes this can be solved by minor changes to the region shape (usually making it more compact works). However, sometimes this only leads to the CTD shifting to another junction. Larger regions seem more sensitive to this. Splitting the region into two or more smaller/compacter ones could remove the problem.
Based on extensive bug hunting.

2) Campaign map loading CTD occurring nearly instantaneously: possibility of having cities or characters surrounded by a combination of impassable terrain (mountains and dense forest) and rivers without fords.
Based on: map loading with impassable ground_types OR with unfordable rivers, but CTD with both at the same time and the fact that this was solved by either replacing the impassable terrain with passable terrain or replacing river pixels with ford pixels (or both of course).

I'd like to hear about alternative explanations if anyone has them.

Muizer
Muizer is offline  
Reply With Quote
Csatádi
Old January 29, 2006, 11:22 AM   #12
 
Csatádi's Avatar
Armoury Sergeant
 
Posts: 578
off
I made 4 new units and used other soldiers' skin for them.
I can play custom battles with the new units but I get 'Campaign Map Loading CTDs'.
Any help even where should I look for the mistake?

Edit: ok, i found it. Huh. The problem wasnt with the new ones but another unit I deleted but forgot to save before the reinstall.

Last edited by Csatádi; January 29, 2006 at 01:18 PM.
Csatádi is online now  
Reply With Quote
Malrubius
Old January 31, 2006, 08:37 AM   #13
 
Malrubius's Avatar
Colour Sergeant
 
Posts: 372
+
Having a blank line in export_VnVs or export_ancillaries where RTW expects to find text will cause a CTD when the trait/ancillary is gained, before the chance to display it occurs (a missing tag causes a CTD when you try to view the character scroll, but this causes one when the trait is triggered).

Example:
Code:
{Trait_desc}
Should be:
Code:
{Trait_desc}
Some description
Malrubius is offline  
Reply With Quote
Orb
Old March 20, 2006, 04:42 PM   #14
 
Orb's Avatar
Sergeant
 
Posts: 292
?
If you use the my_mod system you must have the export_VnVs file in the text folder of your my_mod folder. Not doing so results in a CTD on invoking the generals scroll. I've only tested this in B.I 1.6. It seems we can't redirect the exe to the vanilla...

TFT 's Fall of the Republic - Rise of the Empire (FRRE) Mod Project
A collection of Post-Marian Reform mods for B.I
Orb is offline  
Reply With Quote
Khelvan
Old March 22, 2006, 04:14 AM   #15
Artifex
 
Posts: 1,539
++
I would ask for a volunteer to update this. I am no longer able to, I can barely keep up with other things, much less remember this, and I think it is important enough to have someone keep it up to date.
Ignoranti, quem portum petat, nullus suus ventus est. - Seneca

Khelvan is offline  
Send a message via ICQ to Khelvan Send a message via AIM to Khelvan Send a message via MSN to Khelvan
Reply With Quote
LestaT
Old March 27, 2006, 08:44 PM   #16
 
LestaT's Avatar
Artifex
 
Posts: 4,369
+++++++++++++++++++++++++++++++++++
I got CTD while loading screen (during splash screen) but my name files are all in order. Any idea how else can I trace the bug ?

Anyway this is on personal project to port RTR 6.0 gold to RTW 1.5 platform.

Thanks for any help. The main thread is here
LestaT is offline  
Send a message via MSN to LestaT Send a message via Yahoo to LestaT Send a message via Skype™ to LestaT
Reply With Quote
Snevets
Old April 01, 2006, 01:52 AM / Re: A modder's guide to errors   #17
 
Snevets's Avatar
Colour Sergeant
 
Posts: 458
+++++++
Leave the dds ending off textures or the game crashes without telling you why when loading a battle with your unit.


Believe in Hegemonia... Or the Megarian will get you.
Snevets is offline  
Reply With Quote
Acme1970
Old July 17, 2006, 01:48 AM / Re: A modder's guide to errors   #18
Grenadier
 
Posts: 57
off
Here's one i finally figured out, If you get a CTD when you click on the Senate Tab then check if the Roman Faction your playing with says "superfaction romans_senate" under the faction name in the descr_strat file without this line the game will CTD everytime you click on the Senate tab, Also then Senate will not give you missions & will be very agressive against you
Acme1970 is offline  
Reply With Quote
Marcellus Trajanus
Old July 18, 2006, 11:20 AM / Re: A modder's guide to errors   #19
 
Marcellus Trajanus's Avatar
Drummer and Fifer
 
Posts: 111
?
I just figured out that adding a script - like a 4tpy - via
"script
[script_name.txt]"

at the end of the descr_strat.txt may cause your game to disable saving and loading your campaign though the campaign starts without complaining and even the script works out properly. Quick save/load button combinations won't work, resulting in a load-to-menu when trying to quick load.

Would be great if anyone could confirm that or give further information concerning that.
Have a map and want a brief overview over it's list of regions, the coordinates of ports and towns?
Tired of working out R:TW compatible coordinates for descr_strat by hand? MapAnalysator might help.
Curious? Then have a look @
>> The MapAnaylsator Thread <<
Now with SiteCrosshair
Marcellus Trajanus is offline  
Reply With Quote
LestaT
Old August 01, 2006, 11:41 AM / Re: A modder's guide to errors   #20
 
LestaT's Avatar
Artifex
 
Posts: 4,369
+++++++++++++++++++++++++++++++++++
Quote:
Campaign Map Loading Kick to Main Menu:
- Typographical error in descr_strat.txt
- Overwriting rather than deleting and then copying an update of map tga files
- Resource not defined in EDB
- Typo in building capabilities in EDB
I Have the error as above , but the difference is there's no error reported when quitting the game. Anyone have any ideas as to why ? It's a BI base mod though.
LestaT is offline  
Send a message via MSN to LestaT Send a message via Yahoo to LestaT Send a message via Skype™ to LestaT
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

<a href="http://www.game-advertising-online.com/" target=_blank>Game Advertising Online</a><br> banner requires iframes

All times are GMT -5. The time now is 06:20 PM.


Forums powered by vBulletin® Version 3.8.3 - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.