User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16

Thread: Edit Hidden Files

  1. #1
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Edit Hidden Files

    So with the INI++ and another extension, i have hid my game's important save files.

    My query is this; Can i save to the game file while the file is still hidden, or do i have to reveal it during the game and hide it when the game is closed?

  2. #2
    Clicker Fusion 2.5 DeveloperSWF 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
    Dec 2009
    Location
    Louisiana, USA
    Posts
    368
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Edit Hidden Files

    I just tested this out and you will have to change the file attributes to not be hidden. When I did a quick test ini file using Ini++ 1.5 it would not edit the file while it was hidden. Once I changed the file's attributes to no longer hidden and then tried to edit the file it worked.

    Why hide the file? Ini++ 1.5 has an awesome feature of encrypting your ini files. In that way only your game/app can access the ini files. If a user tries to open an encrypted ini file in notepad they will get a bunch of gibberish.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Edit Hidden Files

    Thank you, i have it hidden so that the user does "accidently" delete teh game file and lose all of their game data.

  4. #4
    Clicker Fusion 2.5 DeveloperSWF 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
    Dec 2009
    Location
    Louisiana, USA
    Posts
    368
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Edit Hidden Files

    You could always keep a copy in an undisclosed location such as somewhere else on the hard drive. There's always the AppData folders. Create a folder in there for your game/app.

    There will be users that will search their hard drive for folders with the name of your app. There will be users that will fudge with the files even though they know they know it's possible to really fudge something up.

    If they then delete stuff from an AppData folder (which by default is a hidden folder) then they will just lose their game data. You can only do so much to try and deter people from fudging up things. If they delete it from the AppData folder then hopefully that would be a lesson learned on their part.

  5. #5
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Edit Hidden Files

    Agreed Kracker, I just dont want anyone whose not looking for trouble to find trouble.

    Also, this is the first time i've heard of the AppData Folder, care to explain more about it?

  6. #6
    Clicker Fusion 2.5 DeveloperSWF 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
    Dec 2009
    Location
    Louisiana, USA
    Posts
    368
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Edit Hidden Files

    AppData folder is a folder in Windows Vista/7. The earlier equivalent of it was the Documents and Settings folder in XP.

    AppData is located in:

    C:\Users\Username\AppData

    If you have your folder options set to hide hidden and system files then you won't see that folder. Applications create folders within one or multiple of the subdirectories of AppData.

    In AppData are the following subdirectories:

    - Local
    - LocalLow
    - Roaming

    The main difference between the Local and Roaming is how the information can be accessed. The local can only be accessed from the machine it is actually stored on whereas data stored in Roaming can be accessed from any machine logged on for that user.

    For example, you have a directory called MyCoolGame for a Windows Logon of Frank123. If MyCoolGame is only stored in Local then if Frank goes to another machine on the network and logs in with Frank123 he can't access that data. If it were stored in Roaming he could login to any computer on the network play your game/app and access that data.

  7. #7
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Edit Hidden Files

    Quote Originally Posted by Kracker
    If it were stored in Roaming he could login to any computer on the network play your game/app and access that data.
    Only for networks that use roaming profiles, which are really quite rare.

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Edit Hidden Files

    Quote Originally Posted by Kracker
    AppData folder is a folder in Windows Vista/7. The earlier equivalent of it was the Documents and Settings folder in XP.
    XP does actually have an equivalent folder, at C:\Documents and Settings\(Username)\Application Data .

  9. #9
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Edit Hidden Files

    does MMF2 have an automatic feature for finding the this AppData folder? I seem to think that it does, but i'm not quite sure.

    If it doesn't. how would i detect what kind of computer a person has?

  10. #10
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Edit Hidden Files

    Yes, you can use the File object's action - "Get Application Data folder" or something like that - to find the appropriate base location, and then add "/yourgamename/" as a folder to the end of it.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Loading files such as INI,Text files, List Files?
    By Gibbon in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 21st July 2012, 07:41 AM
  2. Invisible/Hidden Files
    By ProdigyX in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 29th April 2011, 12:21 AM
  3. Changing Attributes on system & hidden files
    By Melissa in forum Install Creator and Patch Maker
    Replies: 4
    Last Post: 29th November 2010, 01:46 PM
  4. IC - Exclude files in hidden directories
    By DagSa in forum Install Creator and Patch Maker
    Replies: 1
    Last Post: 8th February 2010, 01:55 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
  •