[Linux] Linux version crash

Bug:
in the linux version, game crashes when the player advances to a new office at the ‘1M’ goal.
Black screen, a loading bar. and a popup window with title ‘javascript’ and the message ‘object event’ turns up.

java :
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.3) (6b24-1.11.3-1ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

kernel:
3.2.0-24-generic

chromium version:
Chromium 18.0.1025.168 Ubuntu 12.04

I, too, get this error. I am not sure if this has anything to do with it but in the terminal it spams a bunch of errors when the game is loading, before the start screen. Here are some of them:

[3129:0429/131823:ERROR:browser_main_loop.cc(159)] GTK theme error: Unable to locate theme engine in module_path: “murrine”,
[3129:0429/131823:ERROR:browser_main_loop.cc(159)] GTK theme error: Unable to locate theme engine in module_path: “pixmap”,
[3147:0429/131824:ERROR:renderer_main.cc(179)] Running without renderer sandbox

Same here.

Ubuntu 12.10
3.5.0-25-generic #39-Ubuntu SMP (x86_64)
Chromium 25.0 (also with latest chrome from google)
Java: OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

Forgot, game version: 1.3.1
No sound,
32bit libs installed

See also [Linux] Error when moving to new location and [Linux] Inifite loading bar

Sorry for that!
Solution: rename images/superb/level2Desk.png to images/superb/level2desk.png
We will make an update as soon as possible.

1 Like

Where is the images folder located? It wanted me to add something else to the reply(I deleted a thread reply and made a reply to you instead)

eh ? there are no directories with the linux version. just these files:

-rwxrwxr-x 1 fierman fierman 160117881 Apr 27 20:50 gamedevtycoon

-rw-rw-r-- 1 fierman fierman 2047236 Apr 22 05:37 libffmpegsumo.so

-rw-rw-r-- 1 fierman fierman 65413728 Apr 22 05:37 nw

-rw-rw-r-- 1 fierman fierman 4069191 Apr 22 05:37 nw.pak

fierman@deepthought:~/games/gamedevtycoon$ file gamedevtycoon
gamedevtycoon: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, BuildID[sha1]=0x6869c8c79acde7e983a0283b1f1fdc6402e21e92, stripped

fierman@deepthought:~/games/gamedevtycoon$ file libffmpegsumo.so
libffmpegsumo.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=0x10d66282a0075f78be99883d3d4934afd45a8b43, not stripped

fierman@deepthought:~/games/gamedevtycoon$ file nw
nw: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, BuildID[sha1]=0x6869c8c79acde7e983a0283b1f1fdc6402e21e92, stripped

fierman@deepthought:~/games/gamedevtycoon$ file nw.pak
nw.pak: X11 SNF font data, LSB first

When the game starts the contents are unpacked.
Start the game
Ctrl-Alt-F1 to go to the console.
login
ps ax | grep gamedev | grep working-directory
see where the working directory is
cd
mv images/superb/level2Desk.png images/superb/level2desk.png
Ctrl-Alt-F7 to return to the game

2 Likes

Thanks a lot for helping!

thanks :slight_smile:
that helps for a temporary workaround indeed.

It works, thank you.

I’m baffled, because the working directory pointed to is nonexistent(?). So I’m not sure how to proceed with correctly locating the image file.

the working directory in /tmp/ is cleaned up as soon as you stop the game. That’s why you have to rename the file while the game is still running. (so yes, that is also why this is a temporary workaround)

I get that, but I’m not even seeing the /tmp/ subdirectory while the game is running.

It is a hidden file, you may need to enable viewing of hidden files.

That might be because the directory is hidden. do an ls -la on /tmp , you will see a bunch of .org.chromium.Chromium.*** directories. One of these is your current working dir.

Holy hell, that was it. Thanks for helping me stumble to the solution, everyone. I appreciate it!

Aloha to all.

I wrote a tiny script, that would do the manual fix for you.

I wrote it under Ubuntu Linux 12.04 but it should work on ALL Linuxes.
Python runs under Mac OS X too, but I cant test it.

Thanks for the script. It generates an error for me though: (Ubuntu 13.04)

$./gameDevTycoonFixer.py 
./gameDevTycoonFixer.py: Zeile 4: Syntaxfehler beim unerwarteten Wort `newline'
./gameDevTycoonFixer.py: Zeile 4: `<!DOCTYPE html>'
$

What can i do to fix this? Best regards!

Maybe easier to check Bugs in the Linux version for further help on this and the problems mentioned in that thread

@haukew you can either try the shell script I posted or the workaround jon posted in that thread