csv

  1. A

    Saving Game Data

    Hello! I've developed some small web-based games in the past, and now I'm moving on to bigger fish. In the project I'm working on now, I have a map of tiles (100x100) that I want to save/load once the player has modified the world. At first, I assumed a CSV file would be the best solution to my...
  2. Tiago Carvalho

    Is it possible to encrypt a CSV file? Or delete it from the included game maker files?

    Greetings, Game Makers. I have a language localization CSV file inside the included files that I do not want users opening and checking out the content from. Not being able to find a solution to make the CSV file secure, I made a script to run it the first time of the game, then pass all the...
  3. A

    Data import: csv or json?

    Hi all, for the purpose of importing data into gml, is there any specific reason to prefer csv over json format? I do not have an actual case or application at hand, it's more of a general question. But as a vanilla example, let's say something like data describing a number of monsters or NPCs...
  4. P

    Loading external CSV and images

    Hiya! I'm trying to load a list of enemies from a webserver (around 100 at a time). I need to be able to do two things: 1. Load in names and 1-3 stats. 2. Load in images and add them to already existing sprites. I've tried: - Database connection with scripts and php/MySQL stuff from tutorials...
  5. Rob

    Windows [SOLVED] Problem with importing .csv files

    Ever since I've been importing .csv files using the load_csv function, I've had a particular problem and I don't understand what's causing it. When I try to read the data from cell 0, 0 there is always some kind of issue. If it's a number, gamemaker gives me an error saying that it cannot...
  6. W

    GMS 2 [SOLVED] Best method for loading JSON help

    I am looking for the best way to handle a JSON file with over 200k objects. Each object has 4 fields. I've worked with loading text files before, but not CSV or JSON. Right now, the data is CSV and JSON but wasn't sure the best method for getting it into GMS. I was thinking that pulling...
  7. Radr

    GMS 2 load_csv(); file paths for included files?

    I feel like I'm missing something very obvious and easy here but I've been trying to figure this out for a couple of hours now and can't take it anymore. I'm using the load_csv function to import a .csv file that I have in my Included Files folder. obj_LootTableDatabase is going to hold all...
  8. T

    Get_char_at() parser not finding special characters despite being UTF-8

    I'm loading a CSV using buffer_load(), then going through it character by character with string_char_at(), it doesn't return any characters like 开始, スタート, 시작, Начать despite the .csv being encoded in UTF-8. This used to work but now it doesn't. Any ideas? I'm on v7.7.1447. Here, buffer_load()...
  9. Mr Giff

    GML [SOLVED] Comparing string variables and getting rid of duplicates

    Hi guys! I've been a long time Gamemaker user (since gm6) but have only recently joined the new forums here. So thank you in advance to anyone who's willing to help me out! Introductions aside, I've been having an issue that's been bugging me for a week. First, here's a little pretext on what...
  10. Posho

    GML Reading CSV Files

    Hello. I am working on a project that needs to handle lots of database data. I manage all this data on Google Sheets and then export it as a .csv file which then the game would load and save as either an array or ds_grid. My problem here is that I haven't found a single method that actually...
  11. Johan Vinet

    Question - Code [SOLVED?] load_csv() crash runner.exe?

    Hi there! My proto is crashing and this is the error I got: "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.0.3.36/windows/Runner.exe exited with non-zero status (-1073741819) elapsed time 00:00:29.1159824s for command...
  12. NazGhuL

    Question - Code load_csv

    Hi. Any csv loading problem yet? I have an excel file: columns A to H (width 8) Rows 1 to 9 (Height 9) I included the file on the resource tree. then var tmp_grid = load_csv("sheet.csv"); var gw = ds_grid_width(tmp_grid); var gh = ds_grid_height(tmp_grid); show_message(gw)...
  13. zbox

    Asset - Extension DataStructure Scripts

    Price: Free Category: Scripts Modules: All This is a collection of small but useful scripts orientated toward more experienced GM users. Data structures are an extremely useful and powerful tool in Gamemaker. This is a collection of scripts to make life with them a little easier. Accessor...
Top