Game Editor on Linux 64bit [SOLVED]

Linux specific questions and discussion

Game Editor on Linux 64bit [SOLVED]

Postby lverona » Tue Jan 27, 2015 9:26 am

Hey everyone!

On 64bit systems it seems sound is not working, since libpulsedsp.so is a 32 bit library. But there is a 64 bit library. Is there a way to either create GameEditor for 64 bit or add instructions on how to start using 64 bit version of this library?

ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsedsp.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Last edited by lverona on Wed Jan 28, 2015 8:56 am, edited 1 time in total.
lverona
 
Posts: 221
Joined: Tue Apr 24, 2012 11:54 am
Score: 1 Give a positive score

Re: Game Editor on Linux 64bit

Postby digiot » Tue Jan 27, 2015 11:32 am

Afaik, you have to make your 64-bit system 32-bit capable.
That means, you have to install all the 32-bit libs GE needs.

Cheers !
User avatar
digiot
 
Posts: 211
Joined: Sat Mar 17, 2012 2:29 pm
Score: 7 Give a positive score

Re: Game Editor on Linux 64bit

Postby lverona » Tue Jan 27, 2015 4:51 pm

Would I have to point Game Editor to them?

Also - how do I install them? They are not in the repo...
lverona
 
Posts: 221
Joined: Tue Apr 24, 2012 11:54 am
Score: 1 Give a positive score

Re: Game Editor on Linux 64bit

Postby digiot » Tue Jan 27, 2015 6:25 pm

lverona wrote:Would I have to point Game Editor to them?

No, GE knows, what it needs.
lverona wrote:Also - how do I install them? They are not in the repo...

Depends on your distribution, maybe you have to activate the 32-bit repo,
and then install all the dev-versions of the libs.

What packagemanager ever you use, there should be a solution to just install
the dev-versions through pattern matching or with a simple command, you don't
need the whole 32-bit system.

But it sounds, as if all the other 32-bit libs are installed, only the pulseaudio
lib is missing ?
On my system, which is set to multiarch, I only have the 64-bit version of this
lib, and the sound seems to work.


Cheers !
User avatar
digiot
 
Posts: 211
Joined: Sat Mar 17, 2012 2:29 pm
Score: 7 Give a positive score

Re: Game Editor on Linux 64bit

Postby lverona » Wed Jan 28, 2015 8:56 am

Okay, problem solved.

The idea is to install a 32 bit library and then on launch point Game Editor to use 32 bit one. Doing this is very simple, less than 5 minutes.

Step 0. sudo apt-get install libpulsedsp:i386

Step 1. Copy padsp from /usr/bin/ to a local directory.

Step 2. Find "$LD_PRELOAD" in the code and replace the whole section with this:

if [ x"$LD_PRELOAD" eq x ] ; then
LD_PRELOAD="/usr/lib/i386-linux-gnu/pulseaudio/libpulsedsp.so"
else
LD_PRELOAD="$LD_PRELOAD /usr/lib/i386-linux-gnu/pulseaudio/libpulsedsp.so"
fi

Step 3. Save script as padsp32.

Step 4. Using sudo, copy this script to /usr/bin/

Step 5. From now on, start gameEditorLinux using padsp32.

To do that, go to your Game Editor dir and do this:
padsp32 ./gameEditorLinux


What you did there
Last edited by lverona on Wed Jan 28, 2015 9:07 pm, edited 1 time in total.
lverona
 
Posts: 221
Joined: Tue Apr 24, 2012 11:54 am
Score: 1 Give a positive score

Re: Game Editor on Linux 64bit [SOLVED]

Postby digiot » Wed Jan 28, 2015 11:56 am

In the Debian repos, I've only found that lib in the pulseaudio-utils,
"sudo apt-get install libpulsedsp(:i386)" does not work.
How did that work on your system ???

And the GE-launcher script, sure it will work ?
Afaik, you also have to enter GEs directory in that script, to start GE.

But fine, that you found a solution, to make it work however !


Cheers !
User avatar
digiot
 
Posts: 211
Joined: Sat Mar 17, 2012 2:29 pm
Score: 7 Give a positive score

Re: Game Editor on Linux 64bit [SOLVED]

Postby lverona » Wed Jan 28, 2015 9:07 pm

It installed fine on my system. I am using Xubuntu 14.04, no additional repositories have been added yet, so vanilla.

And the GE-launcher script, sure it will work ?
Afaik, you also have to enter GEs directory in that script, to start GE.


Absolutely sure, it works fine over here. The script does not start GE, you have to use it to start GE, I have corrected my reply.
lverona
 
Posts: 221
Joined: Tue Apr 24, 2012 11:54 am
Score: 1 Give a positive score

Re: Game Editor on Linux 64bit [SOLVED]

Postby digiot » Wed Jan 28, 2015 9:45 pm

lverona wrote:It installed fine on my system. I am using Xubuntu 14.04,...

Ah, so you can install single libs out of a package under Ubuntu ?
Maybe, I'm missing something, Idk all the dpkg/apt settings. But I thought,
you can only install whole packages.
lverona wrote:The script does not start GE,...

Why not letting the script do the directory change for you ? Then you can
put an icon on your desktop, or start GE from a menu entry !


Cheers !
User avatar
digiot
 
Posts: 211
Joined: Sat Mar 17, 2012 2:29 pm
Score: 7 Give a positive score

Re: Game Editor on Linux 64bit [SOLVED]

Postby Turon » Sat Jul 25, 2015 12:08 pm

Um for me the whole thing doesn't work... How do you run GE on 64bit Ubuntu?
Turon
 
Posts: 862
Joined: Sun Jan 24, 2010 5:23 pm
Score: 32 Give a positive score


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest

cron