User Tag List

Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 36

Thread: Creating your own file extension?

  1. #1
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Apr 2008
    Posts
    483
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Creating your own file extension?

    How do you make your own file extension that can be read directly by a specific application that you made.

    I am just curious to see how it is done.

    Like .psd is for photoshop

    What if I wanted to make a .fbs file for example and have my program be able to open this file.

  2. #2
    No Products Registered

    Join Date
    Feb 2009
    Location
    Texas
    Posts
    825
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating your own file extension?

    when you save it, save it as filename.psd or filename.fbs
    then when you load whatever you are going to load, tell mmf2 to look for that specific extension

  3. #3
    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: Creating your own file extension?

    Use my Power System Object to register the extension on the system. You can then use the command line of your application to tell what FBS file opened it.

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,698
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating your own file extension?

    IMO, just because you save a filename extension what you want does not mean it can be read by another application. Save a text file as a bmp, but Paint Shop can not read it. The format of the file must be readable by the application.

    Marv
    ​455 MMF2 & CTF 2.5 Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  5. #5
    No Products Registered

    Join Date
    Feb 2009
    Location
    Texas
    Posts
    825
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating your own file extension?

    he is just trying to use it for HIS application
    if i am understanding the question correctly

  6. #6
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating your own file extension?

    Quote Originally Posted by Jaffob
    Use my Power System Object to register the extension on the system. You can then use the command line of your application to tell what FBS file opened it.
    This is the best way to achieve what you want.

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  7. #7
    Clicker Multimedia Fusion 2
    BrandonC's Avatar
    Join Date
    Jun 2006
    Location
    PA, USA
    Posts
    931
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating your own file extension?

    I remember a long time ago, I was called an idiot for trying to create my own file formats, simply because I was accused of not knowing that the extension really means nothing. Like mentioned above, the extension wont change the format of the file. In fact if you saved a Bitmap as a Text file and opened the text file in Paint somehow, the picture would still show perfectly fine... in theory. However, again like mentioned above, the philosophy as to why anyone would want to create a file extension, and in all honesty the entire point behind them anymore, is merely to allow a quick call up of the application that can properly recognize the file itself. So if you create a game with a level editor, and you want your level editor to save array files with your own file extension, don't listen to anyone who tells you it's a stupid idea. It gives you the power to set up that persons computer so that if they double click on any file with that unique file extension, it can automatically run your level editor and open the level.

    Sorry, nothing I said above is unique even to this own post. I just needed to put my own two cents in, along with the back story as to why. xD

  8. #8
    No Products Registered

    Join Date
    Feb 2009
    Location
    Texas
    Posts
    825
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating your own file extension?

    i would say your two cents became $2,000,000,000,000

  9. #9
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,698
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating your own file extension?

    What you say BrandonC is true within the confines of MMF. But in broader terms I don't think it works that way. The odd file extension must be in the format of the application. Of course this could be my gray matter failing me again. MikeB., experimentation is the best solution for your question.

    Marv
    ​455 MMF2 & CTF 2.5 Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  10. #10
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Apr 2008
    Posts
    483
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating your own file extension?

    Wow, I come back and I stir up some heated answers, haha. Hey Jaffob, the power system object rocks!

    Thanks for the info guys.


Page 1 of 4 1 2 3 ... LastLast

Similar Threads

  1. Problem with creating an exe file
    By CitrusMaster in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 11th November 2012, 03:54 PM
  2. REQUEST: File Path "check for file" extension
    By MechatheSlag in forum Extension Development
    Replies: 16
    Last Post: 20th July 2008, 09:41 PM
  3. Creating batch file (Help!)
    By Ran_TH in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 15th July 2008, 03:57 AM
  4. Creating a Hidden File / read only extension
    By MikeB in forum Extension Development
    Replies: 11
    Last Post: 1st July 2008, 03:47 PM
  5. creating folders (directorys) with file object
    By Dave in forum File Archive
    Replies: 0
    Last Post: 21st March 2008, 01:26 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
  •