-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Req: BDEMU slot switcher #1080
Comments
Hello @Fabax01 The feature should not be hard to create. It mainly requires to use open the USB device in raw mode using sys_storage_open, read the sector 0x100 (found at 0x20000), replace the byte at offset 0xF with the new value, write back the modified buffer to sector 0x100, close the device. I suppose these are the commands needed: int sys_storage_open(u64 device_id, u64 unk, sys_device_handle_t *device_handle, u64 unk2); Maybe some developer using DEX could add the feature and make a pull request. |
BTW the feature could be extended to also patch the sizes of the slots like my BdemuPartitionTool does. In the picture above are marked in red the offsets that need to be patched with the number of sectors per slot. If I recall correctly, the "20" in offset 0x2000B is the count of slots that could be patched too. |
Hello,
Would it be possible to add a "switch BDEMU slot" command? Right now, I have to use Target Manager+DexGameMounter or BdemuPartitionTool - neither are available without a windows pc nearby.
I understand if it is too much of a hassle - I'm sure there aren't a lot of noncobra DEX users these days.
Best Regards
The text was updated successfully, but these errors were encountered: