Just thinking... won't making a program for this be quite simple?
My c knowledge is somewhat limited, but I think about twenty lines of code
would be enough:
int main () {
char *filestring = malloc(256*1024) /* allocate 256 kbytes */
char *pointer = filestring;
int length_of_filestring;
fd=open("rombox.ucl", O_RD|O_BINARY, 0644);
read(fd, filestring, length_of_filestring)
/* some function to read the file into a string
(I can look for this, but I'm kinda lazy) */
while (strncmp(pointer,"recordings", 10) != 0)
pointer++;
*pointer = "!recrdings"; /* this isn't null terminated, I hope? */
close(fd);
fd=open("rombox_rec.ucl", O_WR|O_BINARY, 0644);
write(fd,filestring,length_of_filestring);
close(fd);
free(filestring);
return 0;
}
It's untested, non-working code (I don't know how to determine file size)
and it's probably not the most efficient way too. But the concept will
probably be able to work.
Ronald
On Tue, 06 Sep 2005 12:26:57 +0200, <joerch.net@web.de> wrote:
>
> Eric, if you not want to build rockbox yourself, you can descramble
> ajbrec.ajz, find the 2 strings /recordings and change that to
> /!recording with an hex-editor and scramble it again. If you use
> rombox.ucl it's easier. Just make the changes in that file and "run" it
> in rockbox.
>
> I can do this for you.
>
> The problem with the setting "save recordings to current folder" is that
> you do not know everytime what folder that is...
>
> Joerch
> _________________________________________________________________________
> Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle
> Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179
>
>
>
>
> _______________________________________________
> http://cool.haxx.se/mailman/listinfo/rockbox
>
--
http://www.georgedillon.com/web/html_email_is_evil.shtml
_
ASCII ribbon campaign ( )
- against HTML email X
& .doc attachments / \
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on Wed Sep 7 01:05:43 2005