Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

window resolution fix

Wouldn't it be nice to fix some of the hard-coded values in RMXP? Then this script and the DLL could be used to full potential. I heard about this through the grape-vine, and decided to come look at it myself. If we could retrieve the default classes and tinker with them, it would be so lovely to implement this script. But the way it is now...

I shall download and use. Is it illegal to decrypt and modify the RGSS dll? I want the power to change resolution, but the Graphics module is stuck with 640x480 resolution on screen transitions, and the viewport is stuck with a 640x480 limit as well. It would be great if these limits did not exist.
 
I suppose it's illegal, however rewriting the hidden classes in a DLL could work.

But this isn't intented only for making the resolution bigger, you can make it smaller too.
 
It's not ilegal, it is ilegal to modify/decompress/reverse engine or others to the rmxp program, but not to the game. I have tried to decompress the RGSS dll, but I can't decompress it... I don't know what method of compresion it has. There are some decrypted RGSS dll, that are about 1.50 mb, but they are not decompressed.
 
I have a question for you. I'm trying to get a script to work fullscreen, I have managed this using your script here, but the problem is the game itself is still small and only plays in the top left hand corner[with the rest of the screen black].

I Have tried starting the game out in Fullscreen then using the script, but it tells me I have to run the game on a 800 x 600 resolution. My computer runs on a 1024 x 768 resolution at the moment. How do I fix that?

Is there a way to make the whole game play fullscreen? I know the traditional way and the way without the Resolution script, but I kinda need the resolution script to make the other script fullscreen.

The other script I'm talking about is here:
Other script needs to be Fullscreen


Thank you in advance,
Firestalker
 
Code:
 @gcr             = Win32API.new('user32', 'GetClientRect', 'LP', 'I')
I don't see this used anywhere in the script. What exactly does it do, and how would one use it? I don't quite understand fully how Ruby (let alone RGSS) uses windows API. It doesn't make much since to me.
 
Oh, nm. I thought this was to fix the full screen resolution. I have a problem where there is a little bit that gets cut off when I do it in full screen...is there anything to fix that? Or is it something wrong with my computer or something?
 

Kyros

Member

To everyone who was wondering how to make the map display across all of the screen, this will help.

In the Tilemap rewrite, change the line

layer.bitmap = Bitmap.new(map.width * 32, map.height * 32)

by changing the 32s to something else (48, perhaps?) it will show more or less of the map. I haven't got the time to ensure that this works flawlessly, so be careful and remember how to change it back if something goes horribly wrong. This also hasn't been tested with anything like in game menus or transitions yet!

You may also need to edit the viewport size in Spriteset_Map from 640 and 480 to whatever you want. I don't know if it'll work right if you don't.
 
It doesn't matter if I change the viewport size in the editor, they are still limited to 640*480.
Did anyone rewrite hidden classes yet? :D
Or do anything to make fogs work properly because I can't live without fogs!
 

arev

Sponsor

Selwyn has made a new Plane class. Look for it in the forum here, although it lags sometime, but you're probably aware of that. The Graphics class hasn't, and probalby won't, been rewriten, so the transitions won't work in higher resolution.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top