Rockbox Technical Forums

Support and General Use => Theming and Appearance Customization => Topic started by: csjh on December 19, 2022, 07:32:09 PM

Title: Help understanding how to set up menu from a downloaded theme
Post by: csjh on December 19, 2022, 07:32:09 PM
Hello!
I recently have downloaded and have been using Rockbox themes for my Ipod video, and I'm having some difficulty trying to adjust the look of the "home" page after applying a theme. Specifically, I am using the Interpod theme http://themes.rockbox.org/index.php?themeid=3225&target=ipodvideo (http://themes.rockbox.org/index.php?themeid=3225&target=ipodvideo).

It shows in the second image, that it's possible to get a simple looking page, similar to the one that the iPod normally comes with. Is ther a tutorial on how to declutter the initial screen, and make things like playlists, and videos (if downloaded to the player) easy to find?

Sorry if this has been asked before, but I did a quick search and nothing appeared.
Thanks!
Title: Re: Help understanding how to set up menu from a downloaded theme
Post by: Bilgus on December 19, 2022, 07:55:10 PM
If you mean removing items from the main menu there is a plugin that does it
Plugins>Applications>main_menu_config
Title: Re: Help understanding how to set up menu from a downloaded theme
Post by: csjh on December 20, 2022, 04:40:59 PM
If you mean removing items from the main menu there is a plugin that does it
Plugins>Applications>main_menu_config
Thanks for the reply! I was able to toggle some of the options off of the main menu, but I looking to find a way to really just keep the menu as simple as possible, like the screenshot below. Just Music, video, playlists, settings, and extra. I'm sorry if this is a stupid question.. (http://themes.rockbox.org/themes/320x240/interpod-17/menu-1.png)
Title: Re: Help understanding how to set up menu from a downloaded theme
Post by: chris_s on December 20, 2022, 05:21:24 PM
In the screenshot, the language string for "Database" has been changed to "Music", "Playlist Catalogue"  to "Playlists" and "Shortcuts" to "Extras". It's trivial to edit this yourself but requires compiling your own build at the moment.
Title: Re: Help understanding how to set up menu from a downloaded theme
Post by: csjh on December 20, 2022, 09:28:35 PM
Ahh, thanks for letting me know! As of right now, that's out of my breadth of knowledge.
Title: Re: Help understanding how to set up menu from a downloaded theme
Post by: Bilgus on December 21, 2022, 12:50:02 AM
Actually if you use a hex editor you could search for the strings inside your language file
you will have to do it from your pc but is pretty easy
the default is english.lng

what you would do is search for each of those stings and edit them however you like but keep the length
EXACTLY the same for instance 'Database' would become 'Music   ' so Music with 3 spaces
and of course the text doesn't matter like if you made Database RockBaux it would be fine since
it still occupies the same length
 
in your hex editor it would look like this:
 D  a    t   a    b   a   s   e \00\00
44 61 74 61 62 61 73 65 00 00

and you would turn it into this:
 M  u    s   i    c   _   _   _ \00\00
4D 75 73 69 63 20 20 20 00 00

I might be wrong but I'm pretty sure rockbox saves indexes into the strings so you can't go shorter or longer but as long as everything is the same overall length it should work (make sure there are two sets of zeros at the end)

edit:
oh yeah you can find the language files in ./rockbox/langs
Title: Re: Help understanding how to set up menu from a downloaded theme
Post by: csjh on December 21, 2022, 09:49:05 PM
Cool! So I would make those changes in the Rockbox utility program with my ipod plugged in? Thanks again!
Title: Re: Help understanding how to set up menu from a downloaded theme
Post by: Bilgus on December 21, 2022, 11:12:09 PM
no you would do your install then plug the ipod in save the file as a copy and edit the original on the device
Title: Re: Help understanding how to set up menu from a downloaded theme
Post by: csjh on December 22, 2022, 11:07:42 AM
Sorry for all the questions, But I've went and downloaded a hex editor, plugged in the ipod, and found the language files. I see database and the other menu options, but not like you had it. Would I just go ahead and type Music with the spaces at the end, where Database was once written? Attached is a screenshot and the options are at the 7th line.
Thanks again!
Title: Re: Help understanding how to set up menu from a downloaded theme
Post by: Bilgus on December 22, 2022, 02:45:49 PM
Depending how your hex editor is set up yeah you should just be able to type in Music and spaces to make up the difference some require you to enable editing first but if it won't let you type in the text directly then I'd find a different hex editor to use because doing it in hex is annoying

 just make sure you save a back up first because rockbox will not load the file if you mess up the length

And it is similar to what I showed you database starts with 44 hex for 'D'

Title: Re: Help understanding how to set up menu from a downloaded theme
Post by: csjh on December 23, 2022, 11:44:19 AM
Got a chance to test it out now and it worked perfectly! Thank you so much for helping me out with this!