Hey all! That's basically my question - can I toggle reduce screen flickering with a switch? I'm using Yanfly's Engine Ace - System Options v1.00 Add-on++ (the one with fullscreen options) and I'd like to add the ability for the player to turn on or off the reduce screen flickering setting. The script has a section for custom switches. Is that possible? Thanks!
Can I control VSync/Reduce Screen Flickering option with a switch?
RPG Maker VXAce SupportPlease give a link to the website of the script.
It should be possible, but no one will be able to tell without checking the code in question.
It should be possible, but no one will be able to tell without checking the code in question.
Thanks! Here's the script I'm trying to add to.
[ACE] YEA System Options + Fullscreen [SOLVED]
Hi everyone, So i use the addon of Oscar92player from the yanfly options script that i found here: https://forums.rpgmakerweb.com/index.php?threads/vx-ace-toggle-fullscren-option.70147/#post-666208 The addon: I wanted to know if it was possible to replace the fullscreen options (so the F5...
forums.rpgmakerweb.com
edit: Linked the wrong script. It's the modified one at the bottom by Roninator2.
What is your screen flickering?.
The yanfly system options with full screen I'm familiar with is just setting the full screen mode and resize options for zeus81 full screenscreen script.
The yanfly system options with full screen I'm familiar with is just setting the full screen mode and resize options for zeus81 full screenscreen script.
Well, I'm using a script to disable the F1 function in the final game. I still want the players to be able to toggle the "Reduce screen flickering" option if they need it, though.
and where is that option?
that is what we were asking for, because I can't find that option anywhere in the script you linked
That option currently doesn't exist. I'm trying to add it to the YEA system options since it has a section for custom switches.
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# If you want your game to have system options other than just the ones
# listed above, you can insert custom switches here to produce such an
# effect. Adjust the settings here as you see fit.
#--------------------------------------------------------------------------
CUSTOM_SWITCHES ={
# -------------------------------------------------------------------------
# :switch => [Switch, Name, Off Text, On Text,
# Help Window Description
# ], # Do not remove this.
# -------------------------------------------------------------------------
:switch_1 => [ 1, "Custom Switch 1", "OFF", "ON",
"Help description used for custom switch 1."
],
# -------------------------------------------------------------------------
# If you want your game to have system options other than just the ones
# listed above, you can insert custom switches here to produce such an
# effect. Adjust the settings here as you see fit.
#--------------------------------------------------------------------------
CUSTOM_SWITCHES ={
# -------------------------------------------------------------------------
# :switch => [Switch, Name, Off Text, On Text,
# Help Window Description
# ], # Do not remove this.
# -------------------------------------------------------------------------
:switch_1 => [ 1, "Custom Switch 1", "OFF", "ON",
"Help description used for custom switch 1."
],
# -------------------------------------------------------------------------
So I'm trying to toggle reduce screen flickering/vsync with this.
No, he wants to add the option on. But I can't find anything that shows how to change it by code
I did find a script that can have it on or off but thats for RGD.
Could you link that script for RGD please? I recently discovered RGD but haven't used it since I'm still a newbie with RPG Maker. Would like to eventually use it though.
I found on this page some code for changing the vsync and from what I can see it kind of works.
forums.rpgmakerweb.com
Only problem is that the game.exe f1 settings do not update.
I don't know if the vsync is working or not since I don't have any issues with it.
I can provide what I've done, and have someone test it to see if there are actually any changes.
But if it only works if the checkbox in the game.exe is on then this can't be done. Many have tried.
RGSS3 Regedit Modifying - script call error
Original script: Trying to set the value of DWORD values in-game (0 or 1) and it's not working; think I'm messing up the value format on the reg.set line. Script call: reg = Registry.new() reg.open(:HKEY_CURRENT_USER, "Software\Enterbrain\RGSS3") reg.set("PlayMusic", 0) value =...
forums.rpgmakerweb.com
I don't know if the vsync is working or not since I don't have any issues with it.
I can provide what I've done, and have someone test it to see if there are actually any changes.
But if it only works if the checkbox in the game.exe is on then this can't be done. Many have tried.
Cool - thank you! Seems like that script for RDG is what I'm looking for. I also wanted to add keymapping so this will be really useful. Could you elaborate a bit though? Sorry, I'm not sure what you mean by "game.exe f1 settings do not update.". Like, it won't save the players options?
you have to restart the game for the settings to save, but you can't close the game you have to hard crash it for it to not change the settings back.
turned off
turned on
Crashed system and restarted game
turned on
Crashed system and restarted game
But like I said I don't know if the vsync is working when changing it in game or if it using the settings in the F1 menu.
So even if it works in game when you close the game and play again next time you will have to go back into the menu and change it again.
So unless you said this change is only temporary this is not a good solution.
One solution would be to turn it on at the start of the game by default. So a bit of coding and that can be done without a problem.
*UPDATE
Realized that the setting is in effect as long as you do not open the F1 menu. So if you use something to block it then you're good.
That's good to know! Thanks for your help! I'm currently testing the F1 Game Config with YEA System Options (without the fullscreen addon) but the fullscreen function doesn't seem to work correctly. When I select fullscreen, it glitches out. Any idea why? The instructions in the blog are kinda' sparse.
It glitches for me when changing the size in fullscreen, so I don't know
I see. Yeah, that's the problem I'm having too. Ok, well, I'll fiddle with this some more. Maybe I'll reply to the RGD post too. This really seems like the easiest way to add keymapping to my game. Thanks again for the help!
Original thread: https://forums.rpgmakerweb.com/threads/can-i-control-vsync-reduce-screen-flickering-option-with-a-switch.156429/