Drop the config.spec/configobj configuration in favour of an AppSettings pydantic-settings model (settings.py) loaded from SMILEYFACE_-prefixed env vars or a .env file. Introduce AppContext (context.py) to carry settings plus logging, dispatch commands through a Click CLI (cli.py), and centralise log setup (logging_setup.py). Update hub_machine, datalayer, and scraping modules to consume the new context. Add .env.example and ignore .env. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| smileyface | ||
| .env.example | ||
| .flake8 | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| .python-version | ||
| edit-config-windows.ps1 | ||
| edit-config.sh | ||
| LICENSE-MIT | ||
| poetry.lock | ||
| pyproject.toml | ||
| README.md | ||
| smileyface.py | ||
SmileyFace UT Server Tool
See official website, https://zavage-software.com/portfolio/smileyface for instructions.
Dependencies
Installation
Activate your desired python environment or install system-wide with admin privileges.
python setup.py install
Usage
$ ./smileyface.py -h usage: smileyface.py [-h] command ...
positional arguments: command clean_instance Deletes the generated instance on the local machine. create_directories Create required directories which the user installs maps, mutators, and config to. download_linux_server Download the latest Linux Unreal Tournament 4 Server from Epic download_logs Download the logs from the target hub. generate_instance Takes the current coniguration and outputs the application files which can be copied to the server. oneclickdeploy restart_server start_server Flip on the target hub on for Fragging. stop_server Stop UT4 Hub processes on the server. upload_redirects Upload paks to redirect server. upload_server Upload all required game files to the hub server. scrape sub-submenu help
optional arguments: -h, --help show this help message and exit Invalid command. Try -h for usage