RMMZ Exit to Desktop for MZ (Request Filled!)

Status
Not open for further replies.

NeoPGX

~ King of Cuteness ~
Veteran
Joined
May 15, 2014
Messages
847
Reaction score
174
First Language
English (US)
Primarily Uses
N/A
I feel like this should of been included with the engine and that someone already made such a plugin but...

I am looking for a plugin that adds a "Exit to desktop" option to the menu screen.
 

AeroPergold

Villager
Member
Joined
Feb 3, 2014
Messages
28
Reaction score
43
First Language
English
Primarily Uses
Yeah I wish there was a plugin for a quit button on the main menu at the start like how MV had.
 

NeoPGX

~ King of Cuteness ~
Veteran
Joined
May 15, 2014
Messages
847
Reaction score
174
First Language
English (US)
Primarily Uses
N/A
Yeah I wish there was a plugin for a quit button on the main menu at the start like how MV had.
There was one, however in both cases it's just "Exit to Title" by default.
 

Ahuramazda

Veteran
Veteran
Joined
Nov 9, 2012
Messages
251
Reaction score
117
First Language
English
Primarily Uses
RMMZ
if you don't like the "exit to title" function at all add this as a plugin or find the section in rmmz_scenes.js and edit to match this.

Code:
Scene_Menu.prototype.commandGameEnd = function() {
    this.fadeOutAll()
    SceneManager.exit()
}
That changes the option from going back to the menu to exiting the game. warning: it doesn't ask for a confirmation, so no 2nd chances if you accidentally chose it
 

NeoPGX

~ King of Cuteness ~
Veteran
Joined
May 15, 2014
Messages
847
Reaction score
174
First Language
English (US)
Primarily Uses
N/A
if you don't like the "exit to title" function at all add this as a plugin or find the section in rmmz_scenes.js and edit to match this.

Code:
Scene_Menu.prototype.commandGameEnd = function() {
    this.fadeOutAll()
    SceneManager.exit()
}
That changes the option from going back to the menu to exiting the game. warning: it doesn't ask for a confirmation, so no 2nd chances if you accidentally chose it

This won't do at all I am afraid. I want to add a "quit to desktop" option to the menu, not replace the existing option.

A confirmation message is preferred.
 

Raizen

Veteran
Veteran
Joined
Oct 24, 2012
Messages
380
Reaction score
654
First Language
Portuguese
Primarily Uses
RMMV
oh, that came in good time haha.
I didn't even look at this request before doing it, since I looked at it just now XD

You can add my plugin and use the script call like this:

SceneManager.exit()

If you need the confirmation, I can make a small snippet for it also to use together with the plugin I released
 

NeoPGX

~ King of Cuteness ~
Veteran
Joined
May 15, 2014
Messages
847
Reaction score
174
First Language
English (US)
Primarily Uses
N/A
oh, that came in good time haha.
I didn't even look at this request before doing it, since I looked at it just now XD

You can add my plugin and use the script call like this:

SceneManager.exit()

If you need the confirmation, I can make a small snippet for it also to use together with the plugin I released
I am not sure this will do me any good.

I want it to be added as its own separate option in the End Game command on the menu, not part of the main menu itself.

That said, yes I absolutely must have a confirmation!
 

KakonComp

Lucid
Veteran
Joined
Jun 16, 2020
Messages
158
Reaction score
1,078
First Language
Ostinato
Primarily Uses
RMMZ
I definitely want to watch this for a possible made for MZ title exit plugin. At the moment I'm using Atreyo Ray's MV TitleCommandExit and it works without any errors if you'd want to look into that, but there's no confirmation.
 

LunaTechsDev

Lunatic Moon
Member
Joined
Aug 12, 2020
Messages
9
Reaction score
130
First Language
English
Primarily Uses
RMMV
Hey everyone, we actually have a solution for that issue here in our plugin thread:

We added a quit to the desktop option that works across MV/MZ.
Please check it out and see if it works for you!
 

AeroPergold

Villager
Member
Joined
Feb 3, 2014
Messages
28
Reaction score
43
First Language
English
Primarily Uses
Hey everyone, we actually have a solution for that issue here in our plugin thread:

We added a quit to the desktop option that works across MV/MZ.
Please check it out and see if it works for you!
Oh cool! Gotta check it out.
 

NeoPGX

~ King of Cuteness ~
Veteran
Joined
May 15, 2014
Messages
847
Reaction score
174
First Language
English (US)
Primarily Uses
N/A
Hey everyone, we actually have a solution for that issue here in our plugin thread:

We added a quit to the desktop option that works across MV/MZ.
Please check it out and see if it works for you!

Hello, thanks for this!

I tested out the plugin and it works!

The only problem is that now, the "To Title" command no longer works. Like at all.
 

LunaTechsDev

Lunatic Moon
Member
Joined
Aug 12, 2020
Messages
9
Reaction score
130
First Language
English
Primarily Uses
RMMV
This should be fixed in the latest version, so please check it out. If it's still an issue, let us know.

Do you have VisuStella plugins installed, because that may have caused the To Title button not to work.
 

NeoPGX

~ King of Cuteness ~
Veteran
Joined
May 15, 2014
Messages
847
Reaction score
174
First Language
English (US)
Primarily Uses
N/A
This should be fixed in the latest version, so please check it out. If it's still an issue, let us know.

Do you have VisuStella plugins installed, because that may have caused the To Title button not to work.

I do have such plugins installed and because they content most if not all the features I need, removal isn't an option.

EDIT: I swapped the plugin for the updated version and it works even with Visustella! :yhappy:
 
Last edited:

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,619
Reaction score
5,157
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Yesterday I made my first step towards eating more healthily.
I saw candy on discount and did not buy it.
"They yearn for what they fear for."
I always told my DA fans how much I hate slot machines. They're fine in games as a risk-and-reward system. But when you're spending REAL MONEY in a Vegas casino to try and hit the jackpot (which very, very few people will), it can really hurt your budget. Gambling is a bad habit, and I don't like wasting my money on a slim chance. Go to Vegas for the experience, not the jackpot.
Took the kids to a corn maze. They gave us a map and had lights at certain points in the maze. Not overwhelming... or underwhelming... just... whelming.
Okay, vacuuming fruit flies out of the air is surprisingly effective.

Forum statistics

Threads
104,397
Messages
1,006,094
Members
135,928
Latest member
redux_soul
Top