Files
Andreas Lierschaft 11df29aa6b Initial commit: UI-Quellcode (root + uiscript)
Enthaelt die editierbaren Python-UI-Skripte (root/, uiscript/) des
EterNexus-Clients, u.a. die Aenderungen fuer aktivierbare Items
(constinfo.py: IS_ACTIVATABLE_ITEM/IS_MOUNT_SEAL, uiinventory.py:
RefreshBagSlotWindow). Kompilierte Pack-Dateien (.epk/.eix) sowie
Binaries/DLLs/Locale-Assets sind bewusst nicht Teil dieses Repos.
2026-08-17 21:50:23 +02:00

30 lines
472 B
Python

METIN2THEMA = "M2BG.mp3"
loginMusic="login_window.mp3"
createMusic="characterselect.mp3"
selectMusic="characterselect.mp3"
fieldMusic=METIN2THEMA
def SaveLastPlayFieldMusic():
global fieldMusic
try:
lastPlayFile=open("BGM/lastplay.inf", "w")
except IOError:
return
lastPlayFile.write(fieldMusic)
def LoadLastPlayFieldMusic():
global fieldMusic
try:
lastPlayFile=open("BGM/lastplay.inf", "r")
except IOError:
return
fieldMusic=lastPlayFile.read()