- Posts: 40
Editing FS files?
- Quell
- Topic Author
- Offline
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Please Log in or Create an account to join the conversation.
- Quell
- Topic Author
- Offline
- Posts: 40
how do i use the python code that phractured blue put on the misc. downloads for editing fs ?
im new to python and computer programming.
i can program , ive done it for years on CNC equipmet but that was G codes and M codes.
sorry to bother you pros with stupid questions but im almost there...
Please Log in or Create an account to join the conversation.
- Schugy
- Offline
- Posts: 37
Get buildfs.py first:
:~$ wget raw.githubusercontent.com/DeviationTX/de...ms/devofs/buildfs.py
:~$ md5sum buildfs.py
759d7f5ef9e075b6c2c1566fd7d8e35b buildfs.py
Here is an example:
:~$ mkdir devofs-test4Quell
:~$ cd devofs-test4Quell/
:~/devofs-test4Quell$ cp ~/devo.fs/
:~/devofs-test4Quell$ cp ~/devo.fs/devo.fs-20171219 ./
:~/devofs-test4Quell$ cp ~/devo.fs/buildfs.py ./
:~/devofs-test4Quell$ mkdir devo.fs-20171219-extraction-dir
:~/devofs-test4Quell$ python buildfs.py --fs devo.fs-20171219 --dir devo.fs-20171219-extraction-dir --extract
MKDIR: devo.fs-20171219-extraction-dir/layout
MKDIR: devo.fs-20171219-extraction-dir/protocol
MKDIR: devo.fs-20171219-extraction-dir/media
MKDIR: devo.fs-20171219-extraction-dir/template
MKFILE (6): devo.fs-20171219-extraction-dir/errors.txt
MKFILE (596): devo.fs-20171219-extraction-dir/tx.ini
MKFILE (794): devo.fs-20171219-extraction-dir/hardware.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model16.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model19.ini
MKFILE (1769): devo.fs-20171219-extraction-dir/models/model3.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model18.ini
MKFILE (1430): devo.fs-20171219-extraction-dir/models/model4.ini
MKFILE (835): devo.fs-20171219-extraction-dir/models/model1.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model20.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model13.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model9.ini
MKFILE (2028): devo.fs-20171219-extraction-dir/models/model30.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model14.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model10.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model5.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model23.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model6.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model17.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model26.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model21.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model15.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model22.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model12.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model28.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model7.ini
MKFILE (2687): devo.fs-20171219-extraction-dir/models/model29.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model24.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model27.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/default.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model11.ini
MKFILE (504): devo.fs-20171219-extraction-dir/models/model8.ini
MKFILE (57): devo.fs-20171219-extraction-dir/layout/empty.ini
MKFILE (1260): devo.fs-20171219-extraction-dir/layout/default.ini
MKFILE (1496): devo.fs-20171219-extraction-dir/protocol/usbhid.mod
MKFILE (732): devo.fs-20171219-extraction-dir/protocol/ppm.mod
MKFILE (3996): devo.fs-20171219-extraction-dir/protocol/dsmx.mod
MKFILE (3656): devo.fs-20171219-extraction-dir/protocol/devo.mod
MKFILE (3996): devo.fs-20171219-extraction-dir/protocol/dsm2.mod
MKFILE (2248): devo.fs-20171219-extraction-dir/protocol/j6pro.mod
MKFILE (830): devo.fs-20171219-extraction-dir/media/sound.ini
MKFILE (2482): devo.fs-20171219-extraction-dir/media/config.ini
MKFILE (466): devo.fs-20171219-extraction-dir/template/4chsmpl.ini
MKFILE (618): devo.fs-20171219-extraction-dir/template/4ch_dr.ini
MKFILE (1383): devo.fs-20171219-extraction-dir/template/6ch_heli.ini
MKFILE (821): devo.fs-20171219-extraction-dir/template/6chplane.ini
MKFILE (2041): devo.fs-20171219-extraction-dir/template/heli_std.ini
:~/devofs-test4Quell$ python buildfs.py --fs devo.fs-20171219-recreated4Quell --dir devo.fs-20171219-extraction-dir --create
Filesystem will use 50kB of 64kB filesystem
:~/devofs-test4Quell$ md5sum devo.fs-2017121*
4f4de1a9c7780827a128e4595d77178d devo.fs-20171219
4f4de1a9c7780827a128e4595d77178d devo.fs-20171219-recreated4Quell
Please Log in or Create an account to join the conversation.
- Quell
- Topic Author
- Offline
- Posts: 40
will that work as a terminal emulator, or notepad++, there are 2 python, python command line and IDLE python GUI.
i copy and paste the buildfs.py link you sent me but nothing works I dont know where to use it?
the examples you sent have my head spinning, i can see your putting effort in to help me but im to dumb to use it!
how about fs files for dummies
Please Log in or Create an account to join the conversation.
- Schugy
- Offline
- Posts: 37
Please Log in or Create an account to join the conversation.
- Quell
- Topic Author
- Offline
- Posts: 40
Buildfs. Exe is not recognized as a internal or external command,
Operable program or batch file
That in command prompt
Please Log in or Create an account to join the conversation.
- Schugy
- Offline
- Posts: 37
Then type something like
c:\home\quell\downloads\buildfs.exe --fs c:\devo\devo.fs --dir c:\devo\subdirectoryname -x
Please Log in or Create an account to join the conversation.
- Quell
- Topic Author
- Offline
- Posts: 40
The devo file contains buildfs. Exe so I'm getting there
Please Log in or Create an account to join the conversation.
- Quell
- Topic Author
- Offline
- Posts: 40
i can run the command line in CMD with the -x on the end and it just runs 1 second and then brings up another command start.
when i run the same command line with the -c on the end it runs for a second then says filesystem size:65552 is to large for 64k file system, so its trying!
When i run the command line with the -c on the end but no file in the FSDESTINATION folder. IT runs and says Filesystem will use 0kb of 64kb filesystem.
Soooo something is getting through, what am I doing wrong
Please Log in or Create an account to join the conversation.
- Quell
- Topic Author
- Offline
- Posts: 40
I read that this may help with the fs files being slightly over 64 when transferred back and forth.
Please Log in or Create an account to join the conversation.
- Quell
- Topic Author
- Offline
- Posts: 40
This morning I decided to try the build fs command lines to/from the radio directly and its working.
now I just have to figure out how to add and remove Protocols and models and stuff, maybe just swap out the folders and then repack it?
getting there, thanks, everyone!
Please Log in or Create an account to join the conversation.
- Schugy
- Offline
- Posts: 37
Please Log in or Create an account to join the conversation.
- Quell
- Topic Author
- Offline
- Posts: 40
If I ever want a plane to fly I can get a new receiver for them, once I get more than 4 or 5 models I can put in the expanded memory chip I got 2 incase I screw up on one.
I spent about 2 hours putting in my NRF24L01 and it worked on my the first try on my Bayangtoys drones, they're all over the place right now but they bind and function I just have to tune it all in and set up the switches. YES, YIPPEE!
Funny thing is that 64k limit, my fist computer was a Vic 20 then I thought it was huge to be able to get the Commodore 64!
Now it's not enough for some people to fly Rc with....
Please Log in or Create an account to join the conversation.
- Home
- Forum
- News, Announcements and Feedback
- Feedback & Questions
- Editing FS files?