diff --git a/Launcher/steam-frame-install.sh b/Launcher/steam-frame-install.sh index 15c1c5c..8e44f14 100755 --- a/Launcher/steam-frame-install.sh +++ b/Launcher/steam-frame-install.sh @@ -26,7 +26,7 @@ # host such as Frame Control's "frame"), or "local" when running on the Frame. # Without it the game is only built. # --work-dir DIR where the toolchain, Dawn, the build and the extracted disc live -# (default ~/wiicompiled-frame; about 20 GB) +# (default ~/wiicompiled-frame; about 10 GB, plus 5 for an extracted disc) # --release TAG the release to build (default: the newest one). Ignored with --source. # --source DIR build this source tree instead of a release (default when the script runs # from inside one) @@ -165,10 +165,10 @@ fi note "$jobs parallel compiles" # Room for the build. A first one (the toolchain, Dawn's source and build, the game's build) takes -# about 20 GB; later ones reuse Dawn. Extracting a disc image takes about 5 GB more, plus the +# about 10 GB (measured on a Frame: 8.3 GB with the disc); later ones reuse Dawn. Extracting a disc image takes about 5 GB more, plus the # archive's size while one is unpacked. Running out halfway is worse than stopping here. -need_gb=20 -[[ -f "$work_dir/dawn/package/aurora-dawn.json" ]] && need_gb=5 +need_gb=10 +[[ -f "$work_dir/dawn/package/aurora-dawn.json" ]] && need_gb=3 if [[ -n "$disc" && -f "$disc" && ! -f "$work_dir/disc/sys/main.dol" ]]; then need_gb=$(( need_gb + 5 + $(du -k "$disc" | cut -f1) / 1024 / 1024 )) fi diff --git a/README.md b/README.md index 6e2adf4..70b9358 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ of it compiling Dawn under emulation; later builds reuse it. user password), on the same network as your PC; - your own clean PAL `RMCP01` disc of Mario Kart Wii: an ISO, WBFS or RVZ image (WIA, CISO, GCZ and NFS work too), as is or in a `.zip` or `.7z`, or a folder you extracted it to; -- an x86_64 Linux PC with about 20 GB free and 16 GB of memory or more. +- an x86_64 Linux PC with about 15 GB free and 16 GB of memory or more. The PC commands below work in bash, zsh and fish. @@ -83,7 +83,7 @@ curl -fsSL https://raw.githubusercontent.com/mitch030504/Wiicompiled_VR_Frame/op key answers to that name. - Everything it builds lives in `~/wiicompiled-frame` (`--work-dir` to change that): the toolchain, Dawn, the source, the extracted disc and the build log, `build.log`. A first build needs about - 20 GB there, and the script checks for it before starting. + 10 GB there, plus about 5 GB for your extracted disc; the script checks before starting. - It runs as many compiles at once as fit in memory (a quarter of your memory in GB). If the machine still freezes, run it again with a lower `--jobs`, such as `--jobs 2`. - If it stops for any reason, the same command picks up where it left off.