Logo Platform
logo amplifiers simplified

[Solved 1.036] Cannot save a game

Copied to clipboard!
7 years ago
Jul 5, 2017, 6:39:27 PM

Could you upload your The Diagnostics file ?


It's In the "%My Documents%/Endless Space 2/Temporary Files" Folder

Diagnostics - [Time&Date].html of the game when it did not save (there are ten of these files so make sure to get the right one, the time and date in the file name describe when the game was launched)

0Send private message
7 years ago
Jul 5, 2017, 7:07:02 PM

https://www.dropbox.com/s/ol7qjhssrcw5lht/Diagnostics%20-%202017%2707%2705%20%402202%2718%27%27.html?dl=0


The above is the dropbox link from a game i run until round 5 and saved with name TutorialSave. (no need to mention that it didnt work)

0Send private message
7 years ago
Jul 5, 2017, 7:43:29 PM

I've looked at the diagnostics and what sticks out is "Access to the path is denied" which appears five times

With the stack of 

System.IO.File:Move(System.Reflection.ParameterInfo, System.Reflection.ParameterInfo) ArchiveJob:Run()

Does the game autosave ? It should each turn (They only appear in the load game menu) And can you load them ? Can you use Quicksave (Ctrl+F5)? and Quickload (Ctrl+F9)


With the error it would look like it does not have the privilage to save the file or maybe not load something correctly its hard to tell when it doesn't give details.


I'm not sure whats causing this, I can think of something you could try.




NOTE: Only do the following if you feel you know what your doing 


First step is to get Process Monitor : Link

Next Launch it, and press Ctrl+E to pause capture (there should be an X on the magnifying glass)

Then Launch Endless Space 2

Then go back to Process Monitor Click and hold the Aim Icon to the right of Highlight and drag it over the ES2 Window and release 

Then press Ctrl+E and Process Monitor should fill up with ES2 Stuff

Next press Ctrl+L and add [Result] [is not] [SUCCESS] then [Include] and press ok

Then click the icons on the right of the Process Monitor tool bar so only file system activity is included (Ignore this for now)


after things show up save the file and upload it, You will have some RegOpenKey opertaions show up if they are about HKCU\Software\Classes\MediaFoundation they are fine


After all this is done it should show what is not being accessed and can leed on to how it can be fixed




Updated 7 years ago.
0Send private message
7 years ago
Jul 5, 2017, 7:58:24 PM

Thanks for the replies. These steps might take a while. This is my development pc and i dont install programs i dont know. I ll have to research the one you suggested (its from microsoft so it can be trusted) and follow the above steps. Still though, i bought a game , i find it wierd that i have to debugg it. Im not in the dev team :)


Access path is denied will most probably mean that it tries to do things it shouldn't. Since the files are already created and all "legal" priviledges given to the application. I can assume that it's a game bug.


This reminds me of a CRAP ERP i was working (as a user) and all antiviruses were seeing it as a virus. Ah good times.

0Send private message
7 years ago
Jul 5, 2017, 8:14:45 PM

It's a Portable Executable so not installation required but it does require administrator privliages.

It's part of the Sysinternals suite which is a great set of tools.


It might be trying to do something it needs to but due to an external factor it can't e.g. Special or accented characters in a file path can cause a program to go looking for a non-existent folder

0Send private message
7 years ago
Jul 6, 2017, 8:24:26 AM

Jesus Christ is this normal? So many errors. So many buffer overflows / name collitions / name not found / no such file errors. I wonder if this game is even tested. Anyway. 


Lets begin. 

- First i want to thank you again for this nice little program (although in this little time i barely scratched the surface). 

- The game autosaves but they dont show in the load list, only in the folder. Thus i cant load them

- Ctrl+f5 creates a file in the save directory but still i cant see in the load list

- ctrl+f9 doesnt seem to work in game.


- I cant understand all these things so to speed things up i will give the following dropbox link showing what happens when i click save. Im sure you can analyze it better than me. 

  https://www.dropbox.com/s/ly5syg26bhvnrku/debugging%20endless%20space2.png?dl=0


- I am also showing my save folder. I forgot to ask earlier: are these names as they are supposed to?

  https://www.dropbox.com/s/9h4npjblhb9m177/save%20folder.png?dl=0



0Send private message
7 years ago
Jul 5, 2017, 5:11:44 PM

I bought the game yesterday. I started the tutorial and tried to save from round 1 to round 20. Each time i tried the game didnt save. After clicking on the text box to give the save a new name i wasnt able to see it either on the save list or on the load list. IF i cant see my saved game on the load list how am i supposed to load it in the future?:)


The steps i tried:


1. did a win10 update
2. did a geforce driver update
3. added the game folder and files as an exception to the AVG antivirus/internet security. Also tested with antivirus disabled.
4. checked to see if windows 10 defender has Endless Space 2 in the "Allowed Apps" section.
5. run the game with admin priviledges and with win 7 compat settings. Also tried every possible combination in case something is wrong with file priviledges

6. checked the Documents folder for the right priviledges.
7. tried renaming save files


Nothing worked. I still cant save the game.


