Custom Resolution Script

Huh. I deleted the Window Resolution Script and now I'm getting a different error: "Script 'ResPlugin :: Scene_Title' line 57: NameError occured. uninitialized constant Scene_Title::Resolution".

Sorry about my complete scripting helplessness here. =D

EDIT: Oh, line 57 is "Resolution.update".
GoldenGriffon wrote:
Huh. I deleted the Window Resolution Script and now I'm getting a different error: "Script 'ResPlugin :: Scene_Title' line 57: NameError occured. uninitialized constant Scene_Title::Resolution".

Sorry about my complete scripting helplessness here. =D

EDIT: Oh, line 57 is "Resolution.update".


Actually, just delete that line, too.
More errors! ^_^

Okay, so I deleted line 57, started up the game, and this time the new/load/quit screen actually worked. However, when I started a new game, I got
"Script 'Scene_Map' line 24: NameError occurred.
uninitialized constant Scene_Map::Resolution"

It was the same thing as last time, so I decided to see what would happen if I deleted that too.
This time, I got
"Script 'Tilemap Class Rewrite' line 660: TypeError occurred.
cannot iterate from Float"

(659) # Passes Through X Coordinates
(660)  for x in x1...x2


Bah. Oh, also, I tried fullscreen, and it still didn't center. :( This is what it looks like:
http://www.imageuploadsite.com/images/s ... txlsoo.jpg[/img]

Sorry about all this trouble, by the way.
Well, I just deleted all of my scripts, and copied the two I posted, as well as the original title screen script. What I got was that error about the resolution, which I promptly deleted. Then, I found thart it works just fine. Try deleting all of the scripts from this thread, then copying the two from my post into your project, with the Tilemap rewrite first, then the resolution script. Then, just copy in the title screen script, and delete that line again. It should work. Also, I feel like such a hack, because I just cut and pasted so many scripts togaether, then hacked them apart again. :D Anyway, I've been working on a similar script to this, which is why I was able to help. (Except mine will have preset sizes, like the size of a GBA screen. Go figure.)
It worked! :D ...Only problem is, The Fullscreen size still isn't fullscreen. =(
Here's a screen of what it looks like...
http://www.imageuploadsite.com/images/d ... 6seqpi.jpg[/img]
...compared to how I would like it to look.
http://www.imageuploadsite.com/images/a ... twqoqe.jpg[/img]
That's actually a problem with the original script, and I really don't want to spend the time editing the scripts so that it completely changes around on going to fullscreen. It is a lot more work, and not in my area of expertise. I'd recommend either finding a scripter willing to try disabling fullscreen (if it can be done), or put in an edit request for these scripts. I honesly know very little on how the fullscreen function for this program functions.

Edit: I just did a quick check, and it looks like that actually might require going as far as actually hacking game.exe. So, way out of my realm of expertise, and forbidden here. (It breaks RMXP's EULA)
Alright. Thanks for all the help! :)
Sorry for necro-posting or summin', but I came across this script(which is awesome by the way), but I've got
this issue: Every time I try to load my game, it says "LoadLibrary: Display.dll" or something like that. I also tried
with the demo in your main post, but the error message is still the same.

If you can help me, I'll appreciate it, and if not, don't worry.
Sorry if I shouldn't be posting here again.
You really dug out a grandpa of scripts here... I'm really not familiar with RM enough anymore that I could help you with this one, but if you do have the dll file in your project's folder, it should work ^^ Anything else seems to be caused by your system, as I can assure you the demo's been working perfectly fine for me.
Oh, ok, sorry about that.
It seems it's my computer that causes the error.
Thanks!

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=19861