Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
58 user(s) are online (47 user(s) are browsing Forums)

Members: 0
Guests: 58

more...

Support us!

Headlines

Forum Index


Board index » All Posts (rjd324)




Open Medal of Honor (BETA)
Quite a regular
Quite a regular


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_1

Binary:
https://os4depot.net/?function=showfil ... /fps/openmedalofhonor.lha

Extract 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 visible
2. Networking; can find servers, but not connect
2a. DSI error wrt. bsdsocket.library
3. Working on X1000, not X5000 [requires kernel 54.65]
4. Missing textures on non-X1000 targets
5. 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.

Beer
Lastly, 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
Go to top


Re: (Open) Medal Of Honour
Quite a regular
Quite a regular


Yes. I dropped this project for a while since other things came up both work related and Amiga related.

I was actually working on this about 12 hours ago since not working on it for a good few months. It was very late, but I tested it and was able to start a new game. I only had time to play it for 2 minutes before desparately needing to go to sleep.

Expect something, soon(tm).

Go to top


Re: AOS 4.1 FE reinstall and preparation for update 3
Quite a regular
Quite a regular


In the case that up2hf is installed over the already updated up2, is there any bad effect?

Go to top


Re: Dear ImGui
Quite a regular
Quite a regular



Go to top


Re: Dear ImGui
Quite a regular
Quite a regular


Spacecadet Pinball which is on OS4Dev also uses a basic imgui gui.

Go to top


Re: source code for command& conquer out
Quite a regular
Quite a regular


This is my favourite game. Let's get it ported :p

Go to top


Re: source code for command& conquer out
Quite a regular
Quite a regular


And after that, I guess it is not trivial to convert DirectX to OpenGL?

Go to top


Re: X5000 optimized code compile
Quite a regular
Quite a regular


@walkero
Should we make a pinned thread / guide for optimised gcc flags for the different targets?

Go to top


Re: Simply delete .DS_Store file as well as ._xxxx in multiple folders with one magic trick.
Quite a regular
Quite a regular


protect script +s
script dir


Or just
execute script dir

Go to top


Re: WA_PubScreenName not working with PPC build
Quite a regular
Quite a regular


Do you have to do something different with the os4 version like ensure the public screen exists and tick the box that says auto, or something like that?

Go to top


Re: A Good Playstation Style Contoller
Quite a regular
Quite a regular


It's broke.

Go to top


A Good Playstation Style Contoller
Quite a regular
Quite a regular


Can somone recommend a Playstation type controller?

I have an actual one, but they all fail and I am not sure I can be bothered to get the soldering iron out.

I have a cheap Chinese one, but the D-Pad is awful.

Is there a good USB controller that looks/feels like a Playstation controller that someone uses?


Edited by rjd324 on 2025/1/18 13:56:47
Go to top


Re: copy 54.11 fails to indicate non-extant file/folder and returns successfully
Quite a regular
Quite a regular


@amigakit
Thanks for the update.

@kas1e
I use Enhancer on my X5000 and pure Hyperion on my X1000.

Go to top


copy 54.11 fails to indicate non-extant file/folder and returns successfully
Quite a regular
Quite a regular


version file full c:Copy 
Copy 54.11 
(28/07/2022)
Copyright (C2022 AmigaKit Ltd.

I am not sure if this has been updated since, but it seems as though attempting to copy a non-existent file(s) (at least, in a non-extant parent directory) results in silent output and return code of 0.

For example:
15.Other:test/MednafenTestcopy z420_2:projects/SVN_AMIGA/mednafen-1.29/installAmiga_newlib/bin/#? newlib/
15.Other:test/MednafenTest> echo ${RC}
0

There is no such folder
z420_2:projects/SVN_AMIGA/mednafen-1.29/installAmiga_newlib


In case it matters, z420_2: is a samba share.

Go to top


X1000 ISO Layout KB
Quite a regular
Quite a regular


Does anyone have an ISO layout X1000 keyboard they are willing to sell?

Go to top


Re: STDOUT per thread (SOLVED)
Quite a regular
Quite a regular


Right. It is something that needs fixing in CLIB4.

Regards,

Go to top


STDOUT per thread (SOLVED)
Quite a regular
Quite a regular


Given a program that creates mutliple threads and each of those threads writes to STDOUT and if we have a wrapper script that does something like:
myprog stdout

Only the "parent" thread will write results to the file named "stdout". The created thread's stdout is not sent to "stdout".

I get that there are no such thing as threads in AmigaOS4. It is just a separate process.

Is there a workaround for this? Should this be something that we fix?

When running the executable, standalone, the effective results are fine. But for the script, this is not the case.

===
Test file: STDOUT.lha

FTP: tellusregio.duckdns.org
PORT: 32463
Anonymous login

Run: run_test_22_ThreadLocalStorage_clib4_STATIC.script


Edited by rjd324 on 2024/12/31 0:12:52
Edited by rjd324 on 2025/1/1 3:58:49
Go to top


Re: Mednafen Port for AmigaOS4
Quite a regular
Quite a regular


Right. The x5000 is not even at the limits for Mednafen, and yet I personally describe the PSX side of it to be "barely playable", which means it runs at the absolute minimum for me to enjoy playing my old PSX games, but if it was 1 fps slower, it wouldn't be worth it.

Go to top


Re: Mednafen Port for AmigaOS4
Quite a regular
Quite a regular


Yeah, I have never noticed a big difference between fs and window, perhaps a little.

BTW, I know the configuration is complex. It looks like you are creating a configure file first and then running thr PSX game. It may be that Mednafen overwrites it with default values, disregarding yours.

Don't know if it is in the documentation, but it is best to run a PSX game first, let Mednafen generate the configuration, then modify the rather large config.

Even with the period values, the sound is not perfect, but just noticed that the values I mention in the readme are the ones that worked best for me.

I will soon get around to rebuilding the whole thing with, what I believe, will be a much faster version of clib4, or try newlib again. Regardless, Mednafen is always going to be CPU intensive, as the owners concede themselves in their documentation.


Edited by rjd324 on 2024/12/29 1:36:59
Go to top


Re: Mednafen Port for AmigaOS4
Quite a regular
Quite a regular


Hey. Sorry, this is never going to work at any playable level on anything but an X5000.

FPSE is the best option in all cases, its only issue is compatibility games.

Go to top



TopTop
« 1 2 3 (4) 5 6 7 ... 44 »



Polls
Running AmigaOS 4 on?
AmigaOne SE/XE or microA1
Pegasos2
X5000
X1000
A1222
Sam 440/460
Classic PowerPC Amiga
WinUAE emulation
Qemu emulation
Total Votes: 168
The poll will close at 2025/12/1 12:00
3 Comments


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project