Post new topic  Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Fri Jun 15, 2012 5:30 pm 
Offline

Joined: Fri Jun 15, 2012 5:23 pm
Posts: 23
Ok, it's very nice to offer your game with a Linux version.

Now, I'm not using Ubuntu nor Debian (and nowhere on the website was mention that only .deb was provided until I got download link).
So basically, I won't install a .deb package obviously.

Now, after extracting the content of the .deb, I should install the game in /usr/{bin,share} without using my package manager. No way I will do this.
I tried moving game content (globs and binaries) in another directory to no avail.

Apparently, you're even using relative paths (instead of absolute) and there is no option (no --help or -h) to give to the binary in order for it to find its data.

Is there any way you could do something about this for non Debian/Ubuntu users?

I really think you should provide users with .tar.gz archive and give a way not to install the game system-wide.


Top
   
PostPosted: Fri Jun 15, 2012 6:12 pm 
Offline
User avatar

Joined: Thu May 04, 2006 6:07 pm
Posts: 360
Location: http://kittylambda.com
cycyx wrote:
Ok, it's very nice to offer your game with a Linux version.

Now, I'm not using Ubuntu nor Debian (and nowhere on the website was mention that only .deb was provided until I got download link).
So basically, I won't install a .deb package obviously.

Now, after extracting the content of the .deb, I should install the game in /usr/{bin,share} without using my package manager. No way I will do this.
I tried moving game content (globs and binaries) in another directory to no avail.

Apparently, you're even using relative paths (instead of absolute) and there is no option (no --help or -h) to give to the binary in order for it to find its data.

Is there any way you could do something about this for non Debian/Ubuntu users?

I really think you should provide users with .tar.gz archive and give a way not to install the game system-wide.


Thank you! I know we've figured this out (well, sorta) in email but I wanted to put this information here in case anybody comes here with the same issues:

1. There is some issue with 64 bit linux distros. I'm not sure if this is related only to non-ubutnu or what. It is possible to install the game but I've added a note to the website and also the purchase page to this effect. Unfortunately I don't have a step-by-step to make this work, but I will try and get this ASAP as well.

2. I will put together a .tar.gz for other distros, as well as a proper 64 bit package, soon!

3. If you purchased and it won't install on your version of linux, please contact support.

Lastly, with respect to relative paths!

If you do decide to install the .deb locally, you should still be able to work. For instance, from your home folder you can create a directory structure like this:

texas/bin/therealtexas
texas/share/therealtexas/data.glob
texas/share/therealtexas/music.glob
texas/share/therealtexas/world.glob
texas/share/therealtexas/icon.png

This way the game will find the data files appropriately. The game looks for the path it is executing from and basically goes to ../share/therealtexas/ from there, so you can install it wherever you like.

I will add a flag to override this behaviour with the next linux version too, since I think that's a good idea.

Thanks for your patience. Anybody with other issues along these lines please do post here if you aren't able to get it sorted out, or contact me at support@kittylambda.com!

Calvin

_________________
o._
/_.
O O

Takin' it EASY, riding my BIKE, makin' my GAMES.
http://www.kittylambda.com


Top
   
PostPosted: Fri Jun 15, 2012 6:47 pm 
Offline

Joined: Fri Jun 15, 2012 5:23 pm
Posts: 23
Well, quick one to let you know that the game is working flawlessly on my Arch Linux 64 bits.
With 32 bits libs obviously.

If anyone needs help in order to make this game work on non Debian, I will be able to give a hand.


Top
   
PostPosted: Sat Jun 16, 2012 2:05 pm 
Offline
User avatar

Joined: Thu May 04, 2006 6:07 pm
Posts: 360
Location: http://kittylambda.com
cycyx wrote:
Well, quick one to let you know that the game is working flawlessly on my Arch Linux 64 bits.
With 32 bits libs obviously.

If anyone needs help in order to make this game work on non Debian, I will be able to give a hand.


Hey, that's good to know! What is required?

FYI, the game is static-linked with most libraries to help with compatability on linux, the only real exceptions being SDL and OpenGL. I don't have an ETA on 64 bit packages yet so actually even a quick description of what's required would be really helpful to me and possibly other people that are having the same issue.

Thank you =)

_________________
o._
/_.
O O

Takin' it EASY, riding my BIKE, makin' my GAMES.
http://www.kittylambda.com


Top
   
PostPosted: Sat Jun 16, 2012 3:04 pm 
Offline

