Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
"Unable to create directory" message in the launcher #719
What is wrong
I downloaded the latest JA2S for Win, installed it, and ran the launcher to set the data directory and resolution. Then I ran the game from the launcher and got this:
Apparently, the game does not run.
There is no tmp folder at the above path. Creating it manually does not help. There is, however, the json file in the /JA2 with the settings I entered in the launcher. The data_dir points to the folder where JA2 is installed (not to the Data folder).
The %userprofile% contains some Russian symbols. I tried to change the temp/tmp environment vars systemwide to something ASCII-only, but to no avail. The launcher still looks for the old path.
The original version of the game starts ok.
Also, for some reason the date stamp in the error log displays May, not June.
@selaux No problem, I've waited like 15 years already, so a couple of weeks is nothing :)
Here is what I get with 0.15.1:
This means "The system cannot find the specified path".
Here are the contents of the JA2.ini:
Apparently, the path is correct, the original game is installed where the path says, and there is the Data folder in it with all the files within.
The console reports the following before the exception occurs:
Symbols in the user profile name is my user name in Russian. It does not display in the consolde due to some charset issues I guess.
After I close the message, the JA2.ini is then gets edited automatically with some placeholder path inserted into the data_dir parameter. I suppose this means, the program actually CAN open the configuration file despite what the warning says.
I debugged a little this morning, could reproduce it by returning a static path
A little bit of technical detail: I can get the correct