Posted October 30, 2018
I launch the game this way:
CACHEDIR=~/.spel-data/home/Zomboid HOME=~/.spel-data/home ~/.spel-data/GOG\ Games/Project\ Zomboid/start.sh -cachedir=~/.spel-data/home/Zomboid
I get this error:
Running Project Zomboid
64-bit java detected
java.io.FileNotFoundException: /home/me/Zomboid/console.txt (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:110)
at zombie.gameStates.MainScreenState.main(MainScreenState.java:110)
Exception in thread "main" java.lang.ExceptionInInitializerError
at zombie.gameStates.MainScreenState.main(MainScreenState.java:129)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(LinuxDisplay.java:951)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:738)
at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
... 1 more
~/Zomboid is read only but it shouldn't affect startup.
CACHEDIR=~/.spel-data/home/Zomboid HOME=~/.spel-data/home ~/.spel-data/GOG\ Games/Project\ Zomboid/start.sh -cachedir=~/.spel-data/home/Zomboid
I get this error:
Running Project Zomboid
64-bit java detected
java.io.FileNotFoundException: /home/me/Zomboid/console.txt (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:110)
at zombie.gameStates.MainScreenState.main(MainScreenState.java:110)
Exception in thread "main" java.lang.ExceptionInInitializerError
at zombie.gameStates.MainScreenState.main(MainScreenState.java:129)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(LinuxDisplay.java:951)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:738)
at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
... 1 more
~/Zomboid is read only but it shouldn't affect startup.
This question / problem has been solved by EnigmaGrey