1. Hello Guest! It's with a heavy heart that we must announce the removal of the Legacy GMC Archive. If you wish to save anything from it, now's the time! Please see this topic for more information.
    Dismiss Notice

GM:S 1.4 [SOLVED] .INI-files saving directory.

Discussion in 'Programming' started by Edwin, Jul 29, 2018.

Tags:
  1. Edwin

    Edwin Member

    Joined:
    Jul 15, 2018
    Posts:
    417
    Hello.
    What to do if my .INI-files are keeping in...
    Code:
    Users/*UserName*/AppData/Local/GameName/
    ...folder?

    How to write && read them in different disks, folders and directories?

    Thanks for for your advises.
     
  2. TsukaYuriko

    TsukaYuriko Q&A Spawn Camper Forum Staff Moderator

    Joined:
    Apr 21, 2016
    Posts:
    1,767
    This is possible by obtaining specific permission from the user for each and every file you wish to save, or circumventing the sandbox by using an extension.

    For further information, these manual pages may be relevant to you:
    https://docs2.yoyogames.com/source/_build/1_overview/3_additional_information/file_system.html
    https://docs2.yoyogames.com/source/_build/3_scripting/4_gml_reference/file handling/file system/get_open_filename.html

    To allow for context-specific help, why do you want to save files to different directories? There is usually no need to do this.
     
    Edwin likes this.
  3. Edwin

    Edwin Member

    Joined:
    Jul 15, 2018
    Posts:
    417
  4. TsukaYuriko

    TsukaYuriko Q&A Spawn Camper Forum Staff Moderator

    Joined:
    Apr 21, 2016
    Posts:
    1,767
    That depends on what "it" is, but specifically, there is a way to do this on 1.x. Similarly titled pages exist in the 1.x manual.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice