11
Theming and Appearance Customization / Re: New tag %ft grab a line of text from a file
« Last post by Bilgus on December 07, 2024, 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
12
Rockbox General Discussion / Re: Rockbox simulator binaries for MacOS (ARM64)
« Last post by rockbox_dev123 on December 07, 2024, 04:50:52 PM »Code: [Select]../tools/configure --target=ipod6g --type=s && make -j10 && make fullinstall
Even easier, thanks!
13
Rockbox General Discussion / Re: Rockbox simulator binaries for MacOS (ARM64)
« Last post by chris_s on December 07, 2024, 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
14
Rockbox General Discussion / Re: Rockbox simulator binaries for MacOS (ARM64)
« Last post by rockbox_dev123 on December 07, 2024, 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
15
Rockbox General Discussion / Re: Rockbox simulator binaries for MacOS (ARM64)
« Last post by chris_s on December 07, 2024, 03:46:42 PM »Great fwiw, objcopy is probably not required for the other targets
16
Rockbox General Discussion / Re: Rockbox simulator binaries for MacOS (ARM64)
« Last post by rockbox_dev123 on December 07, 2024, 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!
17
Rockbox General Discussion / Re: Rockbox simulator binaries for MacOS (ARM64)
« Last post by chris_s on December 07, 2024, 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).
18
Apple - Installation/Removal / Re: iPod Classic - no file system mount point
« Last post by Frankenpod on December 07, 2024, 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.
19
Rockbox General Discussion / Re: Rockbox simulator binaries for MacOS (ARM64)
« Last post by rockbox_dev123 on December 07, 2024, 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.
20
Apple - Installation/Removal / iPod Classic - no file system mount point
« Last post by akomives on December 07, 2024, 02:47:56 PM »Hej,
I have an iPod Classic 80 gig 6th gen device. Have just learned about RockBox.
I have tried to install it, but I seem to have a corrupt file system unfortunately. When trying to restore the iPod prior to installing iTunes fails to perform the restore operation, claiming that I have files being used.
I have tried both normal operation on the iPod and also disk mode (holding down the 2 button combinations).
I can see the contents of the drive in Windows, I could also perform a quick format on the hard drive. I can also copy files on it in Explorer.
However if I start RockBox Utility to install the installer cannot see the filesystem mounting point. Unable to set it. Despite being able to see the contents of the drive in Explorer.
The install contents are greyed out.
How can this be solved, please?
I have an iPod Classic 80 gig 6th gen device. Have just learned about RockBox.
I have tried to install it, but I seem to have a corrupt file system unfortunately. When trying to restore the iPod prior to installing iTunes fails to perform the restore operation, claiming that I have files being used.
I have tried both normal operation on the iPod and also disk mode (holding down the 2 button combinations).
I can see the contents of the drive in Windows, I could also perform a quick format on the hard drive. I can also copy files on it in Explorer.
However if I start RockBox Utility to install the installer cannot see the filesystem mounting point. Unable to set it. Despite being able to see the contents of the drive in Explorer.
The install contents are greyed out.
How can this be solved, please?