Empty destination directory

Technical support for the Linux and Mac platforms for all Trine games.
kallux
Posts: 6
Joined: Wed Jul 18, 2012 12:07 pm

Empty destination directory

Postby kallux » Wed Jul 18, 2012 12:13 pm

Hi there,

I just bought your fantastic game and was looking forward to playing it on my linux box.
So I downloaded the file and ran it at first just as a user and it ran fine.
When I checked the destination directory the installer suggested (home-dir/Trine2) it was empty.

I then tried running the installer with sudo.
It installed some libraries but the game directory was still empty.

What am I missing?

Thanks a bunch,
kallux

PS: You guys are soo awesome for relieasing a native linux version! Thank you so much!

User avatar
FB_JussiE
Posts: 267
Joined: Wed Nov 23, 2011 4:09 pm
Location: Finland
Contact:

Re: Empty destination directory

Postby FB_JussiE » Wed Jul 18, 2012 1:06 pm

Hello kallux!

Sorry to hear you're having problems with the game.

When you've ran the installer it should say in the terminal how many bytes it has copied (this should be around 1.6 gigs), what does it say?

The installer seems to be able to create the directory, and as it is in your home dir there really shouldn't be any issues with permissions (apart for executing the script, but that doesent seem to be issue either).

You could also try to re-download the installer in case something got corrupted on the way.

kallux
Posts: 6
Joined: Wed Jul 18, 2012 12:07 pm

Empty destination directory now not starting game

Postby kallux » Wed Jul 18, 2012 8:57 pm

Hi,

thank you very much for the quick reply!
It is strange indeed. I did an md5check on the file and it checked out just fine but I did as you told me and downloaded the file once again.
Strangely I hat the same behaviour.

During installation I see the decompression status bar which stays at 0% and after a second or two the installer says that it's finished.
Even stranger is the fact that just for the fun of it I tried installing it three times in a row and it seems three is a charm! It unpacked!

Now however I am facing a different problem:
It won't start. :(

I start it by running " ./trine.sh " in the game's directory and it brings up a starter screen.
When I push "Start Trine 2" just ... nothing happens... :(
No error, no message, nothing.

I made sure all the libraries you asked for in the readme are installed (at least I hope so :) ).

Where's the mistake?

Thanks again very much and best regards,
Kallux

PS: I forgot to mention that I am running fedora16

User avatar
FB_JussiE
Posts: 267
Joined: Wed Nov 23, 2011 4:09 pm
Location: Finland
Contact:

Re: Empty destination directory

Postby FB_JussiE » Thu Jul 19, 2012 8:01 am

Hello again

Check that the game actually finds all the libraries needed.
Open up termianl and go to the directory where you installed Trine 2.

There type
"export LD_LIBRARY_PATH=./lib/lib32"
and
"ldd ./bin/trine2_linux_32bit"

