diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 4 | ||||
-rw-r--r-- | tools/scramble.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/tools/configure b/tools/configure index 151a4b70ff..93a0484b6a 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -1461,12 +1461,12 @@ fi | |||
1461 | bmp2rb_native="$rootdir/tools/bmp2rb -f 4" | 1461 | bmp2rb_native="$rootdir/tools/bmp2rb -f 4" |
1462 | bmp2rb_remotemono="$rootdir/tools/bmp2rb -f 0" | 1462 | bmp2rb_remotemono="$rootdir/tools/bmp2rb -f 0" |
1463 | bmp2rb_remotenative="$rootdir/tools/bmp2rb -f 0" | 1463 | bmp2rb_remotenative="$rootdir/tools/bmp2rb -f 0" |
1464 | tool="cp" | 1464 | tool="$rootdir/tools/scramble -creative=zvm" |
1465 | output="rockbox.zvm" | 1465 | output="rockbox.zvm" |
1466 | appextra="recorder:gui" | 1466 | appextra="recorder:gui" |
1467 | plugins="" | 1467 | plugins="" |
1468 | swcodec="yes" | 1468 | swcodec="yes" |
1469 | toolset=$gigabeatbitmaptools | 1469 | toolset=$ipodbitmaptools |
1470 | boottool="$rootdir/tools/scramble -creative=zvm" | 1470 | boottool="$rootdir/tools/scramble -creative=zvm" |
1471 | bootoutput="rockbox.zvmboot" | 1471 | bootoutput="rockbox.zvmboot" |
1472 | # architecture, manufacturer and model for the target-tree build | 1472 | # architecture, manufacturer and model for the target-tree build |
diff --git a/tools/scramble.c b/tools/scramble.c index 7aad4bfa92..a17b16efaa 100644 --- a/tools/scramble.c +++ b/tools/scramble.c | |||
@@ -117,7 +117,7 @@ void usage(void) | |||
117 | "\t-add=X Rockbox generic \"add-up\" checksum format\n" | 117 | "\t-add=X Rockbox generic \"add-up\" checksum format\n" |
118 | "\t (X values: h100, h120, h140, h300, ipco, nano, ipvd, mn2g\n" | 118 | "\t (X values: h100, h120, h140, h300, ipco, nano, ipvd, mn2g\n" |
119 | "\t ip3g, ip4g, mini, iax5, iam5, iam3, h10, h10_5gb,\n" | 119 | "\t ip3g, ip4g, mini, iax5, iam5, iam3, h10, h10_5gb,\n" |
120 | "\t tpj2, c200, e200, giga, gigs, m100, m500, d2)\n"); | 120 | "\t tpj2, c200, e200, giga, gigs, m100, m500, d2, zvm)\n"); |
121 | printf("\nNo option results in Archos standard player/recorder format.\n"); | 121 | printf("\nNo option results in Archos standard player/recorder format.\n"); |
122 | 122 | ||
123 | exit(1); | 123 | exit(1); |
@@ -269,6 +269,8 @@ int main (int argc, char** argv) | |||
269 | modelnum = 24; | 269 | modelnum = 24; |
270 | else if(!strcmp(&argv[1][5], "iam3")) | 270 | else if(!strcmp(&argv[1][5], "iam3")) |
271 | modelnum = 25; | 271 | modelnum = 25; |
272 | else if(!strcmp(&argv[1][5], "zvm")) | ||
273 | modelnum = 26; | ||
272 | else { | 274 | else { |
273 | fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); | 275 | fprintf(stderr, "unsupported model: %s\n", &argv[1][5]); |
274 | return 2; | 276 | return 2; |
@@ -344,6 +346,8 @@ int main (int argc, char** argv) | |||
344 | return zvm_encode(iname, oname, ZENVISION); | 346 | return zvm_encode(iname, oname, ZENVISION); |
345 | else if(!strcmp(&argv[1][10], "zenv")) | 347 | else if(!strcmp(&argv[1][10], "zenv")) |
346 | return zvm_encode(iname, oname, ZENV); | 348 | return zvm_encode(iname, oname, ZENV); |
349 | else if(!strcmp(&argv[1][10], "zen")) | ||
350 | return zvm_encode(iname, oname, ZEN); | ||
347 | else { | 351 | else { |
348 | fprintf(stderr, "unsupported Creative device: %s\n", &argv[1][10]); | 352 | fprintf(stderr, "unsupported Creative device: %s\n", &argv[1][10]); |
349 | return 2; | 353 | return 2; |