• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Hey, if anyone's still around, would anyone consider lending me their prototype version that DID work, so I can check what the differences are?

Don't worry, mod will be for presonal use only. Just need to see if it's my text files or my bitmaps.
 
I'm having an odd issue that I've not been able to sort out. The mod works, but as soon as I whack unpause, the game crashes. The same happens if I attempt to declare war. Other actions such as arranging a marriage and what-not have no issues, be it a betrothal or instant same court marriage. I've not done too much experimenting in the way of what causes crashes, but at the moment it only seems to be war and unpausing.

https://www.dropbox.com/s/i9a43o9x6rt5nl5/burningsun.7z?dl=0

That is the current working version. Crash is still present, and I'm starting to begin to worry that a restart from scratch might be coming up (again!). I'd prefer not to, given an opportunity to not do so. If anyone could give me a hand with tracking down the cause of the issue, I'd more more than grateful! Honestly, I'm not sure when this issue started, as I didn't actually try playing the mod until a few days ago, iirc.
 
I'm having an odd issue that I've not been able to sort out. The mod works, but as soon as I whack unpause, the game crashes. The same happens if I attempt to declare war. Other actions such as arranging a marriage and what-not have no issues, be it a betrothal or instant same court marriage. I've not done too much experimenting in the way of what causes crashes, but at the moment it only seems to be war and unpausing.

https://www.dropbox.com/s/i9a43o9x6rt5nl5/burningsun.7z?dl=0

That is the current working version. Crash is still present, and I'm starting to begin to worry that a restart from scratch might be coming up (again!). I'd prefer not to, given an opportunity to not do so. If anyone could give me a hand with tracking down the cause of the issue, I'd more more than grateful! Honestly, I'm not sure when this issue started, as I didn't actually try playing the mod until a few days ago, iirc.


I will follow the state of your project, cause I have exactly same problem with a custom map : all work fine unless I declare war or i unpause the game.
I follow steps from create map ( ireland ) and use mapfiller .
In my logs, I have a error create vertices .... but, in other mod, I have that error message, without crash ...
I absolutely don't know what happen ...
 
  • 1
Reactions:
I'm having an odd issue that I've not been able to sort out. The mod works, but as soon as I whack unpause, the game crashes. The same happens if I attempt to declare war. Other actions such as arranging a marriage and what-not have no issues, be it a betrothal or instant same court marriage. I've not done too much experimenting in the way of what causes crashes, but at the moment it only seems to be war and unpausing.

https://www.dropbox.com/s/i9a43o9x6rt5nl5/burningsun.7z?dl=0

That is the current working version. Crash is still present, and I'm starting to begin to worry that a restart from scratch might be coming up (again!). I'd prefer not to, given an opportunity to not do so. If anyone could give me a hand with tracking down the cause of the issue, I'd more more than grateful! Honestly, I'm not sure when this issue started, as I didn't actually try playing the mod until a few days ago, iirc.





Hello,

I wanted to keep you informed, but I managed to avoid the crash mod I was working on.

1.
I wanted to make a map with a new card. I use the mapfiller like you from the tutorial mapfiller, but I could not run the mod cause CTD when unpause the game.

2.
So I decided to work from the base game map to make an other mod.
My surprise is that I have changed the Vanilla card to keep only 650 provinces, but if I modified the file to put max_provinces default.map to 651, I had the crash by removing the pause.
If I let max_provinces to the original value (1466), it works perfectly.

Also, I try my old mod with 1466 in max_provinces and it workss !!!!.

So you should try your mod with max_provinces = 1466

excuse scholar english ....
 
The trade routes exclusively use province IDs. Province IDs may also be used in geographical_regions.txt, but mostly regions use duchies or (rarely) counties.
 