Check the output if there's any lines that say "=> not found" or if there's mentions of "mesa" then the issue is with your graphics drivers (possibly 32-bit version missing if you're running 64bit version of Fedora)

kallux
Posts: 6
Joined: Wed Jul 18, 2012 12:07 pm

Re: Empty destination directory

Postby kallux » Thu Jul 26, 2012 10:12 pm

FB_JussiE wrote:Hello again

Check that the game actually finds all the libraries needed.
Open up termianl and go to the directory where you installed Trine 2.

There type
"export LD_LIBRARY_PATH=./lib/lib32"
and
"ldd ./bin/trine2_linux_32bit"

Check the output if there's any lines that say "=> not found" or if there's mentions of "mesa" then the issue is with your graphics drivers (possibly 32-bit version missing if you're running 64bit version of Fedora)



Hi and thank you again so much for your quick reply. Sorry it took me so long to answer.

However, here's the command's output. There's nothing of mesa or "not found" that I can see. I have the proprietary nvidia-driver installed.

I hope this is of any use:

Code: Select all

   linux-gate.so.1 =>  (0xf77bf000)
   libz.so.1 => /lib/libz.so.1 (0x41566000)
   libSDL-1.3.so.0 => ./lib/lib32/libSDL-1.3.so.0 (0xf76aa000)
   libGLU.so.1 => /usr/lib/libGLU.so.1 (0xf7635000)
   libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x41856000)
   libCg.so => ./lib/lib32/libCg.so (0xf6d54000)
   libCgGL.so => ./lib/lib32/libCgGL.so (0xf6ce7000)
   libopenal.so.1 => /usr/lib/libopenal.so.1 (0xf6c95000)
   libogg.so.0 => /usr/lib/libogg.so.0 (0xf6c8d000)
   libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xf6c61000)
   libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xf6c56000)
   libdl.so.2 => /lib/libdl.so.2 (0x41230000)
   libpthread.so.0 => /lib/libpthread.so.0 (0x41213000)
   libGL.so.1 => /usr/lib/libGL.so.1 (0xf6bce000)
   libasound.so.2 => /lib/libasound.so.2 (0xf6ad7000)
   libPhysXLoader.so.1 => ./lib/lib32/libPhysXLoader.so.1 (0xf6ac6000)
   libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf69da000)
   libm.so.6 => /lib/libm.so.6 (0x413cf000)
   libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x415f7000)
   libc.so.6 => /lib/libc.so.6 (0x41063000)
   librt.so.1 => /lib/librt.so.1 (0x41237000)
   /lib/ld-linux.so.2 (0x4103e000)
   libX11.so.6 => /usr/lib/libX11.so.6 (0x41677000)
   libXext.so.6 => /usr/lib/libXext.so.6 (0x41e58000)
   libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x41f65000)
   libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x41e81000)
   libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xf69d4000)
   libdrm.so.2 => /usr/lib/libdrm.so.2 (0xf69c7000)
   libxcb.so.1 => /usr/lib/libxcb.so.1 (0x41836000)
   libXau.so.6 => /usr/lib/libXau.so.6 (0x41672000)
   linux-gate.so.1 =>  (0xf7761000)
   libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x418f5000)
   libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x41f79000)
   libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x41e88000)
   libgio-2.0.so.0 => /lib/libgio-2.0.so.0 (0x4141e000)
   libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x41642000)
   libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x415d1000)
   libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x417b2000)
   libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x41856000)
   libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x4159b000)
   libgobject-2.0.so.0 => /lib/libgobject-2.0.so.0 (0x41376000)
   libgmodule-2.0.so.0 => /lib/libgmodule-2.0.so.0 (0x41367000)
   libgthread-2.0.so.0 => /lib/libgthread-2.0.so.0 (0x4136e000)
   librt.so.1 => /lib/librt.so.1 (0x41237000)
   libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x41243000)
   libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x41f6a000)
   libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xf7738000)
   libSM.so.6 => /usr/lib/libSM.so.6 (0x42037000)
   libdl.so.2 => /lib/libdl.so.2 (0x41230000)
   libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf764c000)
   libm.so.6 => /lib/libm.so.6 (0x413cf000)
   libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x415f7000)
   libpthread.so.0 => /lib/libpthread.so.0 (0x41213000)
   libc.so.6 => /lib/libc.so.6 (0x41063000)
   libX11.so.6 => /usr/lib/libX11.so.6 (0x41677000)
   libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x41e72000)
   libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x41e81000)
   libcairo.so.2 => /usr/lib/libcairo.so.2 (0x41eab000)
   libXext.so.6 => /usr/lib/libXext.so.6 (0x41e58000)
   libXrender.so.1 => /usr/lib/libXrender.so.1 (0x4182a000)
   libXi.so.6 => /usr/lib/libXi.so.6 (0x41da0000)
   libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x41f6f000)
   libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x41db2000)
   libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x41e6d000)
   libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x41f65000)
   libffi.so.5 => /usr/lib/libffi.so.5 (0x413c6000)
   libz.so.1 => /lib/libz.so.1 (0x41566000)
   libselinux.so.1 => /lib/libselinux.so.1 (0x413fc000)
   libresolv.so.2 => /lib/libresolv.so.2 (0x4157e000)
   libpng12.so.0 => /usr/lib/libpng12.so.0 (0x417ff000)
   libexpat.so.1 => /lib/libexpat.so.1 (0x41616000)
   /lib/ld-linux.so.2 (0x4103e000)
   libICE.so.6 => /usr/lib/libICE.so.6 (0x420f6000)
   libuuid.so.1 => /lib/libuuid.so.1 (0x42049000)
   libxcb.so.1 => /usr/lib/libxcb.so.1 (0x41836000)
   libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x41dbe000)
   libXau.so.6 => /usr/lib/libXau.so.6 (0x41672000)


