Skip to content

Self-copying of the game during extraction #1

Open

Description

@DragonJok

Hi, could you tell me how to unpack the game?
I’ve prepared the files in romfs and exft (or whatever that folder is called) folders.
I selected them in the launcher and started the installation, but it ended up using up all the available ROM space. I checked, and the APK file was 12 GB - is it copying itself, or what’s going on?

Activity

  1. mamcjr commented on Oct 21, 2026

    @mamcjr
    Owner

    Hi! If you already have the extracted exefs and romfs folders from version 1.0.0, you’ve completed the extraction step. Select their parent folder in the launcher.
    During setup, the app copies those files into its own storage, builds a game data image, and compiles the game code. This means the original files and the app’s generated data temporarily coexist. The APK itself is not growing or copying itself, although Android may show the combined storage usage under the app.
    Setup currently needs approximately 12 GB of additional free space, with your extracted files already on the phone. After setup completes successfully, you can remove the original import folder from the phone if you have a backup. Keep the app’s own files.
    Could you share your app version, how much free space you had before starting, and a screenshot showing where the 12 GB figure appears? Also, did setup stop while copying files, building the data image, or compiling code? That will help us determine whether this is expected storage usage or a setup problem.

  2. DragonJok commented on Oct 21, 2026

    @DragonJok
    Author
    1. Hi! If you already have the extracted exefs and romfs folders from version 1.0.0, you’ve completed the extraction step. Select their parent folder in the launcher.
      During setup, the app copies those files into its own storage, builds a game data image, and compiles the game code. This means the original files and the app’s generated data temporarily coexist. The APK itself is not growing or copying itself, although Android may show the combined storage usage under the app.
      Setup currently needs approximately 12 GB of additional free space, with your extracted files already on the phone. After setup completes successfully, you can remove the original import folder from the phone if you have a backup. Keep the app’s own files.
      Could you share your app version, how much free space you had before starting, and a screenshot showing where the 12 GB figure appears? Also, did setup stop while copying files, building the data image, or compiling code? That will help us determine whether this is expected storage usage or a setup problem.

    I had to postpone testing this port for now because I don't have enough ROM space on my smartphone.
    Is prod.keys necessary by any chance?
    Perhaps you can make the launcher pick up the NSP file?

  3. mamcjr commented on Oct 21, 2026

    @mamcjr
    Owner

    Thanks for the update! The app itself does not require prod.keys: it uses the already extracted exefs and romfs folders from game version 1.0.0. Any keys needed during extraction depend on the tool you use.
    The launcher currently supports extracted folders only, so selecting an NSP directly won’t work. Direct NSP import would require additional extraction and decryption support, and wouldn’t necessarily solve the temporary storage requirement.
    I’m investigating ways to reduce setup storage usage and improve the free-space check and error messages. I can’t promise a storage reduction or direct NSP support yet, but your feedback helps identify where setup needs improvement.

  4. mamcjr commented on Oct 23, 2026

    @mamcjr
    Owner

    Version 0.4.0 is out: https://github.com/mamcjr/LASRecompAndroid/releases/tag/v0.4.0

    It addresses the storage problem from this issue. Setup used to copy the whole romfs folder (about 6 GB) into the app, build the game data image from that copy, and keep both. Now it builds romfs.bin straight from the folder you pick, so the free space setup asks for went from about 14 GiB to about 8 GiB (with your extracted files already on the phone). Existing installs get about 5.7 GiB back automatically.

    prod.keys still aren't needed, and an NSP still has to be extracted first (the exefs and romfs folders of version 1.0.0). Once setup finishes, you can delete your extracted folder from the phone if you keep a backup elsewhere.

    I ran this new setup from scratch on a POCO F7 Ultra: about 7 min 40 s from picking the folder to "Game files ready", and the game then ran normally. If anything fails on your phone, a screenshot of the message would help a lot.

  5. DragonJok commented on Oct 23, 2026

    @DragonJok
    Author

    Could you tell me the folder structure?
    Should exefs and romfs be in the same folder? For example, in LASRecomp? So, it's sdcard/LASRecomp. Or should they be combined, or should I specify the path to one folder and the other?

    Also, is there a bug with fishing? I downloaded a different port, and the same bug still exists. The fish freeze, there's no animation, and the image only moves above the water.

  6. DragonJok commented on Oct 23, 2026

    @DragonJok
    Author

    I have a Poco F7. I'm thinking about using Turnip V37. What do you recommend? Or does the system driver work well?

  7. DragonJok commented on Oct 23, 2026

    @DragonJok
    Author

    Thanks, the game finally launched! I’ve got everything figured out. I haven’t changed any of the app settings, though-do you think there’s anything I should adjust for the Poco F7, or should I just leave them as they are? The performance is solid; it runs more stably than it did via the Eden Emulator.

  8. mamcjr commented on Oct 23, 2026

    @mamcjr
    Owner

    Great to hear it's running, and more stable than on Eden!

    For anyone else who finds this: put exefs and romfs side by side in one folder (e.g. Download/LASRecomp/exefs and Download/LASRecomp/romfs) and pick that folder. The app looks a few levels down for both.

    Settings on the POCO F7. The defaults (30 fps, 50% resolution, AMD FSR 1) are the safe start, so leaving them is fine. If you want more:

    • Driver: Turnip Gen8 V37 is what I use on the POCO F7 Ultra (Adreno 830): 60 fps in the village. The system driver works too, but it doesn't hold 60 there, so with it keep 30 fps. Your F7 has an Adreno 825, which I haven't tested, so compare both if you like.
    • With Turnip: Video > Frame rate at 60, then watch the overlay (Video > Show FPS). If it holds 60, you can try a higher Internal resolution.
    • Frame generation (Video > Frame generation): it turns the game's 30 fps into 60 on screen. At 60 fps, the 120 Hz option below it turns them into 120 on the F7's 120 Hz display. The overlay's FPS+FG shows the frames on screen.
    • Upscaler: Snapdragon GSR 1 is lighter on the GPU than FSR 1, if you need headroom.
    • 0.4.1 (https://github.com/mamcjr/LASRecompAndroid/releases/tag/v0.4.1) adds Driver compatibility options (start screen: Settings > Saves & files). Leave them on Automatic: on an Adreno 8xx like yours, Automatic keeps the fast paths.

    About the fishing bug: thanks for the report. I haven't reproduced it yet. Since it also happens in another port, it's most likely in the renderer both ports share. Two things would help:

    • Which driver you had when it happened (Turnip or the system one).
    • A screenshot or short video at the pond. With 0.4.1 you can also turn on Save a log file in the same tab and pick a folder (create one, e.g. Download/LASRecomp), fish until the bug shows, then attach lasrecomp-log.txt from that folder here.
  9. mamcjr commented on Oct 23, 2026

    @mamcjr
    Owner

    About the fishing bug: I tried to reproduce it on my POCO F7 Ultra (Adreno 830) with both Turnip Gen8 V37 and the system driver, at 30 fps. In the pond, the fish swim, turn and animate, the line moves, and the area under the water keeps moving along with everything above it. So I couldn't make it happen here, which points to something specific: the moment it happens, the driver, or your Adreno 825.

    To track it down, could you tell me:

    1. The exact moment it starts: right when you enter the pond, before casting, after casting, when a fish bites, or while you reel it in. And does it go back to normal afterwards (after catching a fish, leaving the pond, or restarting)?
    2. The driver you had when it happened: Turnip (which version) or the system driver. If you can, try the other one too and tell me if it still happens.
    3. A short video of it happening. Android's screen recorder in the quick settings works. A screenshot alone won't show whether the fish are frozen.

    The log from 0.4.1 would help too (Settings > Saves & files > Save a log file, pick a folder, reproduce, then attach lasrecomp-log.txt), but the video matters most. Thanks!

  10. DragonJok commented on Oct 23, 2026

    @DragonJok
    Author

    There’s no issue with the pond; that was only in a different port - likely an error specific to that version.
    Is version 0.4.1 better than 0.4.0? Is it more optimized, or what? I like that the game doesn’t put much strain on my smartphone, but what if the new version of the port allocates more resources and ends up making the phone run hotter?)
    I’m using Turnip V37 because the system driver wouldn’t display the text on the screen.

  11. DragonJok commented on Oct 23, 2026

    @DragonJok
    Author

    I don’t need 60 frames per second; the original 30 frames are enough. It’s more important that the smartphone doesn’t heat up much and consumes less battery power.

  12. mamcjr commented on Oct 23, 2026

    @mamcjr
    Owner

    Good to know the pond is fine here, thanks for checking!

    0.4.1 vs 0.4.0: 0.4.1 doesn't change performance on your phone. It adds the Driver compatibility options and the log file. On an Adreno 8xx like yours, Automatic keeps exactly the same paths as 0.4.0, so the load, temperature and battery use stay the same. Updating is optional; it mostly helps if you ever need to send a log with a bug report.

    For low heat and battery at 30 fps, you're already close with the defaults:

    • Frame rate at 30 (the default): about half the work of 60.
    • Frame generation off (the default): it adds GPU work to make extra frames.
    • Internal resolution at 50% (the default). Going higher makes the GPU work harder.
    • Upscaler: Snapdragon GSR 1 is a bit lighter on the GPU than AMD FSR 1.
    • Anti-aliasing off (the default).

    Turnip V37 is a good choice. Thanks for the note about the system driver not showing the text: on the Adreno 750 in issue #3 the system driver does the same. If you ever have a minute, could you try the system driver with Video > 32-bit shader math turned on (then restart the app) and tell me whether the text shows? It's optional, you can stay on Turnip.

  13. DragonJok commented on Oct 23, 2026

    @DragonJok
    Author

    Thanks! I’ve decided to update to version 0.4.1.
    Also, following your advice, I enabled "32-bit shader math" and selected the system driver - the text is now displaying correctly! However, performance is significantly lower compared to using the Turnip drivers, so I’m sticking with Turnip. Regarding "32-bit shader math," can it be left enabled, or should it be toggled off? Does it have any impact on performance or increase the load?

  14. mamcjr commented on Oct 23, 2026

    @mamcjr
    Owner

    Great to hear the text shows with the system driver now, thanks for testing it!

    About 32-bit shader math: you can leave it either way. It only changes how the game's shaders work out memory addresses: with 32-bit numbers instead of 64-bit ones, for drivers that lack 64-bit integers or get them wrong. I haven't measured a performance difference, and phone GPUs run 64-bit integer math as pairs of 32-bit operations anyway, so it shouldn't add load. Since Turnip already draws right without it, I'd turn it off while you use Turnip: that's the path tested the most with Turnip. After changing it, restart the app so every shader is translated again.

    Version 0.5.0 is out: https://github.com/mamcjr/LASRecompAndroid/releases/tag/v0.5.0

    On your phone it runs like 0.4.1 (same paths on an Adreno 8xx), with fixes from upstream LAS Recomp's next beta (saves that can't be left broken, crashes and hangs fixed), shader preparation on the start screen so areas stutter less the first time, and support for game versions 1.0.1 and 1.1.0. After updating, the game code is built again once, which takes a few minutes.

  15. DragonJok commented on Oct 24, 2026

    @DragonJok
    Author

    Does version 0.5.2 differ from 0.4.1 in terms of optimization, resource consumption, and smartphone heating? SD 8s Gen 4
    You also wrote that the port now supports update files. Does that mean I have to rewrite everything? What's an easier way to add update files to RomFS?

  16. mamcjr commented on Oct 25, 2026

    @mamcjr
    Owner

    Sorry for the late reply!

    Version 0.5.4 is out: https://github.com/mamcjr/LASRecompAndroid/releases/tag/v0.5.4

    0.5.x compared with 0.4.1 on your Snapdragon 8s Gen 4: 0.5.0 to 0.5.3 use the same graphics path as 0.4.1 on an Adreno 8xx with Turnip, so I wouldn't expect a difference in speed or heat from them. 0.5.4 is the first one that saves GPU work on your phone: render targets are compressed on Turnip, colour copies that nothing reads are skipped, and some small glow buffers stay at the game's size. On a Galaxy S20 FE each of these saved between about 0.6 and 2 ms of GPU time per frame (measured by the author of LASRecomp-Android-Plus, where they come from); I haven't measured heat on an 8s Gen 4. Heat mostly follows the frame rate and the internal resolution, so 30 fps or a lower resolution keeps the phone cooler.

    Update files: you don't have to redo anything. Version 1.0.0 is complete and plays fine as it is. If you want 1.0.1 or 1.1.0 next to it:

    1. Copy that version's extracted folders to the phone: exefs and romfs, complete for that version (not only the files the update changed).
    2. Settings > Saves & files > Add another version, and pick that folder.
    3. The app sets it up next to 1.0.0 and builds its game code once (a few minutes). PLAY ‹ version › on the start screen then switches between them, and saves are shared.

    Each version takes its own space, so the setup needs about as much free space as the first one did.

  17. DragonJok commented on Oct 25, 2026

    @DragonJok
    Author
    Image Image Image

    So, I updated the app and now there are some fishing bugs... The fish either freeze, or the image looks completely different.
    There's a conflict with the screen aspect ratio and the frame rate setting.
    If it's full screen and 30 frames, there are no fish at all.
    If it's the original format and 60 frames, there are fish, but they're almost static.
    At 30 frames, they're always static... Oh, I shouldn't have updated)

  18. mamcjr commented on Oct 26, 2026

    @mamcjr
    Owner

    Version 0.5.5 fixes it: https://github.com/mamcjr/LASRecompAndroid/releases/tag/v0.5.5

    Thanks for the screenshots, they made it easy to find. One of 0.5.4's GPU savings skips copies of the picture that nothing seems to read. In the fishing game the water reads a copy of the picture while drawing over it, and the check missed that, so the underwater view kept an old picture (a room you were in before, the pond before the game began) or stayed black.

    I reproduced it on my phone, and with 0.5.5 the fish are back and moving, at 30 and 60 fps, in both Unlocked and Original 16:9. Install it over 0.5.4; your saves are kept.

  19. DragonJok commented on Oct 26, 2026

    @DragonJok
    Author

    Thanks, I’ll test it out - and update the game version while I’m at it.

    One more question: are there any plans for a Mario Kart 8 port? It runs great on the emulator, but it’s missing a 30 fps mode (which would help reduce heat), or perhaps a way to mitigate slowdowns when the frame rate drops below 60 fps. A native port might solve that issue.

  20. mamcjr commented on Oct 26, 2026

    @mamcjr
    Owner

    Thanks! Version 0.5.6 is out too: https://github.com/mamcjr/LASRecompAndroid/releases/tag/v0.5.6

    Since you're setting up another game version: 0.5.6 checks the game files as it sets them up, and if any of them is missing, renamed or changed, the start screen tells you (the log names the files). Updating also builds each version's game code once more (a few minutes).

    About Mario Kart 8: it's being evaluated. Nothing to announce yet, but your notes help: a 30 fps mode to keep the phone cooler, and no slowdown when it can't hold 60, are the kind of thing a native port can handle.

  21. DragonJok commented on Oct 26, 2026

    @DragonJok
    Author

    Thanks for the update, I'll test it out!)

    Yes, I think many people are looking forward to the native version of Mario Kart 8, as the game is very popular.
    In the emulator, it heats up the smartphone quite quickly, and sometimes drops the frame rate to 50, which causes a slight slowdown, and of course, crashes happen.
    Similar to MK Wii, you could implement 30 frames during racing and 60 frames in the menu. The result is excellent, fast gameplay and saves smartphone resources.

  22. mamcjr commented on Oct 27, 2026

    @mamcjr
    Owner

    Thanks for the details on Mario Kart 8, they're noted: 30 fps in races and 60 in the menus, as you describe for MK Wii, is a good way to keep a phone cool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions