I would say that this advice is applicable to a significant portion, if not a majority of all Stellaris modders out there who post mods that are bigger than one or two files (and probably for other Paradox games as well... though I do not play them). I am shocked at the number of modders who do not clean up their mistakes and I would appreciate it if a moderator would make this a sticky/pinned post (or post something similar and make it a sticky).
I am sick of spending hours cleaning other peoples mods of errors in order to get them to work properly/as intended. I am not talking about bugs. I realize that bugs take time and game-play to find. I am talking about parsing errors. In the past when I hosted and updated the one mod I shared, I always made sure, with each update, that my mod didn't have any reported errors (barring the occasional meaningless one that can't be helped) in the error.log file before posting. A raw run without mods never has an error.log file bigger than around 11k-13k. I have had error files reach as big as over 200k in size because people are not doing their jobs as modders. Most of these errors are stupid mistakes. Yes... I make them too. Coding always leads to mistakes which lead to bugs in the code. You need to cleanup your own. All that time coding won't make a difference, if it silently doesn't work because of a silly error.
BIG HINT: Get a feel for what the unmodded Stellaris error.log file looks like for each update. Things occasionally change but it is easy to get a feel for what appears there in an unmodded run.
ANOTHER HINT: Yes... for some of us it takes time to check and uncheck all those mods we've installed. However, if you back up your settings.txt file located in MyDocuments\Paradox Interactive\Stellaris, you can simply delete all the entries under "last_mods={" section (without quotes) except the one you want to clean. Then simply copy it back when you are done.
One big issue that causes errors (and sometimes crashes) which I have seen a large number of times is an uneven number of brackets; where the number of open block brackets is not balanced by the number of close block brackets.
I cleaned a file that HAD OVER 30 EXTRA close brackets. 327 open (left) and 361 close (right).
Catching this problem can now be very easy. I built a utility using c# that checks the number of brackets in the mod I created and posted a while back and makes it easy to find where the missing/extra brackets are and correct the mistakes using a "paring by color" visual interface. It checks all files in a mod folder AND subfolders for balance errors. I have adapted it for general use and have shared it at the bottom of this post. Instructions for use are in the second post below. Feel free to comment if you find an issue or have a request/suggestion. I am not going to guarantee that I will honor requests but I will consider it.
Here are some screenshots:
NOTE: If you are using a Mac or Linux, you should be able to get this utility to work by downloading and installing Mono.NET
I am sick of spending hours cleaning other peoples mods of errors in order to get them to work properly/as intended. I am not talking about bugs. I realize that bugs take time and game-play to find. I am talking about parsing errors. In the past when I hosted and updated the one mod I shared, I always made sure, with each update, that my mod didn't have any reported errors (barring the occasional meaningless one that can't be helped) in the error.log file before posting. A raw run without mods never has an error.log file bigger than around 11k-13k. I have had error files reach as big as over 200k in size because people are not doing their jobs as modders. Most of these errors are stupid mistakes. Yes... I make them too. Coding always leads to mistakes which lead to bugs in the code. You need to cleanup your own. All that time coding won't make a difference, if it silently doesn't work because of a silly error.
BIG HINT: Get a feel for what the unmodded Stellaris error.log file looks like for each update. Things occasionally change but it is easy to get a feel for what appears there in an unmodded run.
ANOTHER HINT: Yes... for some of us it takes time to check and uncheck all those mods we've installed. However, if you back up your settings.txt file located in MyDocuments\Paradox Interactive\Stellaris, you can simply delete all the entries under "last_mods={" section (without quotes) except the one you want to clean. Then simply copy it back when you are done.
One big issue that causes errors (and sometimes crashes) which I have seen a large number of times is an uneven number of brackets; where the number of open block brackets is not balanced by the number of close block brackets.
I cleaned a file that HAD OVER 30 EXTRA close brackets. 327 open (left) and 361 close (right).
Catching this problem can now be very easy. I built a utility using c# that checks the number of brackets in the mod I created and posted a while back and makes it easy to find where the missing/extra brackets are and correct the mistakes using a "paring by color" visual interface. It checks all files in a mod folder AND subfolders for balance errors. I have adapted it for general use and have shared it at the bottom of this post. Instructions for use are in the second post below. Feel free to comment if you find an issue or have a request/suggestion. I am not going to guarantee that I will honor requests but I will consider it.
Here are some screenshots:
NOTE: If you are using a Mac or Linux, you should be able to get this utility to work by downloading and installing Mono.NET
Attachments
Last edited: