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.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user