Atlas-Install/source/definition.py
Faraphel 63f006af43
v0.4 (#2)
* added utf8 support to ct_config.json

* Updated track

* added 377 new tracks

* added 377 tracks to ct_config, also added tracks_list to make edtiting track way easier

* renamed (Vide).wu8 to just .wu8, to avoid problem with translation

* updated README.md

* added test files and distribution.txt to .gitignore

* added discord and wiki link

* game's version is now in definition.py

* update will now only enable if gitversion is newer than local version

* added math to lib

* renamed .wu8 to _.wu8

* removed 28 unused track

* replaced "" by "_"

* prepared version file

* Removed 5 unused files

* config tracks_list is now supported

* added missing game prefix

* A track name was too long for the game
2021-06-04 12:30:40 +02:00

11 lines
No EOL
360 B
Python

get_filename = lambda file: ".".join(file.split(".")[:-1])
get_nodir = lambda file: file.split("/")[-1].split("\\")[-1]
get_extension = lambda file: file.split(".")[-1]
CREATE_NO_WINDOW = 0x08000000
VERSION = "0.7"
def filecopy(src, dst):
with open(src, "rb") as f1:
with open(dst, "wb") as f2:
f2.write(f1.read()) # could be buffered