View Full Version : Hacking the 14MZ MDL files
Finless
05-11-2006, 01:18 PM
Some of you may or may not have seen this on the 14MZ/12MZ forum here so I though I would post it here as well.
I have a 14mz and want to get started on a PC program to allow users to display and edit the model files. I have made some pretty good progress :D
I have a web page here for kind of launching this project and I show how to edit the model time/date stamp.
Here is my web page:
http://www.wavelandps.com/14mz/
Even though I only have the 1 project listed I have already cracked many other portions of the model file and plan to post those soon. Here is what I have so far:
Model type setting
Frequency settings
PPM, PCM, 2048, etc settings
ATV and ATV limits settings
Sub Trim settings
Servo reversing
Soon I should have all of the "linkage" menu decoded and then will start craking the "model menu".
I could sure use someone that programs Windows based software to help on this project! While I would like to start out in the public domain for the program there is always a chance this could become popular and thus launch a commercial program! Just some ideas ;)
Enjoy!
Bob
marked23
05-16-2006, 09:17 PM
I'm a windows applications programmer. C#, mostly these days. My specialty is database related work, but I also do some UI stuff as well.
I could make a program to load a collection of MDL files and put them in a particular order, checksum them automatically and spit them back to disk.
Would that be a good start?
-Mark
marked23
05-16-2006, 09:33 PM
What I think would be cool is a converter that converts MDL files to XML. XML, being both human readable and machine readable, is an excellent target to head for when reverse engineering a file format.
I imagine that the XML converter part could be the "free" software. Simply making the files editable offline is quite useful itself. Over time, the MDL file format will likely change a bit and thus make this part of the project a moving target forever. There's no joy in commercializing that.
What you could sell is the user friendly UI, with graphics, and charts, and mouse clicks to set curves, etc. The UI edits the XML format and the converter (either manually or automatically behind the scenes) converts the XML back to MDL.
I've seen this model used in other projects where a free piece of software was transitioned into commercial software by merely selling the enhanced UI. The real hard project, the free xml <-> mdl converter, drives demand for the commercial UI.
-Mark
WillJames
05-17-2006, 06:48 AM
Sounds GREAT!! I would pay for this software. I would LOVE to be able to tweak my models curves and all on my PC during the week when I can't fly.
That would be KILLER!!
Finless
05-17-2006, 09:54 AM
What I think would be cool is a converter that converts MDL files to XML. XML, being both human readable and machine readable, is an excellent target to head for when reverse engineering a file format.
I imagine that the XML converter part could be the "free" software. Simply making the files editable offline is quite useful itself. Over time, the MDL file format will likely change a bit and thus make this part of the project a moving target forever. There's no joy in commercializing that.
What you could sell is the user friendly UI, with graphics, and charts, and mouse clicks to set curves, etc. The UI edits the XML format and the converter (either manually or automatically behind the scenes) converts the XML back to MDL.
I've seen this model used in other projects where a free piece of software was transitioned into commercial software by merely selling the enhanced UI. The real hard project, the free xml <-> mdl converter, drives demand for the commercial UI.
-Mark
Mark, I will PM you about this..... I have one guy helping with reverse engineering the MDL files and another has offered to do the program but he is busy and might like the help! Anyway I will PM you with my Email address to we can all get hooked up!
Bob
WillJames
05-17-2006, 10:13 AM
EXCELLENT the wheels are in motion and ALL of us that run the new Futaba radios can benefit from the outcome. That is GREAT!! This hobby is GREAT!!
Thank you guys!!! My wallet is ready and I will help you guys make it happen any way I can.
Thank you in advance!!!
dr_hfuhuhurr
05-18-2006, 09:12 AM
Hey all...give me a shout with the info. I'm a C# guy and have done a TON of windows forms development. I'd like to hear what is going on with the development and I'll lend a hand wherever I can.
Blake
CopterKid
05-23-2006, 01:17 PM
Hi guys,
I've been working on a Futaba editor for a few months (not currently for the 14MZ though). If I can assist let me know.
You can download the program from:
http://www.garyga.com/Downloads/tabid/56/Download.aspx?DownloadID=3
It still needs a lot of work (not touched it for about 4 weeks due to building by new Freya) but you'll get the idea :idea:
Models can be exported/imported in XML format.
The program will attempt to connect to the Internet, this is the automatic update check which can be disabled from the options page.
Pete.
thespin
06-02-2006, 04:21 AM
Sure would be nice if the interface was done in wxwindows and in c so it could be run on OS X and linux. Although, if it was in C#, it could probably be run under Mono. Still, c and wxwindows would be clean and portable.
Let me know if I can help.
theo2076
06-22-2006, 02:30 PM
If I could get some code to convert the model files into xml and back again I could whip up a real nice Java UI, which could be run on any platform.
I know something was in the works, I just don't know enough about binary to convert it into xml.
Finless
06-22-2006, 03:24 PM
CopterKid, I cant seem to get the link to work? It times out.
Bob
CopterKid
06-22-2006, 03:58 PM
Hi,
My SQL server keeps hanging and killing the site :?:
I've put a copy here:
http://www.garyga.com:8080/CampEditZip.exe
If you are asked for a username and password they are both guest
Pete.
AlanMcSwain
08-07-2006, 12:40 PM
I really wish Futaba would realize that there is a high degree of convergence between Helis and computer hobbyists and produce a system with an embedded Linux OS so the community could constantly drive the software and utility of these systems forward at a faster rate.
bkervaski
08-16-2006, 06:49 PM
I know x86 assembly, C, C++, Perl and PHP if that helps. I also know C# and am pretty proficient in MSIL. I know mysql and ms-sql and a few others. If I can help let me know.
My company developes embedded systems: http://heavylogic.com
Anyone want to send a donor 14mz? If CE will run on it, I bet we can get linux, freebsd or vxworks to run on it. Oh, we'll need some donor helis as well as I'm not flying mine with it.. heh
Finless
08-18-2006, 12:14 AM
I know x86 assembly, C, C++, Perl and PHP if that helps. I also know C# and am pretty proficient in MSIL. I know mysql and ms-sql and a few others. If I can help let me know.
My company developes embedded systems: http://heavylogic.com
Anyone want to send a donor 14mz? If CE will run on it, I bet we can get linux, freebsd or vxworks to run on it. Oh, we'll need some donor helis as well as I'm not flying mine with it.. heh
Join the group hacking. On my web page you will find a link to RCFan's hacking group.
http://www.wavelandps.com/14mz/
Bob
Fall2Fast
08-28-2006, 09:27 PM
That radio is just sooo much $$$$ is it really worth it with helicopters? I can see with planes and ganging servos, but what about for us?
and I did see that video using the protractor, BUT I did not see a comparison, and that is OK too, what about the servos? would the servos actually point to a number that the 1024 will not? :dontknow
I may be out of line, but I seen this and just thought I would ask. Myself... I am not at the level that I would notice :lol:
Finless
08-29-2006, 01:44 AM
Withg a G3 RX trust me you FEEL the difference. I am not hot 3D pilot and I feel the difference. I know I will have this radio a LONG time and it will be worth the investment.
Bob
Dan MacKay
10-03-2006, 06:01 PM
I have only had mine for a week now having stepped up from a 7CHP and the difference even for a relative newbie is absolutely tremendous. I would put this on my christmas list if I were you. You have to feel it to believe it.
Dan
COOKIEULT70
01-08-2007, 07:57 PM
Is there a similar site for the Futaba 9ZAP? I want to move the three position switch from the right side to the left. I can move the switch itself easy enough but will the radio recognize it in the new position?
Finless
01-08-2007, 09:06 PM
No there is not BUT.... It can be done!
See my site here for as mouch info as I could show without being chased by Futaba :)
This info here should allow you to do what you want!
http://home.socal.rr.com/hotweb/futabaserv/
ENJOY ;)
Bob