Mouse System?

Hi all,

I am in desperate need of a mouse system plugin for MV. Galenmereth made one (Mouse System Ex), but unfortunately, it's outdated by quite a lot-- and prevents you from running the game if active. It doesn't seem like they'll be updating any further, as the last update was a few years ago...

If anyone can make an MV mouse system plugin, or get Galenmereth's permission to update the existing plugin, or even direct me towards another mouse system plugin, then it would be very greatly appreciated.

I need to:
- Have a custom cursor that changes it's sprite when hovering over a set event
- Make sure it has the functionality of the actual cursor (pretty self-explanatory... You click on an event and it runs the event!)

Tysm!
Mv has a mouse system by default. If that is not working you may have a plug-in issue.
Huh, you're right that TDDP_MouseSystemEx (1.8.2) appears to be broken in MV version 1.5.1. Trying to start up the game results in an endless "Now Loading..." screen with no errors thrown.

Do you only need one custom cursor, or do you need custom cursors for various things? Do you want to use a notetag in the event to specify that it uses a custom cursor, or do you want the plugin to determine whether to use the custom cursor based on the event's contents (like MouseSystemEx)?
I have TDDP_MouseSystemEx version 1.8.2 and MV version 1.5.1, and it runs perfectly fine. So maybe it's a plugin incompatibility?
I have TDDP_MouseSystemEx version 1.8.2 and MV version 1.5.1, and it runs perfectly fine. So maybe it's a plugin incompatibility?
Weird...I just tried it on a clean project and it behaves the way I described, with NO other plugins (not even the two default ones).
Did you try adding custom cursor files?
Are you talking about MV, or VX Ace?

MV has a mouse system, and is getting very regular updates. I'm thinking you might be talking about Ace, which hasn't been updated for a while, and probably will not be.
@Llareian No, I don't think I've tried using a custom cursor since MV 1.3 or so. Maybe that's why it works for me, because I'm not using a custom cursor?
Yep, thanks to @GameFire 's contribution I was able to determine WHICH function is causing the game not to load. Commenting it out lets the game load, and it will still use cursor icons (a system icon next to the default cursor) but it removes the functionality for custom cursors. So if you're able to live with that fix, @spacedev , you can comment out this section of the code:

Code:
/**
    * Pre-cache all custom cursors when in test mode
    */
    // Check if playtest; if so, store file. If not, read stored
    $._precacheCustomCursors = function() {
        if (StorageManager.isLocalMode() && Utils.isOptionValid('test')) {
            var fs = require('fs');
            // Find that relative local path, using MV's own methods
            var path = window.location.pathname.replace(/\/[^\/]*$/, '/' + this.customCursorPath);
            if (path.match(/^\/([A-Z]\:)/)) {
                path = path.slice(1);
            }
            path = decodeURIComponent(path);
            // Check if cursors dir exists, make if not
            if (!fs.existsSync(path)) {
                alert('TDDP MouseSystemEx\nThe chosen cursor folder "' + this.customCursorPath + '" has been created for you. Please put any custom cursor image files in this folder.');
                fs.mkdirSync(path);
            }
            // Read dir
            var files = fs.readdirSync(path).filter(function(v) {
                if(v != this._indexFilename && v[1]) return v;
            }.bind(this));
            // Store in json
            fs.writeFile(path + this._indexFilename, JSON.stringify(files), 'utf8', this._loadAndSetupCustomCursorCSS.bind(this));
        } else {
            // Read stored file
            this._loadAndSetupCustomCursorCSS();
        }
    }.apply(TDDP_MouseSystemEx);

If not, maybe someone more brilliant with JavaScript than I can figure out a way to write a plugin that patches this section. I haven't learned much about caching and saving functions.
@Llareian So, I've commented out that section of the code (I put a # mark behind every line you wrote), and the loading screen is long gone. Except now there is no custom cursor and it seems like nothing has changed... Any ideas?

@Shaz I'm using MV, but the problem is there's a displeasing highlight when you click anything. +I'm not sure how I would make the built in mouse system more responsive... Sure there's making the player transparent and letting them walk over to the event, but even at the highest speed, it's a bit delayed.
@spacedev As I mentioned, the custom cursor will not work if you do this. But you can still use the custom ICONS that show up next to the cursor. If you would still rather have the custom cursors themselves, please answer the following, and I can see if it's something I can figure out to write a plugin...if not, the information will be there for the next person to be able to help you:

Do you only need one custom cursor, or do you need custom cursors for various things? Do you want to use a notetag in the event to specify that it uses a custom cursor, or do you want the plugin to determine whether to use the custom cursor based on the event's contents (like MouseSystemEx)?
@spacedev As I mentioned, the custom cursor will not work if you do this. But you can still use the custom ICONS that show up next to the cursor. If you would still rather have the custom cursors themselves, please answer the following, and I can see if it's something I can figure out to write a plugin...if not, the information will be there for the next person to be able to help you:

So I've found a solution to my mouse functionality problem. (I'm using Orange Hudell's instant mouse movement and it works just fine for what I want to do)

All I'm looking for now is a custom cursor image plugin!
then that would be a resource request in a new thread 🙂
then that would be a resource request in a new thread 🙂

No no, I mean I need a plugin that will allow me to set one. I can see how I may have worded that poorly 😅
Don't intend to crossposting, but I've provided a possible workaround here:
https://forums.rpgmakerweb.com/index.php?threads/mouse-system-ex.46511/page-6#post-806598
I don't know if this would help you, but I googled this and saw your post a while back and thought I would mention a good recent plugin that I found and it doesn't seem many people know about it: Mighty Mouse MV Plugin by Kingpin! You can Google it and it will come up, but link is here as well: https://forums.rpgmakerweb.com/index.php?threads/mouse-system.86536/

Hope that helps you make your perfect RPGM Game, it really helped open up mine

Izy, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/mouse-system.86536/