mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-19 20:25:57 +00:00
An install whose romfs/ went empty and unreadable after the extraction had verified it (a folder Windows was still deleting) ended with result ok, and the game stopped at its first file read. Cleanup now checks that romfs.bin and index.json are still there, match the verified size and hash record, and that romfs.bin opens; otherwise it fails with cleanup.romfs_unreadable, which tells the player to restart Windows and run the installer on the same folder (resume extracts the game data again). Reported in #107. tests/installer_test.py CleanupTest: an emptied, removed or resized romfs passed cleanup before, fails now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
173 lines
10 KiB
JSON
173 lines
10 KiB
JSON
{
|
|
"step.check": "Checking the computer and the game files",
|
|
"step.extract": "Extracting the game",
|
|
"step.lift": "Translating the game code to C",
|
|
"step.compile": "Compiling totk.exe",
|
|
"step.prepare": "Preparing the shaders",
|
|
"step.cleanup": "Cleaning up",
|
|
|
|
"phase.check.host": "Checking the processor and the graphics card",
|
|
"phase.check.verify": "Checking the files already installed",
|
|
"phase.check.verify_romfs": "Checking the installed game data",
|
|
"phase.check.inputs": "Opening the game files with the keys",
|
|
"phase.check.versions": "Checking the game versions",
|
|
"phase.extract.hash_base": "Computing the checksum of the base game",
|
|
"phase.extract.hash_update": "Computing the checksum of the update",
|
|
"phase.extract.exefs": "Extracting the game code",
|
|
"phase.extract.copy": "Copying the game data",
|
|
"phase.extract.merge": "Applying the update to the game data",
|
|
"phase.extract.diagnose": "Finding which game file is damaged",
|
|
"phase.extract.index": "Verifying the game data",
|
|
"phase.lift.discover": "Finding the functions",
|
|
"phase.lift.emit": "Writing C code",
|
|
"phase.compile.compile": "Compiling",
|
|
"phase.compile.link": "Linking totk.exe",
|
|
"phase.prepare.romfs_patches": "Writing the 60 fps game data patches",
|
|
"phase.prepare.seed": "Reading the shaders from the game data",
|
|
"phase.prepare.translate": "Translating the shaders",
|
|
"phase.prepare.libraries": "Building the shaders for the graphics driver",
|
|
"phase.cleanup.ini": "Writing totk.ini",
|
|
"phase.cleanup.temp": "Removing temporary files",
|
|
|
|
"cli.usage": "Invalid command line: {detail}",
|
|
"internal": "Unexpected error ({exception}): {detail}",
|
|
"state.unreadable": "{path} cannot be read. Choose another folder or delete that file.",
|
|
"state.newer_format": "{path} was written by a newer installer. Use that installer or another folder.",
|
|
"state.output_changed": "Installed files of step '{step}' changed since they were made; that step runs again.",
|
|
|
|
"check.release_incomplete": "The installer folder is incomplete; missing: {paths}. Unpack the release again.",
|
|
"check.dest_not_folder": "The install location {path} is a file, not a folder.",
|
|
"check.dest_not_empty": "The install folder {path} is not empty and holds no earlier installation. Choose an empty folder.",
|
|
"check.lang_missing": "Choose the game language.",
|
|
"check.lang_unknown": "Unknown language '{lang}'. Known: {known}.",
|
|
"check.toolchain_broken": "The bundled compiler does not work: {detail}",
|
|
"check.host_probe_failed": "The computer check did not run (exit code {code}).",
|
|
"check.cpu_no_avx2": "This processor lacks AVX2 (x86-64-v3), which the game needs. Intel Haswell (2013) or AMD Excavator / Zen and newer have it.",
|
|
"check.vulkan_missing": "No Vulkan driver is installed. Install the latest driver for your graphics card.",
|
|
"check.vulkan_no_device": "Vulkan finds no graphics card. Install the latest driver for your graphics card.",
|
|
"check.vulkan_too_old": "The game needs a graphics card with Vulkan 1.3; found: {devices}. Update the graphics driver.",
|
|
"check.inputs_needed": "The game files are needed: choose the base game, the 1.2.1 or 1.4.3 update and prod.keys.",
|
|
"check.input_missing": "File not found ({input}): {path}",
|
|
"check.keys_unreadable": "The keys file cannot be read. Choose a prod.keys file.",
|
|
"check.keys_no_header_key": "The keys file has no header_key. Dump prod.keys from your console again.",
|
|
"check.keys_wrong": "The keys cannot open the {input} file. Use the prod.keys of your console.",
|
|
"check.keys_too_old": "The keys file is too old for the {input} file (needs key generation {generation}). Dump prod.keys from a console with newer firmware.",
|
|
"check.not_game_file": "The {input} file is not an XCI or NSP game file.",
|
|
"check.file_unreadable": "The {input} file cannot be read: {detail}",
|
|
"check.ticket_personalized": "The {input} file carries a personalized ticket; a common ticket is needed.",
|
|
"check.ticket_missing": "The {input} file lacks the ticket its content needs.",
|
|
"check.base_not_totk": "The base game file is not The Legend of Zelda: Tears of the Kingdom ({detail}).",
|
|
"check.update_not_nsp": "The update must be an NSP file.",
|
|
"check.update_is_base": "The update file holds a base game. Choose the 1.2.1 or 1.4.3 update NSP.",
|
|
"check.update_not_totk": "The update file is not a Tears of the Kingdom update ({detail}).",
|
|
"check.exefs_failed": "The game code of the {input} file failed its checks; see {log}.",
|
|
"check.input_damaged": "The {input} file is damaged or incomplete: {path} ({detail}). Copy that file again from its source, or dump it again, then run the setup again.",
|
|
"check.base_wrong_version": "The base game is not version 1.0.0 ({modules} differ).",
|
|
"check.update_wrong_version": "The update is version {found}; this release takes {wanted}.",
|
|
"check.disk_space": "Not enough free space for {path}: {need_gb} GB needed, {free_gb} GB free.",
|
|
|
|
"extract.exefs_mismatch": "The extracted game code does not match version {version} ({modules}).",
|
|
"extract.romfs_merge_failed": "Applying the update to the game data failed: {detail}. Details: {log}",
|
|
"extract.romfs_mismatch": "The extracted game data does not match version {version} (size {size}, checksum {sha256}...).",
|
|
"lift.failed": "Translating the game code failed (exit code {code}). Details: {log}",
|
|
"compile.failed": "Compiling totk.exe failed (exit code {code}). Details: {log}",
|
|
"compile.exe_in_use": "{path} is in use. Close the game and run the installer again.",
|
|
"prepare.shader_list_missing": "The shader list is missing.",
|
|
"prepare.romfs_patches_failed": "Writing the game data patches failed (exit code {code}). Details: {log}",
|
|
"prepare.shaders_failed": "Preparing the shaders failed (exit code {code}). Details: {log}",
|
|
"cleanup.romfs_unreadable": "The game data in {path} is missing or cannot be read after the install. Restart Windows, then run the installer again on the same folder: it extracts the game data again and keeps the rest.",
|
|
"cleanup.ini_failed": "totk.ini cannot be written: {detail}",
|
|
|
|
"warn.lang_needs_fonts": "Text in {lang} needs the Switch system fonts, which the installer does not extract; some text may not show.",
|
|
"warn.npdm_differs": "main.npdm differs from the reference {version} dump; only the code modules are used.",
|
|
|
|
"ui.title": "TotK Setup",
|
|
"ui.version": "version {version}",
|
|
"ui.intro": "Builds a playable Tears of the Kingdom folder from your own game files. This takes a while and runs once.",
|
|
"ui.notice": "The folder this setup builds contains the game. It is for your own use only; do not share or upload it.",
|
|
"ui.keys_private": "The keys file is read in place. Its contents are never shown, copied or stored.",
|
|
"ui.base": "Base game (NSP or XCI)",
|
|
"ui.update": "Update 1.2.1 or 1.4.3 (NSP)",
|
|
"ui.keys": "prod.keys",
|
|
"ui.game_language": "Game language",
|
|
"ui.dest": "Install folder",
|
|
"ui.browse": "Browse...",
|
|
"ui.pick_game": "Choose the base game file",
|
|
"ui.pick_update": "Choose the 1.2.1 or 1.4.3 update file",
|
|
"ui.pick_keys": "Choose prod.keys",
|
|
"ui.pick_dest": "Choose the install folder",
|
|
"ui.type_game": "Game files (NSP, XCI)",
|
|
"ui.type_nsp": "NSP files",
|
|
"ui.type_keys": "Key files (*.keys)",
|
|
"ui.type_all": "All files",
|
|
"ui.start": "Start",
|
|
"ui.cancel": "Cancel",
|
|
"ui.cancelling": "Cancelling...",
|
|
"ui.show_log": "Show log",
|
|
"ui.hide_log": "Hide log",
|
|
"ui.close": "Close",
|
|
"ui.back": "Back",
|
|
"ui.open_folder": "Open folder",
|
|
"ui.update_mode": "This folder holds an earlier installation. The setup continues or updates it; the game files are asked for only if they are needed again.",
|
|
"ui.need_dest": "Choose the install folder.",
|
|
"ui.need_base": "Choose the base game file.",
|
|
"ui.need_update": "Choose the 1.2.1 or 1.4.3 update file.",
|
|
"ui.need_keys": "Choose the prod.keys file.",
|
|
"ui.need_lang": "Choose the game language.",
|
|
"ui.missing_base": "The base game file does not exist.",
|
|
"ui.missing_update": "The update file does not exist.",
|
|
"ui.missing_keys": "The keys file does not exist.",
|
|
"ui.running_install": "Installing",
|
|
"ui.running_resume": "Continuing the earlier setup",
|
|
"ui.running_update": "Updating the installation",
|
|
"ui.state_started": "started",
|
|
"ui.state_done": "done",
|
|
"ui.state_skipped": "skipped",
|
|
"ui.state_pending": "waiting",
|
|
"ui.state_running": "running",
|
|
"ui.state_failed": "failed",
|
|
"ui.log_warning": "Warning",
|
|
"ui.log_error": "Error",
|
|
"ui.log_space": "Space needed: {need} GB, free: {free} GB",
|
|
"ui.log_end": "Finished",
|
|
"ui.result_ok": "The game is ready",
|
|
"ui.result_failed": "The setup failed",
|
|
"ui.result_cancelled": "The setup was cancelled",
|
|
"ui.done_text": "Start totk.exe from {dest}. The setup program and the game files you chose are no longer needed.",
|
|
"ui.cancelled_text": "The finished steps are kept. Start the setup again with the same folder to continue.",
|
|
"ui.log_file": "Log file: {path}",
|
|
"ui.process_died": "The setup stopped unexpectedly (exit code {code}).",
|
|
"ui.confirm_cancel": "The setup is running. Cancel it and close the window?",
|
|
"ui.space_one": "Free space needed on {path}: {need} GB (free: {free} GB).",
|
|
"ui.space_two": "Free space needed on {path}: {need} GB (free: {free} GB); on {temp}: {temp_need} GB (free: {temp_free} GB).",
|
|
"ui.amount_bytes": "{done} / {total} GB",
|
|
"ui.amount_chunks": "{done} / {total} parts",
|
|
"ui.amount_objects": "{done} / {total} files",
|
|
"ui.amount_shaders": "{done} / {total} shaders",
|
|
"ui.amount_other": "{done} / {total} {unit}",
|
|
"ui.seconds": "{n} s",
|
|
"param.input.base": "base game",
|
|
"param.input.update": "update",
|
|
"param.input.keys": "keys",
|
|
|
|
"launcher.title": "TotK Setup",
|
|
"launcher.python_missing": "The setup files are incomplete: the python folder next to TotK-Setup.exe is missing. Unpack the whole archive again and start TotK-Setup.exe from the unpacked folder.",
|
|
|
|
"lang.ja": "Japanese",
|
|
"lang.en-US": "English (US)",
|
|
"lang.en-GB": "English (UK)",
|
|
"lang.fr": "French",
|
|
"lang.fr-CA": "French (Canada)",
|
|
"lang.de": "German",
|
|
"lang.it": "Italian",
|
|
"lang.es": "Spanish",
|
|
"lang.es-419": "Spanish (Latin America)",
|
|
"lang.nl": "Dutch",
|
|
"lang.pt": "Portuguese",
|
|
"lang.pt-BR": "Portuguese (Brazil)",
|
|
"lang.ru": "Russian",
|
|
"lang.ko": "Korean",
|
|
"lang.zh-Hans": "Chinese (Simplified)",
|
|
"lang.zh-Hant": "Chinese (Traditional)"
|
|
}
|