File formats

This forum is currently in read-only mode.
From the Asset Store
Source File, music and art pack for Android Negotiator
  • Is it possible to read a text file into a hash table, and if so, what format is used? I tried saving a hash table but the format it came out in wasn't human readable in a text editor (although the key names were, the values were not).

  • IIRC the hash table saves out values after running them through a hashing algorithm so they are not human readable. What are you trying to accomplish so maybe we can give you some alternatives. Judging by what you asked for I would say the .ini object is a good start for you.

  • Well, I'm trying to have a hash table that has set values by me on load. An array is not suitable for the task I'll be using it for. I can do that using the actions in the engine, but that's a bit annoying as the number of keys grow. However, it seems I'll have to do it that way

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • you could definitely use the ini object and then build the hash table from the data read from there.

    You'll have to save and load "manually", that is, going one by one using events.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)