User Tag List

Results 1 to 10 of 10

Thread: ini don't load (windows)

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    951
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question ini don't load (windows)

    Hi,
    I try to load an ini file without success ... i have Fusion pro version : 283.5.
    Here are the files i use. Can you tell me what i am doing wrong please ?
    Many thanks for your help.
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    951
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot for your response Snail . I tried that and it doesn't load anything . It make me crazy...

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    951
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i check what i made before and it seem's that ini change the way it work. I put the name of the ini in the event editor without path. Add it in the binary data.Fill the ini files with pathname in the property of the ini and check create in the app folder and UTF8. And it work . But now in the 283.5, if i do that, it doesn't work
    i appreciate any help
    thanks

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    951
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I really don't understand how actually we can load an ini and use it to initialize a frame. If someone can produce an example , it will be fine.
    Thanks for you support

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    951
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use another way by using the Danny tutorial with binary data and it doesn't work too...
    i send to you the file.
    Please, if it work for you, tell me... i don't know what i can do now. Normally, it is very simple to load an ini file to initialize an application...
    Attached files Attached files

  6. #6
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)
    Your INI file has been saved in UTF8 format with BOM (byte order mark = 2 or 3 non-ASCII codes at the beginning of the file that indicate the format of the file).

    The INI API of Windows doesn't like this BOM. Save your INI file either in ANSI format, or in UTF-8 format without BOM (you can use Notepad++ for that, it has an option in the Encoding menu).

    PS: also in your example file you forgot to define the current group before reading values from it.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    951
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Yves, Hi Snail ! Thanks for your reply ! I modify that in Notepad++ and i will post a good example ! Very very sorry to ask so noob question !

  8. #8
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)
    It's not a noob question.

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    951
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your kindness Yves ! I really appreciate ! The fact is i have an app more important and i have many trouble to put this app on android : it seems that the function "get number of element" of string parser was corrupted in my frame ! So i will make an example to prove the problem beetween PC and Android ! But i have now trouble to make an exe with ini... Or this big app is made for PC, with an ini and work well !
    I just arrive to make an example for android... but it work ! I put the same code in may app... it doesn't... arg... i lost my head and going dumb ! Thanks to be here !

  10. #10
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)
    OK, waiting for the example.

    PS: I suggest you to take a look to the String Tokenizer object too, it's simpler than String Parser and supports Unicode.

Similar Threads

  1. Load image from URL in Windows?
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 12th May 2014, 04:54 PM
  2. Save & Load on Windows Phone
    By Cyberbeard in forum XNA Export Module Version 2.0
    Replies: 4
    Last Post: 13th February 2013, 06:47 AM
  3. How do i open Control Panel Windows in Windows 7?
    By Spryz in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 2nd January 2010, 06:37 PM

Posting Permissions

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