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

Save location at boot. #10

Open
Zilverfire opened this issue Jun 11, 2019 · 5 comments
Open

Save location at boot. #10

Zilverfire opened this issue Jun 11, 2019 · 5 comments

Comments

@Zilverfire
Copy link

Zilverfire commented Jun 11, 2019

The read and write save data location for the save game at boot are \switch\openmw\data\global\saves, as nsp forwarders don't ask for the user profile, but if you open another game first or after you play Morrowind for a bit player 1 is given a user profile so the game will try to read and write save data from F:\switch\openmw\data(user)\saves.
Not truly a bug, closer to an oversight but the game runs good, great work.

@terabyte25
Copy link

terabyte25 commented Jun 11, 2019

Maybe try and run the profile applet programmatically? Libnx does this somewhere in their web.c code, but I am not sure where.

@fgsfdsfgs
Copy link
Owner

Yes, I have noticed this. I don't think you can run the profile selection thing programmatically, I think it's part of qlaunch? However I am pretty sure that you can make a forwarder that lets you select a profile, because I've had a build of NSP hbmenu that did that.

@terabyte25
Copy link

terabyte25 commented Jun 11, 2019

@fgsfdsfgs As I said, libnx does it programmatically. No idea how.

It is documented though: https://switchbrew.org/wiki/Profile_Selector

@terabyte25
Copy link

terabyte25 commented Jun 11, 2019

And it's in the code under "applet_playerselect" here:
https://github.com/switchbrew/libnx/blob/5a3eb542b23beb2f6f73ca5ce266dde6b2ad90a5/nx/include/switch/services/applet.h#L71

There's a function that I found in the documentation that can load applets with the given ID (from the enum in the link above). But I'm not entirely sure how to use it.

@terabyte25
Copy link

terabyte25 commented Jun 12, 2019

Pull Request #12

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

3 participants