Thank you so much,
Khalid

kallux
Posts: 6
Joined: Wed Jul 18, 2012 12:07 pm

Game not running on Fedora16

Postby kallux » Thu Aug 02, 2012 1:35 am

Nothing?
No more hints?

User avatar
FB_JussiE
Posts: 267
Joined: Wed Nov 23, 2011 4:09 pm
Location: Finland
Contact:

Re: Empty destination directory

Postby FB_JussiE » Thu Aug 02, 2012 2:03 pm

Hello again and sorry for the delay!

Have you tried toggling the settings from the launcher, try disabling AA and try if fullscreen / windowed makes any difference.
If nothing seem to help can you post your system specs here and we'll try to get some ideas what could be wrong.

kallux
Posts: 6
Joined: Wed Jul 18, 2012 12:07 pm

Game not running on Fedora16

Postby kallux » Mon Aug 06, 2012 10:36 pm

Thank you again for answering. :)

I tried multiple settings in the launcher but none brought me anything.
Disabled AA, tried Medium, tried different resolutions, full screen and windowed...

As soon as I klick on "Start Trine 2" the launcher just disappears and I'm back at my desktop.

My system is as follows:

- DELL Latitude E6500
- 8GB RAM
- Core2Duo CPU P8700 @ 2.5GHz x2
- Quadro NVS GPU, 512MB, Driver Version 295.59

My OS:

Fedora 16 (3.4.6-1.fc16.x86_64)

Can I provide any other information you might need that could be of help?

Thank you again so much and best regards,
Khalid

User avatar
FB_JussiE
Posts: 267
Joined: Wed Nov 23, 2011 4:09 pm
Location: Finland
Contact:

Re: Empty destination directory

Postby FB_JussiE » Thu Aug 09, 2012 10:06 am

Hello again!

I've forwarded your issue to our coders and hopefully they can sort this out.
Sorry for the inconvenience.

User avatar
fb_jpk
Posts: 140
Joined: Thu Jun 16, 2005 8:05 pm

Re: Empty destination directory

Postby fb_jpk » Fri Aug 10, 2012 11:05 am

To get any output about the issue for debugging, you should try to launch the game manually by typing the following in a console, while in the Trine 2 installation directory:

Code: Select all

export LD_LIBRARY_PATH=./lib/lib32
bin/trine2_linux_32bit


That should probably give out some error output to the console.

If the output says "Segmentation fault", you may want to check this thread for some additional debugging info:
viewtopic.php?f=22&t=4227
or
viewtopic.php?f=17&t=4237

The most usual issues with nothing happening / crashing to segmentation fault, when trying to launch Trine 2 on Linux seem to be related to the display drivers not having the 32 bit OpenGL support installed. (And then, SDL crashing to that when it tries to create a window).

Also, to check that the installer really managed to decompress all the necessary files to the installation directory, you may want to quickly check the size of the directory. Typing "du -hs" in the console in the Trine 2 installation directory should output 1.8 Gb as the size, I think. (I can't really say what the exact installation size should be, as that depends on the version).

kallux
Posts: 6
Joined: Wed Jul 18, 2012 12:07 pm

Re: Empty destination directory

Postby kallux » Fri Aug 10, 2012 8:24 pm

OK, thanks a bunch. Game works now! :)

As was said here http://frozenbyte.com/board/viewtopic.php?f=22&t=4227 I installed some missing libraries via yum and everything worked like a charm. :)

Thank you so much for your support and especially for your effort to release games on linux! :)

Might I suggest you add this library to the Fedora Readme?

Code: Select all

 yum install xorg-x11-drv-nvidia-libs.i686


Best regards and wishes from Germany,
Khalid


Return to “Trine Technical Support for Linux & Mac”

Who is online

Users browsing this forum: No registered users and 3 guests