User Tag List

Results 1 to 7 of 7

Thread: Save & Load file with UWP application ?

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    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
    Jul 2011
    Posts
    331
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Save & Load file with UWP application ?

    Hello!

    Is there a way to save and load files from/to disk with an UWP application ?
    As there isn't any specific extension like "Android object" for Android to do this (as far as I know), how can I save and load files from my application folder ?

  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
    949
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hum... nobody ?

  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
    949
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    we can't load or save with UWP ?

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    776
    Mentioned
    37 Post(s)
    Tagged
    0 Thread(s)
    I don't know what kind of data you want to load, bu i use the IniFile object with the StringParser object to load my text files.

  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
    949
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your reply Dobermann.

  6. #6
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    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
    Jul 2011
    Posts
    331
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hello!
    Thanks for your answer Dobermann!

    To be more specific : I want to save player's progression with an array.
    At the begining I would like to check if "save.sav" exists, if not I create the file and save it on the disk.
    My problem is : I don't know how to check if the file "save.sav" exists on the device...

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    776
    Mentioned
    37 Post(s)
    Tagged
    0 Thread(s)
    The ini object is the key! I exactly use this for my saves and all my languages files, in a first frame, before the begining of my game, i check if there is a savefile, if not i create a new savefile!

    It is really easy, i make a condition like :
    +if string "mystring" = ""
    -Create a save

    +if string "mystring" ="something"
    -Load it

Similar Threads

  1. LOAD/SAVE clone file in ARRAY FILE
    By daniele in forum Multimedia Fusion 2 - Technical Support
    Replies: 20
    Last Post: 24th July 2015, 01:47 AM
  2. Save / Load Global Values to an INI File
    By Danny in forum File Archive
    Replies: 3
    Last Post: 16th January 2013, 11:33 PM
  3. Save / Load application position + subapps?
    By Nobuyuki in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 9th December 2010, 03:25 AM
  4. Save/Load Frame Error File
    By Zenoff64 in forum File Archive
    Replies: 5
    Last Post: 21st March 2008, 09:49 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
  •