PDA

View Full Version : CTDs during campaign start



wlesmana
04-17-2006, 17:56
Ok, maybe this is a stretch but I got to the point where my custom provincial campaign just CTDs on me with no error message. I got error messages before and had been fixing that until now, where it just dies with no message at all.

So I'm asking help from experienced map editors/modders, what are the POSSIBLE causes of CTDs during campaign boot up that won't give you an error message? Any help is greatly appreciated! Thanks!


PS. In the desc_strat.txt, I already made sure the names of named characters are right and from desc_names.txt. I also cut down on the building list, so each settlement only has a main city building and wall, at most. This is for 1.6/BI and the map worked in 1.5.

Stuie
04-17-2006, 18:25
I'll resist the urge to ask if you deleted the map.rwm file...

At what point on the loading bar does it CTD?

wlesmana
04-18-2006, 08:19
Yes, I deleted map.rwm.
And since this is provincial campaign, it doesn't just CTD. It just won't load. Sorry for not clarifying that. I chose the campaign, chose a faction to play, hit Play and it turned back to the campaign selection screen. If I quit, it gives me an error message stating RTW just crashed.

Stuie
04-18-2006, 13:25
What is the exact error message you get when you exit the game?

lt1956
04-18-2006, 13:47
Soundsl ike a 1.5 issue with the campaign faction descriptions missing. If not that then I would say an error in the Rebels file, because if there is a mistake it will crash on load without a message. Also if there is a mistake in settlement names also.

Did you make this map yourself?

Lt

Makanyane
04-18-2006, 19:52
PS. In the desc_strat.txt, I already made sure the names of named characters are right and from desc_names.txt.

I'm sure you're not as dumb as me but I just fell for this one with similar CTD results! Did you also check that the names of your slave generals exist in the faction names section refered to by their sub_faction in descr_strat.

wlesmana
04-19-2006, 03:13
Yes, I basically copy and paste (except for their coordinates) the name of faction generals and leaders (well, in this case, only leader since to minimize errors I have only 1 general/named character per faction). Even the rebels.

The TGA map I did not do myself but I edited it quite a lot and it works in 1.5. So unless there's a big difference in the tga files for BI/1.6 than 1.5, I suspect the problem lies in the text file.

There is NO error message after I quit. This is the problem. Basically the campaign refuses to load by booting me back to (provincial) campaign selection menu. Then when I quit, there's a Windows message stating there's an error and the .exe crashed. Note that this is AFTER I got error messages numerous times and been fixing those.

So I have no clue on what the current error could be because there is no RTW error message.

Cheexsta
04-19-2006, 07:26
I've just had a few error-less CTD's with my own provincial campaign (Mundus Magnus for RTR1.5) and have managed to solve them. I tried everything in this thread, but then I found that some of the regions didn't have owners, and this was causing the CTD.

Make sure that you've assigned all regions to a faction. Using BrandonM's Campaign Editor, I managed to find and allocate these very quickly and easily.

Now to solve some other KTM issues...

Edit: bummer, another CTD without error :(

Uranos
04-19-2006, 08:48
The only difference in targas files in 1.5 and 1.6 i know is that 1.5 uses map_heights.tga and 1.6 map_heights.hgt, and in 1.5 the pixels 200 200 201 will be high mountain but in 1.6 water (in 1.6 all land pixels must have exactly the same RGB values).

How many and which factions are you using? - have you changed descr_sm_factions.txt ?

wlesmana
04-19-2006, 16:32
I did not know that. Thanks for the info!!
I'm only using 8 factions ( + rebels) for the testing and I did fix up stuff in desc_sm_factions.txt as best as I can remember. I have quadruple checked the desc_strat file everytime. My suspects are the tga files. And since I ported the tga files directly, they might be the culprit.

wlesmana
04-19-2006, 16:46
Ok, strangely, I found both 1.5 AND 1.6/BI has map_heights.hgt so I guess that file doesn't cause anything since my map works in 1.5.

I'm not catching the "in 1.6 all land pixels must have exactly the same RGB values". I checked the 1.6/BI map and 1.5 and the value for high mountain is the same. They both also use the same RGB value for water.

Uranos
04-21-2006, 17:49
Both 1.5 and 1.6 have map_height.hgt but only 1.6 uses it. To make it u must use hgt converter.
In 1.6 all land pixels must have exactly the same RGB values - i mean that in map_heights.tga you must have 1 1 1, 5 5 5, 115 115 115 if you want land, if at least one of those RGB values is different from the rest 2 one like 1 1 2 it will appear as water. If you have that correct you convert that to hgt file and you can do with map_heights.tga whatever you want - even fill with pink :laugh4:- that won't effect the game.

wlesmana
04-22-2006, 04:34
Aaaah, definitely didn't know that. Thanks for the info!!!!