I have to mention that by checking the save  folder i saw several files with the names i choose when i was trying to save the game. Still those dont appear in game. Need your help.

Updated 7 years ago.
0Send private message
7 years ago
Jul 6, 2017, 9:46:24 AM
Redeemer wrote:

Jesus Christ is this normal? So many errors. So many buffer overflows / name collitions / name not found / no such file errors. I wonder if this game is even tested. Anyway. 

When I was trying this out all I ever got was RegOpenKey operations failing, due to it looking for a number of keys and some not exsisting, which is expected really. But the level of error your getting is very suprising, not normal at all.


- I cant understand all these things so to speed things up i will give the following dropbox link showing what happens when i click save. Im sure you can analyze it better than me. 

  https://www.dropbox.com/s/ly5syg26bhvnrku/debugging%20endless%20space2.png?dl=0

As I can't see all the infomation from the screenshot (I need to see the full path) could you save the log file (Ctrl+S) with the settings [Events displayed under the current filter] [Also include profiling events] [PML] and then upload the .PML file 


- I am also showing my save folder. I forgot to ask earlier: are these names as they are supposed to?

  https://www.dropbox.com/s/9h4npjblhb9m177/save%20folder.png?dl=0

Well this shows the problem The .TMP file is as it sounds like, temporary. Its made while the game is saving and is then converted into a .zip file, Try renaming then to .zip's and see if they load. But it seems to be akin to a permissions issue which is odd, Does it give the same errors when ran as administrator ? 


Updated 7 years ago.
0Send private message
7 years ago
Jul 6, 2017, 9:59:39 AM

Here is the log you requested https://www.dropbox.com/s/ifgl927i57u4hzy/Logfile.PML?dl=0

I open the game, run new game->tutorial and tried to save at round 1. Then i exit .


0Send private message
7 years ago
Jul 6, 2017, 10:37:37 AM

I've looked at a bit of the log many of the byffer overflows are fine. It's just the program is asking for data but does not know the length of it. it starts with a small buffer but sometimes thats too small a buffer overflow happens and the progam reissues the request with a now correct buffer size. it's not erroneous overwriting of data.


I don't like the look of the errors its having with ddraw.dll/d3d9.dll/d3d.dll/opengl32.dll Something is going on your computer but i'm not sure what; maybe a required service is stopped, or ES2 or it's depedancys are not installed correctly.


Have you tried renaming the .tmp files to .zip and see if they load. 

Does it give the same errors when ran as administrator ? 

0Send private message
7 years ago
Jul 6, 2017, 10:55:50 AM

If a required service was stopped i would have the same problem to at least 1 other game. And i have more than 50 installed :) As for ES2 dependencies well the game was installed from steam so i can't do much for it. I did a check via steam for the game files and it completed successfully.


Im always running the game with admin priviledges since I begun the tests. 


Also changing file extension from .tmp to .zip seems to make the file available in save/load list. And here we go:

- I tested another 3-4 rounds (limited sample) and it seems that so far it works. Will continue testing.

- Furthermore i can't override the (renamed) save. When i try nothing happens. So every time i 'll have to pick another name. 

- Also i cannot delete save files from in game. It simple doesnt work. I choose cancel and im redirected to the previous list. 


At least now i can see the game. Hopefully there are no more bugs down the line and hopefully they will fix the current ones soon. 


Are you a developer in Endless Space 2? Im new to this games2together thing and i cant tell by the icon. 

Updated 7 years ago.
0Send private message
7 years ago
Jul 6, 2017, 11:01:00 AM

If there was a problem with my pc i would give you, or any other interested, any diagnostics you need to find out what the problem is. But i have hundrends of programs and tens of games installed. Not a single one has a problem.


This is the only game - program - app that behaves so wierd letting me believe that it is still too fresh and needs more development time. 

0Send private message
7 years ago
Jul 6, 2017, 11:04:47 AM
Redeemer wrote:

As for ES2 dependencies well the game was installed from steam so i can't do much for it.

Some ES2 dependencies can be found in C:\Program Files (x86)\Steam\steamapps\common\Endless Space 2\_CommonRedist if you want to try reinstalling them, may help, probably won't but it's unlikely to do any harm.



Also changing file extension from .tmp to .zip seems to make the file available in save/load list. And here we go:

- I tested another 3-4 rounds (limited sample) and it seems that so far it works. Will continue testing.

- Furthermore i can't override the (renamed) save. When i try nothing happens. So every time i 'll have to pick another name. 

- Also i cannot delete save files from in game. It simple doesnt work. I choose cancel and im redirected to the previous list. 

It's good your atleast able to play now. it seems something is stoping the game from making changes to files in the save directory but not making new files, so thats odd. but I can't think of how to solve it.


Are you a developer in Endless Space 2? Im new to these games2together thing and i cant tell by the icon. 

I'm not a dev, just an active user. Dev's have a little [DEV] Tag by their name

0Send private message
7 years ago
Jul 6, 2017, 11:07:59 AM

You rock. Many many thanks mate. You already spent quite some time to my issue. /respect


I' ll keep this open in case something needs to be added in the future.

0Send private message
Comment