Openmsx ignores toggle_freq when done externally

Page 1/2
| 2

By brakenwagen

Supporter (14)

brakenwagen's picture

23-03-2018, 23:32

Now I got a new problem opnemsx straight up ignores the command toggle_freq and just sets itself according to whatever machine is running. even if it displays a message saying its changed its not. The only why it changes is if I do it manually through the console during gameplay.

Login or register to post comments

By Manuel

Ascended (14328)

Manuel's picture

24-03-2018, 00:12

It depends when you issue the command. If it's right after startup, the BIOS will soon after that set it to the value it wants itself... toggle_freq writes a VDP bit. If you really want to play at 50Hz, better use a 50Hz machine. Much easier: BIOS will set the VDP right for you and you'll get English texts as bonus in some Konami games.

By brakenwagen

Supporter (14)

brakenwagen's picture

24-03-2018, 02:11

the problem is that while most of the time I play in 50hz same games don't run well in 50hz like vampire killer it stutters a lot in 50hz but as you said some games (including vampire killer will display in english on an EU machine. but than sometimes games like metal gear refuse to play on an EU machine but I still want to play them at 50hz and sometimes it just depends how i feel that day.

It would be so much easier if it was just a simply command line option like the machine itself. You should be allowed to have control over the hz regardless of what machine your using, the two should be completely different settings. if people want it chosen for them you put in a third option called auto.

By JohnHassink

Ambassador (5271)

JohnHassink's picture

24-03-2018, 02:46

Maybe it is a message from the creators that they want you to play the game as it was intended. Wink Running Naked in a Field of Flowers

By brakenwagen

Supporter (14)

brakenwagen's picture

24-03-2018, 03:25

I don't buy into that its wrong to take away player choice, also "as it was intended" can be a matter of debate see exhibit a, b, and c

https://i.imgur.com/Pq2Yra4.png

https://www.youtube.com/watch?v=ssluTgfkdlg

https://www.youtube.com/watch?v=YXFYWJ7dbz0

Take Tomb Raider for example you could play it like normal on a psx or today you could use something called perspective correction. But does that go against the devs original vision? the pc version with hardware acceleration looks not unlike psx with perspective correction and upresing. However you could also play it in software mode which looks like the original psx minus the flickering textures (but still really fugly). While many played tomb reader with a GPU back in the day for many it is the psx version that is the original way "it was intended"

At the end of the day what is best is to just educate users so they have all the information they need to make an informed decision on what is best for them because it all comes down to personal test.

By mars2000you

Enlighted (5287)

mars2000you's picture

24-03-2018, 08:44

Maybe you should try blueMSX, which has a setting in his interface to force 50hz (or 60Hz) instead of 'auto' mode for the VDP frequency. One the choice on this matter is made, it's normally saved in the blueMSX.ini file.

You can also directly edit the blueMSX.ini file: replace
emulation.vdpSyncMode=auto
by
emulation.vdpSyncMode=50Hz

By Manuel

Ascended (14328)

Manuel's picture

24-03-2018, 09:39

For Metal Gear, use the English version, it runs fine on a European MSX.

If you insist on controlling the video chip like that, you have to give the command later, using the after command. E.g. after time 1 toggle_freq

On MSX2 and up, the software controls the interrupt/display frequency and openMSX has no option to permanently override it.

By JohnHassink

Ambassador (5271)

JohnHassink's picture

24-03-2018, 11:16

I was only kidding. Smile

Personally, I prefer to play games without weirdly sluggish music and jerky gameplay, but even if anybody likes to play in a zebra suit with a snorkel, upside down in a fish tank full of sea cucumbers, it's not my business. Wink

By mars2000you

Enlighted (5287)

mars2000you's picture

24-03-2018, 11:43

The problem is indeed not to discuss what is the best VDP frequency to play a MSX game or demo, but to leave the choice to the end-user and to save/apply his preferences, what openMSX can't do for the VDP frequency, not only for the launching of the emulated MSX machine, but also permanently even when the software has instructions to change the VDP frequency.

By Grauw

Enlighted (7214)

Grauw's picture

24-03-2018, 12:24

Just use a European or Japanese machine to choose frequency…

The toggle freq is a bit of an emulator hack, directly changing the VDP registers. The reason why the frequency toggle doesn’t get applied is because it executes before the BIOS initialises the VDP registers, and the BIOS of course sets it to the machine default. But, after works.

Edit: Ok, I just noticed I said nothing that wasn’t said already Big smile.

By sd_snatcher

Prophet (2734)

sd_snatcher's picture

24-03-2018, 13:50

No need to get stressed.

webMSX has an US-International machine configuration (it's the default), so you can easily play the games both in English and 60Hz.

OpenMSX will also feature an US-International machine in its next version: it's one of the C-BIOS machines, and AFAIK it will be the default.

Page 1/2
| 2
My MSX profile