Page 1 of 1

Read-only filesystem

PostPosted: 29 Mar 2013, 18:01
by RazZziel
Hello,

Is there any way to make this game run on a read only filesystem on Linux? It keeps trying to write on the data directory, which makes the game practically unpackageable (i.e. see comments in https://aur.archlinux.org/packages/zero ... mments=all).

Myself, I'm trying to package the game as a AppImage. The container is a read-only, auto-executable package, which runs the game fine without installation nor unpacking, but crashes when someone shoots a gun and the game realizes it can't write in the data section.

Code: Select all
        Warning : Creating textures resource data/textures/hud/crosshair_sp.dds
        Warning : Creating models resource data/models/projectile.bbm
        Warning : Re-saving data/models/projectile.bbm as native
                ERROR : TankAppClient::handleNetwork ->
                        TankApp::handleNetwork ->
                        CreateGameObjectCmd::execute() ->
                        GameObjectVisual::setModel(projectile) ->
                        Couldn't write to file data/models/projectile.bbm
/tmp/.mount_1lNatL/AppRun: line 21:  8047 Aborted                 (core dumped) ./$BINARY $@


By the way, libjpeg.so.62 is missing from the game package fo Linux, which is not available by default in some distros, i.e. Ubuntu 12.04. I included it in my package, which is available on http://sourceforge.net/projects/pg4l/fi ... allistics/

Re: Read-only filesystem

PostPosted: 02 Apr 2013, 19:45
by Michael
Hi Razziel

First of all, thanks for your effort to make ZB a portable app image! It was not designed to run on r/o devices so i hope you can make it work.

@Issue stated above:
You could try two things, either set the "client.graphics.shader_quality" in config_client.xml to 0 or 1 and pack the respective config file (results in reduced graphics quality)

or change the code in:
ReaderWriterBbm.cpp
line 116-123 to fit your needs and recompile the executable.

kind regards,
Michael

Re: Read-only filesystem

PostPosted: 17 Aug 2015, 12:57
by Essola
The time is a testament to the good work.

Re: Read-only filesystem

PostPosted: 05 Dec 2017, 13:08
by slansin
Red-only filesystem will protect the original system from getting currupted. All latest apps like App Even are made in read only based these days.

Re: Read-only filesystem

PostPosted: 30 Jun 2018, 11:20
by gedup
File system of the reading that so much complicated to read without the magnifier mirror and to note the deeply reading. Don’t be close to the ready of best essay writer service they can the effected on the eyes.