LunaTranslator/docs/en/cantstart.md
恍兮惚兮 c6eb64f79d ...
2024-09-18 12:01:52 +08:00

2.0 KiB

Can't Start the Software?

1. Error/ModuleNotFoundError

If you update directly from an old version to a new one, or if you update automatically to a new version, the old invalid files will not be deleted. Due to the file loading order of Python, the old files are loaded preferentially, which prevents the new files from being loaded, causing this issue.

The solution is to keep the userconfig folder, delete the other files, and then re-download and unzip.

Some built-in solutions that no longer cause errors

2. Error/PermissionError

If the software is placed in special folders such as Program Files, it may not have read and write permissions. Please run with administrator privileges.

3. Missing Important Components

Solution: Close antivirus software. If it cannot be closed (such as Windows Defender), add it to the trust list and then re-download.

Note: To achieve HOOK extraction of game text, it is necessary to inject Dll into the game. Files such as shareddllproxy32.exe/LunaHost32.dll implement this, and therefore are particularly likely to be considered as viruses. The software is currently automatically built by Github Actions. Unless the Github server is infected, it is impossible to contain viruses, so it can be safely added to the trust list.

For Windows Defender, the method is: “Virus & threat protection” -> “Exclusions” -> “Add or remove exclusions” -> “Add an exclusion” -> “Folder”, add Luna's folder to it