Rockbox Technical Forums

Third Party => Other Utilities => Topic started by: bobdotexe on November 19, 2009, 11:40:39 AM

Title: Tester Needed!!! - Rockbox Automatic Update
Post by: bobdotexe on November 19, 2009, 11:40:39 AM
I just finished uploading, my program called "Rockbox Auto Update"
I have made a copy for every single rockbock version in the SVN

and i need testers;
the project page is here:
https://sourceforge.net/projects/autorock/

find one for your player here:
https://sourceforge.net/projects/autorock/files/

and theres documentation on how to run it on a simulator;

Tested successfully on:
Sansa fuze
ipod nano g1

Please tell me what you think! ;D
Title: Re: Tester Needed!!! - Rockbox Automatic Update
Post by: moonscapex on December 22, 2009, 10:52:35 AM
Looks good.  Ill try it out ASAP.  What OS is it for?  Which build does it update to (stable, dev)?

EDIT:  Works pretty good.  Would it be possible to update unsupported builds with it?
Title: Re: Tester Needed!!! - Rockbox Automatic Update
Post by: bobdotexe on February 18, 2010, 09:38:29 AM
sorry for the late reply;

It's currently for windows ONLY, I made a Linux version;

But I had it on a Ubuntu PC that want through a GRUB UPDATE :o that the BIOS didn't like;

the Universal Version *Should* work with any type even ones not on the list;

the code is pretty simple:

update.cmd (sansa fuze version)
Code: [Select]
update_files\magic\magic.cmd sansafuze <<tells magic.cmd the "unix name" of  your drive.

magic.cmd
Code: [Select]
@echo off & ECHO RockBox autoupdate & ECHO www.autorock.sourceforge.net & cd .. & cd.. & del ".backup2\rockbox_back.zip" & "update_files\7z\7za.exe" a -tzip ".backup2\rockbox_back.zip" .rockbox\ && del "rockbox*.zip" & "update_files\wget\bin\wget" http://build.rockbox.org/data/rockbox-%1.zip && "update_files\7z\7za.exe" x rockbox-*.zip -yIt tries to backup your current .rocbox folder, then if successful, it deletes a previous update (.zip) file, then it uses Wget to download the lateset Build (not 3.5 or 3.X), If the download is Successful, it will extract  the update (7z) and updates your player.

So in short, it can't do any thing Rockbox Utility, cant. but I find it a bit faster for people who just want to do a "quick update."

The Downloads page tells how to work on use on a simulator for the people who want to make SHURE that it will work on their player.

...OK, of topic a bit. ::) about Un supported builds, I don't know if there stored in the same place as the Unstable/Stable,  if there located in the same folder:
http://build.rockbox.org/data/

and begin with "rockbox-" and is a zip folder, then get the Universal, and edit "update.cmd"
to Reflect the "UNIX name" ( I use "UNIX name" loosely basically I mean no spaces and all lower caps)

If the updates are somewere else, you will have to edit "update_files\magic\magic.cmd" and  make  wget" http://build.rockbox.org/data/rockbox-%1.zip  point to the File, and the UNzip command will have to be modified too,

If you get it working you should contribute yours to the project,  if you have any other questions feel free to ask.
Title: Re: Tester Needed!!! - Rockbox Automatic Update
Post by: bobdotexe on March 02, 2010, 08:41:35 PM
Just finished the Linux version, anyone up for making a mac version?  ???

I have no mac, so I cant.  :(