×
Important information

To file a bug, find instructions here: Reporting bugs

Please only post images or files to this forum which you either own the copyright to or you are sure can be distributed under an open source license.

Script to build devo12-lib.dfu (for themers)

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

File Attachment:

File Name: devo12-media.zip
File Size:423 KB


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!)
Attachments:
Last edit: 18 Mar 2017 15:45 by FDR. Reason: Replaced the download link

Please Log in or Create an account to join the conversation.

More
05 Jan 2014 11:08 - 05 Jan 2014 11:12 #17979 by eraf
The Script dont work with WinXP 32 and Win7 32
Last edit: 05 Jan 2014 11:12 by eraf.

Please Log in or Create an account to join the conversation.

More
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?
Last edit: 05 Jan 2014 13:21 by vlad_vy.

Please Log in or Create an account to join the conversation.

More
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 contents
from distutils.core import setup
import py2exe

setup(console=['dfu.py'])
then run python setup.py py2exe

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.

Please Log in or Create an account to join the conversation.

More
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.

Please Log in or Create an account to join the conversation.

More
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.

Please Log in or Create an account to join the conversation.

More
09 Jan 2014 14:18 #18280 by eraf
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.

Please Log in or Create an account to join the conversation.

More
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 :sick: , 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 :(

Please Log in or Create an account to join the conversation.

More
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.

Please Log in or Create an account to join the conversation.

More
21 Jan 2014 17:22 #18850 by pulpfiction15
Replied by pulpfiction15 on topic Script to build devo12-lib.dfu (for themers)
Stupid me :blush: , i have created a directory with a space in it '12S Lib'.
I removed the space and all is working perfectly :cheer: .

Thanks to all of you for having Deviation.

Please Log in or Create an account to join the conversation.

More
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

Please Log in or Create an account to join the conversation.

More
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.

Please Log in or Create an account to join the conversation.

More
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!

Please Log in or Create an account to join the conversation.

More
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.

Please Log in or Create an account to join the conversation.

More
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.

Please Log in or Create an account to join the conversation.

More
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.

Please Log in or Create an account to join the conversation.

More
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!)
Last edit: 22 Jul 2014 03:09 by PhracturedBlue.

Please Log in or Create an account to join the conversation.

More
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)
I tried to create the devo12-lib a lot of times on my two 64-bit Windows (Windows 7 and Windows 8.1) but in vain. No file was generated. I captured the following screen. Any advice? Thank you.


Attachments:
Last edit: 27 May 2016 21:48 by bruiser.

Please Log in or Create an account to join the conversation.

More
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.

Please Log in or Create an account to join the conversation.

More
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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.325 seconds
Powered by Kunena Forum