Raptor Computing Systems Community Forums (BETA)

Software => Applications and Porting => Topic started by: gbudny on August 18, 2024, 07:55:45 pm

Title: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: gbudny on August 18, 2024, 07:55:45 pm
Hi

I'm one of the users who helped to test OpenMoHAA for Linux x86-64. Recently, Smallmodel (the main contributor) added support for PowerPC. However, nobody tested the Linux client of OpenMoHAA on PowerPC. You can try to build on your Raptor computers if you want to try it.
You can find this project on GitHub,

OpenMoHAA allows you to play a base game plus two official expansions:

- Medal of Honor: Allied Assault
- Spearhead
- Breakthrough

Some bugs exist in briefings, music, and a few things that don't work correctly: movies and intros.

However, all levels are now playable, meaning you can play this game from the beginning to the end.
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: tle on August 18, 2024, 08:25:14 pm
I am more than happy to give OpenMoHAA a try. Thanks for sharing the news with us
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: tle on August 18, 2024, 08:29:53 pm
The first bug reported https://github.com/openmoh/openmohaa/issues/340
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: gbudny on August 19, 2024, 07:42:52 pm
Thank you for the answer.

I see that you encounter an issue when you try to build OpenMoHAA.

I hope your pull request will be merged into a main branch.
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: gbudny on August 26, 2024, 04:47:42 am
@tle

Great! I see that Smallmodel accepted your pull request.

Can you tell me if OpenMoHAA works on your computer?

I noticed Smallmodel made some changes after some suggestions from Cowcat5150

https://github.com/openmoh/openmohaa/issues/332

Cowcat5150 is porting OpenMoHAA to MorphOS, which is a 32-bit operating system for PowerPC computers. I don't know the issues with OpenMoHAA for Linux on Raptor Computers, but maybe you want to try the most recent version.
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: tle on August 30, 2024, 02:12:46 am
@tle

Great! I see that Smallmodel accepted your pull request.

Can you tell me if OpenMoHAA works on your computer?

I noticed Smallmodel made some changes after some suggestions from Cowcat5150

https://github.com/openmoh/openmohaa/issues/332

Cowcat5150 is porting OpenMoHAA to MorphOS, which is a 32-bit operating system for PowerPC computers. I don't know the issues with OpenMoHAA for Linux on Raptor Computers, but maybe you want to try the most recent version.

I am unsure because I am still trying to find the game and a Windows machine to install it for the assets files
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: power9mm on August 30, 2024, 05:23:35 pm
since this is quake 3 engine i imagine it'd still have the same issues with QVM etc in regards to performance
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: gbudny on September 01, 2024, 03:07:01 am
Thank you for the answers.

@tle

Great! I see that Smallmodel accepted your pull request.

Can you tell me if OpenMoHAA works on your computer?

I noticed Smallmodel made some changes after some suggestions from Cowcat5150

https://github.com/openmoh/openmohaa/issues/332

Cowcat5150 is porting OpenMoHAA to MorphOS, which is a 32-bit operating system for PowerPC computers. I don't know the issues with OpenMoHAA for Linux on Raptor Computers, but maybe you want to try the most recent version.

I am unsure because I am still trying to find the game and a Windows machine to install it for the assets files

I use the GOG version of Medal of Honor: Allied Assault War Chest, which works with OpenMoHAA. It requires wine to install it on Linux x86-64 if you have a PC.

since this is quake 3 engine i imagine it'd still have the same issues with QVM etc in regards to performance

I think you should try it.

Below are some details:

Quote
The main goal of OpenMoHAA is to ensure the future and continuity of Medal of Honor: Allied Assault. It has always been a dream in the community to provide patches and security fixes for the game. Thanks to the ioquake3 project, F.A.K.K SDK and other quality tools,

OpenMoHAA allows people to fix many issues, and this project reached this state without access to the source code.
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: power9mm on September 01, 2024, 01:47:46 pm

I think you should try it.

Below are some details:

