Can now handle non default player names.
This commit is contained in:
parent
f1986f54d5
commit
83d2bcc157
@ -2,6 +2,11 @@ import os
|
|||||||
|
|
||||||
echo("Input KSM directory")
|
echo("Input KSM directory")
|
||||||
let mainDir: string = readLine(stdin)
|
let mainDir: string = readLine(stdin)
|
||||||
|
var playerName: string = ""
|
||||||
|
echo("If your ingame player name is not 'PLAYER' enter it now (otherwise press enter)")
|
||||||
|
playerName = readLine(stdin)
|
||||||
|
if playerName == "":
|
||||||
|
playerName = "PLAYER"
|
||||||
let userDir: string = mainDir & DirSep & "score" & DirSep & "PLAYER"
|
let userDir: string = mainDir & DirSep & "score" & DirSep & "PLAYER"
|
||||||
let outFileName: string = mainDir & DirSep & "songs" & DirSep & "Played.fav"
|
let outFileName: string = mainDir & DirSep & "songs" & DirSep & "Played.fav"
|
||||||
var f: File
|
var f: File
|
||||||
|
Loading…
Reference in New Issue
Block a user