3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 8985|回复: 10
打印 上一主题 下一主题

[补丁] 【收藏】 三国志10注册表自动导入批处理

  [复制链接]

41

主题

779

帖子

1701

积分

游戏狂人

Rank: 6Rank: 6

贡献度
51
金元
14871
积分
1701
精华
1
注册时间
2008-8-7
跳转到指定楼层
主题
发表于 2011-10-6 09:50 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 130031300 于 2011-10-6 10:02 编辑

san12等得痛苦,又捡起老版本玩之,发现由于重装系统后不能进入游戏,用注册表文件还要手动修改路径……

小弟特写了此批处理,将其放入游戏的安装目录后运行,可以自动识别路径并自动写入注册表。写完后亲测可以玩了^o^开心!

说明如下:
  许多人在重新安装系统时无法运行三国志10繁体中文版游戏,必须重新安装游戏才可正常进行。
  三国志系列游戏超级q群175530348的爱好者特编写了此批处理,可以自动写入注册表解决以上问题。
注意:请将其解压缩到游戏主程序所在的目录,双击运行。


代码如下:
@echo off
echo set PathTemp=>set.txt
copy set.txt temp.txt 1>nul 2>nul & cd=>>temp.txt
del set.txt
for /f "delims=" %%i in (temp.txt) do (set/p "=%%i">;PathTemp1.bat)
del temp.txt
setlocal enabledelayedexpansion
for /f "delims=" %%a in (PathTemp1.bat) do (
set aa=%%a
set aa=!aa:\=\\!
echo !aa!>>;PathTemp.bat
)
del PathTemp1.bat
call PathTemp.bat
del PathTemp.bat
echo Windows Registry Editor Version 5.00>install.reg
echo.>>install.reg
echo [HKEY_CURRENT_USER\Software\KOEI]>>install.reg
echo.>>install.reg
echo [HKEY_CURRENT_USER\Software\KOEI\San10 Tc]>>install.reg
echo.>>install.reg
echo [HKEY_CURRENT_USER\Software\KOEI\San10 Tc\Configs]>>install.reg
echo "PlayMovie"=dword:00000001>>install.reg
echo "PlaySoundVolume"=dword:00000064>>install.reg
echo "PlaySound"=dword:00000001>>install.reg
echo "PlayBGMVolume"=dword:00000050>>install.reg
echo "PlayBGM"=dword:00000001>>install.reg
echo "ScreenMode"=dword:00000001>>install.reg
echo "SvLdNumber"=dword:00000000>>install.reg
echo "PlayTutorial"=dword:00000001>>install.reg
echo "GameReport"=dword:00000000>>install.reg
echo "MessageSpeed"=dword:00000002>>install.reg
echo "BattleActiveTurn"=dword:00000001>>install.reg
echo "PlayStyleBushou"=dword:00000000>>install.reg
echo "EnableMovie"=dword:00000001>>install.reg
echo "EnableSound"=dword:00000001>>install.reg
echo "EnableBGM"=dword:00000001>>install.reg
echo.>>install.reg
echo [HKEY_CURRENT_USER\Software\KOEI\San10 Tc\Install]>>install.reg
echo "InstallInfo"="%PathTemp%\\">>install.reg
echo.>>install.reg
echo [HKEY_CURRENT_USER\Software\KOEI\San10 Tc\Login]>>install.reg
echo @="">>install.reg
echo [HKEY_CURRENT_USER\Software\KOEI\San10 Tc\PL]>>install.reg
echo "0"=dword:00000001>>install.reg
echo "-1"=dword:00000001>>install.reg
echo.>>install.reg
echo [HKEY_CURRENT_USER\Software\KOEI\San10PK Tc]>>install.reg
echo.>>install.reg
echo [HKEY_CURRENT_USER\Software\KOEI\San10PK Tc\Configs]>>install.reg
echo "EnableBGM"=dword:00000001>>install.reg
echo "EnableMovie"=dword:00000001>>install.reg
echo "EnableSound"=dword:00000001>>install.reg
echo "PlayBGM"=dword:00000001>>install.reg
echo "PlayBGMVolume"=dword:00000050>>install.reg
echo "PlayMovie"=dword:00000001>>install.reg
echo "PlaySound"=dword:00000001>>install.reg
echo "PlaySoundVolume"=dword:00000064>>install.reg
echo "ScreenMode"=dword:00000001>>install.reg
echo "SvLdNumber"=dword:00000000>>install.reg
echo "MessageStop"=dword:00000001>>install.reg
echo "GameReport"=dword:00000000>>install.reg
echo "BattleActiveTurn"=dword:00000001>>install.reg
echo "PlayTutorial"=dword:00000001>>install.reg
echo "PlayStyleBushou"=dword:00000000>>install.reg
echo "BattleMode"=dword:00000002>>install.reg
echo "MessageTime"=dword:00000005>>install.reg
echo "MapMoveSpeed"=dword:00000005>>install.reg
echo.>>install.reg
echo [HKEY_CURRENT_USER\Software\KOEI\San10PK Tc\Install]>>install.reg
echo "InstallInfo"="%PathTemp%\\">>install.reg
echo.>>install.reg
echo [HKEY_CURRENT_USER\Software\KOEI\San10PK Tc\Login]>>install.reg
echo @="">>install.reg
echo.>>install.reg
echo [HKEY_CURRENT_USER\Software\KOEI\San10PK Tc\PL]>>install.reg
echo "San10-App-10"="San10PK">>install.reg
echo "10"=dword:00000001>>install.reg
echo "-11"=dword:00000001>>install.reg
echo.
set path="%cd%"
echo 当前所在目录为:
echo.
echo     %path%
echo.
echo 将三国志10繁体中文版写入注册表,确认安装请按任意键。
echo.
pause 1>nul 2>nul
start /wait regedit /s install.reg
del install.reg
echo.
echo 写入注册表成功!您可以关闭此窗口或按任意键退出。
echo.
echo.
echo 有问题请联系三国志系列游戏超级Q群:175530348,欢迎广大三国迷的加入!
pause 1>nul 2>nul


下载如下:
san10注册表自动写入工具.rar (1.36 KB, 下载次数: 1038)


评分

1

查看全部评分

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2026-3-26 13:54 , Processed in 0.031033 second(s), 21 queries , Memcached On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表