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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  UI Simulator access Rockbox files
« previous next »
  • Print
Pages: [1]

Author Topic: UI Simulator access Rockbox files  (Read 397 times)

Offline tizxv22

  • Member
  • *
  • Posts: 11
UI Simulator access Rockbox files
« on: February 18, 2025, 05:39:22 PM »
Hi, I recently installed the UISimulator for my own theme customization use, but I've found it useful to be able to play music stored on my device while connected to my laptop.

I'm not familiar with how the simulator works (I downloaded mine from https://marcrosoft.dk/rockbox/simulators/ linked on the wiki), but I noticed rockboxui.exe is outside the simdisk folder. If I wanted to store it in my mp3 player and access my files, how could I redirect it to understand that .rockbox and my folders/files are accessed from the same folder it's in?

To put it visually, the simulator is currently structured like:
.
├── simdisk
       ├── .rockbox
       ├── Music
       └── Playlists
├── rockboxui.exe
└── UI256.bmp

and what I want is
.
├──  .rockbox
├──  Music
├──  Playlists
├── rockboxui.exe
└── UI256.bmp
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1194
Re: UI Simulator access Rockbox files
« Reply #1 on: February 19, 2025, 05:54:35 AM »
You'd need to compile a SDL APP build and I believe you'd get the second folder structure.

Being that you are using windows I'd suggest just using the precompiled sims
as you will likely spend a long time trying to get a environment set up to work in windows
with varied results

maybe stop by IRC and ask <MarcAndersen> about how they cross compile those Sim builds for windows

https://www.rockbox.org/irc/
Logged

Offline Frankenpod

  • Member
  • *
  • Posts: 796
Re: UI Simulator access Rockbox files
« Reply #2 on: February 19, 2025, 11:26:09 AM »
Would some sort of hard link or junction help?  So that you have such a link in the simdisk directory but which actually points to the folder you want your music in?

Not entirely sure what it is you are trying to accomplish, but just wondering if it would be amenable to the same trick that allows one to build the database via the (existing) sim, when the "music" directory isn't within the simdisk one.

This sort of thing - though I'm not sure if you are wanting the files in "different local volumes on the same computer" or "mapped network volumes"

https://learn.microsoft.com/en-us/windows/win32/fileio/hard-links-and-junctions
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9373
Re: UI Simulator access Rockbox files
« Reply #3 on: February 19, 2025, 12:21:05 PM »
Cross compiling on windows was pretty easy when I updated this last year. You could set this up in ~ 5 minutes:

https://www.rockbox.org/wiki/Windows10CrossCompiler.html

Not sure if the recent SDL changes will make it harder (maybe need different SDL libraries?).
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1194
Re: UI Simulator access Rockbox files
« Reply #4 on: February 20, 2025, 09:01:50 AM »
Quote from: Frankenpod on February 19, 2025, 11:26:09 AM
Would some sort of hard link or junction help?  So that you have such a link in the simdisk directory but which actually points to the folder you want your music in?

Not entirely sure what it is you are trying to accomplish, but just wondering if it would be amenable to the same trick that allows one to build the database via the (existing) sim, when the "music" directory isn't within the simdisk one.

This sort of thing - though I'm not sure if you are wanting the files in "different local volumes on the same computer" or "mapped network volumes"

https://learn.microsoft.com/en-us/windows/win32/fileio/hard-links-and-junctions

Frankenpod great suggestion
This would work I think, we do have support..

Probably faster than compiling the app too but compiling would probably be your best bet as long as you can get it setup
Logged

Offline tizxv22

  • Member
  • *
  • Posts: 11
Re: UI Simulator access Rockbox files
« Reply #5 on: February 20, 2025, 12:07:56 PM »
Ah -- thanks for these resources! Junctions looked like the simplest solution so I looked into it, and it worked out! I wasn't able to do exactly what I wanted since I would've had to reformat my SD card to NTFS to have the junction on my SD card, but I was able to make a junction on my laptop that pointed to my SD card.

Thanks guys!
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  UI Simulator access Rockbox files
 

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

Page created in 0.073 seconds with 17 queries.