Joined: Fri Jun 15, 2012 5:23 pm
Posts: 23
As I'm a player, I have a huge load of 32 bits libs installed (94 to be exact).
For The Real Texas, here is the ldd output (not so statically linked! :p):
Code:
ldd therealtexas
   linux-gate.so.1 =>  (0xf7724000)
   libgtk-x11-2.0.so.0 => /usr/lib32/libgtk-x11-2.0.so.0 (0xf72a0000)
   libSDL-1.2.so.0 => /usr/lib32/libSDL-1.2.so.0 (0xf7204000)
   libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf71e9000)
   libGL.so.1 => /usr/lib32/libGL.so.1 (0xf7193000)
   libGLU.so.1 => /usr/lib32/libGLU.so.1 (0xf7122000)
   libm.so.6 => /usr/lib32/libm.so.6 (0xf70f4000)
   libc.so.6 => /usr/lib32/libc.so.6 (0xf6f51000)
   /lib/ld-linux.so.2 (0xf7725000)
   libgdk-x11-2.0.so.0 => /usr/lib32/libgdk-x11-2.0.so.0 (0xf6ea2000)
   libX11.so.6 => /usr/lib32/libX11.so.6 (0xf6d6b000)
   libgdk_pixbuf-2.0.so.0 => /usr/lib32/libgdk_pixbuf-2.0.so.0 (0xf6d46000)
   libpango-1.0.so.0 => /usr/lib32/libpango-1.0.so.0 (0xf6cfc000)
   libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf6cad000)
   libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf6caa000)
   libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf6bb1000)
   libdl.so.2 => /usr/lib32/libdl.so.2 (0xf6bac000)
   libz.so.1 => /usr/lib32/libz.so.1 (0xf6b94000)
   libpangocairo-1.0.so.0 => /usr/lib32/libpangocairo-1.0.so.0 (0xf6b87000)
   libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf6b81000)
   libatk-1.0.so.0 => /usr/lib32/libatk-1.0.so.0 (0xf6b60000)
   libcairo.so.2 => /usr/lib32/libcairo.so.2 (0xf6a55000)
   libgio-2.0.so.0 => /usr/lib32/libgio-2.0.so.0 (0xf68fd000)
   libpangoft2-1.0.so.0 => /usr/lib32/libpangoft2-1.0.so.0 (0xf68ce000)
   libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf6899000)
   libgmodule-2.0.so.0 => /usr/lib32/libgmodule-2.0.so.0 (0xf6894000)
   libglapi.so.0 => /usr/lib32/libglapi.so.0 (0xf687e000)
   libXext.so.6 => /usr/lib32/libXext.so.6 (0xf686b000)
   libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0xf6867000)
   libX11-xcb.so.1 => /usr/lib32/libX11-xcb.so.1 (0xf6864000)
   libxcb-glx.so.0 => /usr/lib32/libxcb-glx.so.0 (0xf684b000)
   libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf6829000)
   libXxf86vm.so.1 => /usr/lib32/libXxf86vm.so.1 (0xf6822000)
   libdrm.so.2 => /usr/lib32/libdrm.so.2 (0xf6815000)
   libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf672d000)
   libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf6712000)
   libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf670e000)
   libXi.so.6 => /usr/lib32/libXi.so.6 (0xf66fe000)
   libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf66f4000)
   libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf66e9000)
   libXcomposite.so.1 => /usr/lib32/libXcomposite.so.1 (0xf66e5000)
   libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf66db000)
   librt.so.1 => /usr/lib32/librt.so.1 (0xf66d2000)
   libpng15.so.15 => /usr/lib32/libpng15.so.15 (0xf66a1000)
   libpcre.so.1 => /usr/lib32/libpcre.so.1 (0xf6645000)
   libffi.so.6 => /usr/lib32/libffi.so.6 (0xf663e000)
   libpixman-1.so.0 => /usr/lib32/libpixman-1.so.0 (0xf65a4000)
   libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf6508000)
   libxcb-shm.so.0 => /usr/lib32/libxcb-shm.so.0 (0xf6503000)
   libxcb-render.so.0 => /usr/lib32/libxcb-render.so.0 (0xf64f8000)
   libresolv.so.2 => /usr/lib32/libresolv.so.2 (0xf64e1000)
   libbz2.so.1.0 => /usr/lib32/libbz2.so.1.0 (0xf64d1000)
   libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf64a8000)
   libXau.so.6 => /usr/lib32/libXau.so.6 (0xf64a3000)
   libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf649c000)


Apparently, you need at least those ones:
Code:
readelf -d therealtexas | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libgtk-x11-2.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libSDL-1.2.so.0]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libGL.so.1]
 0x00000001 (NEEDED)                     Shared library: [libGLU.so.1]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x00000001 (NEEDED)                     Shared library: [ld-linux.so.2]
 0x00000001 (NEEDED)                     Shared library: [libgdk-x11-2.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libX11.so.6]
 0x00000001 (NEEDED)                     Shared library: [libgdk_pixbuf-2.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libpango-1.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libgobject-2.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libgthread-2.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libglib-2.0.so.0]
 0x00000001 (NEEDED)                     Shared library: [libdl.so.2]
 0x00000001 (NEEDED)                     Shared library: [libz.so.1]


