Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
18 user(s) are online (11 user(s) are browsing Forums)

Members: 0
Guests: 18

more...

Support us!

Headlines

 
  Register To Post  

« 1 (2) 3 4 »
Re: Open Medal of Honor (BETA)
Just popping in
Just popping in


See User information
Also tested SDL_CaptureMouse. And same as Maijestro. The mouse pointer remains visible within the window.

Go to top
Re: Open Medal of Honor (BETA)
Quite a regular
Quite a regular


See User information
Thanks both. No only is it visible, but you are also able to move the mouse out of the constraints of the window?

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Open Medal of Honor (BETA)
Just popping in
Just popping in


See User information
It looks as it works when you start (the pointer stops at border once) and then stops working when you have touched an edge.


Edited by TearsOfMe on 2025/4/2 10:27:10
Go to top
Re: Open Medal of Honor (BETA)
Just can't stay away
Just can't stay away


See User information
@rjd324

Maybe using "SDL_SetWindowGrab(win, SDL_TRUE)" that doesn't let the mouse/curosr get out from the win(dow)


EDIT1: Ooops already using above function. Anyway you can check in http://github.com/smarkusg/OpenFodder how is done (window.cpp), but can't remember where/how it hides WB cursor.


Edited by jabirulo on 2025/4/2 12:51:04
Go to top
Re: Open Medal of Honor (BETA)
Quite a regular
Quite a regular


See User information
Either the example code is not doing what I think it should be doing, or there is an issue in the SDL version I am using. I will just test this out later. I am hoping @capehill reads these messages.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Open Medal of Honor (BETA)
Just can't stay away
Just can't stay away


See User information
@all

I have already observed this behavior under dosbox staging, it behaves the same as in Medal of Hornor.

The current version of SDL2 was also used here. Take a look at The window and the toll pointer is also visible in the full screen.

In the last part of the video, where I run Win95, you can see this clearly





@capehill

Could an error have crept into SDL2 here?

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: Open Medal of Honor (BETA)
Quite a regular
Quite a regular


See User information
Yeah, I can confirm it.

I just built the same small example using SDL version 2.24.0 and it works as expected.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Open Medal of Honor (BETA)
Quite a regular
Quite a regular


See User information
I have now rebuilt the release reverting to SDL version 2.24.0. It looks like #1 is no longer an issue. Please test it: r732.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Open Medal of Honor (BETA)
Not too shy to talk
Not too shy to talk


See User information
@rjd324

Yes r732 fixes mouse pointer problem.

Although based on Quake engine, it looks like MOHAA is too demanding for Sam 460. It works like 1-2 fps on Sam460 + RX-550.

On X5000 it is really fun to play.

I wish I can buy you a beer, but Paypal doesn't work in my country :(

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Open Medal of Honor (BETA)
Just can't stay away
Just can't stay away


See User information
@rjd324

Quote:
rjd324 wrote:I have now rebuilt the release reverting to SDL version 2.24.0. It looks like #1 is no longer an issue. Please test it: r732.


yeahhooooo that's it. Mouse pointer with r732 has disappeared...nice. So we have a SDL2 problem or the engine uses an older version and is not compatible ?

I recommend everyone to install update/patch 1.11 for Medal of Hornor for the game files. Without it there were significant problems and the fps in some level sections broke below 15fps. With the patch/update it feels like a good 30 FPS all the time. I didn't expect this, but it shows that our GFX drivers are good.

Gameplay is really great and it's fun

Ok what remains:

- DSI problem when starting Medal of Hornor (bsdsocket.library)
- no sound in the main intro

Thanks rjd324

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: Open Medal of Honor (BETA)
Just popping in
Just popping in


See User information
I am writing an installer for Ryan, so that his port can be directly installed from the PC CD. Little thank you as I could not have made my Baldur's Gate port without his Python port

BTW: If other people port opensource titles and need an installer, feel free to contact me.

Go to top
Re: Open Medal of Honor (BETA)
Not too shy to talk
Not too shy to talk


See User information
@TheMagicSN

Thanks for doing the installer!
Will make it easy since I don't own a PC.

@rjd324

Thanks for the port!

1989-> A500, A600, A3000, A4000, A1200, CD32, µA1, PegII, A1XE, CDTV, Amy/416D79, A1X5000, Vampire 500 V2+, Vampire 600 V2, Amy-ITX, Denise ITX <-2024
Go to top
Re: Open Medal of Honor (BETA)
Quite a regular
Quite a regular


See User information
I updated post #1 wrt. issue 2 and introduced the DSI as issue 2a.

Please read and report back.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Open Medal of Honor (BETA)
Home away from home
Home away from home


See User information
@rjd324
getaddrinfo is known to have issues with bsdsocket.library, so instead you may use libsocket from clib/newlib (by just switching includes to proto/socket.h and get rid of bsdsocket includes). But, then, if it uses in threading you will have issues with both cases if i remember well. You may want implement your own (like in libgai done) and then use it instead.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Open Medal of Honor (BETA)
Just popping in
Just popping in


See User information
What is the issue with it? In my Stratagus/wc2 port
I also got net issues (tries to connect bit does not
find the other side)

Go to top
Re: Open Medal of Honor (BETA)
Just can't stay away
Just can't stay away


See User information
@rjd324
getaddrinfo()/freeaddrinfo() isn't supported by bsdsocket.library (RoadShow), but the AmigaOS 4.x C library (newlib) includes those functions.

Go to top
Re: Open Medal of Honor (BETA)
Home away from home
Home away from home


See User information
@steffen
All this get*() functions were always buggy in some cases and i use my own always

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Open Medal of Honor (BETA)
Just can't stay away
Just can't stay away


See User information
@kas1e
Quote:
But, then, if it uses in threading you will have issues with both cases if i remember well.
Unlike most other network functions getaddrinfo() and freeaddrinfo() should be thread-safe, most likely your problem is in some other, not thread-safe, part of the networking code.

Go to top
Re: Open Medal of Honor (BETA)
Just can't stay away
Just can't stay away


See User information
@rjd324

I have tested it a little with bsdsocket.library version 4.307 there is no DSI. It seems that on some systems bsdsocket.library version 4.321 is already installed as well as on my system.

There seem to be problems with version 4.321, we had similar problems with NetSurf.

@TheMagicSN

If you could write an installer for Open Medal of Hornor that would be fantastic.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: Open Medal of Honor (BETA)
Home away from home
Home away from home


See User information
@joerg
Quote:

Unlike most other network functions getaddrinfo() and freeaddrinfo() should be thread-safe


I cant say right now exact details, but i remember that newlib version do have bugs in getaddrinfo(). Then bsdsocket library got update to have those functions in, and newlib version just redirect to bsdsocket since, so both have same bug which i report years ago and wasnt fixed. And as result its best to use own one, which small enough.

Ps and what Maijesto says have sense too: newer bsdsocket.library implement thise functions, but they buggy.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top

  Register To Post
« 1 (2) 3 4 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project