Commit graph

1783 commits

Author SHA1 Message Date
Dominik Wenger
84f5939d5f rbutil: Add nice Buttons (FS 7294, heavily modified). Buttons are from the gnome-icon-theme (GPL) and are in png format. In rbutil/icons there is bin2c.c which can convert those pngs to *.c and *.h. Call it with bin2c *.png (shell expansion). The Makefile (Linux/ Mac) needs updates to use this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13690 a1c6a512-1295-4272-9138-f99709370657
2007-06-22 23:46:47 +00:00
Dominik Wenger
f5936c062f rbutil: Upps.. i hope the last one. :-/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13689 a1c6a512-1295-4272-9138-f99709370657
2007-06-22 19:09:00 +00:00
Dominik Wenger
802db8e83f rbutil: Upps..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13688 a1c6a512-1295-4272-9138-f99709370657
2007-06-22 19:05:09 +00:00
Dominik Wenger
69241529ff rbutil: reworked device detection, now uses rockbox-info.txt and the patchers to detect the device.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13687 a1c6a512-1295-4272-9138-f99709370657
2007-06-22 18:53:27 +00:00
Dave Chapman
f927a14355 Include the new autodection.cpp file in the Makefiles
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13661 a1c6a512-1295-4272-9138-f99709370657
2007-06-18 02:07:43 +00:00
Dominik Wenger
b57806237d rbutil: Add quessing of the Drive letter via Windows API, also restructuring for future Device detection via pid and vid.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13655 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 20:15:18 +00:00
Antoine Cellerier
2199808631 Sansa stuff shouldn't use the ipod structure. Thanks to Domonoky for noticing this error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13654 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 16:55:20 +00:00
Antoine Cellerier
5547c13b42 On linux, guess the mount point for ipods (tested) and sansas (untested).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13653 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 16:38:00 +00:00
Dave Chapman
56780e3e41 Initial integration of a --format option, based on fat32format.exe. The main limitation is that it only works on disks with 512-byte sectors - it needs adapting to the 2048-byte sector ipods. It has only been tested on Linux and Mac OS X, with a 60GB ipod Color, but appears to work.... When this feature has been more widely tested, the intention is to add code to convert the information in an Apple Partition Map (which can currently be read by ipodpatcher) to a DOS partition table, and hence allow conversion of Macpods to Winpods.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13643 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 22:32:57 +00:00
Dave Chapman
2f1a262a60 Cosmetic change - "ipod2c" should be "bin2c" in the comments in the generated .c/.h files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13621 a1c6a512-1295-4272-9138-f99709370657
2007-06-12 14:13:57 +00:00
Dave Chapman
0fba85fe9e Accept both 0xb and 0xc as valid partition types for an ipod FAT32 partition. Some tools (e.g. fat32format) set the type to 0xc, and the Apple bootloader doesn't appear to care.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13614 a1c6a512-1295-4272-9138-f99709370657
2007-06-10 22:47:51 +00:00
Antoine Cellerier
e94adbbc28 A few fixes to the About panel.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13613 a1c6a512-1295-4272-9138-f99709370657
2007-06-10 22:20:43 +00:00
Antoine Cellerier
1bc4ce9a0a Simplify code (use + operator to concatenate strings instead of Printf()). Please revert if use of Printf was intentional.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13612 a1c6a512-1295-4272-9138-f99709370657
2007-06-10 22:08:48 +00:00
Antoine Cellerier
71eedc7a5b When clicking on one of the rbutil actions, ask the user if he wants to try autodetecting his device if none was selected.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13611 a1c6a512-1295-4272-9138-f99709370657
2007-06-10 20:52:20 +00:00
Antoine Cellerier
d86e1a4998 Add "Select All" button to the themes installer.
Remove a bunch of tabs.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13610 a1c6a512-1295-4272-9138-f99709370657
2007-06-10 20:13:24 +00:00
Dominik Wenger
19cc9d063a fix Tab navigation in rbutil, and make it also look at other places for rbutil.ini.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13603 a1c6a512-1295-4272-9138-f99709370657
2007-06-09 20:34:00 +00:00
Dave Chapman
09b247fef9 Don't just display an error message, abort.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13594 a1c6a512-1295-4272-9138-f99709370657
2007-06-08 15:30:14 +00:00
Dave Chapman
6e314e5e98 Fix typo in error message - thanks to Bryan Childs for spotting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13593 a1c6a512-1295-4272-9138-f99709370657
2007-06-08 15:24:47 +00:00
Dave Chapman
bbde44506b Add --write-embedded (-we) option. This replaces the Apple firmware with the bootloader embedded in ipodpatcher (equivalent to -wf bootloader-ipodxxx.ipod when using an external bootloader).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13536 a1c6a512-1295-4272-9138-f99709370657
2007-06-02 10:10:31 +00:00
Dominik Wenger
1bae792e5c rbutil: put the Theme description in a scrolling Control, also updated a few descriptions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13507 a1c6a512-1295-4272-9138-f99709370657
2007-05-28 20:55:50 +00:00
Nils Wallménius
19519d7648 Fix typo in the bootloader instalation dialog box
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13503 a1c6a512-1295-4272-9138-f99709370657
2007-05-28 15:29:59 +00:00
Dominik Wenger
5f6832d082 Fix FS#7181 and make the main screen resizeable in rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13500 a1c6a512-1295-4272-9138-f99709370657
2007-05-27 22:44:22 +00:00
Dave Chapman
92b9c23956 Bump version number for 1.0 release (v1.1 bootloaders)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13482 a1c6a512-1295-4272-9138-f99709370657
2007-05-23 18:24:00 +00:00
Dave Chapman
4df0c77954 Remove the check for ipod-specific magic in the MBR (which caused problems when users repartitioned their ipods and removed that magic) and instead check that the partition layout looks like an ipod.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13469 a1c6a512-1295-4272-9138-f99709370657
2007-05-22 19:07:45 +00:00
Dominik Riebeling
dfcf4276a1 sansapatcher needs _LARGEFILE64_SOURCE, so add this to the rbutil Makefile too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13404 a1c6a512-1295-4272-9138-f99709370657
2007-05-18 22:00:15 +00:00
Dave Chapman
affab26a5f Sync the Mac OS X makefile - add the wxhtml library
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13399 a1c6a512-1295-4272-9138-f99709370657
2007-05-16 20:11:03 +00:00
Dominik Wenger
de6b78a2fa fix the recorder8mb Manual URL in rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13398 a1c6a512-1295-4272-9138-f99709370657
2007-05-16 19:45:09 +00:00
Dominik Wenger
4544c43794 rbutil can now install the Freedoom wads. Thanks to M.Arnold for the pic on the doom install button
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13397 a1c6a512-1295-4272-9138-f99709370657
2007-05-16 19:12:22 +00:00
Dominik Wenger
1b36be2946 early proxy support on rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13330 a1c6a512-1295-4272-9138-f99709370657
2007-05-05 20:23:28 +00:00
Dominik Wenger
5e7b140a09 integrated Manual for rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13329 a1c6a512-1295-4272-9138-f99709370657
2007-05-05 18:28:18 +00:00
Dominik Wenger
e9f08dc193 rbutil now ask before doing anything, plus minor gui changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13328 a1c6a512-1295-4272-9138-f99709370657
2007-05-05 16:55:04 +00:00
Dave Chapman
0658dce706 Make rbutil compile on Mac OS X
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13316 a1c6a512-1295-4272-9138-f99709370657
2007-05-03 21:05:24 +00:00
Dominik Wenger
dde262b58a Support for Sansa E200 in rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13315 a1c6a512-1295-4272-9138-f99709370657
2007-05-03 20:07:57 +00:00
Dave Chapman
39939bb137 Remove some unused functions, no functional change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13314 a1c6a512-1295-4272-9138-f99709370657
2007-05-03 19:57:35 +00:00
Dave Chapman
441a8d8054 Sync the Mac OS X Makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13311 a1c6a512-1295-4272-9138-f99709370657
2007-05-03 18:00:36 +00:00
Dominik Wenger
60f8641811 New, better GUI for rbutil. (FS#6893)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13310 a1c6a512-1295-4272-9138-f99709370657
2007-05-03 17:10:28 +00:00
Dave Chapman
427fff4320 Add -rfb option for reading the main firmware (OSOS image) as a binary file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13148 a1c6a512-1295-4272-9138-f99709370657
2007-04-13 23:28:20 +00:00
Dave Chapman
7a780dbefc Bump version to 0.2 with new bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12897 a1c6a512-1295-4272-9138-f99709370657
2007-03-23 10:09:34 +00:00
Dave Chapman
b2b79d57d8 Some more sanity checks - don't recognise the new bootloader installed via the old method as a valid E200
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12878 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 13:01:22 +00:00
Dave Chapman
5efce18257 Always display the 'Press ENTER to exit sansapatcher' prompt when there is an error in interactive mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12877 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 11:05:38 +00:00
Dominik Wenger
22a673062f Fix more Warnings, and also a bug with checking the dirstructure for themes in rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12862 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 15:38:48 +00:00
Dominik Wenger
2671b6cda6 Add GodEater to the credits in RbUtil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12861 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 14:45:56 +00:00
Dominik Wenger
151a67253c Fix warnings in rbutil. FS#6865 thanx to GodEater
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12860 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 14:37:36 +00:00
Dave Chapman
7d7135165d Modify the version string ready for initial release
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12825 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 19:16:10 +00:00
Dave Chapman
341b03a242 Add Rockbox magic (RBOFe200) to the end of the mi4 header in the original firmware. This may not be needed, but completes the set of RBBL for the bootloader, RBOS for Rockbox itself, and RBOF for the original firmware. Also add more info to an error message.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12818 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 10:01:54 +00:00
Dominik Wenger
c0351ca633 Fix bad crashing bug,when running under Linux, in Rbutil. thanx to GodEater
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12810 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 23:15:56 +00:00
Dave Chapman
ce5383ee09 Correct an nonsensical #if
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12800 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 09:37:04 +00:00
Dave Chapman
be2971646f Some code rearrangement and function renaming to help incorporation into rbutil without clashing with ipodpatcher.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12797 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 00:23:23 +00:00
Dave Chapman
1860e9ad47 Add a further safety check - don't allow users to install old bootloaders with sansapatcher
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12796 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 23:55:26 +00:00
Dave Chapman
7b8bf1b0e7 Oops, forgot to add the dummy DSA signature to created MI4 images/files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12795 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 23:41:08 +00:00
Dave Chapman
e815601afb Implement the ability to embed a bootloader in sansapatcher - the --install option installs the embedded bootloader, and running without any parameters will cause a prompt to be displayed asking the user if they want to install, uninstall or cancel. sansapatcher now requres a PP5022.mi4 file (the Rockbox bootloader) in the current directory when building.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12794 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 23:26:47 +00:00
Dave Chapman
4a81291284 Correct the svn:keywords
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12793 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 23:02:37 +00:00
Dave Chapman
e17043ead7 Initial commit of sansapatcher - an installation tool for the Sansa E200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12792 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 22:55:36 +00:00
Thom Johansen
272beb9af9 Accidentally put a tab in the last commit patch. Clean out some other ones while I'm at it too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12786 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 18:13:34 +00:00
Dominik Wenger
c9cafd846f more Unicode fixes for rutil, thanx to preglow. Also made Theme Preview window modeless
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12785 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 18:02:15 +00:00
Dominik Wenger
410af8955f fix broken images, and more Unicode problems in rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12784 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 15:46:58 +00:00
Dominik Wenger
29fc0effd7 forgot to add the new Images, also try to fix unicode problems
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12783 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 15:27:56 +00:00
Dominik Wenger
994a6d6c4c Support for Theme installing in rbUtil. FS#6709
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12781 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 14:02:37 +00:00
Dominik Wenger
ff55894783 support for iaudio M5 in rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12646 a1c6a512-1295-4272-9138-f99709370657
2007-03-06 15:49:54 +00:00
Dave Chapman
9b4bb47dfb Bump version to 0.9 ready for release with version 1.0 bootloaders, and add an uninstall option to the interactive mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12645 a1c6a512-1295-4272-9138-f99709370657
2007-03-06 14:07:38 +00:00
Dave Chapman
b7b2fce743 Correct spelling of Cowon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12602 a1c6a512-1295-4272-9138-f99709370657
2007-03-04 20:15:56 +00:00
Dave Chapman
8ae8351e11 Use O_BINARY flag when opening bootloader files for embedding
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12567 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 10:58:42 +00:00
Dave Chapman
1602bf5172 Add ipodpatcher-mac target for creating a Mac OS X universal binary
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12566 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 10:57:32 +00:00
Dave Chapman
1ccc653364 Correct the usage information
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12544 a1c6a512-1295-4272-9138-f99709370657
2007-03-02 00:20:42 +00:00
Dominik Wenger
ba7d27786d Fix for the Bootloader installation for H10, thanks to barrywardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12537 a1c6a512-1295-4272-9138-f99709370657
2007-03-01 17:22:49 +00:00
Dave Chapman
a586376916 Enable warnings (-Wall, -Wundef).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12446 a1c6a512-1295-4272-9138-f99709370657
2007-02-22 00:36:36 +00:00
Dominik Wenger
1df59e1a09 Fix bug with ipod bootloader installation, found by linuxstb
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12440 a1c6a512-1295-4272-9138-f99709370657
2007-02-21 21:44:56 +00:00
Dominik Wenger
e863d595b5 Implementation of Bootloader installation/uninstallation for all Targets in rbUtil. Needs testing. FS#6643
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12439 a1c6a512-1295-4272-9138-f99709370657
2007-02-21 20:27:14 +00:00
Dave Chapman
92878d9ed4 FS #6443 from Jonas Häggqvist - add an "install" target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12343 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 02:24:37 +00:00
Dave Chapman
b045a2425c Add #include for use with rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12339 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 20:45:00 +00:00
Dave Chapman
a6d68bd740 Changes to aid incorporation into rbutil, based on part of FS #6643 from Dominik Wenger. Move display_partinfo() function into main.c (where it belongs) and export get_parttype() function from ipodpatcher.c. Also add a targetname variable to struct ipod_t to enable bootloader URLs to be constructed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12264 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 20:09:23 +00:00
Dave Chapman
955afed1b7 Move ipodpatcher into rbutil directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12263 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 19:49:43 +00:00
Dave Chapman
da945c0873 Fix typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11764 a1c6a512-1295-4272-9138-f99709370657
2006-12-14 15:51:24 +00:00
Christi Scarborough
177bd8ecf4 Of course the moment you release, you spot that one bug.
Portable rbutil no longer tries to delete itself from the player if you decide to uninstall.  Version bumped to 0.2.1.1 to avoid confusion.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11759 a1c6a512-1295-4272-9138-f99709370657
2006-12-14 06:49:37 +00:00
Christi Scarborough
f938d8cc34 Minor updates for compilation against 2.8.0. Cosmetic changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11758 a1c6a512-1295-4272-9138-f99709370657
2006-12-14 06:11:29 +00:00
Christi Scarborough
5003669541 Newer shinier install log file which is more intelligent and better able to cope with multiple packages being installed. This breaks compatibility with the old uninstall file format.
Various bug fixes and tidy ups.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11757 a1c6a512-1295-4272-9138-f99709370657
2006-12-14 03:55:15 +00:00
Christi Scarborough
3b0b27e134 Support for running direct from the device itself. If installed on a local drive, rbutil provides a menu option to install itself on the device.
Cross-platform fix: Will now search the current directory for rbutil.ini in preference to the system application resource path.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11753 a1c6a512-1295-4272-9138-f99709370657
2006-12-13 21:11:24 +00:00
Dave Chapman
27b2e7502c Unix targets require a second (mode) parameter to wxMkdir. rbutil now compiles cleanly for me on Linux with the just-released wxWidgets 2.8.0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11735 a1c6a512-1295-4272-9138-f99709370657
2006-12-12 16:01:27 +00:00
Dave Chapman
972b2dbcab Where did main.cpp disappear to? Plus other fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11733 a1c6a512-1295-4272-9138-f99709370657
2006-12-12 10:44:59 +00:00
Dave Chapman
018a10d7a2 First attempt at a standard Makefile for rbutil. It should be able to build both a native Unix version, or (make WIN=1) cross-compile a Windows version using the Debian mingw cross-compiler. Both builds currently fail, but I think the win32 problem is due to the old (2.5.0) version of wxWidgets I have installed for cross-compiling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11732 a1c6a512-1295-4272-9138-f99709370657
2006-12-12 10:26:30 +00:00
Christi Scarborough
e669709994 Right. Fixed line feeds. archos.ico is binary. Added a couple more files rockbox leaves in the root to the list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11727 a1c6a512-1295-4272-9138-f99709370657
2006-12-11 22:22:36 +00:00
Christi Scarborough
46eb5c6bcd main.cpp shouldn't have been here. archos.ico should be binary.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11726 a1c6a512-1295-4272-9138-f99709370657
2006-12-11 22:17:54 +00:00
Christi Scarborough
0957acdb80 Initial revision
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11721 a1c6a512-1295-4272-9138-f99709370657
2006-12-11 21:25:37 +00:00