[XP] Resize Windows (not fullscreen)

Started by ShadowSaber, January 22, 2011, 05:03:20 am

Previous topic - Next topic

ShadowSaber

One more request from me

Anyone know how to resize the game windows (not fullscreen)?
The windows can be resized to any size by using the mouse

Thanks~

stripe103

January 22, 2011, 06:22:13 am #1 Last Edit: January 22, 2011, 06:24:10 am by stripe103
If you mean resize the window like any other program then I don't think that is possible if you don't hack the Game.exe file and make it able to be resized.
Otherwise the best thing you can do is use ForeverZer0's Custom Resolution script.

If you mean using the mouse to go into a options menu to change the window resolution from there, then I don't know.

ShadowSaber

January 22, 2011, 07:29:55 am #2 Last Edit: January 22, 2011, 07:54:44 am by ShadowSaber
thanks, it solved my problem  :haha:

edit : oh no the resolution can't be changed at will like other program  :???:

The Niche

You'd need to be a programmer to be able to do that. And then you'd need to be able to hack rmxp.
Level me down, I'm trying to become the anti-blizz!
Quote from: winkio on June 15, 2011, 07:30:23 pm
Ah, excellent.  You liked my amusing sideshow, yes?  I'm just a simple fool, my wit entertains the wise, and my wisdom fools the fools.



I'm like the bible, widely hated and beautifully quotable.

Dropbox is this way, not any other way!

ForeverZer0

It is not really that difficult to change the Game.exe to allow for resizeable windows, that's not really the problem. The problem is with the all the built in RMXP scripts that made to use a 640x480 resolution. You can actually change the window size with a script that isn't more 10 lines long, but will show only blackness around a 640x480 picture.

I wrote the resolution script so that a new resolution could be used and have things re-center themselves correctly and draw the tilemap, weather, viewports, etc. to fill the window. I could have easilt included a way for the window size to be changed in game with a script call, but omitted it due to the fact that it would be highly inefficient and prone to errors to re-draw and configure for a different window size once the game is already running. This would be 1000 times worse if the window was resizeable using the mouse. If I were to re-built the RMXP engine from scratch, it would not be difficult to include the feature and have it work correctly, but is really not practical with the current system.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.