You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



[SOLVED] Problems with installing/playing native Linux games

Author (Read 18561 times)

0 Members and 2 Guests are viewing this topic.

Re: Problems with installing/playing native Linux games
« Reply #14 on: August 23, 2014, 04:21:28 AM »
 

Cobra!

  • New to Forums
  • *
  • 27
    Posts
  • Reputation: 0
  • A.K.A. Sharko
    • View Profile
    • Gamerstorm Official Website
Nevermind, I fixed the problem, I typed in:
Code: [Select]
./mohaa_lnx +set r_gldriver libGL.so.1and it works perfectly! The only problem is that there's no sound, but I heard sound issues were common with the game, but is there anything I can do to sort it out?

EDIT: It seems that OpenAL is the issue, it can't load it up, it might be missing or not working.

Code: [Select]
OpenAL: Opening device {default}...
open /dev/[sound/]dsp: No such file or directory
OpenAL: Could not open device
OpenAL: Destroying channels...
OpenAL: Channels destroyed successfully.
OpenAL: initialization failed. No audio will play.

I installed OpenAL on my system, but it didn'thelp, is there a code I can use similar to the one above but with OpenAL?

EDIT: Nevermind, I installed osspd, and that fixed the problem, I'm getting sound now, although some sound effects are missing, but I hear that's a common issue with the game, and that there isn't much I can do about it.

Thanks everyone for all of their help anyway!
« Last Edit: August 29, 2014, 03:48:28 PM by Cobra! »
 

Re: Problems with installing/playing native Linux games
« Reply #13 on: August 22, 2014, 07:46:00 PM »
 

Cobra!

  • New to Forums
  • *
  • 27
    Posts
  • Reputation: 0
  • A.K.A. Sharko
    • View Profile
    • Gamerstorm Official Website
I figured out how to install libraries in 32-bit mode, it seems you simple type ":i386" at the end, I tried it with "libstdc++5", and it installed, and it got me a step further with the archived mohaa binaries, I'm getting some other errors, though, here's what came out of the terminal:
Code: [Select]
--- Common Initialization ---
Medal of Honor Allied Assault 1.11 linux-i386 Sep  3 2004
----- FS_Startup -----
Current search path:
/home/cobradabest/.mohaa/main
/home/cobradabest/.wine/drive_c/Program Files (x86)/EA GAMES/MOHAA/main
/home/cobradabest/.wine/drive_c/Program Files (x86)/EA GAMES/MOHAA/main/pak7.pk3 (89 files)
/home/cobradabest/.wine/drive_c/Program Files (x86)/EA GAMES/MOHAA/main/Pak6EnUk.pk3 (395 files)
/home/cobradabest/.wine/drive_c/Program Files (x86)/EA GAMES/MOHAA/main/pak6.pk3 (104 files)
/home/cobradabest/.wine/drive_c/Program Files (x86)/EA GAMES/MOHAA/main/Pak5.pk3 (259 files)
/home/cobradabest/.wine/drive_c/Program Files (x86)/EA GAMES/MOHAA/main/Pak4.pk3 (593 files)
/home/cobradabest/.wine/drive_c/Program Files (x86)/EA GAMES/MOHAA/main/Pak3.pk3 (669 files)
/home/cobradabest/.wine/drive_c/Program Files (x86)/EA GAMES/MOHAA/main/Pak2.pk3 (4722 files)
/home/cobradabest/.wine/drive_c/Program Files (x86)/EA GAMES/MOHAA/main/Pak1.pk3 (396 files)
/home/cobradabest/.wine/drive_c/Program Files (x86)/EA GAMES/MOHAA/main/Pak0.pk3 (11174 files)

----------------------
18401 files in pk3 files
execing default.cfg
execing menu.cfg
execing newconfig.cfg
Config: unnamedsoldier.cfg
STUB: wtf in unix/linux_general_extras.c line 95.
STUB: wtf in unix/linux_general_extras.c line 101.
couldn't exec configs/unnamedsoldier.cfg
couldn't exec localized.cfg
execing autoexec.cfg
Unknown command "fov"
couldn't exec custom.cfg
You are now setup for easy mode.
----- Client Initialization -----
Called FadeSound with: 0.000000
----- Initializing Renderer ----
----- R_Init -----
...loading libGL.so: SDL: SDL_GL_LoadLibrary() failed! rc == (-1).
SDL_GetError() reports "Could not load OpenGL library".
failed
...loading libMesaVoodooGL.so.3.1: SDL: SDL_GL_LoadLibrary() failed! rc == (-1).
SDL_GetError() reports "Could not load OpenGL library".
failed
ASSERT: [qcommon/common.c:406] GLimp_Init() - could not load OpenGL subsystem
 (fyi)
----- CL_Shutdown -----
-----------------------
Error: GLimp_Init() - could not load OpenGL subsystem

How do I fix it?



I also tried doing the same thing for the installer, but I got the same errors as before, it seems the libgtk libraries were taken off of the ubuntu servers or something... How would I get the installer working now?
 

Re: Problems with installing/playing native Linux games
« Reply #12 on: August 22, 2014, 04:02:22 AM »
 