Quote
The main goal of OpenMoHAA is to ensure the future and continuity of Medal of Honor: Allied Assault. It has always been a dream in the community to provide patches and security fixes for the game. Thanks to the ioquake3 project, F.A.K.K SDK and other quality tools,

OpenMoHAA allows people to fix many issues, and this project reached this state without access to the source code.


I don't have a power system currently. I played this game back in the day because it had a linux port, but I liked RTCW and day of defeat a lot more heh... I'm not very interested in it though. Whenever raptor sells power10 systems i'll maybe go back to messing with half life 2 and stalker etc. main thing for me is better support for the ISA from ezQuake and Quake3e.
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: gbudny on September 08, 2024, 01:35:39 pm
Hi

I want to inform you that OpenMoHAA 0.70.0 is available for Linux.

The list of changes is below:

https://github.com/openmoh/openmohaa/releases/tag/v0.70.0

The most important information is the availability of experimental binary files for PowerPC users.

Quote
This new version ships with binaries for PowerPC, PowerPC64 and PowerPC64 Little-Endian. Currently experimental and the client may not work correctly.

I hope PowerPC users can join this project by contributing or testing this game.



I don't have a power system currently. I played this game back in the day because it had a linux port,

I had delayed switching to the kernel 2.6.8 on Debian Etch for two years until 2007 because I wanted to continue playing Medal of Honor Beta 3 for Linux. Sometimes, I still play the MoHAA created by Icculus on my old PC with Pentium 4 - it requires the old machine to work.
 
Interestingly, Operation Nordwind works with this version of the Medal of Honor, which is great:

https://www.youtube.com/watch?v=uMLsOWmFwjc
 
Unfortunately, the old beta version doesn't support the official mods like Spearhead and Breakthrough, which both work with OpenMoHAA.
 
but I liked RTCW and day of defeat a lot more heh... I'm not very interested in it though. Whenever raptor sells power10 systems i'll maybe go back to messing with half life 2 and stalker etc.

I guess that everyone has their favorite games.

I had played RTCW many times, but I always preferred missions when I didn't have to fight with monsters.

main thing for me is better support for the ISA from ezQuake and Quake3e.

OpenMoHAA uses the ioquake3 project, but you can ask Smallmodel about Quake3e.
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: gbudny on December 24, 2024, 08:59:16 pm
Hi

The first beta version of OpenMoHAA is available for Linux PowerPC:

https://github.com/openmoh/openmohaa/releases/tag/v0.80.0
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: gbudny on January 03, 2025, 09:45:19 pm
Hi

The new beta version of OpenMoHAA is available for Linux PowerPC:

https://github.com/openmoh/openmohaa/releases/tag/v0.81.0
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: mparnaudeau on January 09, 2025, 11:18:20 am
I installed version v0.81.0 and it does not start due to this error:

Quote
$ ./openmohaa.ppc64el
./openmohaa.ppc64el: /lib/powerpc64le-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./openmohaa.ppc64el)
./openmohaa.ppc64el: /lib/powerpc64le-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./openmohaa.ppc64el)

I tried to build from sources and I get this error at the link:

Quote
[100%] Linking CXX executable openmohaa.ppc64el
/usr/bin/ld: CMakeFiles/openmohaa.dir/code/client/libmumblelink.c.o: référence au symbole non défini « shm_open@@GLIBC_2.17 »
/usr/bin/ld : /lib/powerpc64le-linux-gnu/librt.so.1 : erreur lors de l'ajout de symboles : DSO manquant dans la ligne de commande
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/openmohaa.dir/build.make:2201 : openmohaa.ppc64el] Erreur 1
make[1]: *** [CMakeFiles/Makefile2:406 : CMakeFiles/openmohaa.dir/all] Erreur 2
make: *** [Makefile:149 : all] Erreur 2

I use Debian 11.11.
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: draconx on January 09, 2025, 01:44:25 pm
I installed version v0.81.0 and it does not start due to this error:

Quote
$ ./openmohaa.ppc64el
./openmohaa.ppc64el: /lib/powerpc64le-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./openmohaa.ppc64el)
./openmohaa.ppc64el: /lib/powerpc64le-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./openmohaa.ppc64el)

