Mirage Source
Game Name in .ini? - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: Game Name in .ini? (/showthread.php?tid=2453)



Game Name in .ini? - timster0 - 25-12-2008

Could someone show me how to put your Game name in a .ini file?


Re: Game Name in .ini? - DarkX - 25-12-2008

in form_load on whatever form you want add
Code:
Dim FileName As String
    FileName = App.Path & "\config.ini"
lblw/e = GetVar(FileName, "CONFIG", "GAME_NAME")
then make the lblname what ever you want and change it there. then make a config .ini and it will get [config] gamename = w/e from the file client side.


Re: Game Name in .ini? - timster0 - 25-12-2008

Thanks!


Re: Game Name in .ini? - DarkX - 25-12-2008

np and thanks for loging into ToA.