Skip to content

webOS: download assets/core info files/controller profiles on first run#18878

Open
cscd98 wants to merge 2 commits intolibretro:masterfrom
webosbrew:webos-first-run
Open

webOS: download assets/core info files/controller profiles on first run#18878
cscd98 wants to merge 2 commits intolibretro:masterfrom
webosbrew:webos-first-run

Conversation

@cscd98
Copy link
Copy Markdown
Contributor

@cscd98 cscd98 commented Mar 30, 2026

Guidelines

  1. Rebase before opening a pull request
  2. If you are sending several unrelated fixes or features, use a branch and a separate pull request for each
  3. If possible try squashing everything in a single commit. This is particularly beneficial in the case of feature merges since it allows easy bisecting when a problem arises
  4. RetroArch codebase follows C89 coding rules for portability across many old platforms check using C89_BUILD=1

Description

A relatively common issue with users who are unfamiliar with RetroArch is updating core info files/assets/controller profiles.

This enables these files to be automatically downloaded the very first time they open up RetroArch on webOS as they are not bundled. This is on purpose because application installs are given separate permissions and if they were indeed bundled it would stop a user from being able to update them via RetroArch menu.

It checks to see if 200MB (72.5MB for zip, 87.7MB unzipped) of space is available before download assets due to some older devices may lack the space to download plus decompress. It also checks for 250MB (51.7MB for zip, 180.1MB unzipped!) available space before automatically downloading the database. I have left some margin for error by rounding up to nearest 50MB but these could always be reduced.

Core profiles are absolutely necessary otherwise no cores are listed for download so they are always downloaded.

Has no affect on other platforms unless HAVE_UPDATE_ASSETS_FIRST_RUN is defined.

Includes work already done by @warmenhoven

Related Issues

Related Pull Requests

Reviewers

@cscd98 cscd98 force-pushed the webos-first-run branch 2 times, most recently from 0872f78 to f642b67 Compare March 30, 2026 16:13
@hizzlekizzle
Copy link
Copy Markdown
Collaborator

I don't think we have any way of querying F-Droid as a platform, but they would undoubtedly appreciate this. If we applied it to the entire Android platform, our apks would be a lot smaller...

@i30817
Copy link
Copy Markdown
Contributor

i30817 commented Mar 30, 2026

if you're on a roll, another common issue is on the first download of a core with requirement files like dolphin, people just don't get those files, and pay for it with a myriad of bogus bugs.

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.

4 participants