Skip to content

HackingU0/elin_save_watchdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Elin Save Watchdog

This is a simple Python script to resolve the issue where the game Elin cannot save progress on macOS (when running through Wine).

Features

  • Monitors specific directories to automatically delete temporary files that may block the saving process in Elin.

Requirements

  • Python 3.9 or higher
  • Watchdog Module

Install Python 3.9+

To install Python 3.9 via Homebrew, run the following command in your terminal:

brew install python@3.9

Install Watchdog Module

Next, install the Watchdog module, which is used for directory monitoring:

pip install watchdog

Usage

  1. Modify the watch_directory in the elin_watchdog.py script to the appropriate directory path where your game saves are located.

  2. Run the script using Python:

python elin_watchdog.py

This will start monitoring the specified folder and will automatically delete the Temp folder if conditions are met, allowing the game to save without issues.


Notes

  • The script continuously monitors the game's save folder for any newly created directories (like world_01 folders) and deletes temporary files when necessary.
  • If you encounter any issues, make sure that the directory paths are correct and that you have the required permissions to modify the folders.

To build your own binary

Use pyinstaller to build your modified python file so you can run it easily

pip install pyinstaller
pyinstaller --onefile elin_watchdog.py

You can find elin_watchdog under /dist, use chmod +x to let it have premission to run

cd dist
chmod +x elin_watchdog
./elin_watchdog

About

A watchdog for macOS user to run Elin correctly on wine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages