- Posts: 216
Add toggles to Devo 12S
- saidem
-
Topic Author
- Offline
Less
More
25 Jun 2017 13:30 - 25 Jun 2017 18:41 #63129
by saidem
Add toggles to Devo 12S was created by saidem
On my Devo 12S I would like to put toggles that I had got in my Devo 8S.
On the Devo 8S there was a "media" directory was accessible by the USB drive. On the Devo 12S we do not have access to the "library" directory.
I saw on a subject that we had to create a directory "mymedia" or "media" on the USB drive and then call the new file toggle3.bmp with the new toggles in it. I have tried both, but the new toggles do not appear in the TX.
What do you think?
Thank you very much for your help.
On the Devo 8S there was a "media" directory was accessible by the USB drive. On the Devo 12S we do not have access to the "library" directory.
I saw on a subject that we had to create a directory "mymedia" or "media" on the USB drive and then call the new file toggle3.bmp with the new toggles in it. I have tried both, but the new toggles do not appear in the TX.
What do you think?
Thank you very much for your help.
Last edit: 25 Jun 2017 18:41 by saidem.
- jejeg
-
- Offline
Less
More
- Posts: 143
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
26 Jun 2017 03:41 - 26 Jun 2017 03:44 #63142
by vlad_vy
Replied by vlad_vy on topic Add toggles to Devo 12S
"mymedia/toggle3.bmp" should work for Devo 12s:
toggle_files[3] = "mymedia/toggle3.bmp";
also:
fh = fopen("mymedia/config.ini", "r");
fh = fopen("mymedia/voice.ini", "r");
fh = fopen("mymedia/sound.ini", "r");
toggle_files[3] = "mymedia/toggle3.bmp";
also:
fh = fopen("mymedia/config.ini", "r");
fh = fopen("mymedia/voice.ini", "r");
fh = fopen("mymedia/sound.ini", "r");
Last edit: 26 Jun 2017 03:44 by vlad_vy.
- saidem
-
Topic Author
- Offline
Less
More
- Posts: 216
26 Jun 2017 08:06 - 26 Jun 2017 08:06 #63148
by saidem
Replied by saidem on topic Add toggles to Devo 12S
Thank you jejeg and vlad_vy,
Hello vlad_vy, I put the "mymedia" directory in the USB drive and toggle3.bmp in the mymedia directory. I do not understand "toggle_files [3]" and
"fh = fopen (" mymedia / config.ini "," r ");
Fh = fopen ("mymedia / voice.ini", "r");
Fh = fopen ("mymedia / sound.ini", "r"); "
Should it go to edit in the directory" Library, if yes how is accessed?
Hello vlad_vy, I put the "mymedia" directory in the USB drive and toggle3.bmp in the mymedia directory. I do not understand "toggle_files [3]" and
"fh = fopen (" mymedia / config.ini "," r ");
Fh = fopen ("mymedia / voice.ini", "r");
Fh = fopen ("mymedia / sound.ini", "r"); "
Should it go to edit in the directory" Library, if yes how is accessed?
Last edit: 26 Jun 2017 08:06 by saidem.
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
26 Jun 2017 10:54 - 26 Jun 2017 10:55 #63151
by vlad_vy
Replied by vlad_vy on topic Add toggles to Devo 12S
It is examples from the source code. You don't need to do anything, just place these files to "mymedia" folder.
Last edit: 26 Jun 2017 10:55 by vlad_vy.
- saidem
-
Topic Author
- Offline
Less
More
- Posts: 216
26 Jun 2017 12:28 - 26 Jun 2017 16:45 #63155
by saidem
Replied by saidem on topic Add toggles to Devo 12S
On Devo 12S I do
Select a toggle
Page config (I put "Aile" as an example)
Edit (I have all the toggles of the Devo 12S, but not the new toggle3.bmp file?
Here are the copies of the USB drive.
I do not know what's wrong...
And can we add toggle4.bmp, 5 etc as on the 8S because there are only 8 or 9 toggles per file? Or how to put all toggles on the same file toggle3.bmp?
Select a toggle
Page config (I put "Aile" as an example)
Edit (I have all the toggles of the Devo 12S, but not the new toggle3.bmp file?
Here are the copies of the USB drive.
I do not know what's wrong...
And can we add toggle4.bmp, 5 etc as on the 8S because there are only 8 or 9 toggles per file? Or how to put all toggles on the same file toggle3.bmp?
Last edit: 26 Jun 2017 16:45 by saidem.
- jejeg
-
- Offline
Less
More
- Posts: 143
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
- saidem
-
Topic Author
- Offline
Less
More
- Posts: 216
27 Jun 2017 08:49 #63167
by saidem
Replied by saidem on topic Add toggles to Devo 12S
Hello vlad-vy,
So I do not have to modify the library file, is that right, because I no longer understand, jejeg sent me a file of 673ko which corresponds I believe to this one.
Can you send me your file "toggle3.bmp" to see if it works?
Thank you very much for your help.
So I do not have to modify the library file, is that right, because I no longer understand, jejeg sent me a file of 673ko which corresponds I believe to this one.
Can you send me your file "toggle3.bmp" to see if it works?
Thank you very much for your help.
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
27 Jun 2017 09:57 #63168
by vlad_vy
Replied by vlad_vy on topic Add toggles to Devo 12S
OK. It's new toggle3.bmp without transparency.
- saidem
-
Topic Author
- Offline
Less
More
- Posts: 216
27 Jun 2017 15:57 #63173
by saidem
Replied by saidem on topic Add toggles to Devo 12S
Thanks for the file I tried it, but it's always the same, I do not see the new toggles. What more do I need to do? I use version 5.0.0, does it work with this version? Does anyone else have an idea?
- jejeg
-
- Offline
Less
More
- Posts: 143
27 Jun 2017 18:52 #63178
by jejeg
Replied by jejeg on topic Add toggles to Devo 12S
Sending your media file
- jejeg
-
- Offline
Less
More
- Posts: 143
27 Jun 2017 19:31 #63180
by jejeg
Replied by jejeg on topic Add toggles to Devo 12S
I'm in v5.0.0-eF04024
- saidem
-
Topic Author
- Offline
Less
More
- Posts: 216
28 Jun 2017 19:00 #63194
by saidem
Replied by saidem on topic Add toggles to Devo 12S
In fact I have just looked at the files, and I have the impression that it is necessary to add the files "toggle3.bmp" on the computer in the file "devo12-lib \ media", to save it and to re- DFUSE tool to enter the new "media" file with its modifications. What do you think?
- jejeg
-
- Offline
Less
More
- Posts: 143
28 Jun 2017 19:45 #63195
by jejeg
Replied by jejeg on topic Add toggles to Devo 12S
Yes, it is necessary to use "MkDevo12lib "to create a new media folder and "Dfuse tool after each modification in the media file.
- saidem
-
Topic Author
- Offline
Less
More
- Posts: 216
29 Jun 2017 16:46 - 29 Jun 2017 17:22 #63208
by saidem
Replied by saidem on topic Add toggles to Devo 12S
Thanks jejeg
I found the MkDevo12lib tool, it tells me that the new .DFU file is created, but I can not find it?
I found the MkDevo12lib tool, it tells me that the new .DFU file is created, but I can not find it?
Last edit: 29 Jun 2017 17:22 by saidem.
- jejeg
-
- Offline
Less
More
- Posts: 143
29 Jun 2017 19:23 - 29 Jun 2017 19:24 #63209
by jejeg
Replied by jejeg on topic Add toggles to Devo 12S
You open "dfuse usb upgrade tool"
then "library"
then" upgrade",
then the folder "MkDevo12lib" and your new DFU file "devo-12lib appears, you open it and upgrade it in the tool.
It should work.
then "library"
then" upgrade",
then the folder "MkDevo12lib" and your new DFU file "devo-12lib appears, you open it and upgrade it in the tool.
It should work.
Last edit: 29 Jun 2017 19:24 by jejeg.
- magic_marty
-
- Offline
Less
More
- Posts: 706
30 Jun 2017 02:28 #63214
by magic_marty
Replied by magic_marty on topic Add toggles to Devo 12S
Had the same problem and what i had to do is run the MkDevo12lib tool on a separate thumb drive as administrator to get it to work..
Copy all the needed files to the thumb drive then try running it as Admin it should create the library file on the same thumb drive..
Copy all the needed files to the thumb drive then try running it as Admin it should create the library file on the same thumb drive..
- saidem
-
Topic Author
- Offline
Less
More
- Posts: 216
30 Jun 2017 16:03 - 30 Jun 2017 16:22 #63221
by saidem
Replied by saidem on topic Add toggles to Devo 12S
I still can not see the .DFU file created. I did it on a USB stick, it's the same. Yet the hidden files option is disabled on my computer.
And does it work with Windows 10?
Here is the picture below, is it good?
And does it work with Windows 10?
Here is the picture below, is it good?
Last edit: 30 Jun 2017 16:22 by saidem.
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
30 Jun 2017 17:22 #63222
by vlad_vy
Replied by vlad_vy on topic Add toggles to Devo 12S
At source code the space character after "mymedia/toggle3 " break use of "mymedia/toggle3.bmp". I place pull request to fix it.
Time to create page: 1.709 seconds
-
Home
-
Forum
-
News, Announcements and Feedback
-
Feedback & Questions
- Add toggles to Devo 12S