mirror of
https://github.com/PodeCaradox/GalaxyQuest-SteamFrame.git
synced 2026-10-19 17:02:30 +02:00
A native port built on the Petari decompilation (previous commit): an HLE platform layer (OS, DVD, GX, audio, input, NAND) under the game's own code, an OpenXR presentation (a diorama around the player, a giant screen, the HUD and settings as compositor layers, SpaceWarp, dynamic resolution), Touch Plus controls, the tools that convert your own game files (tools/cook, which also takes the few pieces of data the game's executable holds from your sys/main.dol), and the port's changes to the decompilation (`git diff petari-base -- decomp`). README.md explains installing and building, docs/TECHNICAL.md how it works. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
798 B
Bash
17 lines
798 B
Bash
#!/system/bin/sh
|
|
# Android starts a debuggable app through lib/<abi>/wrap.sh when the APK has
|
|
# one: the app process is exec'd ("$@" is app_process64 and its arguments)
|
|
# instead of forked from the zygote. libreserve.so reserves the game's 32-bit
|
|
# address window before ART lays out its heap (see reserve.c).
|
|
#
|
|
# Options right after app_process64 go to ART. With the window taken, the low
|
|
# 4 GB has no 512 MB gap left for ART's default large object space (it wants
|
|
# one the size of dalvik.vm.heapsize), so large Java objects go to the main
|
|
# heap instead; this app hardly allocates any.
|
|
#
|
|
# Packaged with LF line endings by tools/package_apk.sh.
|
|
export LD_PRELOAD="${0%/*}/libreserve.so${LD_PRELOAD:+:$LD_PRELOAD}"
|
|
app_process="$1"
|
|
shift
|
|
exec "$app_process" -XX:LargeObjectSpace=disabled "$@"
|