medal of honor beta 3 for linux

Need help with one of the installers?
mat
Posts: 65
Joined: Mon Oct 10, 2005 18:10

medal of honor beta 3 for linux

Postby mat » Sat Nov 12, 2005 19:23

hi

I have got a problem

the game loading and .... exit

mat@debian:~$ mohaa
--- Common Initialization ---
Medal of Honor Allied Assault 1.11 linux-i386 Sep 3 2004
----- FS_Startup -----
Current search path:
/home/mat/.mohaa/main
/usr/local/games/mohaa/main
/usr/local/games/mohaa/main/pak6enuk.pk3 (395 files)
/usr/local/games/mohaa/main/pak6.pk3 (104 files)
/usr/local/games/mohaa/main/pak5.pk3 (259 files)
/usr/local/games/mohaa/main/pak4.pk3 (593 files)
/usr/local/games/mohaa/main/pak3.pk3 (669 files)
/usr/local/games/mohaa/main/pak2.pk3 (4722 files)
/usr/local/games/mohaa/main/pak1.pk3 (396 files)
/usr/local/games/mohaa/main/pak0.pk3 (11174 files)

----------------------
18312 files in pk3 files
execing default.cfg
execing menu.cfg
couldn't exec 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.
execing 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: Initializing SDL OpenGL display
...setting mode 6: 1024 768
Attempting 4/4/4 Color bits, 24 depth, 0 stencil display...
STUB: missing hardware detection in unix/linux_glimp_sdl.c line 985.
Initializing OpenGL extensions
...ignoring GL_S3_s3tc
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array

GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce4 MX 440/AGP/SSE/3DNOW!
GL_VERSION: 1.5.3 NVIDIA 76.76
GL_EXTENSIONS: [...omitted...]
GL_MAX_TEXTURE_SIZE: 2048
GL_MAX_ACTIVE_TEXTURES_ARB: 2

PIXELFORMAT: color(16-bits) Z(24-bit) stencil(0-bits)
MODE: 6, 1024 x 768 fullscreen hz:N/A
GAMMA: software w/ 0 overbright bits
CPU:
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_NEAREST
picmip: 1
texture bits: 16
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
Initializing Shaders
Setting up Shaders
----- finished R_Init -----
------- profiling DrawBackground methods -------
glDrawPixels w/ BGR: 0 clocks
glDrawPixels w/ RGB: 0 clocks
glTexSubImage2D w/ BGR: 0 clocks
glTexSubImage2D w/ RGB: 0 clocks
DrawBackground: using glDrawPixels with BGR data
-------------------------------
Opening IP socket: localhost:12203
Hostname: localhost.localdomain
Alias: localhost
Alias: debian
IP: 127.0.0.1
------- Sound Initialization (full) -------
OpenAL: Opening device {default}...
OpenAL: Device opened successfully.
OpenAL: Creating AL context...
OpenAL: Context created successfully.
AL_VENDOR: J. Valenzuela
AL_VERSION: 0.0.7
AL_RENDERER: Software
AL_EXTENSIONS: AL_LOKI_quadriphonic AL_LOKI_play_position AL_LOKI_WAVE_format AL_LOKI_IMA_ADPCM_format AL_LOKI_buffer_data_callback ALC_LOKI_audio_channel
AL extension: Looking up required symbol "alutLoadMP3_LOKI"......found.
AL extension: Looking up symbol "alReverbScale_LOKI"......found.
AL extension: Looking up symbol "alReverbDelay_LOKI"......found.
Loading global/sound0.txt
------- S_StopAllSounds (stop music) -------
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
------- S_StopAllSounds Complete-------
----- Sound Info -----
device - {default}
reverb - OFF
samplebits - 16
speed - 11025
----------------------
------- Sound Initialization Complete ------- 20 ms
Setting up Shaders
Loading inventory...
----- Client Initialization Complete ----- 2022 ms
--- Common Initialization Complete --- 3205 ms
--- Localization: I see 0 localization files
--- Localization: reading file global/localization.txt
Loading Localization File global/localization.txt
Loaded 1242 localization entries
------- Sound Initialization (full) -------
Cmd_AddCommand: play already defined
Cmd_AddCommand: soundlist already defined
Cmd_AddCommand: soundinfo already defined
Cmd_AddCommand: sounddump already defined
------- S_StopAllSounds (stop music) -------
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
------- S_StopAllSounds Complete-------
----- Sound Info -----
device - {default}
reverb - OFF
samplebits - 16
speed - 11025
----------------------
------- Sound Initialization Complete ------- 18 ms
------- S_StopAllSounds (stop music) -------
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
------- S_StopAllSounds Complete-------
STUB: sample_offset in client/snd_openal_new.cpp line 3867.
FIXME: Allow reverb toggle at runtime in OpenAL code.
Loading game...m1l3b0000
------- Attempting to load ./fgame.so -------
------- S_StopAllSounds (stop music) -------
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
------- S_StopAllSounds Complete-------
------ Server Initialization ------
Server: m1l3b
Called FadeSound with: 0.000000
Called FadeSound with: 0.000000
------- S_StopAllSounds (stop music) -------
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
------- S_StopAllSounds Complete-------
------- S_StopAllSounds (stop music) -------
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
------- S_StopAllSounds Complete-------
Called FadeSound with: 0.000000
Setting up Shaders
UI_DrawConnect called
------ Unloading fgame.so ------
------- Attempting to load ./fgame.so -------
^~^~^ Add the following line to the *_precache.scr map script:
cache models/weapons/colt45.tik
Game Loaded
------ Server Initialization Complete ------ 5.38 seconds
Called FadeSound with: 0.000000
------- Sound Begin Registration -------
------- S_StopAllSounds (stop music) -------
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
------- S_StopAllSounds Complete-------
------- Sound Begin Registration Complete -------
------- Attempting to load ./cgame.so -------


