GM:S 1.4 Can GM not create its own ini files?

Discussion in 'Legacy GameMaker Community Tech Support' started by XirmiX, Dec 19, 2018.

  1. XirmiX

    XirmiX Member

    Joined:
    Jul 18, 2016
    Posts:
    365
    It seems like all it does is copy an ini file to then include it in the game editor (engine), and when including files, it can get a bit broken if you're including, say, an empty template file, as it points to the file you selected, and then creates a copy after saving and exiting, and in the case of having a template ini file in the datafiles folder, the template file is overriden with the new file name.

    This wouldn't be so nasty to deal with if you could just straight off create ini files from within the engine without having to "include" anything. I can just include files from elsewhere and then have copies of them in the project datafiles folder, but what's the point of having two different files, just so I can have another one?
     
  2. YellowAfterlife

    YellowAfterlife ᴏɴʟɪɴᴇ ᴍᴜʟᴛɪᴘʟᴀʏᴇʀ Forum Staff Moderator

    Joined:
    Apr 21, 2016
    Posts:
    2,321
    Load operations will prefer to load files from save location over the program directory, and save operations always go to save location, so "modifying" a file will not modify the file in program directory, and certainly will not modify the file in your project directory (which was only copied over to begin with)

    Feel free to familiarize with the manual page on the matter.

    You can use any of the extensions for non-sandboxed file access (there are, like, 6) if you need your files copied back to the project folder.
     
  3. XirmiX

    XirmiX Member

    Joined:
    Jul 18, 2016
    Posts:
    365
    Editing an ini file from notepad instead of a GM window doesn't really matter much.
    It's just that it's annoying to have to copy a file, why can't GM create an ini file of its own without making a copy for some reason.
     

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