- doa-prefix-set.bat - Adds the ~DoA~ prefix for BF2
- doa-prefix-unset.bat - Removes the ~DoA~ prefix for BF2
Both scripts keep the DefaultUser setting from the original Global.con.
Code for doa-prefix-set.bat:
- Code: Select all
set /p texte=< "%HomePath%\Documents\Battlefield 2\Profiles\Global.con"
echo %texte% > "%HomePath%\Documents\Battlefield 2\Profiles\Global.con"
echo GlobalSettings.setNamePrefix "~DoA~" >> "%HomePath%\Documents\Battlefield 2\Profiles\Global.con"
Code for doa-prefix-unset.bat:
- Code: Select all
set /p texte=< "%HomePath%\Documents\Battlefield 2\Profiles\Global.con"
echo %texte% > "%HomePath%\Documents\Battlefield 2\Profiles\Global.con"
echo GlobalSettings.setNamePrefix "" >> "%HomePath%\Documents\Battlefield 2\Profiles\Global.con"