Need help creating a batch to change ps2font

Discussion in 'Player Support' started by schlotz, May 25, 2014.

  1. schlotz

    Hey there folks,
    i need some help with writing a script that:

    - opens the ps2 launcher
    - renames the Geo-Md.ttf into Geo-md123.ttf
    - renames the Planetside2.ttf into Geo-md.ttf
    (i know the exact paths of the files, but i dont know how to write the batch properly)

    -> When i click the batch, the launcher starts and i get the "old" planetside 2 font from the beta without changing it manually every time.
    I appreciate any help :)
    • Up x 1
  2. S7rudL

    Code:
    start /d "I:\PlanetSide 2 PSG\" LaunchPad.exe
    timeout /t 10
    rename "I:\PlanetSide 2 PSG\UI\Resource\Fonts\Geo-Md.ttf" "Geo-md123.ttf"
    rename "I:\PlanetSide 2 PSG\UI\Resource\Fonts\PlanetSide2.ttf" "Geo-md.ttf"
    pause
    • Up x 1
  3. schlotz

    thank you very much s7rudL (oder Strudl? ;) )

    start /d "I:\PlanetSide 2 PSG\" LaunchPad.exe
    timeout /t 10
    rename "I:\PlanetSide 2 PSG\UI\Resource\Fonts\Geo-Md.ttf" "Geo-md123.ttf"
    rename "I:\PlanetSide 2 PSG\UI\Resource\Fonts\PlanetSide2.ttf" "Geo-md.ttf"
    exit

    everything works fine, but there is one problem: it always starts the PTS client which is even on another harddrive as the path i wrote o_O dont really know, why...
    • Up x 1
  4. schlotz

    hm ok, i renamed the pts launchpad to LaunchPad1 and now its working fine, the fonts are renamed properly as before. thank you again!

    E: it just works he first time :/ should we delete the old md123 before we rename the files?
    • Up x 1
  5. S7rudL

    You could try,
    Code:
    start "" "I:\PlanetSide 2 PSG\LaunchPad.exe"
    Code:
    "I:\PlanetSide 2 PSG\LaunchPad.exe"
    People have had similar problems before where the client would read the configuration files from some other location on a PC with multiple game clients, not sure why, maybe something in the registry path related.

    I have moved, copied the client plenty of times with no issues.
    • Up x 1
  6. schlotz

    ok, it selects the PSG launcher now. the only problem is now, that the renaming of the files just worked the first time. so should we delete the old md123 before we rename them again?

    -> with a delete "..." ... ?
    • Up x 1
  7. chevyowner

    Only advantage for this is you don't have to redownload PlanetSide2.ttf everytime, and you can change the install path by changing the path after "set ps2path="

    Code:
    @echo off
    set ps2path="I:\PlanetSide 2 PSG"
    start /D %ps2path%\LaunchPad.exe
    timeout /t 10
    rename %ps2path%\UI\Resource\Fonts\Geo-Md.ttf Geo-md123.ttf
    copy %ps2path%\UI\Resource\Fonts\PlanetSide2.ttf" "Geo-md.ttf"