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

[Emulator] Added option for content installation #2046

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gliniak
Copy link
Member

@Gliniak Gliniak commented Aug 11, 2022

image

This allows less experienced users to have less issues with getting savefiles from console to Xenia and significantly simplifies process of installing DLCs.

Process right now:

  1. Go to content directory and find/create title id of game.
  2. Open/Create content type directory.
  3. Create directory for savefile/DLCs. (Which for savefile usually must be very specific to even load)
  4. Extract STFS package.
  5. Put extracted files into content.

Process with install content:

  1. Open Xenia.
  2. Select "Install Content" and select content package that you want to install.
  3. Profit.

@Razzile
Copy link
Member

Razzile commented Aug 11, 2022

This is a really good idea!

@Blackbird88
Copy link

I don't know if this is possible to do, but it'd be nice if the title bar showed (Installing...) like compiling shaders does
image
Because if you install large DLC, Xenia just "freezes" while it's extracting it and it looks like crash in disguise.

uint8_t* buffer = nullptr;

while (!queue.empty()) {
auto entry = queue.front();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't find the progress bar code anywhere (wierd), but you could probably just change the title bar saying the percentage of the queue that's completed at the beginning of this loop.

@Gliniak
Copy link
Member Author

Gliniak commented Aug 16, 2022

I have two ideas. First is simple and easy, second is a bit more tricky.

  1. Just create box that informs that content was installed correctly (or not)
    image

  2. Create progressBar, but I'm struggling with implementation and how it should be updated. (Adding dummy progress bar is easy, but functional one is a bit tricky)
    image

@Darkhost1999
Copy link

Darkhost1999 commented Aug 16, 2022

Progress bars are cool and all yet I'm fine with just a window saying "Processing your request..." "Loading..." or "Installing..." (these all can have cancel buttons) when finished will say "Installation successful" or "Installation failed" and cancel changes to ok. Or we can leave cancel there and say "Are you sure you'd like to remove your installed content? Yes or no" when pressed.

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

Successfully merging this pull request may close these issues.

None yet

5 participants