RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Deleting save files

0 Members and 1 Guest are viewing this topic.

*
Rep: +0/-0Level 78
RMRK Junior
Hi,

I've just recently started learning RGSS. Most of the time I do this by ripping up the scripts already given and modifying them, just to see what happens and get a better understanding of the functions (I'm a really slow learner when it comes to reading countless information on sites and helpfiles. I learn best by just trying). I've spent a decent amount of hours modifying the menuscreen and the titlescreen, but in my recent idea for an add on I've found myself stuck with an issue. I've been trying to create a function to delete the save files while in the game, but somehow I don't seem to manage. Does anyone have any clues on how to get this done?

I've added the option in the titlescreen menu to open a window for save game deletion and I've created the window where all savegames are given. I've also redirected it back to itself (when you pick a savegame it reopens the window) and I actually hoped I would get it to work to erase the savegame in that process, but all I've tried fails.

thanks in advance, Emerald

*****
Rep:
Level 84
This text is way too personal.
Bronze - GIAW 11 (Hard)Silver - GIAW Halloween
Have you tried using the File.delete command? That's probably your best bet.

You could probably figure the rest out yourself.

*
Rep: +0/-0Level 78
RMRK Junior
perfect!

I hadn't tried that, but yes I figured it out now.

Thank you for your answer