These binaries must have been compiled using either version 2.34 or a newer version of the GNU C library, so running them on systems using older versions of the GNU C library is unsupported.

I tried to build from sources and I get this error at the link:

Quote
[100%] Linking CXX executable openmohaa.ppc64el
/usr/bin/ld: CMakeFiles/openmohaa.dir/code/client/libmumblelink.c.o: référence au symbole non défini « shm_open@@GLIBC_2.17 »
/usr/bin/ld : /lib/powerpc64le-linux-gnu/librt.so.1 : erreur lors de l'ajout de symboles : DSO manquant dans la ligne de commande
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/openmohaa.dir/build.make:2201 : openmohaa.ppc64el] Erreur 1
make[1]: *** [CMakeFiles/Makefile2:406 : CMakeFiles/openmohaa.dir/all] Erreur 2
make: *** [Makefile:149 : all] Erreur 2

I use Debian 11.11.

Adding -lrt option to the end of the linker command line should fix this error (might need to edit the Makefile to add it).  As this option is no longer required to use shm_open beginning with glibc 2.34, presumably the developers have simply never tested their build system with older versions of the GNU C library.
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: mparnaudeau on January 09, 2025, 04:04:31 pm
@draconx Thank you, I had to add -lrt in "./CMakeFiles/openmohaa.dir/link.txt" and that linked successfully. I was able to start the game!
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: gbudny on January 10, 2025, 01:42:54 am
Thank you for testing OpenMoHAA.

Adding -lrt option to the end of the linker command line should fix this error (might need to edit the Makefile to add it).  As this option is no longer required to use shm_open beginning with glibc 2.34, presumably the developers have simply never tested their build system with older versions of the GNU C library.

Can you report this issue on GitHub and show your solution?

https://github.com/openmoh/openmohaa/issues

This project needs more testers that use computers with PowerPC processors. 
I know that OpenMoHAA for MorphOS is the only well-tested PPC version.

@draconx Thank you, I had to add -lrt in "./CMakeFiles/openmohaa.dir/link.txt" and that linked successfully. I was able to start the game!

I hope you can play it on your Raptor computer.
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: mparnaudeau on January 11, 2025, 03:28:51 pm
I created this ticket: https://github.com/openmoh/openmohaa/issues/618

I will play the game more to test on the Talos 2.

And I will possibly check on other PPC machines (based on G4 and G5 CPUs).
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: gbudny on January 12, 2025, 06:03:10 pm
I created this ticket: https://github.com/openmoh/openmohaa/issues/618

Thank you for opening it.

I see that Smallmodel accepted this suggestion and the issue is fixed now.

I will play the game more to test on the Talos 2.

And I will possibly check on other PPC machines (based on G4 and G5 CPUs).

Great!

MoHAA is a fun game, and Smallmodel, with some help from the other users, made it playable in less than a year.

I have to admit that I am curious about the current state of the PowerPC version of OpenMoHAA for Linux. I know that Tle fixed some issues in one of the previous versions.

