AI War 2

AI War 2

View Stats:
关于人工智能战争的汉化
没制作成MOD,因为没实验出来,只能改文件了,所以使用的话得看版本号,明天五一,翻译了一部分,祝大家节日快乐
< >
Showing 1-15 of 15 comments
可以直接覆盖文件,Chinese文件夹中的文件直接放到游戏根目录,如果有提示是否覆盖,那么就放对地方了,文件夹结构保持了,目前版本是5.701。
https://wwxp.lanzouy.com/iAv232uyzmdc
关于现有的汉化方案,
1.安装BepInEx,建议调出控制台,这样可以看到有没有报错
2.安装I18NFont4UnityGame,并配置好字体,我使用的是source_han_sans,
以上步骤解决了字体问题。
目前的版本文本分布在XML,AB包,和DLL&PDB中。
XML汉化进度100%
AB包进度100%
C#进度1%。
有精调和错误指出等,可以直接说。
关于XML文件的汉化。
XML文件存在于原版和DLC扩展中,相对路径为GameData\Configuration
使用AI或者手动自行汉化即可。
关于AB包的汉化。
使用AssetBundleExtractor进行提取汉化的文本。然后进行汉化,最后回填并替换原始AB包
汉化包中有写的PY代码和对照词典。目前只有arcenui需要汉化,其他AB包暂未找到需要汉化的地方。
关于C#汉化。
制作组在CodeExternal留下来完整的项目源码,可以直接使用VS2022打开,
汉化完的CS文件可以直接编译生成,替换原始的DLL&PDB。
另外贴吧也有一分部汉化贴,可以综合查看,需要一定的动手能力
补个动态库https://wwxp.lanzouy.com/iYqic2uzhjpe,
"AI War 2\ReliableDLLStorage\ArcenDLLs\AIWarExternalCode.dll"
Dismiss May 1 @ 8:58am 
Originally posted by 274582881:
关于C#汉化。
制作组在CodeExternal留下来完整的项目源码,可以直接使用VS2022打开,
汉化完的CS文件可以直接编译生成,替换原始的DLL&PDB。
~~~ translation ~~~
The production team left the complete project source code in CodeExternal, which can be opened directly with VS2022.
The localized CS file can be directly compiled and generated to replace the original DLL&PDB.
~~~
Technically its only a whole lot of the code, not all of it. However, it does likely contain most of the code responsible for text. The most significant part of that is in tooltips. The tooltips for in-game entities the biggest part of that. If you have questions about this, you should ask in the aiw2 modding channel of the arcen discord server (linked to from in-game). I am the author of the "formatted" tooltip style which involved redoing most of the entity tooltip lines and could guide you somewhat--if you did want to set this up to be a full mod, that people can enable from in-game.
Last edited by Dismiss; May 1 @ 12:30pm
Originally posted by Dismiss:
Originally posted by 274582881:
关于C#汉化。
制作组在CodeExternal留下来完整的项目源码,可以直接使用VS2022打开,
汉化完的CS文件可以直接编译生成,替换原始的DLL&PDB。
~~~ translation ~~~
The production team left the complete project source code in CodeExternal, which can be opened directly with VS2022.
The localized CS file can be directly compiled and generated to replace the original DLL&PDB.
~~~
Technically its only a whole lot of the code, not all of it. However, it does likely contain most of the code responsible for text. The most significant part of that is in tooltips. The tooltips for in-game entities the biggest part of that. If you have questions about this, you should ask in the aiw2 modding channel of the arcen discord server (linked to from in-game). I am the author of the "formatted" tooltip style which involved redoing most of the entity tooltip lines and could guide you somewhat--if you did want to set this up to be a full mod, that people can enable from in-game.


Yes, I really want to create a MOD. If possible, please guide me.
更新版本5.702
https://wwxp.lanzouy.com/ipCSR2vovwof
AB包没更,其他文件官方都动了
https://wwxp.lanzouy.com/iIPrz2vqn1uj
更新后更多的文本被放回了DLL,需要反编译,难度加大了
Dismiss May 10 @ 7:54am 
Originally posted by 274582881:
Yes, I really want to create a MOD. If possible, please guide me.
(Discord) Arcen Games #mod-general-chat[discord.gg] is the place to find me and others to get setup for doing aiw2 modding. That link says it will expire in 7 days but it is also linked to from the aiw2 main menu, and the in-game escape/pause menu.
Originally posted by Dismiss:
Originally posted by 274582881:
Yes, I really want to create a MOD. If possible, please guide me.
(Discord) Arcen Games #mod-general-chat[discord.gg] is the place to find me and others to get setup for doing aiw2 modding. That link says it will expire in 7 days but it is also linked to from the aiw2 main menu, and the in-game escape/pause menu.
I asked a question about logs / messages, but no one answered me, so I posted it again."
Dismiss May 12 @ 10:10am 
Ah "hxd2g" I see it now. I asked for some more information.
Copypasta:
What is the actual value of chat_text="..." because it looks like only some symbols are becoming underscores--It could just be missing those unicode characters? If you drop your xml file for me so I can reproduce the issue locally, I'm sure I can figure it out.
< >
Showing 1-15 of 15 comments
Per page: 1530 50