(those are needed by the game, ldd lists libs with their own dependencies.


Top
   
PostPosted: Tue Jun 19, 2012 2:16 pm 
Offline
User avatar

Joined: Tue Jun 19, 2012 2:00 pm
Posts: 2
I also thank for supportin Linux!

Quote:
2. I will put together a .tar.gz for other distros, as well as a proper 64 bit package, soon!

Cool!

I'm on Arch Linux 64bit. (TRT 1.1-1) The options menu looks funny:
Image

I am not hearing any sound:
Code:
* audio open fatal: SDL_OpenAudio failed:
--- No available audio device

Not sure why that is. Setting SDL and OpenAL flags according to PerfectSetup doesn't help. Maybe I'm missing 32bit sound libs.
CLI output: http://codepad.org/fsTROAZ6


Top
   
PostPosted: Tue Jun 19, 2012 2:48 pm 
Offline

Joined: Fri Jun 15, 2012 5:23 pm
Posts: 23
Apparently, judging by all the GdkPixbuff-CRITICAL errors you get, you have an issue with your GTK theme.
Try changing it or disabling it.

Maybe the menu looks funny because of that.

For the sound issue, the message is quite clear:
Code:
Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so

Install lib32-alsa-plugins to solve that.

By the way, why use PulseAudio with Arch Linux?


Top
   
PostPosted: Tue Jun 19, 2012 4:48 pm 
Offline

Joined: Tue Jun 19, 2012 11:02 am
Posts: 2
Always cool to see an indie game with Linux support, cheering you on! :mrgreen:
The game worked flawless. I'll report bugs if I find any.

I'm a lazy f*ck, so here is how I installed the game on 64bit ArchLinux.
ofc, you need dpkg from aur.
Code:
sudo dpkg -i --force-architecture --force-depends /your/path/to/therealtexas.deb


cycyx wrote:
By the way, why use PulseAudio with Arch Linux?

Because alsa causes very high cpu use while playing mp3, at least that is why I use pulse.


Top
   
PostPosted: Tue Jun 19, 2012 7:08 pm 
Offline
User avatar

Joined: Thu May 04, 2006 6:07 pm
Posts: 360
Location: http://kittylambda.com
Hey I have a sort-of funny question about PulseAudio.

I want to get the game working with PulseAudio, the first step for me though will be figuring out how to reproduce it on my end. I am using Ubuntu 11 (i'm a hanger on, love gnome too much, yadda yadda yadda... =)

Anyhow, what are the most likely packages I need to uninstall/install to switch Ubuntu 11 over to PulseAudio? That way I can get the bug reproduced and hopefully fix it.

I can probably figure this out on my own but if anybody knows off the top of their head.

(Dev asking users for support in his own support forum... upside-down-day... hmm.)

_________________
o._
/_.
O O

Takin' it EASY, riding my BIKE, makin' my GAMES.
http://www.kittylambda.com


Top
   
PostPosted: Tue Jun 19, 2012 7:20 pm 
Offline

Joined: Fri Jun 15, 2012 5:23 pm
Posts: 23
Funny thing: you're supposed to have PulseAudio as the default audio system on Natty (11.04) or Oneiric (11.10)...

PulseAudio is the default since Ubuntu 8.04 LTS (hardy heron)... :D

Anyways, yo ushould install 'libasound2-plugins "pulseaudio-*" paman padevchooser paprefs pavucontrol pavumeter' in order to get the full list.


Top
   
PostPosted: Sun Jul 08, 2012 8:23 pm 
Offline

Joined: Fri Jun 15, 2012 5:23 pm
Posts: 23
Just bumping this one up: more feats for the next update (.tar.gz and option/flag for relocation)! :mrgreen:


Top
   
PostPosted: Mon Jul 16, 2012 5:59 pm 
Offline

Joined: Mon Jul 16, 2012 5:47 pm
Posts: 1
For installing under ArchLinux I've written a PKGBUILD and uploaded it to the AUR (Arch User Repository). For those that don't know what a PKGBUILD is, it's a simple script that takes a program's source (or in this case binary packages for another distro) and packages them for installing via Pacman (ArchLinux's package manager). To avoid any confusion this does not allow you to install the game without paying for it. You still need to place the Debian package that you acquire after purchase into the same directory as the PKGBUILD.


Top
   
PostPosted: Wed Sep 05, 2012 5:09 pm 
Offline

Joined: Fri Jun 15, 2012 5:23 pm
Posts: 23
Once more: bump? :(


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 13 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group