《忍者龙剑传 黑之章》(含飓风版中文汉化 vb-zh-x2.1)与《忍者龙剑传》(2004)的非官方 Windows 原生移植。2.2.37。
2.2.37:两个游戏各有自己的程序,启动器改名
游戏本身没有变化,这一版改的是程序文件名和“直接双击”时启动哪个游戏。
先看这里:这次更新对你有什么影响
| 你的情况 | 更新后 |
|---|---|
| 平时从启动器开始游戏 | 照常使用,只是启动器换了名字:Ninja Gaiden Black&2004 PC Launcher.exe
|
| 平时直接双击游戏程序 | 黑之章双击 Ninja Gaiden Black.exe,2004 双击 Ninja Gaiden.exe(以前双击只能进黑之章)
|
| 桌面快捷方式、Steam 里添加的非 Steam 游戏(Steam Deck) | 要改成指向新的启动器 |
| 覆盖解压升级 | 可以删掉旧的 Ninja Gaiden Black Any.exe 和 Ninja Gaiden Black Any Launcher.exe(不删也能用)
|
| 存档、设置、显卡首选项 | 不受影响;你在旧程序上设过的显卡首选项,启动器会自动带到新程序上 |
改了什么
- 程序改名
- 启动器:
Ninja Gaiden Black Any Launcher.exe→Ninja Gaiden Black&2004 PC Launcher.exe。 - 游戏程序:原来两个游戏共用的
Ninja Gaiden Black Any.exe,分成Ninja Gaiden Black.exe(黑之章)和Ninja Gaiden.exe(2004)。两个是同一份程序编两次,都用旁边的blackrt.dll,游戏运行时完全一样。
- 启动器:
- 直接双击游戏程序时,各自找自己的游戏
Ninja Gaiden Black.exe:找启动器装好的黑之章(和以前一样)。Ninja Gaiden.exe:找启动器装好的 2004(启动器里 2004 的游戏路径,或旁边的game_ng04文件夹)。- 找到的是另一个游戏时(比如 2004 的位置装成了黑之章),不运行,弹出提示告诉你该用哪个程序。
- 没装游戏时,提示是哪个游戏没装、怎么在启动器里装;提示里的路径是程序所在的文件夹(以前显示的是当前目录,从快捷方式或命令行启动时会显示一个无关的路径)。
- 命令行里明确给了游戏的,照常运行,不做限制。
- 启动器
- 按左上角选的游戏启动对应的程序:黑之章用
Ninja Gaiden Black.exe,2004 用Ninja Gaiden.exe;联网设置和仪表盘也一样。 - 「图形」页的显卡首选项会同时设给两个游戏程序。
- 从旧版升级时,如果你给旧的
Ninja Gaiden Black Any.exe设过显卡首选项(比如省电模式),启动器会自动把它带到两个新程序上,不会被游戏第一次运行时改成“高性能”。
- 按左上角选的游戏启动对应的程序:黑之章用
- 兼容:旧的
Ninja Gaiden Black Any.exe留在文件夹里也还能用(新的blackrt.dll仍支持它),只是双击它仍然只进黑之章。 - 联网时,Windows 防火墙可能会为新程序再询问一次。
测试
- 全新文件夹逐项测试:
- 双击
Ninja Gaiden Black.exe进黑之章,双击Ninja Gaiden.exe进 2004; - 旧的
Ninja Gaiden Black Any.exe配新blackrt.dll进黑之章; - 命令行给另一个游戏:照常运行,日志记一笔;
- 找到的是另一个游戏:不运行,提示正确;
- 没装游戏:两个游戏各自的提示正确,路径为程序所在文件夹。
- 双击
- 启动器:左上角选黑之章点「开始游戏」→ 运行的是
Ninja Gaiden Black.exe、日志是黑之章;选 2004 →Ninja Gaiden.exe、日志是 2004。 - 显卡首选项:旧程序设为省电模式(1)后打开新启动器,两个新程序都被设为 1;测试用的注册表项已删除。
- 性能(核显,待机演示 160 秒,与 2.2.36.3 各跑 1 次,测试期间无其他负载):游戏速度都是 93.6%;99% 帧 18.92 对 18.41 ms,超过 16.7 ms 的帧 611 对 610 个,尖峰帧 31 对 9 个。这一组测试时作者后台在运行另一个项目(虚拟机等,CPU 占用约 30%),两边的平均帧时间都比平时高(5.71 对 6.01 ms),但受到的影响相同;游戏运行的代码只改了启动时找游戏的那一段。
- 冒烟测试(核显后台,发布包本身):
Ninja Gaiden Black.exe跑黑之章 150 秒、Ninja Gaiden.exe跑 2004 更新补丁版 20 秒,都正常启动和运行,绘制状态全部回放、0 条遗漏,正常退出(同样受后台负载影响,黑之章有 12 次卡顿)。 - 发布包:Windows Defender 扫描四个程序,无威胁;文件清单 12 个(比 2.2.36.3 多一个游戏程序,程序名按上面改),附带的种子等数据文件逐字节相同;程序文件属性显示 2.2.37。
- 没有测试用代码。
源码
本版提交:f16bf30(程序拆分与改名、启动器、打包脚本)、2990140(版本号与 README)。
发布包
ngb-hurricane-pc-2.2.37-win32.zip- 大小:3,500,630 字节
- SHA-256:
d5a42e66ccb21c441a59d74d9308c6aa50dc000e191719b4b3b0f187abe36129 - 符号包
ngb-hurricane-pc-2.2.37-win32-symbols.zip:40,011,593 字节 - SHA-256:
850f25764c2da2855ec10bffae14fcfa942745e8352c04e6b260432b05796a61
作者:b站 哈雅布撒(QQ:2682557218)
English
An unofficial native Windows port of Ninja Gaiden Black (including the Hurricane Chinese translation vb-zh-x2.1) and Ninja Gaiden (2004). 2.2.37.
2.2.37: a program for each game; the launcher renamed
The games themselves are unchanged; this release changes the programs' names and which game a double-click starts.
Start here: what this update means for you
| Your setup | After the update |
|---|---|
| You start games from the launcher | As before; the launcher's new name is Ninja Gaiden Black&2004 PC Launcher.exe
|
| You double-click the game program | Ninja Gaiden Black.exe for Black, Ninja Gaiden.exe for 2004 (a double-click used to mean Black only)
|
| Desktop shortcuts, non-Steam games in Steam (Steam Deck) | Point them at the new launcher |
| Updating by extracting over the old folder | You can delete the old Ninja Gaiden Black Any.exe and Ninja Gaiden Black Any Launcher.exe (they still work if left)
|
| Saves, settings, graphics preference | Kept; a graphics preference you set for the old program is carried over by the launcher |
What changed
- New names
- Launcher:
Ninja Gaiden Black Any Launcher.exe->Ninja Gaiden Black&2004 PC Launcher.exe. - Game program: the
Ninja Gaiden Black Any.exeboth games shared is nowNinja Gaiden Black.exe(Black) andNinja Gaiden.exe(2004). They are one program built twice, both on theblackrt.dllbeside them, and run the games exactly alike.
- Launcher:
- Double-clicking a game program starts its own game
Ninja Gaiden Black.exe: the Black the launcher installed (as before).Ninja Gaiden.exe: the 2004 the launcher installed (the launcher's 2004 game path, or thegame_ng04folder beside it).- If it finds the other game there (2004's place holding Black, say), it does not run it and says which program to use.
- With nothing installed it says which game is missing and how to install it in the launcher; the path shown is in the program's folder (it showed the current folder's, unrelated when started from a shortcut or a command prompt).
- A game given on the command line runs as given.
- Launcher
- Starts the program of the game chosen at the top left:
Ninja Gaiden Black.exefor Black,Ninja Gaiden.exefor 2004; online setup and the dashboard too. - The graphics preference on the Graphics page is set for both game programs.
- Updating from an older release: a preference you set for the old
Ninja Gaiden Black Any.exe(power saving, say) is carried over to both new programs, so the game's first run does not set "high performance" over it.
- Starts the program of the game chosen at the top left:
- Compatibility: an old
Ninja Gaiden Black Any.exeleft in the folder still works (the newblackrt.dllstill supports it); double-clicked, it still means Black. - Windows Firewall may ask once more for the new programs when you play online.
Tests
- A fresh folder, case by case:
- double-click
Ninja Gaiden Black.exe-> Black,Ninja Gaiden.exe-> 2004; - the old
Ninja Gaiden Black Any.exewith the newblackrt.dll-> Black; - the other game on the command line -> runs, logged;
- the other game found -> not run, the right message;
- nothing installed -> each game's message, the path in the program's folder.
- double-click
- Launcher: Black chosen, Play ->
Ninja Gaiden Black.exerunning Black; 2004 chosen ->Ninja Gaiden.exerunning 2004. - Graphics preference: the old program set to power saving (1), the new launcher opened -> both new programs set to 1; the test entries removed afterwards.
- Performance (Iris Xe, attract demo 160 s, one run each against 2.2.36.3, nothing else running): game speed 93.6% in both; 99th percentile 18.92 vs 18.41 ms, frames over 16.7 ms 611 vs 610, spike frames 31 vs 9. The author was running another project in the background during this pair (a virtual machine among others, about 30% CPU), so both averages were higher than usual (5.71 vs 6.01 ms), alike for both; of the code that runs the game, only the start-up search for the game changed.
- Smoke tests (Iris Xe, background, the package itself):
Ninja Gaiden Black.exeran Black 150 s andNinja Gaiden.exethe NG2004 title update 20 s: both started and ran normally, all draw states replayed, none left out, normal exit (under the same background load; 12 hitches in Black). - The package: Windows Defender scan of the four programs, no threats; 12 files (one more game program than 2.2.36.3, the programs renamed as above), its seed data files byte for byte; the programs' properties say 2.2.37.
- No test code.
Source
This release's commits: f16bf30 (the program split and names, launcher, packaging), 2990140 (version and README).
Package
ngb-hurricane-pc-2.2.37-win32.zip- Size: 3,500,630 bytes
- SHA-256:
d5a42e66ccb21c441a59d74d9308c6aa50dc000e191719b4b3b0f187abe36129 - Symbols
ngb-hurricane-pc-2.2.37-win32-symbols.zip: 40,011,593 bytes - SHA-256:
850f25764c2da2855ec10bffae14fcfa942745e8352c04e6b260432b05796a61
Author: 哈雅布撒 on Bilibili (QQ: 2682557218)