csv

  1. 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...
  2. 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...
  3. 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...
  4. Teknopants

    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()...
  5. 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...
  6. 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...
  7. 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...
  8. 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)...
  9. 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