QuantiCode games • View topic - Read-only filesystem

QuantiCode games

Zero Ballistics, Full Metal Soccer

Skip to content

Read-only filesystem

Post any problems related to the beta version of Zero Ballistics

Moderators: Michael, Bernhard, Christian

Read-only filesystem

Postby RazZziel on 29 Mar 2013, 18:01

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/
RazZziel
 
Posts: 1
Joined: 29 Mar 2013, 17:49
Location: asdfasdf

Re: Read-only filesystem

Postby Michael on 02 Apr 2013, 19:45

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
Michael
Developer
 
Posts: 204
Joined: 29 Mar 2008, 17:19

Re: Read-only filesystem

Postby Essola on 17 Aug 2015, 12:57

The time is a testament to the good work.
Essola
 
Posts: 2
Joined: 17 Aug 2015, 12:39
Location: Canada

Re: Read-only filesystem

Postby slansin on 05 Dec 2017, 13:08

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.
slansin
 
Posts: 1
Joined: 05 Dec 2017, 13:05
Location: new york

Re: Read-only filesystem

Postby gedup on 30 Jun 2018, 11:20

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.
gedup
 
Posts: 1
Joined: 30 Jun 2018, 11:20
Location: svdfve


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest


cron