betostafe / castlesand

Automatically exported from code.google.com/p/castlesand
0 stars 0 forks source link

Cant find Crash log Files #52

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Play until crash warning appears.

What is the expected output? What do you see instead?
Popup says that there will be crash log in KaM Remake/Crash... but there is no 
such folder and also no crashlog files.

What version of the product are you using? On what operating system?
kam_remake_full_r2411.exe, Windows Vista

Original issue reported on code.google.com by neverous@neverous.info on 1 Nov 2011 at 10:51

GoogleCodeExporter commented 9 years ago
This is possibly because you have installed in Program Files under Windows Vita 
or 7. I've had reports from other users that Windows does not let you or our 
application create files there under some permission setups. Can you try 
installing the Remake somewhere else and seeing whether it creates the files? 
And please make sure you have permissions to create folders/files in the 
installation directory otherwise our game won't be able to either.

Another question: Can you see save files under the folder "Saves"?

I think we might have to recommend against installing in Program Files and make 
the default be somewhere else, but more research is needed.

Original comment by lewinjh@gmail.com on 2 Nov 2011 at 12:31

GoogleCodeExporter commented 9 years ago
"Saves" in KaM directory? I don't see such folder.

In case that Windows blocks creating files under Program Files etc. - what 
about saving files/saves/logs into My Documents(/KaM or something like that) 
folder(i think there are normally no such restrictions in this folder)? 

Original comment by neverous@neverous.info on 2 Nov 2011 at 9:45

GoogleCodeExporter commented 9 years ago
I think that it would be a good idea to restructure the User Appdata files a 
bit.

Please read http://delphi.about.com/od/kbwinshell/a/SHGetFolderPath.htm
using this information I would think:

A logical place for setting a flag if the original KaM was found (to allow the 
KaM Remake to run) would be in CSIDL_COMMON_APPDATA, since this something that 
should be shared with all users on the computer.

A logical place for storing campaign progress, savegames, replays, crashdata 
etc would be in CSIDL_LOCAL_APPDATA, since this data would be user-specific.

Screenshots should be stored in a sub-directory of CSIDL_PERSONAL.

Original comment by maarten....@gmail.com on 16 Apr 2014 at 8:54

GoogleCodeExporter commented 9 years ago
New in the todo was now added: "File transfers needs to not overwrite the 
original maps in some way (folder for downloaded maps separate from "official" 
ones?)"

This is also related to this. Official Maps should be stored in the KaM 
Application's directory itself. Downloaded maps should/could be placed in 
CSIDL_LOCAL_APPDATA

Then the official maps would never be overwritten.

Original comment by maarten....@gmail.com on 22 Apr 2014 at 1:40

GoogleCodeExporter commented 9 years ago
All that CSIDL might make it more confusing in the end. 

Original comment by kromster80@gmail.com on 22 Apr 2014 at 2:07

GoogleCodeExporter commented 9 years ago
Well, it might be indeed more practical/easy to store evertying just in one 
folder per user (like LOCAL_APPDATA).
But writing to the directory with the application's executable is a big no-no. 
(It is not safe to assume the user can write to that directory)

Original comment by maarten....@gmail.com on 22 Apr 2014 at 2:09