设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 108|回复: 0

[转载发布] Game Custom Data v1.26

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    9071

    主题

    864

    回帖

    6万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    58883
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    68848

    灌水之王

    发表于 2026-8-2 16:18:48 | 显示全部楼层 |阅读模式
    -Overview-


    So basically this allows the creation of an extra file for modifying and saving custom data during runtime that is not linked to a save file so that you can share those data in-between saves and even in-between different games.


    You can modify the path, file name and path of the custom data file via constants


    -Usage-


    You can get a data, modify a data and save the file via simple script calls (included in the header)


    Loading of the file is automatically done upon starting the game


    -Link-


    Get it here: http://lescripts.wordpress.com/rgss3/game-custom-data-v1-0/


    -Add Ons-


    Persistent Data (Switches and Variables)


    - Changelog -


    Version 1.10 - Added some wrappers


    Version 1.11 - The data is now reloaded upon going to the title screen and loading data if autosave is not set to true


    Version 1.12 - Native support for using ENV paths (AppData,ProgramFiles etc)


    - Autocreates folder if it isn't yet created


    Version 1.12b - Fixed a wrong variable setting that I saw


    Version 1.20 - Realized that the older scripts have typos and such that caused it to not work


    so I fixed it now, and fully tested to be working too


    Version 1.21 - Made it save custom data when a game is saved


    Version 1.22 - Just modified something


    Version 1.23 - bug fixes


    Version 1.24 – you can now save inside the game’s folder even if the player can move it around


    Version 1.25 - fixed a bug where it won't allow loading of save files if autosave is true


    Version 1.26 - fixed a missing end which caused the script to be unusable


    -Notes-


    Make sure you read the header of the script for more info


    The script doesn't do much on it's own aside from making the file and loading it upon start-up


    Everything else will be determined by how you use it.


    The CD keyword for DATA_PATH doesn't seem to be recognized


    -Sample Ideas-


    You can use it for example counting how many times a player finished a game so that you can make something happen when a player finishes it a couple of times


    You can use it as a base for a shared stash (I'm trying to make one in another script)


    Basically if you need data that is shared between playthroughs or even between games, this would be a useful script


    - Ideas from others -


    Shaz

    Spoiler
    Shaz said:
                            This would also be good as a preferences file (which I was going to write and share, but I won't now  
    ) where you could save mouse enabled/disabled settings and other options that a player might want to set that affects all games (bgm on/off, window/fullscreen).


    If you were to save it into the player's AppData folder instead of the System folder, you could also have several people sharing the same computer who could have their own settings/custom data, that wouldn't be interfered with by others.               
    Click to expand...





    - Links to useful posts -


    http://forums.rpgmakerweb.com/index.php?/topic/20304-game-custom-data/#entry194065


    本贴来自国际rpgmaker官方论坛作者:Engr. Adiktuzmiko处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/game-custom-data-v1-26.20304/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-8-17 10:25 , Processed in 0.090305 second(s), 55 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表