User Tag List

Results 1 to 5 of 5

Thread: Can Ini++ load multiline text?

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2019
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can Ini++ load multiline text?

    Can ini++ load multiline text? I've noticed an option in properties called "New line", but I don't know how to use it - when I add # as a new line symbol, it doesn't load anything at all.

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    1,159
    Mentioned
    199 Post(s)
    Tagged
    0 Thread(s)
    You can load as much text to an ini file as you want (within the size constraints.)

    How is your text organised?

    Are there a group of strings, or just one paragraph?

    Adding a line into an ini file is basically as simple as giving it a new save name, there's no need for insert or new line, but I've never used the ini++ object because that one is Windows only.

  3. #3
    Clicker 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)Universal Windows Platform Export Module (Steam)
    Volnaiskra's Avatar
    Join Date
    Jan 2014
    Location
    www.sprykegame.com
    Posts
    2,558
    Mentioned
    133 Post(s)
    Tagged
    0 Thread(s)
    Check the help of the ini++ object (not the general Clickteam Fusion help file, which is different). See pic below.






    At the very bottom of the "Expressions" section, there's something which seems relevant:

    Escape String
    This expression replaces ‘\’ with ‘\\’, quotes with ‘\q’, tabs with ‘\t’ and newlines with ‘\n’. Newlines are whatever the new line character is in the object settings.

  4. #4
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2019
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you! That's it!

    If I enable escape strings in properties, then \n is interpreted as new line.

    Meanwhile "New line" property lets user interpret \n as different symbol than new line.

  5. #5
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2019
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'd like to mention that I found a way to make any text multiline - you just need to use "Substring Replace Unicode" object, and replace your newline symbol with newline$.

    I thought it might be worth sharing since INI++ (unlike INI) doesn't seem to support unicode symbols - above method works great even with normal INI.

Similar Threads

  1. Adding Multiline Text In Editbox
    By Kracker in forum Fusion 2.5
    Replies: 4
    Last Post: 31st August 2014, 05:34 AM
  2. Editbox, multiline, text align center and autoscroll horizontal (BUG?)
    By iOSC in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 8th April 2013, 07:53 PM
  3. Edit Box as a large text field? Also, Multiline bug.
    By ratty in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 18th November 2012, 04:36 PM
  4. Removing a newlines from multiline text?
    By joewski in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 31st August 2010, 01:56 PM
  5. Save/Load text?
    By edbddaniel in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 3rd July 2009, 02:57 AM

Posting Permissions

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