Marty-v58/client/pack/root/musicinfo.py
metin2clean e94957cd33 client
2024-06-01 15:32:17 -05:00

30 lines
480 B
Python

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