- Posts: 4403
Script to build devo12-lib.dfu (for themers)
- PhracturedBlue
-
Topic Author
- Offline
Less
More
04 Jan 2014 17:39 - 18 Mar 2017 15:45 #17933
by PhracturedBlue
Script to build devo12-lib.dfu (for themers) was created by PhracturedBlue
This is an experimental build to create the devo12-lib.dfu file
It won't break anything, but it may not actually work.
you need to point it at the media directory from the devo12 filesystem.
This is a compiled autoit script. the src can be found in the 'scripts' dir if you are interested)
Mklib 0.1 (for 32 and 64 bit):
www.deviationtx.com/downloads-new/catego...make-devo-12-library
4.0.1 Devo12 Filesystem
Instructions for use:
1) download MkLib-0.1-32bit.zip from the 1st post in this thread
2) download devo12-media.zip from the 1st post in this thread
3) unzip MkLib-0.1-32bit.zip
4) unzip devo12-media.zip
5) copy your new bitmap to media/devo12.bmp (from step 4)
6) open the MkDevo12Lib directory and run MkDevo12Lib.exe
7) select the 'media' directory (from step 4)
8- this will create a new devo12-media.dfu file and tell you what directory it is in
9) 'upgrade' this dfu via the 'Library' (NOT the 'Firmware' tab!)
It won't break anything, but it may not actually work.
you need to point it at the media directory from the devo12 filesystem.
This is a compiled autoit script. the src can be found in the 'scripts' dir if you are interested)
Mklib 0.1 (for 32 and 64 bit):
www.deviationtx.com/downloads-new/catego...make-devo-12-library
4.0.1 Devo12 Filesystem
Instructions for use:
1) download MkLib-0.1-32bit.zip from the 1st post in this thread
2) download devo12-media.zip from the 1st post in this thread
3) unzip MkLib-0.1-32bit.zip
4) unzip devo12-media.zip
5) copy your new bitmap to media/devo12.bmp (from step 4)
6) open the MkDevo12Lib directory and run MkDevo12Lib.exe
7) select the 'media' directory (from step 4)
8- this will create a new devo12-media.dfu file and tell you what directory it is in
9) 'upgrade' this dfu via the 'Library' (NOT the 'Firmware' tab!)
Last edit: 18 Mar 2017 15:45 by FDR. Reason: Replaced the download link
- eraf
-
- Offline
05 Jan 2014 11:08 - 05 Jan 2014 11:12 #17979
by eraf
Replied by eraf on topic Script to build devo12-lib.dfu (for themers)
The Script dont work with WinXP 32 and Win7 32
Last edit: 05 Jan 2014 11:12 by eraf.
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
05 Jan 2014 13:06 - 05 Jan 2014 13:21 #17982
by vlad_vy
Replied by vlad_vy on topic Script to build devo12-lib.dfu (for themers)
WinXP 32. I can see at 'Done' dialog file path with double slash before filename, e.g. 'Created : D:\Lib\\devo12-lib.dfu'
Can it be the reason for missing output file?
Can it be the reason for missing output file?
Last edit: 05 Jan 2014 13:21 by vlad_vy.
- PhracturedBlue
-
Topic Author
- Offline
Less
More
- Posts: 4403
05 Jan 2014 17:43 - 05 Jan 2014 17:44 #18001
by PhracturedBlue
Replied by PhracturedBlue on topic Script to build devo12-lib.dfu (for themers)
The problem is likely that I use 64bit python. I don't have a 32bit Windows system available so I can't easily build the necessary executables for a 32bit machine.
If someone has python installed on a windows32 machine as well as the development environment, here are instructions to make the exe:
Install py2exe from here: www.py2exe.org/
in the deviation dir:
create utils/setup.py with contentsthen run python setup.py py2exe
cd mkfat
create setup.py with contents
now copy all files from utils/dist and utils/mkdat/dist into he Mklib-0.1/scripts/ directory and try the script again.
If someone has python installed on a windows32 machine as well as the development environment, here are instructions to make the exe:
Install py2exe from here: www.py2exe.org/
in the deviation dir:
create utils/setup.py with contents
from distutils.core import setup
import py2exe
setup(console=['dfu.py'])cd mkfat
create setup.py with contents
from distutils.core import setup
import py2exe
setup(console=['mkfat.py'])now copy all files from utils/dist and utils/mkdat/dist into he Mklib-0.1/scripts/ directory and try the script again.
Last edit: 05 Jan 2014 17:44 by PhracturedBlue.
- PhracturedBlue
-
Topic Author
- Offline
Less
More
- Posts: 4403
06 Jan 2014 20:07 #18096
by PhracturedBlue
Replied by PhracturedBlue on topic Script to build devo12-lib.dfu (for themers)
I've updated the 1st post with a 32bit binary as well. I built it with Wine in 32bit mode, so it should be ok. I tested it on my 64bit system, and it work there.
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
07 Jan 2014 17:27 - 07 Jan 2014 17:29 #18152
by vlad_vy
Replied by vlad_vy on topic Script to build devo12-lib.dfu (for themers)
It works well, I tried to create and write the library file to Devo12.
Last edit: 07 Jan 2014 17:29 by vlad_vy.
- eraf
-
- Offline
09 Jan 2014 14:18 #18280
by eraf
Replied by eraf on topic Script to build devo12-lib.dfu (for themers)
The new skript is compatible with win Vista 32 bit, win 7 32 bit, win xp 32 bit 
I'd like to say thank u for the great firmware and forum.
I'd like to say thank u for the great firmware and forum.
- pulpfiction15
-
- Offline
Less
More
- Posts: 86
20 Jan 2014 19:22 #18794
by pulpfiction15
Replied by pulpfiction15 on topic Script to build devo12-lib.dfu (for themers)
Hi,
I have tried to create the dfu, without luck.
I tried 32 bit vista
, 64 bit Win 8.1 and on my linux system with Wine.
Nothing worked, script is running. But also got the file path with double slash
I have tried to create the dfu, without luck.
I tried 32 bit vista
Nothing worked, script is running. But also got the file path with double slash
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
21 Jan 2014 03:14 - 21 Jan 2014 03:16 #18815
by vlad_vy
Replied by vlad_vy on topic Script to build devo12-lib.dfu (for themers)
Tried once again, all works fine (WinXP 32bit). I also have the file path with double slash, but 'devo12-lib.dfu' successfully created at 'MkDevo12Lib' script folder.
Last edit: 21 Jan 2014 03:16 by vlad_vy.
- pulpfiction15
-
- Offline
Less
More
- Posts: 86
21 Jan 2014 17:22 #18850
by pulpfiction15
Replied by pulpfiction15 on topic Script to build devo12-lib.dfu (for themers)
Stupid me
, i have created a directory with a space in it '12S Lib'.
I removed the space and all is working perfectly
.
Thanks to all of you for having Deviation.
I removed the space and all is working perfectly
Thanks to all of you for having Deviation.
- cropduster
-
- Offline
Less
More
- Posts: 30
13 May 2014 19:08 #23202
by cropduster
Replied by cropduster on topic Script to build devo12-lib.dfu (for themers)
Guys,
I just tried it and it worked. Now, for the Devo 12s, is the media directory the only contents of the devo12-lib.dfu file?
How is this library related to the firmware version? Where can I get the /media folder related to the proper firmware release?
Thanks,
Michael
I just tried it and it worked. Now, for the Devo 12s, is the media directory the only contents of the devo12-lib.dfu file?
How is this library related to the firmware version? Where can I get the /media folder related to the proper firmware release?
Thanks,
Michael
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
14 May 2014 03:14 #23218
by vlad_vy
Replied by vlad_vy on topic Script to build devo12-lib.dfu (for themers)
You can get the 'media' folder with Devo12 emulator. The 'media' folder can be changed (or not changed) with firmware release.
- cropduster
-
- Offline
Less
More
- Posts: 30
14 May 2014 05:21 #23220
by cropduster
Replied by cropduster on topic Script to build devo12-lib.dfu (for themers)
Alright, so if I want to modify the media folder contents from a specific release, I grab the emulator version for that release with the media folder visible, change it, and compile a new devo12-lib.dfu with this fine tool here.
Great!
Great!
- unclecrash
-
- Offline
Less
More
- Posts: 69
10 Jul 2014 23:43 - 11 Jul 2014 03:42 #24523
by unclecrash
Replied by unclecrash on topic Script to build devo12-lib.dfu (for themers)
Messing a round again Im assuming MK Lib goes into the Virtual drive. So I tryed it and its in there. So I tryed to open it and it tells me to select the media directory. So I click on the media directory and it says the devo12bmp is not in there. Or does the mK lib goes in to where I installed the original Lib with the contents of the new color skin. Am I even getting warm?
Last edit: 11 Jul 2014 03:42 by unclecrash.
- PhracturedBlue
-
Topic Author
- Offline
Less
More
- Posts: 4403
15 Jul 2014 13:54 #24594
by PhracturedBlue
Replied by PhracturedBlue on topic Script to build devo12-lib.dfu (for themers)
I'm not sure what you are asking. You need to install the dfu using the DFUse utility (use the 'Library' Tab) as per the Deviation manual.
- unclecrash
-
- Offline
Less
More
- Posts: 69
22 Jul 2014 01:22 - 22 Jul 2014 01:26 #24745
by unclecrash
Replied by unclecrash on topic Script to build devo12-lib.dfu (for themers)
OK so I replace the dfu with the new MK lib I am confused, is the new MK lib a dfu file too. I am fimiliar with the dfu tool after many attemps I can now install the two files in record time
Or is the mklib and the zip you posted on post one two different file's
Last edit: 22 Jul 2014 01:26 by unclecrash.
- PhracturedBlue
-
Topic Author
- Offline
Less
More
- Posts: 4403
22 Jul 2014 03:08 - 22 Jul 2014 03:09 #24746
by PhracturedBlue
Replied by PhracturedBlue on topic Script to build devo12-lib.dfu (for themers)
what do you mean 'the mklib'?
Here are the steps:
1) download MkLib-0.1-32bit.zip from the 1st post in this thread
2) download devo12-media.zip from the 1st post in this thread
3) unzip MkLib-0.1-32bit.zip
4) unzip devo12-media.zip
5) copy your new bitmap to media/devo12.bmp (from step 4)
6) open the MkDevo12Lib directory and run MkDevo12Lib.exe
7) select the 'media' directory (from step 4)
8- this will create a new devo12-media.dfu file and tell you what directory it is in
9) 'upgrade' this dfu via the 'Library' (NOT the 'Firmware' tab!)
Here are the steps:
1) download MkLib-0.1-32bit.zip from the 1st post in this thread
2) download devo12-media.zip from the 1st post in this thread
3) unzip MkLib-0.1-32bit.zip
4) unzip devo12-media.zip
5) copy your new bitmap to media/devo12.bmp (from step 4)
6) open the MkDevo12Lib directory and run MkDevo12Lib.exe
7) select the 'media' directory (from step 4)
8- this will create a new devo12-media.dfu file and tell you what directory it is in
9) 'upgrade' this dfu via the 'Library' (NOT the 'Firmware' tab!)
Last edit: 22 Jul 2014 03:09 by PhracturedBlue.
- bruiser
-
- Offline
Less
More
- Posts: 8
27 May 2016 21:46 - 27 May 2016 21:48 #49403
by bruiser
Replied by bruiser on topic Script to build devo12-lib.dfu (for themers)
Last edit: 27 May 2016 21:48 by bruiser.
- -=Hubi-Dirk=-
-
- Offline
Less
More
- Posts: 221
28 May 2016 01:06 #49413
by -=Hubi-Dirk=-
Replied by -=Hubi-Dirk=- on topic Script to build devo12-lib.dfu (for themers)
The script will not work without the "devo12.bmp" file. With the new menu structure the name of the file has changed to "backgrnd.bmp".
@ PB: Can you please fix this problem.
@ PB: Can you please fix this problem.
- PhracturedBlue
-
Topic Author
- Offline
Less
More
- Posts: 4403
28 May 2016 02:48 #49415
by PhracturedBlue
Replied by PhracturedBlue on topic Script to build devo12-lib.dfu (for themers)
I don't have the details for building the script anymore (I actually was lucky to find it at all). The fix is easy, but I need to figure out how to compile it 1st. In the mean time, create a file called devo12.bmp (you can just copy any small file to devo12.bmp, it will never be used) to make the script happy.
Time to create page: 0.114 seconds
-
Home
-
Forum
-
Model Configs, Templates, Skins
-
Custom Skins
- Script to build devo12-lib.dfu (for themers)