I figured out how to run pz in the latest steam release for Linux 64bit using Mint 15, I posted my instructions below.
I'm not sure of the version, but in the bottom right I see '17 (0014)'
_____________________________
In the latest steam release, pz for linux does not boot. I ran my lwjgl command but there was still no result.
I ran the program directly in terminal and got this:
./projectzomboid.sh: line 11: cd: ../projectzomboid: No such file or directoryError: Could not find or load main class zombie.gameStates.MainScreenState
Now, the first error has occurred in the past and didn't affect the game.
However, it does now, so we need to fix it.
I don't know if you recognize this though, but .. is a way of saying in bash (linux) to go down one directory.
For example, at ~/Music/indie if you ran cd ../rock you would go from ~/Music/indie --> ~/Music --> ~/Music/rock
Relating to our script, doing the exact opposite of what our developers want!
So how to fix?
Edit the file projectzomboid.sh at ~/.local/share/Steam/SteamApps/common/ProjectZomboid
In the line that contains this (INSTDIR one):
GAMEDIR="${HOME}/.project_zomboid_2.9.9.17"LOGFILE="${GAMEDIR}/${SCRIPT}.log"--> INSTDIR="`dirname $0`"./projectzomboid ; cd "${INSTDIR}" ; INSTDIR="`pwd`"
Delete the last line and add this:
cd `dirname $0`if [ ! -d projectzomboid ]; then INSTDIR=`pwd` else INSTDIR="$(cd "projectzomboid"; pwd)"; cd $INSTDIRfi
If you're wondering why do a if test, you can do the same thing in the projectzomboid.sh file inside ProjectZomboid/projectzomboid/ and won't screw up the script (as the orginal code did)
Question
snipertyler
I figured out how to run pz in the latest steam release for Linux 64bit using Mint 15, I posted my instructions below.
I'm not sure of the version, but in the bottom right I see '17 (0014)'
_____________________________
In the latest steam release, pz for linux does not boot. I ran my lwjgl command but there was still no result.
I ran the program directly in terminal and got this:
Now, the first error has occurred in the past and didn't affect the game.
However, it does now, so we need to fix it.
I don't know if you recognize this though, but .. is a way of saying in bash (linux) to go down one directory.
For example, at ~/Music/indie if you ran cd ../rock you would go from ~/Music/indie --> ~/Music --> ~/Music/rock
Relating to our script, doing the exact opposite of what our developers want!
So how to fix?
Edit the file projectzomboid.sh at ~/.local/share/Steam/SteamApps/common/ProjectZomboid
In the line that contains this (INSTDIR one):
Delete the last line and add this:
so that it looks like this:
If you're wondering why do a if test, you can do the same thing in the projectzomboid.sh file inside ProjectZomboid/projectzomboid/ and won't screw up the script (as the orginal code did)
Might be helpful to dev's...
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now