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.
[RMVX] Script that...

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 62
Hello! :D
Hello and this is my first post there! :D (And Edited xD)

Saves in Documents
January 06 2012



Summary
Script that allows you to save states in folder in Documents.

Features Desired
  • Compatible with "Neo Save System VI".
  • Saves are in Documents not in game folder.

Mockups


Games its been in
  • Games on consoles (Saves was on memory card or in hard disk memory)



Did you search?
Yes...

Where did you search?
  • rmrk.net

What did you search for?
  • Neo Save System
  • Saves states Documents
« Last Edit: January 08, 2012, 03:11:28 PM by creepercrisis »

**
Rep:
Level 82
King of Spades
Little piece of advice. Read the stickies. Most people are going to glance right over this and not do anything about it

****
Rep:
Level 71
Well I am! but ya read the stickies there important. You can try this http://rmrk.net/index.php/topic,39460.0.html

**
Rep: +0/-0Level 62
Hello! :D
Thanks for help, but I used this script before and I changed:

Code: [Select]
SAVE_PATH = '' # Path to store save file, e.g. 'Save/' or '' (for game folder).

&

Code: [Select]
Dir.mkdir(SAVE_PATH) if !FileTest.directory?(SAVE_PATH)

into:

Code: [Select]
SAVE_PATH = ' %USERDATA%/Documents/My Games/Zagubiony Saves/' # Path to store save file, e.g. 'Save/' or '' (for game folder).

&

Code: [Select]
Dir[SAVE_PATH] if !FileTest.directory?(SAVE_PATH)

When I'm pressing Enter to save game It pops up:


I think this script first creates screenshot and ruby doesn't care Windows shortcuts xD It must be something with this %USERDATA%. How I can fix this. Thanks a lot :D
« Last Edit: January 08, 2012, 03:18:59 PM by creepercrisis »

****
Rep:
Level 71
Did you download screeshot.dll and put it in your game folder?

**
Rep: +0/-0Level 62
Hello! :D
Yes :D I have this in game folder. :P

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
You'd want to use the %USERPROFILE% instead, but I suggest that you don't as there can be trouble with certain usernames unless you are using the 8.3 shortname for the path.
You can retrieve it using the .dll Amanda made in her Commercial Game Kit: http://www.rpgrevolution.com/forums/index.php?showtopic=35647

*hugs*

**
Rep: +0/-0Level 62
Hello! :D
What I must do with this DLL xD I don't care this

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
Look at code used to figure out where to put the saves in that project I linked to.

**
Rep: +0/-0Level 62
Hello! :D
Now I understand xD Thanks a lot! :D It's working perfectly :P

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
That's great to hear.
I'm glad I was able to prevent a nasty surprise where some players wouldn't be able to save their games ^_^

**
Rep: +0/-0Level 62
Hello! :D
I added AutoSave. :P When player will finish the part I of game (like discs in Final Fantasy on PSX :P) it will save. This save is required to play part II. But nevermind. You can now close this topic :P Problem solved. :D

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
It's nice that your problem is solved :3
I'll keep it open so other trying to do the same thing can ask for help should they have trouble following the information here.

*hugs*

**
Rep: +0/-0Level 62
Hello! :D
Error again xD My game can't enable load scene in title screen. Maybe it's a problem with SAVE_PATH:

Code: [Select]
class Scene_Title < Scene_Base

  def check_continue
    file_name = Wora_NSS::SAVE_PATH + Wora_NSS::SAVE_FILE_NAME.gsub(/\{ID\}/i) { '*' }
    @continue_enabled = (Dir.glob(file_name).size > 0)
  end

end

Thanks a lot :P

PS I didn't change anything in this part of script
« Last Edit: January 12, 2012, 06:30:41 PM by creepercrisis »