CODE: [Copy to clipboard]
# Game Config dods.cn
[Emulator]
# CachePath - set to the folder where your GCF files are located
#
CacheEnabled=False
CachePath=d:\Steam\SteamApps
# Language - rev emu will automagically load the correct language files.
# This can be English, French, Italian, German, Spanish, sChinese,
# Korean, Koreana, tChinese, Japanese, Russian, Thai, or Portugeuse
#
Language=sChinese
# Change Logging to True to enable/disable log file output for steam.dll
#
Logging=False
# Change SteamDll to point to your official Steam client DLL.
# This setting is required for Steam UserID Validation functions
# to support legit Steam IDs. Otherwise, all clients would get
# IDs generated from their IP addresses.
# Also make sure you uncomment the line below (remove "#")
# if you want to use this setting!
#
SteamDll=bin\steam_old.dll
# Change SteamClient to True if you want to use steamclient emulator
#
SteamClient=True
# 如果要使用steam上的用户名,请修改SteamUser后面的内容
# Defaults to revCrew if not specified
SteamUser=revCrew
[Log]
# If Logging is set to True, choose which functions would you like to log.
#
FileSystem=False
Account=False
UserID=False
[steamclient]
################################### NOTE ####################################
# These settings may apply even if you don't choose to use steamclient.dll! #
#############################################################################
#
# 玩家名称在下面修改,将DODS.CN修改为你的名字 (仅用于起源2007引擎的游戏)
#
PlayerName="[color=Red][b]test[/b][/color]"
# Change the setting below to enable/disable log file output for steamclient.dll
#
Logging=False
# Change the setting below to enable a different master server for the server
# browser
#MasterServer=213.239.209.221
上面的rev.ini配置文件中红色字体如何用批处理接受用户输入做出相应更改CODE: [Copy to clipboard]
@echo off
set /p input=请输入 PlayerName:
set "file=d:\test\rev.ini"
more +15 %0>"%file%"
>>"%file%" echo PlayerName="%input%"
>>"%file%" echo.
>>"%file%" echo # Change the setting below to enable/disable log file output for steamclient.dll
>>"%file%" echo #
>>"%file%" echo Logging=False
>>"%file%" echo.
>>"%file%" echo # Change the setting below to enable a different master server for the server
>>"%file%" echo # browser
>>"%file%" echo #MasterServer=213.239.209.221
exit /b
# Game Config dods.cn
[Emulator]
# CachePath - set to the folder where your GCF files are located
#
CacheEnabled=False
CachePath=d:\Steam\SteamApps
# Language - rev emu will automagically load the correct language files.
# This can be English, French, Italian, German, Spanish, sChinese,
# Korean, Koreana, tChinese, Japanese, Russian, Thai, or Portugeuse
#
Language=sChinese
# Change Logging to True to enable/disable log file output for steam.dll
#
Logging=False
# Change SteamDll to point to your official Steam client DLL.
# This setting is required for Steam UserID Validation functions
# to support legit Steam IDs. Otherwise, all clients would get
# IDs generated from their IP addresses.
# Also make sure you uncomment the line below (remove "#")
# if you want to use this setting!
#
SteamDll=bin\steam_old.dll
# Change SteamClient to True if you want to use steamclient emulator
#
SteamClient=True
# 如果要使用steam上的用户名,请修改SteamUser后面的内容
# Defaults to revCrew if not specified
SteamUser=revCrew
[Log]
# If Logging is set to True, choose which functions would you like to log.
#
FileSystem=False
Account=False
UserID=False
[steamclient]
################################### NOTE ####################################
# These settings may apply even if you don't choose to use steamclient.dll! #
#############################################################################
#
# 玩家名称在下面修改,将DODS.CN修改为你的名字 (仅用于起源2007引擎的游戏)
#