User Tag List

Results 1 to 8 of 8

Thread: [Tool] EDIF JSON Utilites - Generator and Exporter Templater

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Tool] EDIF JSON Utilites - Generator and Exporter Templater

    Read about it here

    A quick summary, I've been working on a web tool for quite a while which will make extension development with EDIF a lot more intuitive and fun.

    When using EDIF, unlike rSDK or the actual SDK, you must include an external JSON file to link to your object's A/C/E's and label them for the user. It also will define display names for parameters etc. The first of the utilities, the JSON Generator, takes your Extension.h and Extension.cpp files and turns it into a JSON based on the names of your functions and their parameters and return types. You can also use an AS3 file as well, which is extremely helpful if you're making a Flash-only extension.

    You can also start from scratch and build the JSON before you make any code. Then, take that JSON and run it through the JSON to Exporter Template converter and turn it into the skeleton of a Flash extension.

    I hope that you find these tools useful. I'm not sure whether there's a large enough interest to push them forward so if you could comment with feedback that'd be great. Also, I don't make a whole lot of extensions, so those of you that do, be sure to tell me what I can do to make the tool better or if there's any bugs that need fixing. I've already fixed loads of bugs thanks to LB.

    JSON Utilities

  2. #2
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, ┼rhus
    Posts
    3,455
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Very nice This will indeed be helpful for extension developers.

    The tool you mentioned I made is one that takes either your MMF2 default SDK or rSDK source files and generates a Java or Flash template file ready to be filled out.
    It can be found here along with other tools: http://www.andersriggelsen.dk/mmf2_tools.php

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I remember that yes! Great tool.

    Thanks for the reply (and the link!)

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    oruga's Avatar
    Join Date
    Feb 2012
    Posts
    365
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awesome tool, very useful!! Thanks

    I uploaded a JSON file and got a good .as base file to work with. No problems so far.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quick notice:

    I realize now that the JSON generator part is not as highly optimized (and may not work) with the current EDIF edition - I believe Jamie has updated EDIF to allow actual VALID JSON's to be used which means I'll have some work to do this summer to change up this generator.

    IN SHORT: Be aware generated JSONs are iffy. All else should be working

  6. #6
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Jamie added the ability to force it to use the old style, something about a relaxed commas flag.
    Working as fast as I can on Fusion 3

  7. #7
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So it still works properly?

  8. #8
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Well, the entire JSON has to be wrapped in {curly} braces, but if you use the relaxed commas flag it should work after that
    Working as fast as I can on Fusion 3

Similar Threads

  1. KeyStore Generator Tool
    By Danny in forum Android Export Module Version 2.0
    Replies: 54
    Last Post: 5th January 2016, 06:54 PM
  2. KeyStore Generator Tool Beta
    By Danny in forum Android Export Module Version 2.0
    Replies: 9
    Last Post: 18th April 2013, 05:28 PM
  3. EDIF Template and JSON file
    By conceptgame in forum Extension Development
    Replies: 7
    Last Post: 2nd April 2012, 05:05 AM
  4. [NEW] JSON Generator and Editor
    By RickyRombo in forum Extension Development
    Replies: 0
    Last Post: 23rd August 2011, 09:11 AM
  5. [Beta] EDIF JSON Generator (QuickTest)
    By RickyRombo in forum Extension Development
    Replies: 2
    Last Post: 18th August 2011, 04:22 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
  •