-
Notifications
You must be signed in to change notification settings - Fork 194
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
Android: Add LZH support, refactor GameBrowser Game Searching #3230
Conversation
Reduces confusion in Weblate due to the Read only strings.
Can be added in the Layout editor.
To be used by the Android GameBrowser
The JNIEnv-Pointer is now set from the outside. Makes it possible to call these functions without having SDL initialized. Remove DeleteLocalRef, as these references are garbage collected automatically when the function returns.
…ser. Allows to drop most of the Java scanning code and makes maintanance easier.
This also allows stuff like multiple games in a single zip, zip inside zip etc.
1. If only one title image: Use this one 2. By parsing the database 3. By taking the first image in the title folder This approach is surprisingly fast and the caching skips the scan after the first time.
The title is then reencoded based on the users encoding setting.
@fdelapena suggested to grab the game title from the INI as I'm already parsing the folder anyway. This went a bit down the rabbit hole then because my code already failed to guess the encoding of the title string of Yume2kki (ゆめ2っき) correctly. So I added two workarounds:
|
Also minor Soundfont code fixes
Hide Soundfont and Font settings on Android in general (thx SAF)
Originally they were generated by a Header generator but by now Android Studio handles this which is more flexible.
I think we should merge this and push to the beta channel to get more feedback. |
Made a small fix to the save path code and had to bump the target SDK because we are behind... Is ready for merge now. |
.