.Exe shortcut doesn't save the game

Status
Not open for further replies.

JAD94

The lunar knight
Veteran
Joined
Feb 18, 2014
Messages
662
Reaction score
189
First Language
English
Primarily Uses
RMMV
Hey everyone I have a quick question, I have an installer for my current project. After installing the game into a computer the game works fine and saves perfectly when you play the game through the program files. However, if the player plays the game through the desktop shortcut, the game plays but does not save. Any suggestions?   :)
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Where is it meant to save to? Are you "the player"? Are YOU running it in the editor and playing through the exe, or are you talking about someone else, or maybe two different people?


If YOU play through the exe can YOU save?


The person who is reporting the issue - where do they have the game installed? If they've got it in Program Files or another Windows folder, that is why it will not save - because Windows doesn't like other programs trying to write stuff to its own folders.
 

JAD94

The lunar knight
Veteran
Joined
Feb 18, 2014
Messages
662
Reaction score
189
First Language
English
Primarily Uses
RMMV
I can save if I play the game through the project editor and through the exe. It will not save however once I add the exe to an installer and then install the exe into my computer.

I saw this from the file "How to sell your game" which was on the RPG Maker Forums somewhere. 
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Where are you installing it to?
 

JAD94

The lunar knight
Veteran
Joined
Feb 18, 2014
Messages
662
Reaction score
189
First Language
English
Primarily Uses
RMMV
Local Disk - Program Files (x86) 
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Install it somewhere else that isn't a Windows folder.


Windows doesn't like programs saving stuff to Program Files. So you either need to add a script that tells it to save files to a "good" place (I have one that lets you put save files into AppData), or you need to install it somewhere where Windows won't care about you writing to.


Even put it into a new folder on C: and it will work.
 

Baka-chan

☆*:.。. o(≧▽≦)o .。.:*☆
Veteran
Joined
Dec 19, 2012
Messages
490
Reaction score
148
First Language
German
Local Disk - Program Files (x86) 
Install it somewhere else or try running your game as an administrator. Most of the time the problem is that Windows won't allow adding/editing files in certain folders if the program isn't run as admin.
 

JAD94

The lunar knight
Veteran
Joined
Feb 18, 2014
Messages
662
Reaction score
189
First Language
English
Primarily Uses
RMMV
Ooooo, can I please have that script? :)   It sounds more convenient only because I doubt the player will choose a different location to save the installation. 
 

JAD94

The lunar knight
Veteran
Joined
Feb 18, 2014
Messages
662
Reaction score
189
First Language
English
Primarily Uses
RMMV
Install it somewhere else or try running your game as an administrator. Most of the time the problem is that Windows won't allow adding/editing files in certain folders if the program isn't run as admin.
The issue is to have it set up so that anyone who downloads the installer and then installs the game will automatically have it downloaded into a safe location that windows will not have a problem with, so that the player will be able to save their game without any issues. 
 
Last edited by a moderator:

AceOfAces_Mod

Engineering to infinity!
Veteran
Joined
Sep 7, 2014
Messages
1,721
Reaction score
1,200
First Language
Greek
Primarily Uses
RMVXA
Droits has a save file control script. Head over to Dekyde.com and grab it from there.
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
He's already got one.  Going to close this as solved.
 
Status
Not open for further replies.

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

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,074
Members
137,578
Latest member
JamesLightning
Top