Author Topic: [XP] How to disable Fullscreen Alt+Enter function  (Read 4068 times)

Offline Wecoc

  • Transcended Spirit
  • ***
  • Posts: 108
  • LV: 44
  • Gender: Male
    • View Profile
    • Mundo Maker
[XP] How to disable Fullscreen Alt+Enter function
« on: September 25, 2013, 12:44:55 AM »

How to disable Fullscreen Alt+Enter function



Orochii Zouveleki told me this trick some time ago and it's useful so I wanted to post it.
When you are on game you can switch between fullscreen mode or window mode pressing Alt+Enter.

I will show you how to have a better control on this function and also how to deactivate it.



Step 1:
Download Resource Hacker. It's the same program used on this tutorial to change the icon on your game: Changing Your Game Icon

Step 2:
Start up ResHacker.exe
Go to File -> Open, then go to the directory where your game files are located.
Choose to open the the dll ; by default it's filename is RGSS102J.dll

(click to show/hide)


Step 3:
Accelerators >> 102 >> 1024

(click to show/hide)


Step 4:
Change this:
Code: [Select]
VK_RETURN, 40002, NOINVERT, ALT, VIRTKEYto this:
Code: [Select]
VK_F13, 40002, NOINVERT, VIRTKEY
(click to show/hide)

Now the fullscreen is not called with Alt + Enter but rather with F13.

The important thing there is that you won't be able to call it through the keyboard because there's no F13 key, but you can use it on scripts using Win32API.


Step 5:
Click 'Compile Script'


Step 6:
Go to File -> Save
A copy of the original dll will be saved also on the game's folder.


Step 7:
Close Resourse Hacker and test the game.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19906
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] How to disable Fullscreen Alt+Enter function
« Reply #1 on: September 25, 2013, 08:13:00 AM »
Hmmm, very interesting. Would that work for F1 and F12 as well?
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


Quote from: winkio
I do not speak to bricks, either as individuals or in wall form.

Quote from: Barney Stinson
When I get sad, I stop being sad and be awesome instead. True story.

Offline orochii

  • Transcended Spirit
  • ***
  • Posts: 143
  • LV: 14
  • Rhapsody of the Warrior of Ice
    • View Profile
Re: [XP] How to disable Fullscreen Alt+Enter function
« Reply #2 on: September 26, 2013, 04:30:03 PM »
For F1, yeah, it does. I actually removed the vanilla options menu for my game because I have a pretty much custom everything xD (controls, FMod... and a bunch of others specific to my game). The line that says VK_F1. The second line is for FPS showing, which actually gives some problems with stuff that grab the window's identifier by Win32API based on the game's title (screenshots for example, they don't get the area properly when it's showing the FPS). EDIT: Good thing is that the F2 works only on tests.

As for the F12, seems to not be inside RGSS DLL accelerators. Maybe it is inside Game.exe's?
Orochii Zouveleki