Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  SDL Version of rockbox
« previous next »
  • Print
Pages: [1]

Author Topic: SDL Version of rockbox  (Read 83 times)

Offline ljones

  • Member
  • *
  • Posts: 25
SDL Version of rockbox
« on: April 19, 2025, 03:42:27 PM »
Hello all!

I'm having a problem configuring rockbox while running it as an SDL program. I can compile rockbox correctly but if I try to save settings (theme settings) from within rockbox itself I get a "failed" error message. I also wanted to change the location of rockbox from /.rockbox to /media/ramdisk/.rockbox (I use a RAM disc on my PC).

The system I'm using to do this is an x86-64 Ryzen 7 PC with 64GB RAM running debian trixie.

Here's how I compiled:

1. Downloaded rockbox with git (git clone git://git.rockbox.org/rockbox)
2. Enter rockbox directory, make directory build, cd build and then configured with) :
 ../tools/configure --lcdwidth=640 --lcdheight=480 --rbdir=/media/ramdisk/.rockbox --target=200 --type=N --prefix=/media/ramdisk
3. Ran make -j8
4. Ran make fullinstall
5. Copied the icons across (for some reason it isn't done) cp -rf $HOME/rockbox/icons/* /media/ramdisk/share/rockbox/icons/

This seems to work -- I have the default theme loaded with icons.

Changing the font seems to work as well (saving the changes dosen't). So if I were to go to settings/theme settings/font/24-Terminus this changes the font as expected. However if I then close rockbox and re-open the old default font is used and not the one chosen.

If I go to settings/manage settings/save theme settings and try to save the theme settings rockbox defaults to "/media/ramdisk/.rockbox/themes/theme01.cfg" . However if I try to save rockbox simply says "Failed". I tried making the directory /media/ramdisk/.rockbox/themes and checked its permissions but get "Failed" regardless of this directory existing or not existing.

I also see that rockbox has a "--root" option but what it it used for? I can specify (for example);

$ ./rockbox --root $HOME
or even
$ ./rockbox --root /media/ramdisk

But it doesn't seem to do anything. Saving theme files still fails :-(

Can anyone help?

thanks
ljones

* Screenshot_20250419_203455.png (24.41 kB, 756x626 - viewed 13 times.)

* Screenshot_20250419_204519.png (18.02 kB, 756x626 - viewed 13 times.)
« Last Edit: April 19, 2025, 03:45:33 PM by ljones »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  SDL Version of rockbox
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.031 seconds with 17 queries.