However, no one tested it after Smallmodel ported it to Linux PPC.
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: mparnaudeau on January 20, 2025, 06:46:50 am
I tried to test on Linux PPC but unfortunately, as usual, it goes fast into a nightmare ...
First, I booted the PowerMac G5 and had a weird display. I didn't remember I had it in this state last time I booted it. I tried to install several Debian images and at the best, I go to the same point.
So, I booted the MacMini G4 that was in Debian 11 but I needed to install some packages, so as usual, I had errors about certificates and repositories and then unsatisfied dependencies and a new kernel trying to be installed but failing due to the boot partition turned in read-only mode (and I couldn't install the required hfsprogs package to fix that). So I installed the latest Debian 12 image and it worked and I finally compiled the game but I can't get a context for the 3D, even software rendering.
Honestly, I don't know if I will trash the old Ubuntu 16.10 that works on the iMac G5 ...

So, as a prerequisite to test the game on Linux PPC, I need a reliable distribution. I wonder if there is a full setup with a desktop that will work in qemu on the Talos 2, emulating a PowerMac machine ...
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: MPC7500 on January 20, 2025, 12:53:25 pm
What about Fienix or Adelie Linux?


Debian Sid Installation Guide (PowerPC) (https://forums.macrumors.com/threads/debian-sid-installation-guide-powerpc.2146795/)
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: mparnaudeau on January 20, 2025, 03:20:01 pm
This forum is still a great source of information but I don't thing there are many people that tried to install Debian since one year. I wanted to run Debian because I use it in general and I thought it was a possibility to contribute ... but I should finally try other distributions. Right now, I have tried Adelie but I have also only the right part of the screen that is displayed. I don't know if it is my graphics card, or drivers, or the screen ....
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: MPC7500 on January 20, 2025, 07:01:36 pm
A lot of people are running Debian sid (big-endian) on G4/ G5/ POWER9.
Fienix (https://fienixppc.blogspot.com/p/download.html), BTW is based on Debian sid.

On a PCIe G5 you could run even a TeraScale GPU on Linux.

Edit: Boot issues with debian-installer on ppc64 (https://lists.debian.org/debian-powerpc/2025/01/msg00009.html)
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: gbudny on January 23, 2025, 01:01:51 pm
I have tried Adelie but I have also only the right part of the screen that is displayed. I don't know if it is my graphics card, or drivers, or the screen ....

Thank you for testing it.

I don't have a PPC computer, but I have some suggestions.

Did you try to change the screen resolution?

Do you have the same issue with the VGA and the DVI port? (I don't know if your graphic card in Power Mac G5 has two ports)
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: Borley on February 28, 2025, 07:03:36 pm
innoextract doesn't have much in the way of debug information. I haven't been able to find which file or directory it is unable to iterate over. innoextract -l is able to read all of the files, however.

Code: [Select]
innoextract on setup_medal_of_honor_2.0.0.21.exe
Extracting "Medal of Honor - Allied Assault War Chest" - setup data version 5.2.3
 - "app/mainta/save/"
 - "app/mainta/sound/characters/"
 - "app/mainta/sound/weapons/Foley/"
 - "app/mainta/sound/weapons/impact/"
 - "app/maintt/music/"
 - "app/maintt/save/"
 - "app/maintt/sound/menu/"
 - "app/maintt/sound/weapons/Fire/"
 - "app/maintt/sound/weapons/impact/"
boost::filesystem::directory_iterator::construct: No such file or directory
Done with 1 error.
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: gbudny on March 22, 2025, 01:53:48 pm
I think you should download this file again from GOG. and check a few things when you do it like a full path to the .exe file, and the name of the file:

https://www.gog.com/forum/general/unable_to_use_innoextract_on_setup_files_for_gothic_or_gothic_2
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: tle on March 23, 2025, 03:28:33 am
Great thanks for buying me the game on GOG

Here is the video of the game running:

https://youtu.be/4rqId3r36Hg
https://youtu.be/PO-tbW1O1Qg
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: gbudny on March 25, 2025, 07:31:08 pm
Hi

Thank you for contributing to OpenMoHAA and testing it.

I watched your three videos with OpenMoHAA, and I'm surprised it works so well on your computer. I was expecting some weird bugs and stability issues because this project didn't have too many PPC Linux users. 

I know that Cowcat had some problems porting it to MorphOS (PPC), but maybe that would helped with some issues on the Raptor computers. 
Title: Re: Medal of Honor: Allied Assault War Chest (OpenMoHAA)
Post by: tle on March 26, 2025, 10:07:12 pm
Hi

Thank you for contributing to OpenMoHAA and testing it.

I watched your three videos with OpenMoHAA, and I'm surprised it works so well on your computer. I was expecting some weird bugs and stability issues because this project didn't have too many PPC Linux users. 

I know that Cowcat had some problems porting it to MorphOS (PPC), but maybe that would helped with some issues on the Raptor computers.

The POWER9 has more than enough juice to run the game smoothly despite of the fact there is no JIT VM support for PPC64LE.