![]() |
|
|||||||
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Finder of Little Oddities
Assistant Moderator
Join Date: Jan 2006
Posts: 2,201
|
OK this isn't actually a question - but it's not a tutorial either and I wanted to get it into the answers database..... The post is based on this original article - please excuse the lecture but hopefully it's useful - if not jump to Common Causes of Problems
Why Doesn't my Campaign Map Load? One of most frequently asked questions by new modders is "Why doesn't my campaign map load?" below is some self-help advice; on how to mod efficiently; and for when it goes wrong, what to check and how to ask question on forums so other people can actually help you. General Modding Advice
When Stuck Well you know what you did last (''don't you?'') check all the changes you just made for; typo's, wrong colours etc. Some files including descr_strat.txt are quite sensitive to wrong formating, missing tabs, spaces or line breaks etc. Most things in RTW/BI text files are also case sensitive so check capital letters are used in correct places. Make sure you remembered to delete the map.rwm file. If you can't find anything obvious revert to a new copy of your back-up files prior to the change you just made and re-do your changes again. Still not working? See next section... When Really, Really, Stuck Now is time to ask a question on the forums or ask another modder for help. To ask questions on RTW/BI game post a thread in Modding Questions or post a reply at the end of this thread. To avoid your question just being met with more questions you should supply the following information in your post:
__________________
Not used mods before? Looking for something small and fun?! Download the:
Last edited by Makanyane; 05-24-2007 at 18:52. |
|
|
|
|
|
#2 |
|
Finder of Little Oddities
Assistant Moderator
Join Date: Jan 2006
Posts: 2,201
|
Common Causes of Problems
The same sort of error will normally produce the same crash / message at the same point in the loading process. Where problem occurs in loading process is therefore important to bug hunting. Common problems are listed below in order of 'crash' occurrence. Where error messages are mentioned they are only obtained if you have -show_err enabled. NOTES: This list is very unlikely to cover everything please note any more you find in replies. The initial tests for this were conducted under BI. There may be variations with RTW if found please advise. Most of these error messages also occur in M2TW but they will be found in the error log file and not via. the -show_err system. Please also refer to a Modders Guide to CTD's This section is based on wiki page here which may/may not be more up-to-date. Symptom: Game CTD's with no message when arrow is clicked to start campaign - no map.rwm generated.
Symptom: KTM's with message on exit: 'Script error in .../descr_strat.txt, at line xxx, column x. You have chosen an invalid tile(0,0)for the settlement of If line xxx is the bottom of the descr_strat file and the settlement name is not specified.
It Loads But... So you saw the map come up and thought all your problems were over? Not quite: Symptom: Strange overlay effect when viewing parts of campaign map, often including diagonal lines across map.
__________________
Not used mods before? Looking for something small and fun?! Download the:
Last edited by Makanyane; 09-30-2007 at 22:30. |
|
|
|
|
|
#3 |
|
Shaidar Haran
Moderator
Join Date: Feb 2004
Location: UK
Posts: 4,705
|
Thanks a lot Mak. I think this deserves a sticky.
__________________
The Modding Questions Forum is for asking Modding Questions .The Mod Discussion Forum is for Discussions on mods and modding The Forge is for Mods in Development The Scriptorium is for Guides, Tutorials and Tools Wheel of Time mod forum![]() Wheel of Time mod team leader __________________ Thought for the day: When exactly does a lie-in become a coma? ----------------------------- |
|
|
|
|
|
#4 |
|
Notepad user
Member
Join Date: Apr 2007
Location: The Netherlands
Posts: 488
|
been able to pin this down a bit better, perhaps you might want it said over here as well ..
when your map.rwm is in the 12-13mb range be very carefull!! your heading towards some form of the landmass-bug if your game generates a map.rwm but than CTD's but loads just fine the next time, go back!! your already in the area of some form of landmass-bug if your game generates a map.rwm but whatever you do the loadingscreen never appears as your game freezes when it should start showing it, your in trouble!! remove some mountains in map_groundtypes and/or add more land in map_heights, though editing map_groundtypes might only be a temp. solution as at any given time it could start again, but adding more land(heights) and no new rocks(groundtypes) always seems to work .. anyway the relation between the map_heights and map_groundtypes is what causes these issues, I never had it happen after an edit in map_heights, but an edit in map_heights generally does solve it ... it does however ony happen if your map_heights is already "very very very" close to triggering the landmass-bug G |
|
|
|
|
|
#5 |
|
Finder of Little Oddities
Assistant Moderator
Join Date: Jan 2006
Posts: 2,201
|
Thanks Red Spot, umm I was sort of ignoring your freeze problem as I didn't understand it enough to summarise it!
Hadn't realised before you meant that freeze was before you got to loading bar? So you click arrow after faction selection, get map.rwm generated and then never go any further, is that right? I thought initially you meant you got into map and then hung... I think the map.rwm file size is only indirectly relevent (as it means you have larger map), a map with 1021 map_heights.tga will normally generate a 13mb map.rwm, but I've had quite a few maps based on that before without meeting your freeze problem. (reminds me need to put in max map size) I assume your problem is more to do with really pushing the limits for the amount / arrangement of water you can get in and hence, as you say, being very close to triggering landmass bug problem.... If you had only a small amount of water on same sized map I don't think you'd have issue.
__________________
Not used mods before? Looking for something small and fun?! Download the:
|
|
|
|
|
|
#6 | |
|
Notepad user
Member
Join Date: Apr 2007
Location: The Netherlands
Posts: 488
|
Quote:
yep, thats it push it a little further and you get a map.rwm generated and than a CTD before the loading screen pops up, push it even further and your at the landmass bug ... also I dont have a good idea whats up with the map.rwm file but it surelly isnt directly tied to map size, my map at start always generated 3mb size files at start, as I added more variaty to map_groundtypes it started to sometimes generate a 12/13mb file, as I added more to the groundtypes file the map.rwm become generally at a 12mb size and only very randomly give me a 3mb size file, now that my groundtypes file is done I cant anything less than 12mb-ish size I can directly influence the file a bit, but its more a "it works most of the time" method, wich is by reducing sea in map_heights (I know it all doesnt add up or make any sence, all I do know its flucuation in size is direct relation with map_heights and map_groundtypes) Edit; a few more things I've experienced .. for under;CTD without message immediately after pressing end turn button for first time.
(perhaps) under; Strange overlay effect when viewing parts of campaign map, often including diagonal lines across map.
G Last edited by Red Spot; 05-25-2007 at 17:07. |
|
|
|
|
|
|
#7 |
|
The Dark Knight
Member
Join Date: Jan 2005
Location: Indonesia
Posts: 581
|
Another cause of CTD during first time End Turn button:
- Bad character name file. To check, try Saving before End Turn. If it crashed then, then it is the bad name file as it creates an error during creation of a saved game and End Turn is (on default) auto-saved. |
|
|
|
|
|
#8 |
|
Axebitten Modder
Senior Member
Join Date: Apr 2005
Location: England
Posts: 1,507
|
I believe this is one of the reasons devs usually disable the save-game preference. It's still disabled in the release of Fourth Age :)
|
|
|
|
|
|
#9 | |
|
Finder of Little Oddities
Assistant Moderator
Join Date: Jan 2006
Posts: 2,201
|
Thanks chaps, updated 2nd post.
Quote:
(if it's not the difference between the games then you've just taken over from me for habit of getting weird errors! )
__________________
Not used mods before? Looking for something small and fun?! Download the:
|
|
|
|
|
|
|
#10 |
|
Member
Member
Join Date: Feb 2007
Posts: 40
|
Great resource for mapping problems. This will become my go to trouble shooting reference.
One thing that has bit me several times when resizing map_regions, simply because I am making changes and testing too quickly, is forgetting to change 'bicubic' to 'nearestneighbor' in the image resize tool. This will cause a CTD and not create a rwm file. |
|
|
|
|
|
#11 |
|
Finder of Little Oddities
Assistant Moderator
Join Date: Jan 2006
Posts: 2,201
|
Ramashan, good point will try and add something to top post about that. I've also accidentally done that to map_regions in PaintShopPro, that one needs Pixel Resize instead of Smart Size.
I was trying to work out why that CTD'd without message whereas having pixels of extra colours (which is effectively what you get) in small area gives you a KTM with message. Just realised it is probably because you've got so many extra colours that it is reading as being over the 200 region limit.... Using the wrong re-size method also messes up the other files though normally with odd graphic effects rather than CTD - for ground_types you'll get lots of pink areas where colour is invalid, for climates you'll have default climate appearing where you have the unknown colour, map_heights you get odd 'mountains' around coast where you've merged land and sea.
__________________
Not used mods before? Looking for something small and fun?! Download the:
|
|
|
|
|
|
#12 |
|
Finder of Little Oddities
Assistant Moderator
Join Date: Jan 2006
Posts: 2,201
|
hmmmpf - will test a bit more to define at some stage and add but -
CTD 2/3rds way along campaign loading bar - caused by large mismatch between regions in descr_regions and the ones listed in data/text/campaign_name_regions_and_settlements.txt (I think if you're only one region out you get an error message but will check that) this can be caused, for instance, by using an old regions and settlements.txt file by mistake - making this mistake simultaneously with trying to move mod to new mod-folder can result in spending whole afternoon trying to work out why campaign won't load anymore......
__________________
Not used mods before? Looking for something small and fun?! Download the:
|
|
|
|
|
|
#13 |
|
Still warlusting...
Member
Join Date: Aug 2006
Location: Brisbane, Queensland, Australia
Posts: 2,526
|
I don't know if you have this listed but:
WHen all the game runs perfectly (it loads,etc) Then you go into the Imperial Campaign Menu, and press a faction, then press thje arrow, and it goes back to the Main Menu? THat happens when you've modded/edited with one of the Data/World files, or when you've downloaded a mod which does. This applies to RTW and M2TW
__________________
Baby Boomers of Australia and New Zealand |
|
|
|
|
|
#14 |
|
Finder of Little Oddities
Assistant Moderator
Join Date: Jan 2006
Posts: 2,201
|
Warluster, what you are describing is a KTM (Kick back To Menu) there are a few possible ones in the list look for the ones starting:
Symptom: KTM's with message on exit You should get message when you quit the game if you are using -show_err on your shortcut. There is at least one cause where you don't get message (unfortunately I can't remember what it is and haven't come across it recently).
__________________
Not used mods before? Looking for something small and fun?! Download the:
|
|
|
|
|
|
#15 |
|
FC2 烏
Member
Join Date: Sep 2007
Location: Yokosuka, Japan
Posts: 72
|
Morning all,
I've been getting a problem that's not a CTD, nor really a KTM; rather, it's a failure for the campaign map to even BEGIN loading. The problem comes when I try to add support for night battles; from everything I've read, I just change the descr_strat to include the options bi and night_battles_enabled tags (and use the BI exe, of course). Problem is, when I do this, descr_strat no longer parses properly. If I try to load the campaign I get a "Please select an item from the menu" message. The starting time always shows up as 1 AD, and when I close RTW again, I get a descr_strat error that it couldn't find the campaign start date (which is very definitely still there). Removing the options bi tag and just leaving in the night_battles_enabled tag causes a CTD; removing both tags causes night battles to not work. Any thoughts/ideas? |
|
|
|
|
|
#16 |
|
Finder of Little Oddities
Assistant Moderator
Join Date: Jan 2006
Posts: 2,201
|
could you copy and paste the top of the file in a reply here, from top to part that includes those lines - it sounds like you have the wording or placement slightly wrong, it does indeed stop parsing file if it hits something it doesn't recognise (might be the order you've put them in if not spelling etc)
__________________
Not used mods before? Looking for something small and fun?! Download the:
|
|
|
|
|
|
#17 |
|
Anything that isn't 'member'
Member
Join Date: Apr 2005
Location: Canada
Posts: 530
|
Also you don't need the BI exe to have nightbattles. If you're using the BI exe the changes you're making for nightbattles are unnecessary.
|
|
|
|
|
|
#18 | |
|
Notepad user
Member
Join Date: Apr 2007
Location: The Netherlands
Posts: 488
|
Quote:
so afaik you do need it if you want the AI to trigger them as well (cant say I've seen them do it in BI but I havent tested that ...) G |
|
|
|
|
|
|
#19 | |
|
Finder of Little Oddities
Assistant Moderator
Join Date: Jan 2006
Posts: 2,201
|
SSJVegetaTrunks seemed to have got night battles working in RTW see: http://forums.totalwar.org/vb/showthread.php?t=89367
did you mean you couldn't get them at all or just that AI didn't opt for them? And are you sure their generals have the required trait? Relevant trait/attribute is definitely needed in all versions. Vanilla BI has Quote:
__________________
Not used mods before? Looking for something small and fun?! Download the:
|
|
|
|
|
|
|
#20 |
|
FC2 烏
Member
Join Date: Sep 2007
Location: Yokosuka, Japan
Posts: 72
|
Okay, I'm a moron. *headdesk*
Forgot that my copy of RTW Gold is one of the ones that lacks the 1.6 patch when I reinstalled it. Patched to 1.6 and working like a charm now with options bi and night_battles_enabled. Plus the all the ancillary whoozis (traits, lighting, whatnot, but already had that). |
|
|
|
|
|
#21 |
|
Notepad user
Member
Join Date: Apr 2007
Location: The Netherlands
Posts: 488
|
Makanyane ..
to get nightbattles in RTW isnt an issue, its easy, but I've been unable to get the AI to trigger one they have the traits (both nightbattlecapable and nocto-something ...) and they attack me, never have I fought a nightbattle that was triggered by the AI (also have set "options BI" and "nightbattle enabled" in descr_strat) not saying it isnt possible, just that at least I cant get them to show up as an AI-feature btw I've read the topic you linked but besides that he makes the statement that he has nightbattles in RTW, he doesnt state that the AI actually triggers them ... G |
|
|
|
|
|
#22 |
|
Notepad user
Member
Join Date: Apr 2007
Location: The Netherlands
Posts: 488
|
for under;
Symptom: Game CTD's with no message shortly after arrow is clicked to start campaign - new map.rwm is generated.
The game kept crashing as if I didnt have some names set in the apropriate files, in the end turned out that the ability of the romans to horde didnt work to well with them also belonging to the senate ***note; this was running Rome with the BI-exe*** G |
|
|
|
|
|
#23 |
|
Finder of Little Oddities
Assistant Moderator
Join Date: Jan 2006
Posts: 2,201
|
thanks RedSpot, added.
will nominate you "Deputy Finder of Little Oddities" ![]() EDIT; actually I nominate you "Superior Finder of Little Oddities" just realised you probably explained why I could never get superfaction function to work in my mod !
__________________
Not used mods before? Looking for something small and fun?! Download the:
Last edited by Makanyane; 09-30-2007 at 22:31. |
|
|
|
|
|
#24 | |
|
Member
Member
Join Date: Sep 2007
Posts: 74
|
Quote:
Symptom: Game CTD's with no message when arrow is clicked to start campaign - no map.rwm generated. But: [*]Landmass Crash - actually caused by having too large an individual sea area. - I did not touch sea areas adding the last region[*] Too large an area of impassable terrain - actually same bug as above (if area doesn't work as sea it won't work as mountain or dense forest either). - I did not add any impassable terrain[*] Rivers incorrectly drawn in map_features.tga. Possibly also river without ford completely dividing a region. - I did not modify map_features. rivers are not completely dividing the neew region, nor they touch the settlement[*] Incorrect height or width listed in descr_terrain.txt - dimensions must match map_regions.tga - I didn't touch descr_terrain.txt[*] More than 200 total 'regions' - note regions include different colours used for individual seas, so you can have 199 land regions and 1 sea, or 198 land regions and 2 different coloured seas in map_regions.tga etc... - number of actual regions is 48, the new one wich causes the crash is number 49. If i remove the new region from the map_regions.tga and its refs from: - descr_strat.txt, descr_regions.txt -**regions_and_settlement_names.txt -**regions_and_settlement_names_lookup.txt It all works fine, so its really just the new region making a problem. But again. I already added two of them and they give no troubles.. just this one! My tries: - i re-checked all regions in the map to have their precise colors (tolerance0) - checked the map_heigths.tga : no areas in black (RGB 0,0,0) - i moved the settlement to different locations, checking each time was not touching the border of the region, not occupied by mountains, rivers, sea, lakes or other map objects, same CTD - i changed color of the new region ten times, same CTD - i moved the region to another totally different area of the map, same CTD So I'm stuck here: any idea what else to try? |
|
|
|
|
|
|
#25 |
|
Member
Member
Join Date: Sep 2007
Posts: 74
|
Another try I made with no effect:
- i changed shape of the new region three times, same CTD Guess I need some help here :( |
|
|
|
|
|
#26 |
|
Member
Member
Join Date: Sep 2007
Posts: 74
|
Ok i find a clue, not sure if it may help YOU to understand what's wrong here, sure its not helping ME :( I changed once more the color of the new region, but i forget to add the right RGB colors in descr_regions.txt. So I had this symptom: KTM's with message on exit: 'Script error in .../descr_strat.txt, at line xxx, column x. could not create settlement at script line xxx And it makes sense. If I add the right RGB values, I get again the same old CTD with no map.rvm generation. The hint is, the error causing my CTD is something the program reads AFTER checking descr_regions.txt Can't go much far |
|
|
|
|
|
#27 |
|
Finder of Little Oddities
Assistant Moderator
Join Date: Jan 2006
Posts: 2,201
|
Nothing obvious is coming to mind on your problem. Not getting a map.rwm when you were before and all you've done is add region is rather strange. Have you done anything different on the 3rd region in terms of the faction or rebel type it uses in descr_regions, or for the faction creator in descr_strat??
It sounds like you've investigated most possible causes, if all else fails zip the campaign folder together with the ..._regions_and_settlements.txt file from data/text and upload it somewhere so other people can see if they can spot problem.
__________________
Not used mods before? Looking for something small and fun?! Download the:
|
|
|
|
|
|
#28 | |
|
Member
Member
Join Date: Sep 2007
Posts: 74
|
Quote:
What sounds MORE wierd to me is that if i write the wrong RGB values for the last region in descr_regions, then the map.rvm IS generated! But if I put the correct values, then is NOT. I mean, I supposed the map was generated AFTER reading a funcional descr_regions file! Guess I was wrong then. On the 3rd region: - faction or rebel type modded, exactly like the ones for the other two new (working) regions (I add the descr_rebel_factions file in the zip to see) - faction creator in descr_strat same as the other two new (working) regions Here's the zip file: http://digilander.libero.it/krnell/lotrmod/campaign.zip Inside there are: - the whole modded campaign middle_earth folder (only modded campaign inside, removed all others) - descr_rebel_factions.txt - middle_earth_regions_and_settlement_names.txt Just consider that its part of a serverely modded version of RTW v1.1, so you will not be able to just put it in campaign folder and play it. If you think it will help I could zip the whole data directory. I'm out of ideas here, hope in some good hints :( |
|
|
|
|
|
|
#29 |
|
Member
Member
Join Date: Sep 2007
Posts: 74
|
BTW:
the 3d region giving the error is METW_Region_49 named Minhiriat, with its settlement {METW_Settlement_49} named Tharbad In the zip files you'll find a commented METW_Region_50 named Quazzurlia, with its settlement {METW_Settlement_50} named Quazzotown but I've never activated them, they were a try to see if was just the names causing the CTD. Just ignore them or remove them, in map_regions.tga they are not present. |
|
|
|
|
|
#30 |
|
Finder of Little Oddities
Assistant Moderator
Join Date: Jan 2006
Posts: 2,201
|
well I looked and I can't spot anything - am hoping someone else might have a go - as I haven't got a working version that's at 1.1 or the METW data, I'd need to unravel a lot to give it any chance to load, then wouldn't know if it was those changes or something else!
Don't know - I'd opt for superstitious approach - go back to last working version and add completely different region... you've got some un-used region names in the text file like {METW_Region_09} you could try adding that into descr_regions and see if that works. You seem to be heading beyond anything there is logical explanation for (at least that I can see) so you might as well try something different!
__________________
Not used mods before? Looking for something small and fun?! Download the:
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|