Based on the current BETA V0.81.1 release of
https://github.com/openmoh/openmohaa.
Source:
https://github.com/3246251196/openmohaa/tree/AmigaOS4_0_81_1Binary:
https://os4depot.net/?function=showfil ... /fps/openmedalofhonor.lhaExtract the files in the release folder and put them into your official MOHAA installation directory. For me (and presumably for all), this is the directory that includes the
MOHAA.exe file. Finally, run
openmohaa.ppc but consider
openmohaa.pcc >NIL: *>NIL: to avoid terminal output.
Issues:
1.
OS Mouse Cursor still visible2.
Networking; can find servers, but not connect2a.
DSI error wrt. bsdsocket.library3.
Working on X1000, not X5000 [requires kernel 54.65]4.
Missing textures on non-X1000 targets5. Optimizations
6. Classic forgetful freeing of graphics memory
Further issue description (where needed)1.
Seems to have been caused by a later version of SDL. I was using SDL 2.30.9. Fixed: Having went back to 2.24.0, the mouse capturing seems to now work.
3.
This is due to the e5500 not being able to handle mis-aligned floats. I now remember why I made a change to ExecSG to emulate - in this case - the lfs instruction - otherwise an alignment exception is raised. I made this change and committed it over a year ago. Either a new updated kernel is released to the public or I need to make manual changes to the MOHAA code base. I can see that with my modified kernel, using lfs emulation, I can play the game on my X5000.Fixed: Fixed float alignment in the code base to avoid the alignment exception.
2/2a.
It seems as though getaddrinfo is not supported with the version of bsdsocket.library that I am using; at least, version 4.307. Although, I am confused as to how the Woof port that I did had working network if libSDL2-net is also using these functions. As for the DSI crash, I am interested as to what version of newlib/bsdsocket.library you are using, since in the case that bsdsocket.library does not provide the necessary functions then it should not even attempt to invoke it and instantly return with an error code. Apparently, the DSI is still an issue. I need access to this latest bsdsocket.library.Fixed: Using the library that @kas1e mentioned,
libgai, solves the problem by not forwarding to
bsdsocket.library and using its own
getaddrinfo and
freeaddrinfo.
5. Disabling of optimizations is performed regardless of the target hardware. This means where the X1000 could run faster, it does not - because it is performing the work around code to ensure that floats are aligned - in software. Consider an SPE build and further optimizations _to_ the optimizations.
Update: Partially fixed be freeing some stuff, but there is still a leak somewhere.
6. As is often the case when SDL applications are built on forgiving operating systems: this game also suffers from forgetting to free allocations on exit. This means that your graphics memory will fill up everytime you re-open the game.
BeerLastly,
please buy me beers - in order that I can get more things done - via paypal:
3246251196ryan AT gmail.com.
Edited by rjd324 on 2025/3/30 21:34:55
Edited by rjd324 on 2025/3/30 22:05:04
Edited by rjd324 on 2025/3/30 22:05:57
Edited by rjd324 on 2025/3/30 22:06:35
Edited by rjd324 on 2025/3/30 22:09:53
Edited by rjd324 on 2025/3/30 22:11:08
Edited by rjd324 on 2025/3/30 22:55:46
Edited by rjd324 on 2025/3/31 21:42:09
Edited by rjd324 on 2025/3/31 21:42:58
Edited by rjd324 on 2025/4/1 0:31:32
Edited by rjd324 on 2025/4/1 8:33:18
Edited by rjd324 on 2025/4/1 18:01:36
Edited by rjd324 on 2025/4/1 18:02:01
Edited by rjd324 on 2025/4/2 19:54:14
Edited by rjd324 on 2025/4/2 19:56:18
Edited by rjd324 on 2025/4/4 15:14:09
Edited by rjd324 on 2025/4/4 15:16:47
Edited by rjd324 on 2025/4/5 14:23:20
Edited by rjd324 on 2025/4/5 18:50:47
Edited by rjd324 on 2025/4/5 18:52:49
Edited by rjd324 on 2025/4/5 20:47:06
Edited by rjd324 on 2025/4/5 20:52:57
Edited by rjd324 on 2025/4/5 20:54:13
Edited by rjd324 on 2025/4/5 20:54:51
Edited by rjd324 on 2025/4/5 22:21:35
Edited by rjd324 on 2025/4/7 0:01:13
Edited by rjd324 on 2025/4/8 7:22:21
Edited by rjd324 on 2025/4/8 7:40:23
Edited by rjd324 on 2025/4/8 7:40:38
Edited by rjd324 on 2025/4/12 12:06:37
Edited by rjd324 on 2025/4/12 20:00:40
Edited by rjd324 on 2025/4/26 12:29:50
Edited by rjd324 on 2025/4/26 12:30:18
Edited by rjd324 on 2025/4/26 13:52:02
Edited by rjd324 on 2025/6/23 16:42:56