Besides the things I mentioned before:
  • Move files to new folders in common/, making filename changes as necessary to overwrite the vanilla file
  • Move all changes to defines.lua to a .lua file in common/defines using the format specific to that folder (see the dummy file for example) and delete your defines.lua (that way you don't have to worry about future changes to defines.lua breaking your mod)
  • Move laws from decisions to common/laws
  • Make changes as necessary to objectives (especially plots), minor_titles and decisions to take advantage of new functionality
 
Maybe some of the ids between 651 and 1466 are used by some file e.g. regions?
But I wouldn't really know. All my mods are utterly unstable right now.

before my try on the vanilla map where I drop last province and raise my max_provinces to 1465, I found only 3 references to prov. 1465 :
- defintion.csv
- default.map ( a definition of a custom dot for future use I think , dont remember and havent file under eyes )
- positions.txt

Sure, i delete all these references to that province before do my try.

If a mod with lesser prov than 1465 cant work, that number ( or 1466 ) is probably hard coded
 
You probably didn't look at common/trade_routes, where those two external provinces (1464 & 1465) are used as starting points.
 
Does anyone have any tips for topology editing? It seems like it's going to be the most difficult aspect of mapmodding by far.

I'd say the most difficult aspects are not screwing color index / bitdepth and keeping all different files aligned (as in not creating rivers that flow up the mountain).

As for topology, I used Fractal Terrain to generate a random landscape and Wilbur to actually edit the map. And Gimp to edit the resultant bmp (to generate a normalmap you need a plugin for gimp).
 
Hello.
I have created a custom map following this tutorial and the hints that came up afterwards.

In an attempt to check the map ingame, I widdled down the errors that error.txt gave me and after I finally assigned five holy sites to catholicism (I wrote "Catholic" instead of "catholic") I thought I was done and ready to look at it ingame.

Instead, the game crashed and error.txt has nothing to offer.

Where do I go from here?
 
I forgot Tech!
Thanks already.

I still didn't get it to work, but I'm currently doing a rollback and will repeat all steps.

So, quick update:

I do not know which mistake exactly I made, but I'll keep trying and would be more than happy about some input.
 
Last edited:
Have you enabled the debug imput in the logs? If I rememver correctly you need to add the -debug -debugscript parametters to your game ahortcut (or some steam options if you launch the game drom steam). That may give you additional help aince it greatly expands error logs

I have done that and was able to terminate some errors thanks to that, but as mentioned above, the error.txt file is now empty, even though the game crashes.

Edit: I don't know what exactly changed, but I manage to load through to the main menu without any problems.
Thanks either way, this probably wasn't my last problem :D
 
Last edited:
Hey, it's me again!

So, everything's nice and dandy and I'm pretty happy about the results so far.
There's just this one thing .... the vanilla terrain textures have annexed my new ones. :'D
The topology works great, but I can't get my own terrain textures to work - What do I have to do?

Also, now that it worked for me: Thanks for the great guide, it's incredibly helpful!

Edit:
Sorry, I got it.
 
Last edited:
I'm trying to adapt the HoI map to CK2 with it's huge number of provinces just to see if it will even run but it's blowing up at Initializing Map Logic with the error "Exception in: C:\jenkins\workspace\CK2-Live-R-Steam-Windows\clausewitzII\pdx_core\virtualfilesystem.cpp, line: 682. Description: Could not open file: , error: The system cannot find the path specified."

I've checked and rechecked all the files in vanilla folder are in my map folder but it doesn't seem to believe it. Maybe my default.map is messed up though, I tried to get it as close to vanilla as I could.
link to the files: http://www.mediafire.com/download/nw8a6cf3h7yc12c/HoI.7z

Any help would be appreciated. I only have the first province with a history file and landedtitles just has that one province. The plan was to add them in a handful at a time to see if there is a limit.
 
You need a file in history/provinces for every province that has a name in the 5th column in map/definitions.csv, and the names in the history/provinces filename has to match what's in the 5th column of definitions.csv, which can not have any special characters (like Repvåg would have to be Repvag in definitions.csv and Prov2 - Repvag.txt, use Repvåg in localization.) You'll also need a title in landed_titles to match what's in the province history.