1
Theming and Appearance Customization / Re: New tag %ft grab a line of text from a file
« Last post by Bilgus on Today at 06:55:26 PM »These patches got moved around a bit today
[Feature] Skin engine Themes grab text from a file %ft(file, line) is now g#6154
and built on top:
[Feature] skinengine subline timeout hide line for n seconds
https://gerrit.rockbox.org/r/c/rockbox/+/6153
which adds a optional timeout to alternating sublines
Sorry for any confusion!
[Feature] Skin engine Themes grab text from a file %ft(file, line) is now g#6154
and built on top:
[Feature] skinengine subline timeout hide line for n seconds
https://gerrit.rockbox.org/r/c/rockbox/+/6153
which adds a optional timeout to alternating sublines
Sorry for any confusion!
2
Theming and Appearance Customization / Re: New tag %ft grab a line of text from a file
« Last post by Bilgus on Today at 06:52:18 PM »I really like the playername being in .rockbox only because it allows me to mark which build I'm running and carry it around with them
the other issue I have is allowing themes to access user data isn't the way the rest of the stuff works
[Edit]
what if we looked in the root at boot and if exists its copied into .rockbox
the other issue I have is allowing themes to access user data isn't the way the rest of the stuff works
[Edit]
what if we looked in the root at boot and if exists its copied into .rockbox
3
Rockbox General Discussion / Re: Rockbox simulator binaries for MacOS (ARM64)
« Last post by rockbox_dev123 on Today at 04:50:52 PM »Code: [Select]../tools/configure --target=ipod6g --type=s && make -j10 && make fullinstall
Even easier, thanks!
4
Rockbox General Discussion / Re: Rockbox simulator binaries for MacOS (ARM64)
« Last post by chris_s on Today at 04:36:37 PM »Heh, you may have overcompilcated things a tiny bit there, at least if you're only interested in the simulator. I'm not sure if that was intentional.
After the first line in your code snippet, in theory, all that should be needed for building and installing the ipod6g simulator itself is the following (the j option uses multiple threads to speed up the process):
Optionally, if you want to have the device background displayed, at the moment you then also have to manually execute (as you mentioned):
After the first line in your code snippet, in theory, all that should be needed for building and installing the ipod6g simulator itself is the following (the j option uses multiple threads to speed up the process):
Code: [Select]
../tools/configure --target=ipod6g --type=s && make -j10 && make fullinstall
Optionally, if you want to have the device background displayed, at the moment you then also have to manually execute (as you mentioned):
Code: [Select]
cp ../uisimulator/bitmaps/UI-ipod6g.bmp UI256.bmp
5
Rockbox General Discussion / Re: Rockbox simulator binaries for MacOS (ARM64)
« Last post by rockbox_dev123 on Today at 04:25:10 PM »As a very rough guide, this was what I did to get the sim working directly from the build directory:
Code: [Select]
mkdir build && cd build
./tools/configure --target=ipod6g --type=n
make
make full-zip
mkdir simdisk && cd simdisk
unzip ../rockbox-full.zip
cd -
./tools/configure --target=ipod6g --type=s
make
cp ../uisimulator/bitmaps/UI-ipod6g.bmp UI256.bmp
rm -f simdisk/.rockbox/codecs/*.codec
cp ./lib/rbcodec/codecs/*.codec simdisk/.rockbox/codecs/
./rockboxui
6
Rockbox General Discussion / Re: Rockbox simulator binaries for MacOS (ARM64)
« Last post by chris_s on Today at 03:46:42 PM »Great fwiw, objcopy is probably not required for the other targets
7
Rockbox General Discussion / Re: Rockbox simulator binaries for MacOS (ARM64)
« Last post by rockbox_dev123 on Today at 03:41:17 PM »Thanks! It has been a very long time since I last compiled a simulator on Linux so I had forgotten how the simulators are intended to be used. There is a simulator for each real hardware target. With the latest master I was able to do ../tools/configure --target=ipod6g --type=s and compile successfully on macOS M1!
8
Rockbox General Discussion / Re: Rockbox simulator binaries for MacOS (ARM64)
« Last post by chris_s on Today at 03:18:35 PM »For the SDL app (target 200) you need llvm-objcopy on the Mac (using type=n), i.e. install llvm using brew, then symlink the installed llvm-objcopy to /usr/local/bin/objcopy.
After that it looks like you still have to comment out the debugf line in tree_voice_cb (apps/tree.c) - not sure right now what the deal is there, that seems... new. Disregard - my mistake
SDL_BUTTON_WHEELDOWN doesn't exist anymore in SDL2, so that may be a remnant that has been overlooked so far and still needs to be removed.... The SDL app, I don't think is supposed to be compiled as a simulator though (doesn't work on Linux either).
SDL_BUTTON_WHEELDOWN doesn't exist anymore in SDL2, so that may be a remnant that has been overlooked so far and still needs to be removed.... The SDL app, I don't think is supposed to be compiled as a simulator though (doesn't work on Linux either).
9
Apple - Installation/Removal / Re: iPod Classic - no file system mount point
« Last post by Frankenpod on Today at 03:01:08 PM »Argh, that "device is in use" error message is familiar. One of many ways iTunes can fail to restore, along with the ever-popular "an unknown error has occurred", the annoyingly-meaningless numerical error code message, and the restore-"needs to be restored message"-restore-"needs to be restored message" perpetual loop.
I can't remember a guaranteed-consistently-successful way past that, but, on the other hand, am pretty sure I have managed to get past it on many occasions.
You could try DFU mode (centre-button+menu held down till it starts to reboot and then doesn't).
Or just rebooting the PC and then trying again.
Or use something like AOEMII to completely delete the partition then recreate it and format the thing (in FAT32) before trying to restore again. Or maybe just, again with AOMEII, just try rewriting the MBR.
I can't remember a guaranteed-consistently-successful way past that, but, on the other hand, am pretty sure I have managed to get past it on many occasions.
You could try DFU mode (centre-button+menu held down till it starts to reboot and then doesn't).
Or just rebooting the PC and then trying again.
Or use something like AOEMII to completely delete the partition then recreate it and format the thing (in FAT32) before trying to restore again. Or maybe just, again with AOMEII, just try rewriting the MBR.
10
Rockbox General Discussion / Re: Rockbox simulator binaries for MacOS (ARM64)
« Last post by rockbox_dev123 on Today at 02:55:17 PM »Now that all of these patches have been merged I would appreciate any advice you can offer me on building the simulator.
If I do ../tools/configure --target=200 --type=n then the build fails because objcopy is missing. If I then install binutils with brew and add /opt/homebrew/Cellar/binutils/2.43.1/bin to my $PATH then there are multiple linker fails along the lines of "archive member '/' not a mach-o file in '/rockbox/build/lib/libtlsf.a';".
If I do ../tools/configure --target=200 --type=s then I get errors that indicate I am missing the SDL development packages e.g. "error: 'SDL_BUTTON_WHEELDOWN' undeclared (first use in this function)" etc.
I'm using rockbox as a means to slowly teach myself more about C.
If I do ../tools/configure --target=200 --type=n then the build fails because objcopy is missing. If I then install binutils with brew and add /opt/homebrew/Cellar/binutils/2.43.1/bin to my $PATH then there are multiple linker fails along the lines of "archive member '/' not a mach-o file in '/rockbox/build/lib/libtlsf.a';".
If I do ../tools/configure --target=200 --type=s then I get errors that indicate I am missing the SDL development packages e.g. "error: 'SDL_BUTTON_WHEELDOWN' undeclared (first use in this function)" etc.
I'm using rockbox as a means to slowly teach myself more about C.