Fun, Learning, Friendship and Mutual Respect START  HERE


Unregistered
Go Back   HeliFreak > R/C Electronics Support > Futaba Radios and Electronics > Futaba 14MZ - 12Z


Futaba 14MZ - 12Z Futaba 14MZ and 12Z Help and features Support Forum


Reply
 
LinkBack Thread Tools Display Modes
Old 11-17-2006, 10:44 AM   #1 (permalink)
 

Join Date: Aug 2005
Default patch 14MZ .mdl files to work with 12Z

Is it possible to patch 14MZ .mdl files to work with 12Z? Change model name in .mdl file.
andersnorlin is offline        Reply With Quote Quick reply to this message
Sponsored Links
Advertisement
 
Old 11-17-2006, 10:50 AM   #2 (permalink)
 

Join Date: Mar 2005
Default

Yes. You have to change the model name bytes starting at file offset 0x1e (note they're UNICODE), and then calculate two 32-bit checksums (one for the first 0xb8 bytes, store in 0xb8-0xbb), and then one for the whole file after updating the first chksum (bytes 0-0x1fffb, store in 0x1fffc-1ffff). Checksums are byte-by-byte sum.
RCfan is offline        Reply With Quote Quick reply to this message
Old 11-17-2006, 10:54 AM   #3 (permalink)
Thread Starter Thread Starter
 

Join Date: Aug 2005
Default

Quote:
Originally Posted by RCfan
Yes. You have to change the model name bytes starting at file offset 0x1e (note they're UNICODE), and then calculate two 32-bit checksums (one for the first 0xb8 bytes, store in 0xb8-0xbb), and then one for the whole file (bytes 0-0x1fffb, store in 0x1fffc-1ffff) after updating the first chksum. Checksums are byte-2-byte sum.
fast answer, thank's. Any GUI:s for doing this?
andersnorlin is offline        Reply With Quote Quick reply to this message
Old 11-17-2006, 10:56 AM   #4 (permalink)
 

Join Date: Mar 2005
Default

Quote:
Any GUI:s for doing this?
Yes, the 14MZ GUI! :mrgreen:
RCfan is offline        Reply With Quote Quick reply to this message
Old 11-17-2006, 11:21 AM   #5 (permalink)
Thread Starter Thread Starter
 

Join Date: Aug 2005
Default

Quote:
Originally Posted by RCfan
Quote:
Any GUI:s for doing this?
Yes, the 14MZ GUI! :mrgreen:
Do you use a HEX editor that computes Checksums, byte-by-byte sum. I have Cygnus but it seems to calculate wrong checksum.
andersnorlin is offline        Reply With Quote Quick reply to this message
Old 11-17-2006, 11:32 AM   #6 (permalink)
 

Join Date: Mar 2005
Default

Some (hex) editors let you calculate checksums using different algorithms. Just remember you'll need to get a 32-bit checksum using byte-by-byte sums, i.e. each individual byte is added to a running total, the checksum. I wrote myself a small one that runs under cygwin.
RCfan is offline        Reply With Quote Quick reply to this message
Old 11-17-2006, 11:44 AM   #7 (permalink)
Thread Starter Thread Starter
 

Join Date: Aug 2005
Default

Quote:
Originally Posted by RCfan
Quote:
Any GUI:s for doing this?
Yes, the 14MZ GUI! :mrgreen:
Ok, I got it to work. Do you also know how to change the frequency band in the .mdl file. My mdl file uses 72MHz and I want to change to 35MHz. Does not seem to work to change it after reading in the model file in the transmitter.
andersnorlin is offline        Reply With Quote Quick reply to this message
Old 11-17-2006, 11:56 AM   #8 (permalink)
Thread Starter Thread Starter
 

Join Date: Aug 2005
Default

Quote:
Originally Posted by andersnorlin
Quote:
Originally Posted by RCfan
Quote:
Any GUI:s for doing this?
Yes, the 14MZ GUI! :mrgreen:
Ok, I got it to work. Do you also know how to change the frequency band in the .mdl file. My mdl file uses 72MHz and I want to change to 35MHz. Does not seem to work to change it after reading in the model file in the transmitter.
Nevermind I found your earlier post of the structure in the .mdl file.

Thank's
andersnorlin is offline        Reply With Quote Quick reply to this message
Old 11-17-2006, 12:19 PM   #9 (permalink)
Thread Starter Thread Starter
 

Join Date: Aug 2005
Default

This does not seem to work

0x00062- modulation (0=G3, 1=PCM, 2=PPM)
0x00063- region code? (0=America, 1=?, 2=Europe/UK)
0x00064- frequency code? (2=35MHz, 7=72MHz)
0x00065- Channel index (for 72Mhz, 1=ch11, 2=ch12, ... 0x17=ch33

I set

0x00062- 0
0x00063- 2
0x00064- 2
0x00065- 1

calculate new checksums.

And when loading patched .mdl file it still want's to use 72MHz band.

What am I doing wrong here?
:?
andersnorlin is offline        Reply With Quote Quick reply to this message
Old 11-17-2006, 12:42 PM   #10 (permalink)
Thread Starter Thread Starter
 

Join Date: Aug 2005
Default

Quote:
Originally Posted by andersnorlin
This does not seem to work

0x00062- modulation (0=G3, 1=PCM, 2=PPM)
0x00063- region code? (0=America, 1=?, 2=Europe/UK)
0x00064- frequency code? (2=35MHz, 7=72MHz)
0x00065- Channel index (for 72Mhz, 1=ch11, 2=ch12, ... 0x17=ch33

I set

0x00062- 0
0x00063- 2
0x00064- 2
0x00065- 1

calculate new checksums.

And when loading patched .mdl file it still want's to use 72MHz band.

What am I doing wrong here?
:?

Is there a cheecksum for the frequency data block? Index?
andersnorlin is offline        Reply With Quote Quick reply to this message
Reply




Quick Reply
Message:
Options

Register Now

In order to be able to post messages on the HeliFreak forums, you must first register.
Please enter your desired user name, your REAL and WORKING email address and other required details in the form below.
User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.
Password:
Confirm Password:
Email Address
Please enter a valid email address for yourself. Use a real email address or you will not be granted access to the site. Thank you.
Email Address:
Location
Where do you live? ie: Country, State, City or General Geographic Location please.
Name and Lastname
Enter name and last name here. (This information is not shown to the general public. Optional)
Helicopter #1
Enter Helicopter #1 type and equipment.
Helicopter #2
Enter Helicopter #2 type and equipment.
Helicopter #3
Enter Helicopter #3 type and equipment.
Helicopter #4
Enter Helicopter #4 type and equipment.

Log-in


Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Copyright © Website Acquisitions Inc. All rights reserved.
vBulletin Security provided by vBSecurity v2.2.2 (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.

SEO by vBSEO 3.6.1