User Tag List

Results 1 to 5 of 5

Thread: INI and INI++ workaround needed

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Oct 2006
    Posts
    136
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    INI and INI++ workaround needed

    I'm currently using the INI++ in my game, but it doesn't support Unicode, which I need. So I have to rip it out and replace it with the regular INI object.

    This brings me problems. With INI++ that stores the data in the object, so I can decrypt the file, load it, encrypt the file, then continually refer to the data stored in the object throughout the gameplay.

    With the regular INI, it doesn't store the data (I believe?), so I'd have to continually decrypt/encrypt every single call (which would be overkill since I refer to the data 100s of times).

    Is there any workaround to this? Like instead of encryption I could just use plain text and the regular INI, then I'd need some object that gets an md5 or hash of an entire file to verify it's not been altered. I've seen the QuickHash one but not sure if it works on files?

  2. #2
    Clicker Fusion 2.5 Developer
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I hit the same wall and the amount of work was too much so I gave up translations.
    Though if you are the guy behind "The Escapists" from what I can tell it has been a huge success, so I really, really hope you can figure a way around! Good luck!

  3. #3
    Clicker Fusion 2.5Fusion 2.5+ DLC
    casleziro's Avatar
    Join Date
    Mar 2013
    Location
    United States
    Posts
    640
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Are normal Arrays out of the question? I'm not sure if they support unicode or not

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,304
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Arrays should work, they support Unicode, and they are fairly unreadable. However, it would require making some sort of save file converter (whether automatically done on launch of the game or manually activated by the user), though that shouldn't be too hard to do, it's basically just taking the data from the INI file and stuffing it into the Array, and then saving the Array to wherever it's supposed to save it to.

  5. #5
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Ryan's Avatar
    Join Date
    Nov 2008
    Location
    Australia
    Posts
    1,275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Binary Array may be suitable, I haven't looked into this object yet, it's next on my to-do list. But I had a lot of success with the regular binary object and unicode. I was just handling compression, not actual variables, but I assume the array functions will allow you to treat it like a table of variables.

Similar Threads

  1. HELP NEEDED! Rockman X [Megaman X] Dashing Help needed.
    By Rockman in forum Multimedia Fusion 2 - Technical Support
    Replies: 22
    Last Post: 30th July 2013, 07:05 AM
  2. Simple Workaround?
    By MajorityCA in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 10th August 2011, 01:23 AM
  3. Non-Unicode Workaround
    By Ham in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 2nd March 2010, 11:01 PM
  4. Debugging Console MMF 1.5 needed, no workaround
    By Nighthawk in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 4th August 2009, 05:29 PM
  5. Sub-pixel workaround?
    By Nifflas in forum Hardware Accelerated Runtime
    Replies: 9
    Last Post: 1st February 2008, 07:03 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •