ini

  1. jobjorgos

    GML any tips on how to improve my ini writing file for configs?

    Hey I made a config.ini file for my game where players can store there configuration preferences and that keep them for next time when the player launch the application. Im afraid the text that gets written in the INI file is a bit too messy. Any tip to imrpove this? I also dont understand why...
  2. D

    iOS Documents and Data size keeps increasing

    I just started using Testflight to do the final testing of my game on my iPhone. My game does some saving using .ini files. Not much gets saved, just a few variables and a ds grid to store the game board. Basically I just save the game automatically after the player makes a move. The game...
  3. I

    GML Saving nested maps to .ini with json_encode and its issues

    Hey guys, I'm running into an issue and I'm not sure if it's me or GMS2. I'm using GMS2 and working with saving and loading to an .ini, I'm sure many of you have done this before. I have a map with nested maps and I've added them with ds_map_add_map(). When saving, I use json_encode, write it...
  4. Josef Scroggins

    GameMaker Saving and Loading a Persistent object (INI)

    Edit #2: I thought I had this figured out but now the player's coordinates don't change and the camera won't snap onto the player. //Loading CL = objCallList; if file_exists("Save.helix") { ini_open("Save.helix"); var LoadedRoom = ini_read_real("Room","Room",Overworld0); CL.hp...
  5. J

    HTML5 Can't use ini files with html5

    My game requires a lot of data stored, so I use .ini files. The game works fine as a .exe but makes this error when running on the micro web server. ERROR: /html5game/test.ini It seems to work with internet explorer, but not at all with Chrome. Here is the code that causes the error...
  6. M

    Problems with reading "save.ini"

    I made a very simple test save/load system using a ".ini" file. Using "ini_write_real" and "ini_write_string" i wrote some simple variables, and they do work fine (screenshot 1, rmname being the saved room i'm in). However, when i try reading the written save, the room just restarts (if the...
  7. RizbIT

    load save on Android and windows phone

    will this work on ALL android and windows phone? ini_open("savedata.ini"); score = ini_read_real("save1", "score", 0); ini_close(); it seems to work windows phone 8 Also can i ask what would be a good use or example os using: ini_open_from_string(string);
  8. Vinsane

    GameMaker (SOLVED) Save File INI Help - Saving + Loading Variables Issue

    Hi there everyone, I currently have a working INI save system (that is very basic mind you) that saves what fields I enter into it. at the moment I have saved the players "kills" and "coins" so when I relaunch the game and hit load these two variables will load up fine with the objects assigned...
  9. D

    Android Android save file erased after updating app

    I'm in the testing phase of my game, and I've noticed that when I update the app to a new version, save files can be erased. This is kind of terrifying, because if this happened to a live copy of the game I'd have people losing their progress. My method of saving is to write a ds_map to an .INI...
  10. @

    Android INI-saving and lost game progress, bug?

    Hey, I hope I've posted this on correct sub-forum, this sounds like a bug for me. I've had same issue for last two years since I've started using Game Maker 1.4, now using 2.0. So far I've been making Android games only. I use INI-saving and loading. I've got 4 games in Google Play now and...
  11. 2

    GML Write ds_map to ini file, Read ds_map from ini file

    How do I write a ds_map into an ini file and then reassemble the map from an ini file's contents so I can use it in game? The actual ini values should be difficult to edit ds_map gibberish. How do I put it back together as a ds_map in game, so I can check the individual key values, and set them...
  12. W

    Legacy GM How to encrypt .ini files?

    Hey! I just want to know the easiest but good way to encrypt .ini files. I don't want to play for an extension. I also don't want to use 64bit encoding because anyone can use a translator. This is my save file script: if (file_exists("Save.ini")) file_delete("Save.ini"); ini_open("Save.ini"); //...
  13. Tontete

    Windows Is it okay to keep an ini file constantly open?

    I am only using one .ini file for my game, so does it hurt the game's FPS by keeping it open?
  14. zbox

    Asset - Extension GMAccount - Online User Data

    GMAccount - Online Data Marketplace: http://bit.ly/2u7bJoA Category: Extensions Price: $39.99$19.99 Modules: All Platforms Description: Compatible with GMS1 and 2 - All Platforms Requires your own PHP server to run. See the manual for more information An easy to implement system that lets...
  15. L

    Asset - Extension Lerner INI

    An easier, safer data handling. Lerner INI lets you load and save your game data in only one line. No more file open / close handling! Thanks to the automatic data encryptation, remain master of the in app purchases (IAP), the character progression, etc. Cheating becomes way harder! This...
  16. X

    GML Creating a new file while the game is running?

    Been a while since I've been working with game maker... I talked about this before, but I said that I knew how to do this... I have either misunderstood something or I completely forgot how to do this. I tried to search this up, but I can't find anything. Is there a command for creating a new...
  17. Posho

    HTML5 Reading a File from Another Game's Working Directory in HTML5

    Hello, I am working on an HTML5 game that uses an image export button. I have an extension that allows me to save the game's screen to an image in HTML5 but only works if WebGL if off, however my game overall does require the use of WebGL. My first idea around this is to save the data that...
  18. Posho

    HTML5 HTML5 and Local Files

    TL;DR: How can I specify my HTML5 game to save a sprite locally and how can I locate it afterwards? So I noticed by accident that you can save files locally with HTML5 by saving an ini file. I want to do more things like this with my HTML5 game, but I'm getting all mixed up and I need some...
  19. S

    Legacy GM How to make save-load system

    I have a badly problem... I made my game but I cant make a save load system on it ... Not a normal one, like a good game... So... If u play a game (like silent age) for your second time, you see the main menu at the first, then if you tap "start" you see... The game saved your progress... I have...
  20. S

    How to make save-load system

    I have a badly problem... I made my game but I cant make a save load system on it ... Not a normal one, like a good game... So... If u play a game (like silent age) for your second time, you see the main menu at the first, then if you tap "start" you see... The game saved your progress... I have...
Top