Installation / Removal > Rockbox Utility
Rockbox Auto Upgrade
bobdotexe:
I have been working on a way to have rockbox upgrade when you connect it to your PC!
The only thing I need is the command line arg. to make it autodectect drive; and if possible install files.
this is all I got so far....
Autorun.inf
--- Code: ---[autorun]
OPEN=rbutilqt.exe
ICON=rbutilqt.exe
ACTION = Update Rockbox
--- End code ---
Since I use it on many different PC's I need Auto detect, the Auto install files is just a plus, if any one can help let me know.
or....
maybe someone could help me how to make a portable version; you stick on your MP3 player and it just uses that as the drive; and reads an INF for the device type.
Because as of now if I use a friends PC, I have to search through my MP3 player root for "rbutilqt.exe" then configure (auto detect), and finally start the update.
The 1st will most like be essayer; (I don't know much C).
Anyone interested?
bluebrother:
--- Quote from: bobdotexe on November 17, 2009, 07:59:23 AM ---or....
maybe someone could help me how to make a portable version; you stick on your MP3 player and it just uses that as the drive; and reads an INF for the device type.
--- End quote ---
Why? Rockbox Utility already supports portable installations (well, the binaries provided on the download server do, if you build a dynamically linked binary it won't support that though I guess this issue doesn't affect you at all). Ever noticed the "Install Rockbox Utility on player" entry in the File menu? The only thing you might be missing is the fact that it won't start detecting the player upon startup, and if the drive letter changed (which obviously can happen if you use it on different PCs) you need to adjust that yourself every time. But making it use the drive letter of the drive the program is located at in case of a portable installation should be easy to add.
--- Quote ---The 1st will most like be essayer; (I don't know much C).
--- End quote ---
Rockbox Utility is written in C++, not C. Some libraries used (for example, the ipodpatcher part) is in C though.
saratoga:
If you just want to unzip a new rockbox.zip onto your player, it might be easier to put wget.exe and unzip.exe in a folder and call them sequentially.
bobdotexe:
--- Quote from: saratoga on November 18, 2009, 09:13:57 AM ---If you just want to unzip a new rockbox.zip onto your player, it might be easier to put wget.exe and unzip.exe in a folder and call them sequentially.
--- End quote ---
OH! good idea!
I'll get a copy of the command line version of 7z, and make a Bat file to automate the process;
since and put it them all on my drive.
Say, according to the GNU licence for Wget, I can distibute, as long as I don't modify the code,
and 7z's open source, so if i get it working, can it be hosted on the site? ???
(or be linked from here)
I could make different scripts for all the major players.
Chronon:
wget uses the GPL, so you can change it but you have to publish the modified source.
If you create a script you could post it on the wiki on the UsefulTools page.
Navigation
[0] Message Index
[#] Next page
Go to full version