Jump to content
  • 0

PZ through Steam, on Linux not working


snipertyler

Question

So for me pz doesn't work with 64bit linux mint through the steam download.

 

I get a immediate crash when loading. Same with compatibility mode.

I ran the projectzomboid.sh in ~/.local/share/Steam/SteamApps/common/ProjectZomboid
to grab any terminal output. Here's what I got:

$ bash projectzomboid.sh net.puppygames.steam.SteamException: Can't load native libraries	at net.puppygames.steam.SteamAPI.create(SteamAPI.java:76)	at net.puppygames.steam.Steam.create(Steam.java:40)	at net.puppygames.steam.Steam.init(Steam.java:64)	at zombie.core.Core.init(Core.java:1378)	at zombie.GameWindow.init(GameWindow.java:1341)	at zombie.GameWindow.maina(GameWindow.java:887)	at zombie.gameStates.MainScreenState.main(MainScreenState.java:98)AL lib: (EE) alc_cleanup: 1 device not closed

this doesn't *look* similar to the xinitthreads problems

 

I'll try installing 32bit java as recommended in the morning and see if that fixes it..

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

It's working for me too (native 32-bit).

Apparently the XInitThread call has not been yet incorporated into the core game, since checking multi-core option and restarting the game causes it to crash with known output (then have to remove options.bin in ~/Zomboid/ to reset multi-core option to no).

Will see if the fix still works - why the hell not ?

EDIT : worKing

http://theindiestone.com/forums/index.php/topic/1044-damn-you-linuxjava/

http://theindiestone.com/forums/index.php/topic/1156-pz-source-code-spelunking-debugging-and-decompiling/

Link to comment
Share on other sites

It's working for me too (native 32-bit).

Apparently the XInitThread call has not been yet incorporated into the core game, since checking multi-core option and restarting the game causes it to crash with known output (then have to remove options.bin in ~/Zomboid/ to reset multi-core option to no).

Will see if the fix still works - why the hell not ?

EDIT : worKing

http://theindiestone.com/forums/index.php/topic/1044-damn-you-linuxjava/

http://theindiestone.com/forums/index.php/topic/1156-pz-source-code-spelunking-debugging-and-decompiling/

Yep, still not integrated, but lemmy said it'll go in soon. :)

Link to comment
Share on other sites

For me java has never been simple on linux..

I downloaded and extracted the "official" 32bit java edition

Now how to get steam to run pz using this edition?

I listed what I tried below... no success.

 

I modified the projectzomboid.sh file and prepended

alias java="/usr/share/java/jre1.7.0_25/bin/java"

$ java -version
java version "1.7.0_25"
Java SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot Server VM (build 23.25-b01, mixed mode)

Link to comment
Share on other sites

Aricane wrote this : http://theindiestone.com/forums/index.php/topic/1507-how-i-run-pz-through-steam-on-ubuntu-1204-64bit/#entry22463 (relevant considering your issue ?)

If you would like to avoid apt-getting the 32bit version, you'll be fine downloading jdk 32bit from Oracle and putting it inside /opt/

 

1. Download latest jdk here http://www.oracle.com/technetwork/java/javase/downloads/index.html

2. untar and rename to /opt/jdk

3. Open your ~/Steam/SteamApps/common/ProjectZomboid/projectzomboid.sh with a text editor that makes you happy.

4. On line 7 put in

 

export JAVA_HOME="/opt/jdk"export PATH=$JAVA_HOME/bin:$PATH
5. Use the liblwjgl files attached in OP
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...