-----------PARSING UBERSOUND------------
Any SetCurrentTiki errors means that tiki wasn't prefetched and tiki-specific sounds for it won't work. To fix prefetch the tiki. Ignore if you don't use that t iki on this level.
Parse/Load time: 2.843000 seconds.
-------------UBERSOUND DONE---------------



-----------PARSING UBERDIALOG------------
Any SetCurrentTiki errors means that tiki wasn't prefetched and tiki-specific sounds for it won't work. To fix prefetch the tiki. Ignore if you don't use that t iki on this level.
Parse/Load time: 0.465000 seconds.
-------------UBERDIALOG DONE---------------

stitched 2 LoD cracks
...loaded 2163 faces, 254 meshes, 0 trisurfs, 0 flares
----------- Loading DCL file maps/m1l3b.dcl ---------
!!! BSP file is newer than DCL file.
!!! The DCL file needs to be updated.
------ Finished loading DCL file maps/m1l3b.dcl -----
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
------- Sound End Registration -------
------- Sound End Registration Complete -------
CL_EndRegistration: 0.06 seconds
CL_InitCGame: 8.61 seconds
Called FadeSound with: 0.000000
------- S_StopAllSounds (don't stop music) -------
------- S_StopAllSounds Complete-------
----- CL_Shutdown -----
Called FadeSound with: 0.000000
------- S_StopAllSounds (stop music) -------
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
------- S_StopAllSounds Complete-------
------- Sound Shutdown (full) -------
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
STUB: sample_ms_offset in client/snd_openal_new.cpp line 3824.
OpenAL: Destroying channels...
OpenAL: Channels destroyed successfully.
OpenAL: Destroying context...
OpenAL: Context destroyed successfully.
OpenAL: Closing device...
OpenAL: Device closed successfully.
------- Sound Shutdown Complete -------
RE_Shutdown( 1 )
-----------------------
mat@debian:~$

t


debian etch
kernel 2.6.12-1-k7
nvidia 7676 (nvidia.com)
Budny Grzegorz (poland)
gbudny@wp.pl

can you help me?

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Postby kratz00 » Sat Nov 12, 2005 21:16

looks like your problem is related to openal and your soundsetup/config
but don't have a real solution

it's beta and development is stopped

maybe you will find something useful here

https://bugzilla.icculus.org/buglist.cg ... ed+Assault

fatty
Posts: 8
Joined: Fri Dec 10, 2004 19:02

Postby fatty » Thu Nov 24, 2005 13:07

Maybe you could try to use OpenAL from latest cvs instead of the shipped 'dinosaur' version :wink:

Especially in consumption with alsa and dmix the latest versions are much better!

mat
Posts: 65
Joined: Mon Oct 10, 2005 18:10

Postby mat » Fri Jul 28, 2006 15:44

I red this

I use mohaa beta 1 beta 2 and beta 3-this game stil crash.

https://bugzilla.icculus.org/buglist.cg ... ed+Assault

how I can install openal from cvs ( writte something about this please)

mat
Posts: 65
Joined: Mon Oct 10, 2005 18:10

Re: medal of honor beta 3 for linux

Postby mat » Fri Apr 03, 2015 12:44

I just want to inform you that someone tried to fix this problem:

http://linuxfr.org/users/ahuillet/journ ... lied-assau

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Re: medal of honor beta 3 for linux

Postby kratz00 » Fri Apr 03, 2015 16:51

Did you give it a try, does it work?

mat
Posts: 65
Joined: Mon Oct 10, 2005 18:10

Re: medal of honor beta 3 for linux

Postby mat » Fri Apr 03, 2015 18:03

kratz00 wrote:Did you give it a try, does it work?


I did not try it. I try to understand this instruction.

In my case, the game will start to crash in this location on my old PC or Mac with every Linux distribution based on kernel 2.6, 3.0 etc:

https://www.youtube.com/watch?v=gkLKYipiPlA

2:43

I finished this game in 2005/2006 on Debian Sarge.

I know that this game is playable on Debian stable (sarge) with Linux 2.4, and Linux 2.6 but not higher than 2.6.7.

I suspect that this game is playable on every distribution with Linux 2.4, but I do not have the access to my old PC, and it is impossible to run this game on the virtual machine e.g. VMware, Virtualbox.

This person discovered the issue, and he probably found a partial solution. I do not know two things about this game. Why could I play in this game without issues on Debian stable with kernel 2.4? What changes have been made in Debian with Linux kernel higher than 2.6.7? That will probably help to find the source of this issue with the game.

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Re: medal of honor beta 3 for linux

Postby kratz00 » Fri Apr 03, 2015 19:29

From what I understood (using Google Translate): He applied a binary hack to disable the sound (music) output completely.

mat
Posts: 65
Joined: Mon Oct 10, 2005 18:10

Re: medal of honor beta 3 for linux

Postby mat » Fri Apr 03, 2015 19:57

kratz00 wrote:From what I understood (using Google Translate): He applied a binary hack to disable the sound (music) output completely.


Yes. I am wondering if the game will not be crashing with the sound turned on in the other levels if I will use this hack to save the game after this location where the game crashes.

Should I edit file mohaa_lnx to use his solution?

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Re: medal of honor beta 3 for linux

Postby kratz00 » Sat Apr 04, 2015 18:02

The symbol the guy is talking about is in the file cgame.so. See for yourself:

Code: Select all

readelf -sW cgame.so | grep PlaySound
   650: 0004b0f0  1182 FUNC    GLOBAL DEFAULT   10 _ZN24ClientGameCommandManager9PlaySoundE3strPfifffi

mat
Posts: 65
Joined: Mon Oct 10, 2005 18:10

Re: medal of honor beta 3 for linux

Postby mat » Sun Apr 05, 2015 9:12

kratz00 wrote:The symbol the guy is talking about is in the file cgame.so. See for yourself:

Code: Select all

readelf -sW cgame.so | grep PlaySound
   650: 0004b0f0  1182 FUNC    GLOBAL DEFAULT   10 _ZN24ClientGameCommandManager9PlaySoundE3strPfifffi


Thanks. I will try it.

How can I check what kind of libraries mohaa needs?

Is it possible to check versions of libraries in the system on which Icculus compile Mohaa?

Perhaps, it will possible to find these libraries, and used them in the same way like in the case of other old games published by Loki:

http://www.swanson.ukfsn.org/loki/

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Re: medal of honor beta 3 for linux

Postby kratz00 » Mon Apr 06, 2015 21:53

Not sure about your questions and also I do not know what system icculus used to build the game, but ...
For example objdump is a good starting point:

Code: Select all

objdump -p mohaa_lnx

mohaa_lnx:     file format elf32-i386

Program Header:
    PHDR off    0x00000034 vaddr 0x08048034 paddr 0x08048034 align 2**2
         filesz 0x000000e0 memsz 0x000000e0 flags r-x
  INTERP off    0x00000114 vaddr 0x08048114 paddr 0x08048114 align 2**0
         filesz 0x00000013 memsz 0x00000013 flags r--
    LOAD off    0x00000000 vaddr 0x08048000 paddr 0x08048000 align 2**12
         filesz 0x001bd81c memsz 0x001bd81c flags r-x
    LOAD off    0x001be000 vaddr 0x08206000 paddr 0x08206000 align 2**12
         filesz 0x0002f810 memsz 0x00ebb924 flags rw-
 DYNAMIC off    0x001ed268 vaddr 0x08235268 paddr 0x08235268 align 2**2
         filesz 0x000000f8 memsz 0x000000f8 flags rw-
    NOTE off    0x00000128 vaddr 0x08048128 paddr 0x08048128 align 2**2
         filesz 0x00000020 memsz 0x00000020 flags r--
EH_FRAME off    0x001b58b8 vaddr 0x081fd8b8 paddr 0x081fd8b8 align 2**2
         filesz 0x00007f64 memsz 0x00007f64 flags r--

Dynamic Section:
  NEEDED               libdl.so.2
  NEEDED               ./libSDL-1.2.so.0
  NEEDED               ./openal.so
  NEEDED               libstdc++.so.5
  NEEDED               libm.so.6
  NEEDED               libgcc_s.so.1
  NEEDED               libc.so.6
  INIT                 0x0804a97c
  FINI                 0x081c14f0
  HASH                 0x08048148
  STRTAB               0x0804942c
  SYMTAB               0x0804878c
  STRSZ                0x000009a1
  SYMENT               0x00000010
  DEBUG                0x00000000
  PLTGOT               0x0823552c
  PLTRELSZ             0x000005a8
  PLTREL               0x00000011
  JMPREL               0x0804a3d4
  REL                  0x0804a034
  RELSZ                0x000003a0
  RELENT               0x00000008
  VERNEED              0x08049f64
  VERNEEDNUM           0x00000005
  VERSYM               0x08049dce

Version References:
  required from libm.so.6:
    0x0d696910 0x00 07 GLIBC_2.0
  required from libgcc_s.so.1:
    0x0b792650 0x00 06 GCC_3.0
  required from libdl.so.2:
    0x0d696911 0x00 09 GLIBC_2.1
    0x0d696910 0x00 04 GLIBC_2.0
  required from libstdc++.so.5:
    0x081a2972 0x00 05 GLIBCPP_3.2
    0x056bafd2 0x00 03 CXXABI_1.2
  required from libc.so.6:
    0x0d696911 0x00 08 GLIBC_2.1
    0x0d696910 0x00 02 GLIBC_2.0


This gives you an overview which shared libraries are required (all the libraries marked as NEEDED in the 'Dynamic Section') and also the minimal required ABIs for some of those libraries (see 'Version References'). Hope this answers your questions, at least in some extend.

mat
Posts: 65
Joined: Mon Oct 10, 2005 18:10

Re: medal of honor beta 3 for linux

Postby mat » Tue Apr 07, 2015 16:08

kratz00 wrote:Not sure about your questions and also I do not know what system icculus used to build the game, but ...
For example objdump is a good starting point:

Code: Select all

objdump -p mohaa_lnx

mohaa_lnx:     file format elf32-i386

Program Header:
    PHDR off    0x00000034 vaddr 0x08048034 paddr 0x08048034 align 2**2
         filesz 0x000000e0 memsz 0x000000e0 flags r-x
  INTERP off    0x00000114 vaddr 0x08048114 paddr 0x08048114 align 2**0
         filesz 0x00000013 memsz 0x00000013 flags r--
    LOAD off    0x00000000 vaddr 0x08048000 paddr 0x08048000 align 2**12
         filesz 0x001bd81c memsz 0x001bd81c flags r-x
    LOAD off    0x001be000 vaddr 0x08206000 paddr 0x08206000 align 2**12
         filesz 0x0002f810 memsz 0x00ebb924 flags rw-
 DYNAMIC off    0x001ed268 vaddr 0x08235268 paddr 0x08235268 align 2**2
         filesz 0x000000f8 memsz 0x000000f8 flags rw-
    NOTE off    0x00000128 vaddr 0x08048128 paddr 0x08048128 align 2**2
         filesz 0x00000020 memsz 0x00000020 flags r--
EH_FRAME off    0x001b58b8 vaddr 0x081fd8b8 paddr 0x081fd8b8 align 2**2
         filesz 0x00007f64 memsz 0x00007f64 flags r--

Dynamic Section:
  NEEDED               libdl.so.2
  NEEDED               ./libSDL-1.2.so.0
  NEEDED               ./openal.so
  NEEDED               libstdc++.so.5
  NEEDED               libm.so.6
  NEEDED               libgcc_s.so.1
  NEEDED               libc.so.6
  INIT                 0x0804a97c
  FINI                 0x081c14f0
  HASH                 0x08048148
  STRTAB               0x0804942c
  SYMTAB               0x0804878c
  STRSZ                0x000009a1
  SYMENT               0x00000010
  DEBUG                0x00000000
  PLTGOT               0x0823552c
  PLTRELSZ             0x000005a8
  PLTREL               0x00000011
  JMPREL               0x0804a3d4
  REL                  0x0804a034
  RELSZ                0x000003a0
  RELENT               0x00000008
  VERNEED              0x08049f64
  VERNEEDNUM           0x00000005
  VERSYM               0x08049dce

Version References:
  required from libm.so.6:
    0x0d696910 0x00 07 GLIBC_2.0
  required from libgcc_s.so.1:
    0x0b792650 0x00 06 GCC_3.0
  required from libdl.so.2:
    0x0d696911 0x00 09 GLIBC_2.1
    0x0d696910 0x00 04 GLIBC_2.0
  required from libstdc++.so.5:
    0x081a2972 0x00 05 GLIBCPP_3.2
    0x056bafd2 0x00 03 CXXABI_1.2
  required from libc.so.6:
    0x0d696911 0x00 08 GLIBC_2.1
    0x0d696910 0x00 02 GLIBC_2.0


This gives you an overview which shared libraries are required (all the libraries marked as NEEDED in the 'Dynamic Section') and also the minimal required ABIs for some of those libraries (see 'Version References'). Hope this answers your questions, at least in some extend.


Thank you for help.

This is exactly what I wanted to know about Mohaa fo Linux.

Someone from this forum described his own method to run Mohaa on Linux

http://www.x-null.net/forums/showthread ... #post24600

"I got the Linux client to work in the latest version of Mint. It required compiling the OSS3 sound library which was a pain in the ***. It plays fine, but it when I exit the game, it crashes. lol"

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Re: medal of honor beta 3 for linux

Postby kratz00 » Tue Apr 07, 2015 19:43

I do not see any dependency on that library?

mat
Posts: 65
Joined: Mon Oct 10, 2005 18:10

Re: medal of honor beta 3 for linux

Postby mat » Tue Apr 07, 2015 23:53

kratz00 wrote:I do not see any dependency on that library?


I do not see it too. Perhaps, game crashes with the new versions of ALSA.

However, Icculus answered my question, and he used Red Hat 6.1 with gcc 2.95.2 or 3 to compile mohaa

I tried to use the oss4 packages on Ubuntu 14.04, and I removed alsa packages to do it. In this case, I decided to run mohaa, and I noticed that game did not crash in this place if the sound doesn't work in the system:

https://www.youtube.com/watch?v=gkLKYipiPlA

2:43

Unfortunately, I wasn't able to install OSS4 on Ubuntu 14.04, but I will try to do this on Mint

Personally, I remember that when I played Mohaa on Debian sarge with Linux 2.4, and sometimes when I used alsa modules the game crashed when I pressed quit.


Who is online

Users browsing this forum: No registered users and 1 guest