Author Topic: [XP] Custom Resolution Compatibility Plug-Ins  (Read 12968 times)

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3247
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
[XP] Custom Resolution Compatibility Plug-Ins
« on: December 18, 2010, 08:41:22 PM »
Custom Resolution Compatibility Plug-Ins
Authors: ForeverZer0
Version: 1.0
Type: Misc Add-on
Key Term: Misc Add-on

Introduction

This is a listing of compatibility fixes for my Custom Resolution script. I broke this off from the main thread to make it a little easier to find what your looking for, and to avoid character limits and be able to keep them in spoilers. I plan on keeping this as updated as possible, so hopefully we might see a few games that use a screen size other than 640x480.

Requests/Submissions

If you want a fix to a script that is not included, feel free to submit a request. I will likely make fixes to any requests, so long as the script is not some obscure one that has never been heard of. Please use this template when making requests:

Code: [Select]
[b]Script:[/b] <PLACE SCRIPT NAME HERE>
[b]Link:[/b] <PROVIDE A LINK TO THE SCRIPT>
[b]Issue:[/b] <SHORT DESCRIPTION OF WHAT COMPATIBILITY ISSUE NEEDS FIXED>


If you have created a compatibility fix for a specific script, either PM me or post it as a reply and I will inlude it in the main post, with full credit to you.

Compatibility Fixes

Weather System

Compatibility fix for default weather system.
(click to show/hide)

Compatibility fix for Advanced Weather (Ccoa's), Advanced Weather (Zer0's)(Versions 1.2 and under), and MAWS.
(click to show/hide)

Compatibility fix for Advanced Weather 2.0 and higher (generated with the WeatherCreator).
(click to show/hide)

Message System

Default Message System
(click to show/hide)

Compatability fix for Multiple Message Windows (Non-SDK)
(click to show/hide)

Compatibility fix for Ccoa's UMS.
(click to show/hide)

Blizz-ABS (and add-ons)

Fix for the main Blizz-ABS scripts. (Not tested with old versions)
(click to show/hide)


Notes

Please report any bugs/issues/suggestions. I will be happy to fix them.
Enjoy!
« Last Edit: December 21, 2010, 08:20:53 PM by Blizzard »
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.

Offline [Luke]

  • Awakened Visionist
  • **
  • Posts: 77
  • LV: -2
    • View Profile
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #1 on: December 20, 2010, 01:41:17 AM »
You made the impossible, you're the man, bla bla blah. We all approve your genius, Now let's do something useful.

I've tested this with the Blizz ABS, RMX-OS, half of the Tons of Addons enabled, Multiple Message Windows, CCTS, Ryex's Collapsing CMS, and many, many other scripts (even some yet unnamed made by me) in my project and NOTHING DID CRASH. Well, at least after I've repaired the MMS issue: The initialize method of the Window_Message class needs an 'msgindex' argument. Also the initialization called in the Scene_Map has an argument of 0 specified. Fix:

Code: [Select]
alias zer0_resolution_message_fix_init initialize
  def initialize(msgindex)
    zer0_resolution_message_fix_init(msgindex)
    self.x = (SCREEN[0] - self.width) / 2
    self.y = SCREEN[1] - (self.height + 16)
  end
All we need is a pair of brackets and some characters inside ;)

So, nothing did crash. But... There are some major issues with the Blizz-ABS:
1. HUD is too 'low' and it's not visible (same for the RMX-OS chat window, both covered with map)
2. Blizz-ABS battlers have similar issue - there is no priority of their 'upper' parts, if you're 'north' to the enemy, his head doesn't cover your legs.
Well, they are not that major, but still this is a must-fix.

And my personal objection:
The player's character appears at the same position of the screen as in the 640x480 resolution instead of the center of the current resolution's rectangle.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19930
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #2 on: December 20, 2010, 10:03:00 AM »
I think the only problem are the relative z coordinates. F0 should fix that easily. :)
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 ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3247
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #3 on: December 20, 2010, 07:15:20 PM »
I am in the middle of making the BABS fixes. I have already addressed the following in it:
  • HUD placement.
  • Minimap placement
  • Minimap will be drawn to scale to fit the screen. I t will always be 160 pixels wide, but the height will change to match the aspect ratio of the screen.
  • Centering of player (almost, one last bug to work there)

The biggest problem thus far is with the pixel movement and the pre-cached priorities. Since the priorities are pre-cached and saved, but the pixel-rate can be altered at run-time, the coordinates will no longer be correct. I'm working on a solution though, just didn't get it finished yet, so never fear.


I actually have one last bug to work out with the original script, hence it is not yet version 1.0. There are instances where the priorities will mess up when multiple characters are lined up vertically, with a priority 1 tile sandwiching them on the same axis. The bottom character will be drawn over the lowest tile (at least his legs).


EDIT: I just attempted to fix the argument error that [Luke] pointed out above (thank you, by the way), and I get the 403 Error. Is it possible for a mod to fix it for me, please?

EDIT2:
I finished(?) the Blizz-ABS compatibility plug-in, but once again the 403. I will attempt to post it tomorrow. There is a computer at work that sometimes lets me post and modify my own topics.
« Last Edit: December 21, 2010, 06:36:01 AM by ForeverZer0 »
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.

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3247
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #4 on: December 21, 2010, 07:15:39 PM »
Blizz-ABS (and add-ons)


Fix for the main Blizz-ABS scripts. (Not tested with old versions)
(click to show/hide)

