Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a pack directly to the SD card #388

Open
drskullster opened this issue Aug 30, 2023 · 1 comment
Open

Add a pack directly to the SD card #388

drskullster opened this issue Aug 30, 2023 · 1 comment

Comments

@drskullster
Copy link

drskullster commented Aug 30, 2023

Hi,

I can't connect my device to my computer anymore (I had to resolder the micro-USB chip, figure I did something wrong to the data track).

I tried mounting the SD card with this trick to no avail (it worked before I mingled with the PCB).

My question is: is there a way to add packs directly to the SD cards?

I tried copying the files converted to "FS format" that I found in STUdio library folder (~/.studio/library) to the .content folder on the SD card but it didn't work. I guess there is something else I need to do, anyone here has any idea ?

Thanks !

@marian-m12l
Copy link
Owner

The story pack folders are named after a partial uuid, and the pack uuid must be added to the "pack index" .pi file.
You can trick STUdio into using any folder as a device partition by running it with -Denv=dev (mvn exec:exec should do that iirc) and adjusting devicePath() here:

private String devicePath() {
return System.getProperty("user.home") + MOCKED_DEVICE_PATH;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants