Metal Gear 2 MSX emulation speed?

Page 6/6
1 | 2 | 3 | 4 | 5 |

By Manuel

Ascended (17078)

Manuel's picture

19-06-2020, 00:26

By Parn

Hero (610)

Parn's picture

19-06-2020, 08:51

LOL, I must have overlooked it as well. This is great. Thank you once more, @Manuel.

Anyway, this doesn't completely invalidate all the previously done research, since at least we now know how to make the hat work as both the joystick and the cursor keys. Tongue

By Manuel

Ascended (17078)

Manuel's picture

19-06-2020, 13:30

Can you confirm it works as you want?

By Parn

Hero (610)

Parn's picture

19-06-2020, 20:05

Yes, it works perfectly. It works even better than binding the hat to the cursor keys. That previous configuration mainly works but comparing both I can see they don't work the same.

By Muyfa666

Resident (36)

Muyfa666's picture

20-06-2020, 01:49

Did this work even better? How did you use it in practice?

By Muyfa666

Resident (36)

Muyfa666's picture

20-06-2020, 21:28

I tried this:

dict lappend joystick1_config LEFT L_hat0
dict lappend joystick1_config RIGHT R_hat0
dict lappend joystick1_config UP U_hat0
dict lappend joystick1_config DOWN D_hat0

Works perfect! So cool!

By Parn

Hero (610)

Parn's picture

21-06-2020, 04:16

Muyfa666 wrote:

Did this work even better? How did you use it in practice?

I made a small program:

10 CLS
20 LOCATE 0,0:PRINT STICK(0),STICK(1)
30 GOTO 20

Then I ran the program and tried to move the d-cross in many different directions. It immediately jumped to my attention that STICK(0), which shows the state of the directional keys, and STICK(1), which shows the state of the first joystick, didn't show the same values as expected. Instead, STICK(0) seemed to lag a bit and depending of what I did, was just outright wrong. I think not all interactions were correctly predicted.

For example, for hat0 down, I think we should release left, up and right keys, not just up. At this point I was honestly a bit tired of trying more configurations, especially considering the hat0 binding to the joystick already worked better.

Anecdotally, I noticed I played Zanac EX much better with the latter configuration, despite still sucking at it. Tongue

By Muyfa666

Resident (36)

Muyfa666's picture

21-06-2020, 09:54

I bound all the keys as I want them and it’s working good.

The dict binds are spot on and as the MSX rely on M, N and space, I had plenty of buttons for the F-keys.

At least for Metal Gear 1 & 2 this works good.

By Parn

Hero (610)

Parn's picture

21-06-2020, 17:08

I'm happy to know everything worked out fine!

By Manuel

Ascended (17078)

Manuel's picture

22-11-2020, 00:01

Muyfa666 wrote:

I tried this:

dict lappend joystick1_config LEFT L_hat0
dict lappend joystick1_config RIGHT R_hat0
dict lappend joystick1_config UP U_hat0
dict lappend joystick1_config DOWN D_hat0

Works perfect! So cool!

This is now done by default as from the current development version. Yay.

Page 6/6
1 | 2 | 3 | 4 | 5 |