Preserve Data

This script allows you to “preserve” data throughout the game without requiring
the user to save the game. For example, if a player enters a room and a switch
is turned on, you can preserve the state of the switch even if the player
chooses to reload.

You can preserve variables and switches, and the values of the data will
carry over across game loads. However, this only applies to the most
recently saved/loaded file.

If the player starts a new game, and there is already a save file in the first
slot, that will be treated as the “last saved” file.

Download

Script: download here

Installation

Place this script below Materials and above Main

Usage

Use this script call in an event to save any data that should be preserved.

preserve_data

More generally, you can use this call outside of the interpreter

DataManager.preserve_data

In the configuration, enter all of the ID’s for the switches and variables
that should be preserved when you choose to preserve data.

You may also like...

35 Responses

  1. Anabel says:

    Hi there! I know this is kinda off topic but I was wondering which blog platform are you
    using for this website? I’m getting tired of WordPress because I’ve had problems with hackers and I’m looking
    at alternatives for another platform. I would be great if you could point me in the direction of a good platform.

  2. Shahanna says:

    Why visitors still make use of to read news papers when in this technological world the whole thing is presented
    on net?

  3. Letty says:

    I’m really enjoying the design and layout of your website.
    It’s a very easy on the eyes which makes it much more pleasant
    for me to come here and visit more often. Did you hire out a designer to create your theme?
    Great work!

  4. Selinda says:

    You’ve made some good points there. I checked on the web
    for more information about the issue and found most people will go along with your views on this web site.

  5. Johannah says:

    If you wish for to obtain a great deal from this paragraph then you have to apply such techniques to your won blog.

  6. Hortensia says:

    Very quickly this site will be famous among all blog viewers, due to it’s
    fastidious posts

  7. Leaann says:

    Hi Dear, are you genuinely visiting this site daily, if so afterward you will definitely get fastidious knowledge.

  8. Linday says:

    A motivating discussion is worth comment. There’s no doubt that that you ought to write more about this
    subject, it may not be a taboo subject but
    usually people don’t speak about such topics. To the next!
    Many thanks!!

  9. Coree says:

    Heya i am for the first time here. I came across this board and I
    find It really useful & it helped me out a lot. I hope to give something back and aid others like you aided me.

  10. Abner says:

    My spouse and I absolutely love your blog and find a lot of your post’s to
    be just what I’m looking for. Would you offer guest writers
    to write content for you? I wouldn’t mind producing
    a post or elaborating on most of the subjects you write with regards to here.
    Again, awesome website!

  11. Crystie says:

    Good day! Do you use Twitter? I’d like to follow you if
    that would be okay. I’m definitely enjoying your blog and look forward to new updates.

  12. Kendyl says:

    Way cool! Some extremely valid points! I appreciate you penning this post and also the rest of the site is also really good.

  13. Curran says:

    Cool blog! Is your theme custom made or did you download it from somewhere?
    A theme like yours with a few simple tweeks would really make my
    blog shine. Please let me know where you got your design. Thanks

  14. Jenalee says:

    Hey there! I’m at work browsing your blog from my new apple iphone!
    Just wanted to say I love reading your blog and look forward to all
    your posts! Carry on the excellent work!

  15. Diadra says:

    I like the valuable information you supply to your articles.
    I’ll bookmark your weblog and take a look at once more right here frequently.
    I’m rather sure I’ll be told a lot of new stuff proper right here!
    Good luck for the following!

  16. Roslynn says:

    Link exchange is nothing else but it is only placing the other person’s weblog link on your page at suitable place and other person will also do similar in support of you.

  17. Nile says:

    This is the right blog for everyone who wishes to find
    out about this topic. You realize a whole lot its almost hard to argue with
    you (not that I personally will need to…HaHa). You certainly put a brand new spin on a subject which has been discussed
    for many years. Great stuff, just great!

  18. Nadja says:

    Howdy! I could have sworn I’ve been to this site before but
    after browsing through some of the post I realized it’s new to me.
    Anyhow, I’m definitely happy I found it and I’ll be book-marking and checking back frequently!

  19. Jamile says:

    Hey I am so grateful I found your blog, I really
    found you by accident, while I was looking on Google for something else, Anyhow I am here
    now and would just like to say many thanks for a incredible
    post and a all round exciting blog (I also love the theme/design),
    I don’t have time to read through it all at the moment but
    I have saved it and also included your RSS feeds, so when I
    have time I will be back to read a lot more, Please do keep up the
    great b.

  20. Claudine says:

    Hi, I read your blogs like every week. Your humoristic style is awesome, keep it up!

  21. Loredana says:

    Fastidious replies in return of this difficulty with real arguments and telling everything on the
    topic of that.

  22. Ryanna says:

    Good day! Would you mind if I share your blog with my facebook group?
    There’s a lot of folks that I think would really appreciate your content.
    Please let me know. Thank you

  23. Merton says:

    This is very interesting, You’re a very skilled blogger.
    I’ve joined your rss feed and look forward to seeking more of your wonderful post.
    Also, I’ve shared your site in my social networks!

  24. Stephanine says:

    I like the helpful info you provide in your articles.
    I will bookmark your blog and check again here frequently.
    I’m quite certain I will learn plenty of new stuff right here!
    Good luck for the next!

  25. Serita says:

    Thanks designed for sharing such a fastidious thinking, paragraph is good, thats why i
    have read it fully

  26. Domonique says:

    You could certainly see your expertise within the work you write.
    The sector hopes for even more passionate writers like you who aren’t afraid
    to mention how they believe. Always go after your heart.

  27. Chantele says:

    Everyone loves what you guys are usually up too.
    This sort of clever work and reporting! Keep up the great
    works guys I’ve you guys to my own blogroll.

  28. Hime says:

    What do you mean “load from a certain file”?

    • In your script you say “However, this only applies to the most recently saved/loaded file.”
      I want to be able to load data from an exact load file (for example load always from save03.rvdata2 )
      If I may, I will explain my need for the script, so you can determine if you can help me or not. I have multiple endings in my game. When an ending is activated I want to preserve (with your script) a switch that enables an extra button in my custom title menu which leads to a collectors menu where all my endings are displayed (if they are unlocked). Your script cannot help me do this because it only loads data from the most recent save file. But if I can load data from a selected save file, I can ask the player to save a file just for the collector switch.

  29. Is it possible to make the script be able to load from a certain load file and not necessarily from the last?

  30. mwm5 says:

    Um…, this script looks like 回想領域’s ゲーム内共有変数( public_data:http://kaisou-ryouiki.sakura.ne.jp/material/rgss3/public_data.txt ) but is more difficult to use…..

    • Tsukihime says:

      All you write is “preserve_data” in a script call. I am not sure why that would be difficult.

      It is not a “global” save file, it simply prevents people from saving and re-loading.

      • mwm5 says:

        Oh!I know,I‘m sorry for my poor comprehension!
        I haven’t realized it can prevent the player from saving and re-loading so I only see it as a global switches/variables ….I understand how to use this script now.

Leave a Reply to Hime Cancel reply

Your email address will not be published. Required fields are marked *