I can't modify my own post, so here it is.
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.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19930
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #5 on: December 21, 2010, 08:21:04 PM »
I added it into the first post.
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 ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3247
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #6 on: December 21, 2010, 10:42:14 PM »
* hugs *
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.

Offline Dark4Space

  • Total Beginner
  • Posts: 6
  • LV: 0
    • View Profile
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #7 on: January 13, 2011, 02:19:11 AM »
Sorry I don't speak an perfectly English but... houston we have a problem

Script: Gamba SBABS
Link: http://www.mundorpgmaker.com/forum/index.php?topic=54718.0
Issue: The events follow the character if it is to the left and return to normal when the player "see" where the event has started

Offline [Luke]

  • Awakened Visionist
  • **
  • Posts: 77
  • LV: -2
    • View Profile
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #8 on: January 13, 2011, 02:54:08 AM »
Why are you posting a link to a non-English forum? Probably it's a form of ABSEAL. And I bet that kind of a script needs a huge plug-in. Find somebody on that forum who's well-known with that ABS and will make a CR plugin. I know it's a breakthrough and ForeverZer0 is an interforumational scripting celebrity (or will be) since he published a script that was considered by another scripting god (Blizzard) as very difficult to make ("Scripts that are not possible and why they aren't"), but, still, he cannot make plugins for all the scripts in the world...
...probably :D He did make CRS, so I doubt there's anything impossible to him :P

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3247
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #9 on: January 13, 2011, 03:00:59 AM »
I'm not promising anything on this one. I WILL take a look through it, but I am not going to translate all that just to understand what each method is doing. If something pops out at me, I will make a fix for it, though.
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.

Offline Dark4Space

  • Total Beginner
  • Posts: 6
  • LV: 0
    • View Profile
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #10 on: January 13, 2011, 04:08:55 PM »
Using Google Translate:

This is a mixed with XAS ABS and RTH ABS.
Plug-ins have no incompatibility with the script.
Yes, it is also recognized worldwide ForeverZer0

burandon

  • Guest
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #11 on: November 09, 2011, 04:41:20 AM »
It's compatible with yours CCTS?

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3247
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #12 on: November 09, 2011, 05:33:04 AM »
Yes, it should be.
CCTS does not actually change to many graphical things, it simple controls existing things. You will definitely want to get the weather plug-in, though, so that the weather displays across the entire screen.
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.

burandon

  • Guest
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #13 on: November 09, 2011, 03:21:49 PM »
I'm having problem with blizzABS.I'm using resolution 896x704. After the title screen the game crashes with a error with Multiple Message and his fix it crashes like this:

Code: [Select]
Error in script Blizz ABS Part2, in 2219 line 'NoMethodError'

undefined method 'refresh' for #<Game_Player:0x8b98e78>
With only Blizz and his fix it crashes like this:
Code: [Select]
Error in script Custom Resolution, in 429 in line 'ZeroDivisionError'

divided by zero

Sorry 'bout the English, I'm Brazilian ^^
« Last Edit: November 09, 2011, 03:28:35 PM by burandon »

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19930
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #14 on: November 09, 2011, 04:39:06 PM »
Your scripts are not in the right order.
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 Zexion

  • Addicted to LoL
  • Chaos User
  • ******
  • Posts: 1511
  • LV: 69
  • Gender: Male
  • My anaconda don't...jk it does
    • View Profile
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #15 on: January 26, 2012, 02:32:39 AM »
I'm having a wierd bug, and I have no idea how to fix it.
My resolution is 320x240 exactly half the size that it used to be.
It seems to be cutting off the rest of the map! I can't really describe it so here's a picture!
(click to show/hide)
(click to show/hide)

But now i have discovered that I can't use animated panoramas anymore! In my game, the character visits megaman's world, and there are animated backgrounds in it, but when i use this script it gives me an error.
"Script:'Custom Resolution' line 551: NoMethodError occurred.
undefined method 'width' for nil:NilClass"

It only happens when i animate panoramas by using an event and doing
(click to show/hide)
is there any way to fix it?
« Last Edit: January 26, 2012, 03:05:12 AM by Zexion »

Offline CountVlad

  • Trained Member
  • *
  • Posts: 35
  • LV: 0
    • View Profile
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #16 on: July 08, 2012, 05:08:30 PM »
I'm getting a divide my zero error on line 429 of the main custom resolution script when using the latest version of Blizz-ABS, the custom resolution script and the compatibility plugin.
I've got the scripts in the right order, as far as I know, and it's on a new project with no other custom scripts. I haven't changed any of the settings.

My script order:

ABS1
ABS2
ABS3
Custom Resolution
ABS Compatibility

They are all below the default scripts and above Main.

Any help would be much appreciated.

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3247
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #17 on: July 08, 2012, 05:34:34 PM »
Do you have the pixel_rate in Blizz-ABS set to 0?
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.

Offline CountVlad

  • Trained Member
  • *
  • Posts: 35
  • LV: 0
    • View Profile
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #18 on: July 08, 2012, 10:19:44 PM »
Do you have the pixel_rate in Blizz-ABS set to 0?
In part one of Blizz-ABS it says "PIXEL_MOVEMENT_RATE = 0".

EDIT: it's version 2.84 without any of the settings changed, if that helps.
« Last Edit: July 08, 2012, 10:21:14 PM by CountVlad »

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3247
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: [XP] Custom Resolution Compatibility Plug-Ins
« Reply #19 on: July 08, 2012, 11:19:37 PM »
Just change the line above where it says "if $BlizzABS" to "if $BlizzABS && $game_system.pixel_rate != 0"
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.