SEModCommunity / SE-Community-Mod-API

Space Engineers Community Modding API
GNU Lesser General Public License v3.0
60 stars 47 forks source link

Gamepath & instance path - crashes tool with \ on end #95

Closed Ragonz2 closed 10 years ago

Ragonz2 commented 10 years ago

When starting the tool in nogui noconsole mode if you put in the gamepath and instance path with a \ on the end example

Gamepath="C:\Dir\Dir\123\" Instance="C:\Dir\Dir\123\"

It crashes the tool, removing the trailing \ allows it to work fine

chessmaster42 commented 10 years ago

First, instance is a relative path and won't work as expected if you define it as an absolute path. You need to precede it with "../../" to move the relative path up out of the default ProgramData/SpaceEngineersDedicated/ path.

Second does it crash if either of those have a trailing slash or only if a certain one does? We have made some fixes to the way gamepath is detected and used so please try on the latest dev build and let me know if it is any better.

chessmaster42 commented 10 years ago

Is there any update on this? Does this still happen with the latest production release? Please supply more details and re-test on the latest build.

Ragonz2 commented 10 years ago

Confirmed resolved