Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Rockbox Utility
| | |-+  Rockbox Auto Upgrade
« previous next »
  • Print
Pages: [1]

Author Topic: Rockbox Auto Upgrade  (Read 2218 times)

Offline bobdotexe

  • Member
  • *
  • Posts: 37
Rockbox Auto Upgrade
« on: November 17, 2009, 07:59:23 AM »
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: [Select]
[autorun]
OPEN=rbutilqt.exe
ICON=rbutilqt.exe
ACTION = Update Rockbox

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?
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Rockbox Auto Upgrade
« Reply #1 on: November 17, 2009, 01:44:59 PM »
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.

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

Rockbox Utility is written in C++, not C. Some libraries used (for example, the ipodpatcher part) is in C though.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Rockbox Auto Upgrade
« Reply #2 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.
Logged

Offline bobdotexe

  • Member
  • *
  • Posts: 37
Re: Rockbox Auto Upgrade
« Reply #3 on: November 18, 2009, 09:39:51 PM »
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.

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

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Rockbox Auto Upgrade
« Reply #4 on: November 19, 2009, 12:04:12 AM »
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. 
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline bobdotexe

  • Member
  • *
  • Posts: 37
Re: Rockbox Auto Upgrade
« Reply #5 on: November 19, 2009, 08:09:16 AM »
Quote from: Chronon on November 19, 2009, 12:04:12 AM
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. 
I could not find that page, so until then,
it's hosted here;
http://sourceforge.net/projects/autorock/
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Rockbox Auto Upgrade
« Reply #6 on: November 19, 2009, 08:39:17 AM »
Quote from: bobdotexe on November 19, 2009, 08:09:16 AM
http://sourceforge.net/projects/autorock/
autorock is a bit of an unfortunate name. It's already used within rockbox for a plugin that gets loaded at boot.
Logged

Offline bobdotexe

  • Member
  • *
  • Posts: 37
Re: Rockbox Auto Upgrade
« Reply #7 on: November 19, 2009, 09:30:33 AM »
oh, well it's just the unix name for SF,
none of the files are called that...
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Rockbox Utility
| | |-+  Rockbox Auto Upgrade
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.092 seconds with 15 queries.