• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

ini

  1. Architheutis

    Cannot find the folder of my .ini

    Hi Folks, I cannot find the folder of my .ini-data. Game Maker 2 saves it into Computer/User/Architheuthis/AppData/Local/Filename.ini So... I cannot find the folder "AppData" and folders within. I use Windows 10. Can anybody gimme a hint? Best wishes, Archie.
  2. D

    GameMaker Trouble with saving ini files...

    Hi, I'm new to the forum so I hope I'm brief. I've been having trouble with saving and loading my game after exporting the package. I am exporting out of uwp so I'm assuming that's where the problem lies, considering how its set up, but just an assumption. This is what my save script looks like...
  3. E

    UWP Saving and Loading ini Files (targeting Xbox One)

    Hello, I've recently had to rework a save system for one of my games on Xbox One to Save/Load via ini files/functions (followed this YoYo tutorial with the included wrappers). After rewriting everything (which I thought I understood, but I've been up for 32 hours, so pardon my complete lack of...
  4. animated_ginger

    GameMaker Trouble saving ds_list with ini

    Hello all! I've been running across this problem all day and I still can't figure out why this is not working. I'm trying to add a value to the list and then save it to an ini file. Problem is, it saves a value like "nan" or "inf". And I'm only testing out to see if this will save values...
  5. Architheutis

    ini-problems (no update and unpleasant list display)

    Hi programmers. I´ve got problems with ini-handling. I have a highscore table in my game. What I want: A saved highscore list on each unit - every time you restart the game, the ranking of the best players (TOP - 10) is reloaded. The list shows up to 10 names with the scores, vertically...
  6. Architheutis

    How to program a user text input box (Highscore) [SOLVED!]

    Hi Folks, my game is in the fine adjustment... ... I programmed a highscore table with a text input box. So the player is able to type his name via keyboard. That works on PC or laptop aso. But what about a mobile unit like a smartphone or tablet? It´s set with a keyboard_string = " "...
  7. Geners

    Is there any way to read ini files from within the project folder?

    I have made two projects, one is the actual game, and one is an editor I made inside game maker that creates ini files that my actual game will use that contains a ton of data the game will need to access. Is there any way I can move all these ini files I'm creating to the game project folder...
  8. Q

    Windows File Association? Double clicking file opens file in Game?

    I am making a windows based program that saves and loads a custom ini file (not ".ini" diff extension) Is there any Dll's or any way at all to let windows know that this custom file ext is associated with my program? I would also then need a way to begin my program with opening this file. Is...
  9. S

    GameMaker Double List not correctly storing information

    I am trying to save controls and call them back when the game is loaded from an ini file. the controls are set and stored inside the second array correctly, but when accessing them later on, the second array was not set correctly and is just still 0. for instance at global.controlList[0, 5] at...
  10. V

    Android on_game_paused and saving on android

    Hello! My name ist Colin. I got a problem with saving my game with *.ini files while using step event and on_game_paused. I also used Game End and Room End events. Also I used event_perform in combination with step and on_game_paused and performed a new user event with that code in it. This...
  11. A

    Android Ini File not working?

    I use ini files to keep track of my app's total gold, etc. It works on the test and when I try and run it on an android device it seems to just straight up not work. Is there a fix or an alternative?
  12. X

    Legacy GM Can GM not create its own ini files?

    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...
  13. P

    Saving using a ini file [solved]

    Hi everyone! I have been using Game Maker Studio Pro (1) for a bit long now, and after reading lots of thread here's my first one! I'm coding a save system for my game. I use a ini file system, with an [object] section to store the amount of each object the player has while saving. During the...
  14. M

    GML ini load questions... if "file exists"

    Hello I have some questions about ini files in my code I have this: if !file_exists("aiSide.ini"){ needsaves_side = 1 } else needsaves_side = 0 if needsaves_side = 0{ ini_open("aiSide.ini"); global.testOneGen = ini_read_real("testOne", "gen", 0) global.testOneGrade =...
  15. 0TastyPie0

    GameMaker An easy way to save many collectables?

    So I have a platformer game where you can collect a specific collectable that is then saved in an ini file (if collected or not). One variable for each collectable. It's geting really hard to keep track of so many variables, is there an easier way (without having to have one variable for each)?
  16. E

    Legacy GM [SOLVED] .INI-files saving directory.

    Hello. What to do if my .INI-files are keeping in... Users/*UserName*/AppData/Local/GameName/ ...folder? How to write && read them in different disks, folders and directories? Thanks for for your advises.
  17. E

    GML [SOLVED] Reading sections of .ini file 'in order'

    Hi! I recently created a little system for visual novel-style cutscenes that works by reading values from an .ini file like a play script. It looks like this: [1] S = Justina T = Is nine fifty seven. Do we risk turning off the grill? A1 = Justina A2 = Dee A1Flip = true A1x = 400 A2x = 0 A1i = 0...
  18. B

    GameMaker Saving and Loading A Seed

    Hey All, I am trying to implement an autosave feature in my game so if the player gets interrupted by a phone call they can pick up where they left off. The issue is it's a rogue-like dungeon crawler much like binding of isaac. When you enter a new room you have a random chance of getting...
  19. A

    Legacy GM Problem saving time based score

    Hello everyone, I am trying to save a time score like this "0:00:00". I already used ini files and functions ini_write_string and ini_read_string (you can enter and save your name the first time you play and it works fine. Now i'm using the same code but doesn´t work. 1st object: SCORE_LOAD...
  20. Elijah Budd

    HTML5 INI File Deletion

    I am using Gamemaker v1.4 I am working on a game for HTML5 that uses an INI file to save and load. On windows export, everything works perfectly. I hosted the game on itch.io and on a desktop browser it also works perfectly. However, when I use a mobile web browser, the INI file has been reset...
Top