Drago - Custom Resolution
Authors: LiTTleDRAgo
Version: 2.16
Type: Resolution Script
Key Term: Game Utility
Introduction~
Features
- Map Zoom (v2)
- Tilemap Tone Changer (v2)
- Custom Autotile (http://forum.chaos-project.com/index.php/topic,12742.0.html) (v2)
Screenshots(http://1.bp.blogspot.com/-yTGYR1smTIQ/UtolY0B22MI/AAAAAAAAAYo/OkzMHPl-jXI/s72-c/Drago+Custom+Resolution.JPG) (http://1.bp.blogspot.com/-yTGYR1smTIQ/UtolY0B22MI/AAAAAAAAAYo/OkzMHPl-jXI/s1600/Drago+Custom+Resolution.JPG)
Click to enlarge
ScriptVersion I (http://littledrago.blogspot.com/2014/01/rgss-drago-custom-resolution.html) (Not Tilemap Rewrite) (Updated 2017/03/29)
Version II (http://littledrago.blogspot.com/2014/07/rgss-drago-custom-resolution-ii.html) (Tilemap Rewrite)
InstructionsIn the script
Note that ALT + Enter are disabled in this script
If you want to forcefully change the game into fullscreen/windowed, use this script call
Graphics.control_screen_size(true/false)
# Change game resolution at will using mouse
# (Will be disabled if Graphics.fullscreen or Graphics.window is used)
Graphics.fullscreen # Change the game into fullscreen
Graphics.window # Change into windowed
Graphics.fullscreen? # Returns true if fullscreen
Version I is not rewriting default tilemap class, so there is less lagg than Version II.
In exchange, there are less feature, such as zoom or flip map.
CompatibilityVersion 1
Only for RGSS1 (default RMXP)
Version 2
All script that modified Spriteset_Map & Sprite_Character need to be edited (Rataime's Shadow, Blizz ABS, etc)
Will cause trouble for Antilag scripts
Not for RMVX
Credits and Thanks
- LiTTleDRAgo
- ForeverZer0 & KK20 for some methods used in this script
- Wecoc for autotile addon (Version II only)
Author's NotesEnjoy ~
I can't believe I never thought of that--using multiple Tilemap instances to fill in the gaps. And it's not like using more than one Tilemap instance is foreign to me; I've done that in my Advance Wars Engine for Fog of War.
I dunno how I'm not getting your FPS. I'm getting 32 without reduced screen flicker and 25 with it on. Using RGSS104E, same map, same [1024, 576] resolution. Not a huge deal, but just puzzled.
If people want only a custom resolution script, I'd recommend this one. Not sure why you are crediting F0 and me since there is nothing similar between the two scripts at all (and it's not like that was the only resolution script that exists to begin with).
And yay, using the Alt+Enter discovery~
Quote from: KK20 on January 20, 2014, 12:18:37 am
I dunno how I'm not getting your FPS. I'm getting 32 without reduced screen flicker and 25 with it on. Using RGSS104E, same map, same [1024, 576] resolution. Not a huge deal, but just puzzled.
Maybe because I used old OS (XP)? my notebook is able to play high res VN so I doubt the problem is from my machine.
Quote from: KK20 on January 20, 2014, 12:18:37 am
Not sure why you are crediting F0 and me since there is nothing similar between the two scripts at all (and it's not like that was the only resolution script that exists to begin with).
I did use few method from F0's Custom Resolution (Graphics.transition, Game_Map, Game_Player) so I should give some respect by adding to the credits
Not to mention the one discovered ALT + Enter solution was yourself
*Script updated*
added zoom animation
I love this script, but it's a shame it doesn't work with RMX-OS! Otherwise congratulations :)
*update 2.14*
added map flip
(http://i.imgur.com/efdpFsFs.png) (http://i.imgur.com/efdpFsF.png)
Quote from: R5GAMER on August 18, 2014, 10:56:35 am
I love this script, but it's a shame it doesn't work with RMX-OS! Otherwise congratulations :)
too bad that I didn't use RMXOS so I can't help you with your problem :sorry:
Quote
too bad that I didn't use RMXOS so I can't help you with your problem :sorry:
No problem :D! It will not change what I still love this script ^^
EDIT : I tested the version I, is work, but i have 5 FPS lol :p
Quote from: R5GAMER on August 22, 2014, 02:44:55 pm
Quote
too bad that I didn't use RMXOS so I can't help you with your problem :sorry:
No problem :D! It will not change what I still love this script ^^
EDIT : I tested the version I, is work, but i have 5 FPS lol :p
If you to accept my help or in case, if have people is interested ^^
I tested with a 50x50 map with nothing => 40 fps.
I tested with the big city or there are several events => 5fps ~
Maybe this can help you get an idea about this lag? (Otherwise, I'll shut up :x)
about version 1, it creates multiple instance of everything in Spriteset_Map because default Tilemap class has viewport glitch when used for resolution above 640x480
example:
if you have 10 event in 1024x576, it equals 40 sprite event
=> 10 * ((1024.0 / 640).ceil + (576.0 / 480).ceil)
=> 10 * (2 + 2)
=> 10 * 4
=> 40
as far as I know, there is no fix for this problem.
Quote from: LiTTleDRAgo on August 22, 2014, 08:24:59 pm
about version 1, it creates multiple instance of everything in Spriteset_Map because default Tilemap class has viewport glitch when used for resolution above 640x480
example:
if you have 10 event in 1024x576, it equals 40 sprite event
=> 10 * ((1024.0 / 640).ceil + (576.0 / 480).ceil)
=> 10 * (2 + 2)
=> 10 * 4
=> 40
as far as I know, there is no fix for this problem.
I did not want to bother you, I thought it might help ......
btw for reference, what error you got when using version 2?
"Script is hanging."
*updated*
try it again now
(http://gohproject.free.fr/uki.png)
sorry, it seems I'm unable to fix the script for RMXOS :(
* updated 2.16 *
added Wecoc's autotile addon (http://forum.chaos-project.com/index.php/topic,12742.0.html)
I tested in 1920x1080 because im crazy lol..
(http://gohproject.free.fr/aze.png)
and 640x480
(http://gohproject.free.fr/azb.png)
I get an error using your script (Script is Hanging) meaning it's loads map more then 10 sec, is possible to fix it or add anti hang solutions to script (I want to test if in this version works Map Zooming in right way if yes then i consider changing my res script if if it doesn't support fullscreen)
Grave digging again. :P
Update version I (not tilemap rewrite)
- Revamped.
- Reduce most of the lagg in the script.
https://pastebin.com/3MEBNjUZ
Tried same thing to ver2 hoping to similar result without using .dll but failed miserably...