File changing for changes in the game.

Discussion in 'RGSS3 Script Requests' started by BoredSoul, Aug 26, 2016.

  1. BoredSoul

    BoredSoul Probably Drunk Veteran

    Messages:
    191
    Likes Received:
    202
    Location:
    United Kingdom,England
    First Language:
    English
    Primarily Uses:
    RMVXA
    Read this forum post.Read the last explanation I say on it,as it's most clear.




    Anyway.....if you read that,you'll know I want a script on this.According to Andar,it's possible.Can anybody make such a script for me?
     
    #1
  2. Tsukihime

    Tsukihime Veteran Veteran

    Messages:
    8,230
    Likes Received:
    3,068
    Location:
    Toronto
    First Language:
    English
    How and where do you want players to change values?
     
    #2
  3. BoredSoul

    BoredSoul Probably Drunk Veteran

    Messages:
    191
    Likes Received:
    202
    Location:
    United Kingdom,England
    First Language:
    English
    Primarily Uses:
    RMVXA
    Well,I'd like the file in an appdata folder,but I don't know if you can do that so probably the project folder.But if it's possible,appdata folder please.
     
    #3
  4. Tsukihime

    Tsukihime Veteran Veteran

    Messages:
    8,230
    Likes Received:
    3,068
    Location:
    Toronto
    First Language:
    English
    How will players find the file if it's in the appdata folder?
     
    #4
  5. BoredSoul

    BoredSoul Probably Drunk Veteran

    Messages:
    191
    Likes Received:
    202
    Location:
    United Kingdom,England
    First Language:
    English
    Primarily Uses:
    RMVXA
    In the game,if you get all the secret items,you are told that there is a file in the appdata you can edit.It will also tell you what to write in the file.


    I'll probably say how to open the appdata.
     
    #5
  6. Tsukihime

    Tsukihime Veteran Veteran

    Messages:
    8,230
    Likes Received:
    3,068
    Location:
    Toronto
    First Language:
    English
    What kind of things do you want to write? For example, numbers, words? Or perhaps more complex things?
     
    #6
  7. Sixth

    Sixth Veteran Veteran

    Messages:
    2,130
    Likes Received:
    800
    First Language:
    Hungarian
    Primarily Uses:
    RMVXA
    You can try this script I wrote:


    http://pastebin.com/C4RSZHbs


    It is currently limited to one liner data, but I plan to change that.


    Also planning to add some encryption to the files, in case someone wants to store some delicate data in these files.


    It shouldn't really matter what kind of data he wants to check, he can store anything as a string anyway.
     
    #7
  8. BoredSoul

    BoredSoul Probably Drunk Veteran

    Messages:
    191
    Likes Received:
    202
    Location:
    United Kingdom,England
    First Language:
    English
    Primarily Uses:
    RMVXA
    To answer it anyway,in the file (.ini),it will have the letters 999.You change it to the number mentioned in the game.So,basically,in the file it has numbers to change.

    I'll check it out.
     
    #8

Share This Page