Cobra!

  • New to Forums
  • *
  • 27
    Posts
  • Reputation: 0
  • A.K.A. Sharko
    • View Profile
    • Gamerstorm Official Website
Quote
What do you think I should do now?

I don't know as I don't know where in that page you linked to are stuck at.
Oh right, I got through the whole thing. However, when I try to run the game, I'm getting the same error as my previous post.

EDIT: I just had a thought, maybe the archived binaries are for the US version of MOHAA, when I have the UK version, and it seems the only way to get those binaries is to run the installer, which I'm having trouble doing right now...

Anyhows, I am going to be out of commission for a few days as I wait for my body to sort things out.
It was a bad spot in a bad day in the universe for me today.
So you are on your own.

Sorry.  :(
It's fine, I hope you have a speedy recovery.

I personally think you should not pursue these old games. Most of the instructions are for older versions of ubuntu, and thus, older packages as mentioned earlier.
I still think it's possible to run it, before I had to reinstall Linux Lite, I had a program that uses libgtk-1.2 (ePSXe) working just find on this machine. The packages may have dropped support, but that doesn't mean they won't work.
« Last Edit: August 22, 2014, 09:08:09 AM by Cobra! »
 

Re: Problems with installing/playing native Linux games
« Reply #11 on: August 21, 2014, 11:37:03 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
I personally think you should not pursue these old games. Most of the instructions are for older versions of ubuntu, and thus, older packages as mentioned earlier.
 

Re: Problems with installing/playing native Linux games
« Reply #10 on: August 21, 2014, 09:40:10 PM »
 

rokytnji

  • Friganeer
  • Platinum Level Poster
  • **********
  • 1255
    Posts
  • Reputation: 139
    • View Profile

  • CPU: Intel Core2 Duo U9600

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Mobile 4
Quote
What do you think I should do now?

I don't know as I don't know where in that page you linked to are stuck at.

On a side note. I busted myself up a bit today tripping over a blanket on the floor in front of the dryer.
Knocked myself out tripping over the blanket like a trip wire. My knee is swelled up and won't bend too good and I walk with a limp now.
Plus I seem to have sprained my right wrist.
Damn dirty laundry.

Anyhows, I am going to be out of commission for a few days as I wait for my body to sort things out.
It was a bad spot in a bad day in the universe for me today.
So you are on your own.

Sorry.  :(
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
 

Re: Problems with installing/playing native Linux games
« Reply #9 on: August 21, 2014, 05:31:38 PM »
 

Cobra!

  • New to Forums
  • *
  • 27
    Posts
  • Reputation: 0
  • A.K.A. Sharko
    • View Profile
    • Gamerstorm Official Website
Then I would copy the file contents inside of libgtk-3.so.0 into libgtk-1.2.so.0 as a experiment since the message now says file too short.
There's a problem, libgtk-3.so.0 is also empty.
I tried reinstalling libgtk-3, but that didn't help...

EDIT 2: I managed to find download links for libgtk1.2 here, so I installed it, but the installer for MOHAA is giving the same error...

This is all poke and hope though from me.
I'm thankful nevertheless, it's a heck of a lot better than being told there's nothing I can do. At least these stabs in the dark are giving me a little hope.

EDIT: I was looking around for anyway to run MOHAA on linux, and I found this, and it seems to be the linux binaries in a tar format, is it only for multiplayer, though? It's hard to tell.

Either way, I downloaded it, unpacked it and ran it, and I'm getting more lib issues:
Code: [Select]
./mohaa_lnx: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
I looked this issue up, and I read that I had to download/install libstdc++5, so I did, but it didn't help.

EDIT 3: I also found this guide for installing MOHAA on Ubuntu 10.4LTS, which is more recent than I would've expected, so there's hope there. The guide also uses the tar package I linked to above. I tried following it, but I'm getting the same issues...

What do you think I should do now?
« Last Edit: August 21, 2014, 06:20:47 PM by Cobra! »
 

Re: Problems with installing/playing native Linux games
« Reply #8 on: August 21, 2014, 04:44:46 PM »
 

rokytnji

  • Friganeer
  • Platinum Level Poster
  • **********
  • 1255
    Posts
  • Reputation: 139
    • View Profile

  • CPU: Intel Core2 Duo U9600

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Mobile 4
Then I would copy the file contents inside of libgtk-3.so.0 into libgtk-1.2.so.0 as a experiment since the message now says file too short.

This is all poke and hope though from me.
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
 

Re: Problems with installing/playing native Linux games
« Reply #7 on: August 21, 2014, 02:39:41 PM »
 

Cobra!

  • New to Forums
  • *
  • 27
    Posts
  • Reputation: 0
  • A.K.A. Sharko
    • View Profile
    • Gamerstorm Official Website
Okay, I had no issues doing that, but when I tried installing the game again, I got this:
Code: [Select]
/home/cobradabest/.setup30558: error while loading shared libraries: /usr/lib/libgtk-1.2.so.0: file too short
« Last Edit: August 21, 2014, 02:41:34 PM by Cobra! »
 

Re: Problems with installing/playing native Linux games
« Reply #6 on: August 21, 2014, 01:57:16 PM »
 

rokytnji

  • Friganeer
  • Platinum Level Poster
  • **********
  • 1255
    Posts
  • Reputation: 139
    • View Profile

  • CPU: Intel Core2 Duo U9600

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Mobile 4
Well, I will have to google/search that on how to do it via command line in terminal.

My cave man way would be

Code: [Select]
gksu thunar
maneuver to /usr/lib and right click on a empty  spot and create new document and name it

Quote
libgtk-1.2.so.0

save it.

Close thunar and terminal.

Start from scratch. Open terminal again.

Code: [Select]
sudo -s
password and become root in terminal.

then cross my fingers and

Code: [Select]
ln -s /usr/lib/libgtk-1.2.so.0  /usr/lib/libgtk-3.so.0
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
 

Re: Problems with installing/playing native Linux games
« Reply #5 on: August 21, 2014, 01:28:01 PM »
 

Cobra!

  • New to Forums
  • *
  • 27
    Posts
  • Reputation: 0
  • A.K.A. Sharko
    • View Profile
    • Gamerstorm Official Website
Well, it's worth a shot, but how do I do all of that? I'm sort of a newbie at Linux...

EDIT: There may not be any need, there's a small glimmer of hope for me, I found this thread on the Ubuntu forums about someone trying to run a libgtk-1.2 program on a modern Ubuntu, and there's a link there that has a bunch of packages, problem is, I don't know what, if any packages I should try...
« Last Edit: August 21, 2014, 01:52:43 PM by Cobra! »
 

Re: Problems with installing/playing native Linux games
« Reply #4 on: August 21, 2014, 01:08:28 PM »
 

rokytnji

  • Friganeer
  • Platinum Level Poster
  • **********
  • 1255
    Posts
  • Reputation: 139
    • View Profile

  • CPU: Intel Core2 Duo U9600

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Mobile 4
You could try making a blank libgtk-1.2.so.0 and symlinking it to libgtk-3.so.0
 in /usr/lib.

I cannot guarantee that will work though.  Worth a shot though if it does fix it.
Might end up with a new error though. Can't say.

I go down the rabbit hole on my linux installs.
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
 

Re: Problems with installing/playing native Linux games
« Reply #3 on: August 21, 2014, 12:40:55 PM »
 

Cobra!

  • New to Forums
  • *
  • 27
    Posts
  • Reputation: 0
  • A.K.A. Sharko
    • View Profile
    • Gamerstorm Official Website
So there's no way to install linux MOH:AA at all? That blows! Even Windows offers some compatibility for it's legacy games! Is there no libraries that would be backwards compatible?

If I need an OS for it, is there an old lightweight OS I can use for old games?

EDIT: Hold on, I remember having the exact same problem (with the exact same library) with ePSXe, and I managed to get that working before, albiet with sound issues, so it must be possible...
« Last Edit: August 21, 2014, 01:01:24 PM by Cobra! »
 

Re: Problems with installing/playing native Linux games
« Reply #2 on: August 21, 2014, 12:12:17 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
The problem with installing these very old games is that they require libraries from very old Ubuntu versions. This is the case for mohaa. You'd have to run an old version of ubuntu to use the compatible libraries (libgtk-1.2.so.0) so this won't work. Not sure about rtcw, someone may know.
 

[SOLVED] Problems with installing/playing native Linux games
« Reply #1 on: August 21, 2014, 11:42:33 AM »
 

Cobra!

  • New to Forums
  • *
  • 27
    Posts
  • Reputation: 0
  • A.K.A. Sharko
    • View Profile
    • Gamerstorm Official Website
I'm trying to get the Linux ports of Medal of Honor: Allied Assault and Return to Castle Wolfenstein on Linux Lite.

I'm following these instructions for RTCW, and I'm using the UK installer from here for MOH:AA.

I had no issues with installing RTCW, although I don't seem to have pak0.pk3, from my wine installed windows version.

I'm guessing because of this, it won't run, here's what I'm getting from the terminal:
Code: [Select]
Wolf 1.41 linux-i386 Dec  4 2002
----- FS_Startup -----
Current search path:
/home/cobradabest/.wolf/main
/usr/local/games/wolfenstein/main/sp_pak3.pk3 (14 files)
/usr/local/games/wolfenstein/main/sp_pak2.pk3 (232 files)
/usr/local/games/wolfenstein/main/sp_pak1.pk3 (1342 files)
/usr/local/games/wolfenstein/main

----------------------
1588 files in pk3 files
----- CL_Shutdown -----
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: Couldn't load default.cfg

I can't seem to install MOH:AA at all, I've installed my game using wine, and patched it to 1.11, but the Linux installer still won't run, I'm getting this error:
Code: [Select]
/home/cobradabest/.setup17309: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory
Before anybody asks, neither of these games work on wine for me, so after finding out both games have Linux versions, I wanted to try them.

How do I fix these issues?
« Last Edit: January 14, 2015, 10:11:31 PM by Scott(0) »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section