[Mod/New country] SSSR - Soviet Union

[size=125]Still WIP at the moment[/size]

I tried to do my best to obtain something similar to the post-Stalin Soviet Union.
Data come from different eras, since I wasn’t able to find all of them, plus I even had to suppose how could them be.

I myself cannot test my mod actually - there must be something wrong in some of the files (question: is it because I mod them with TextEdit on a Mac?), even checking instructions Struck gave me when I worked on Italia mod - so any help and fix is welcome.

I uploaded the very early beta version here: mediafire.com/download/nonhu … R+beta.zip

There are numerous possible mistakes you could have made that might be breaking your mod. I will deal with two not-so-obvious general mistakes that might possibly be the source of the trouble. Make sure you explore other possible sources of errors, too.

Reviewing the syntax of your plain-text files might help. If you left out a closing quotation mark at the end of a text string, or omitted a comma somewhere, the erroneous plain-text file would crash the game. Sublime Text 2 is a good program for catching those mundane but tedious-to-locate syntax errors; it has a free demo version.

I can’t speak for any other possible sources of errors, but TextEdit might be
mis-formatting your plain-text output in a way that is hostile to the game.

Or, it could even be something as simple as TextEdit being set to create all of its output in RichText format (“.rtf” file extension")
instead of plain text (“.txt” file extension), when it’s very likely that the game can only accept .txt format.

Try the following troubleshooting workflow:

  1. Open TextEdit.
  2. Open the program’s Preferences.
  3. On the Preferences pane, look at the Format area.
  4. If the “Plain text” option is not checked, CHECK IT NOW.
  5. On the Preferences pane, look at the Options area.
  6. Note the following four options:

6A) “Smart copy/paste”,
6B) “Smart quotes”,
6C) “Smart dashes”,
6D) “Smart links”
7) If any of these are checked, UN-CHECK THEM.
8) Do not accidentally click the large “Restore All Defaults” button.
9) There is no “Save Preferences” button.
10) Quit TextEdit now. Your changes to preferences will be saved automatically when you quit.

What those “Smart…” features do also has a high likelihood of changing characters within your textfiles.
For example, something like an ordinary dash character ( “-” ) can wind up being changed without your knowledge to this one instead ( “–” ).

Even though both of those types of dashes look mainly identical to each other in a human-readable way, there IS a machine-readable difference between those two that could cause the game to fail when it tries to read any file with such altered characters in it.

Also, straight quotes (the " character) can likewise be changed and accidentally saved as curly quotes (the “ character); that’s another potential point of failure via TextEdit’s “Smart…” features. That’s why we’re turning all of those off which relate to TextEdit’s ability to automatically change characters.

After making the indicated changes to TextEdit’s preferences, you may possibly have to manually re-type all of your text files for your mod – re-typing every single dash and quotation mark – and then re-save all those files with your newly-modified version of TextEdit. If you have to do this, then make certain that you do not overlook any text files.

Again, I am not promising that this is the source of the error!
However, I have run into this same problem with Mac ports of some other games that were developed on the Windows platform, and which also happened to be extremely strict about proper syntax, AND which I had also used TextEdit for modding purposes in those games.

Good luck and good hunting!

This helps a lot, thanks.
I’ve already found a bit of wrong quoting commas in the main mission file with Sublime Text, so I guess I’ll have to fix all of them this way.
I also set up TextEdit the way you told me, so that it shouldn’t give problems in the future.

I’ll let you know as soon as I’m done.

Update

I’ve re-written all files, and still I didn’t work out the mess.
I’ll upload here all of the files I have (including flags), so that anyone can have a look and possibly fix them.

mediafire.com/download/b75wg … SR+mod.zip

The path in your text file is wrong - that’s why you can’t test it. The text file has to be put into data/mods and the path needs to be the name of the folder (might need to take out the space, though…).

I was aware of it - I just put it there in the archive because I was too lazy to create all of the folders when the main issues are all in the other files.

I won’t work on it at least until September, so if anyone wants to carry it on please do it, the files are free.

Are you still working on this mod?

this mod crashed. : (