User Tag List

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

Thread: Loading old examples with converted extensions

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Loading old examples with converted extensions

    Hey everyone,

    I'm trying to convert the global function object to MMF 2, and it seems to be working fine, but when I load any MMF 1.5 example using the gfo, I get:

    "
    This application requires the following extensions:

    globalfunction.mfx

    Install these extensions and then click retry"


    This happens even though I've placed globalfunction.mfx into the extensions directory, and I can otherwise use the extension as normal.

    Has anyone else had this problem? To Clickteam: What does the MMF 2 code actually check for at this point? Just the filename and IDENTIFIER?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Loading old examples with converted extensions

    I've had no problems with opening old code, following the conversion instructions and giving extensions the same filename (but .mfx instead of .cox).
    .:::.Joshtek.:::.

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Loading old examples with converted extensions

    Here is one way which I can get MMF2 to run old examples:

    • Move globalfunction.mfx out of the extensions/ directory
    • Place globalfunction.cox into the extensions/mmf1 directory
    • Load the old example
    • Move globalfunction.mfx back into the extensions/ directory
    • Now running the application works
    • If you save to a .mfa file at this point, and then reload, you get the same error as above


    Any clues?

  4. #4
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Loading old examples with converted extensions

    I usually just take the template SDK and copy over my code to it. I don't like to use the conversion text file. IMHO this is much easier and you are sure you have the new SDK features at hand if you need them <img src="/center/images/graemlins/smile.gif" alt="" />

  5. #5
    No Products Registered

    Join Date
    Jul 2006
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Loading old examples with converted extensions

    I've attached the 1.5 and 2.0 versions of the extension and a 1.5 example
    Attached files Attached files

  6. #6
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Loading old examples with converted extensions

    I can confirm that it won't load the example.

    Only thing I can think of is to check your identifier and KCX_CURRENT_VERSION.

  7. #7
    No Products Registered

    Join Date
    Jul 2006
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Loading old examples with converted extensions

    Cheers Joshtek, I don't have a KCX_CURRENT_VERSION, but I do have a KPX_MARK = "MF2"

    I'll give Andos' idea a try - maybe there is something particular to my extension that isn't included in the conversion routine

  8. #8
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Loading old examples with converted extensions

    At the top of main.h is the identifier, and further down should be KCX_CURRENT_VERSION (just before "RUNNING OBJECT DATA STRUCTURE"). I don't know what happens if they differ.
    .:::.Joshtek.:::.

  9. #9
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Loading old examples with converted extensions

    I only think KCX_CURRENT_VERSION is used for Vitalize to check if there are new versions available to download. I had to increase that number for the recent AGBO update so Vitalize would download it, and I just increased it in MoveIt as well. All the old files loaded fine even when changing that number.

  10. #10
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Loading old examples with converted extensions

    No, KCX_CURRENT_VERSION is not used at all by Vitalize, you have to increase it only each time you modify the content of the EDITDATA structure, so that the UpdateEditStructure function is called by MMF2.

    If you release a new version of your extension and want Vitalize! to detect it, increase the SpecialBuild member of the VERSIONINFO in the resources.

    Yves.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. QUESTIONS - Converted Video File... Loading Issues
    By ChrisStreet in forum XNA Export Module Version 2.0
    Replies: 4
    Last Post: 3rd February 2012, 01:10 PM
  2. Sticky of converted extensions
    By netninja in forum SWF/Flash Export Module Version 2.0
    Replies: 7
    Last Post: 9th August 2010, 10:34 PM
  3. A few converted extensions
    By Matt in forum Extension Development
    Replies: 45
    Last Post: 13th July 2006, 04:34 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
  •