Jump to content

A guide to solving common MOD problems suitable for pure newcomers (a guide to making MOD) 适合纯新人的常见MOD问题解决指南(MOD制作入门指南)


Recommended Posts

Posted

A guide to solving common MOD problems suitable for pure newcomers (a guide to making MOD)

适合纯新人的常见MOD问题解决指南(MOD制作入门指南)

First of all, introduce a detailed introduction video of MOD production made by a big guy. You can read the article while watching the video.

首先,介绍一个大佬制作的MOD制作的详细介绍视频,大家可以边看视频边看文章。

https://www.youtube.com/watch?v=zWE0xP4MgR8&feature=youtu.be

 

A. Reason I play the Steam version, and many of the MODs in the forum are based on the DMM version. Because of the difference between the two versions, various problems may arise when using the MOD. As a pure novice, many detours have been taken in the process of solving these problems. The purpose of writing this guide is to save the time of those in need.

A、缘由

我玩的是Steam版,很多论坛里的MOD是根据DMM版制作的。因为这两者版本的差异,MOD使用起来会出各种问题。作为一个纯新手,解决这些问题的过程中走了不少弯路。写这篇指南就是希望节约有需要的人的时间。

 

B. Problems that can be solved

1. The MOD is invalid or partially effective

2. Damaged body

3. The body appears strangely shaped

B、能解决的问题

1MOD无效或部分生效

2、身体破损

3、身体出现诡异形状

 

 

C. Specific method

C、具体方法

First, I will introduce my conjecture about the principle of MOD implementation: MOD shields or replaces the original clothing and body.

首先介绍下我对MOD实现的原理猜想:MOD对原始服装和身体进行屏蔽或替换。

a. Solutions to invalid or partially effective MOD

aMOD无效或部分生效的解决方法

According to my guess of the principle, this situation is caused by the difference of the version which causes the MOD to be unable to find the corresponding original part. The following is a common paragraph in the MOD ini file:

[TextureOverrideCommonAlLRangeTop01]

hash = ade9ee4b

handling = skip

The function of the above program is to not display the part whose hash is ade9ee4b.

The reason why the MOD is invalid or partially effective is that the hash in the Steam version of the same costume is different from that in the DMM version. The solution is to modify the hash.

根据我的原理猜想,这种情况是因为版本的差异导致MOD无法找到其对应的原始部分。下面是MODini文件中常见的一段:

[TextureOverrideCommonAlLRangeTop01]

hash = ade9ee4b

handling = skip

上面的程序作用就是不显示hashade9ee4b的部分。

MOD无效或部分生效的原因就是同一服装Steam版中的hashDMM版中不同,解决方法就是修改hash

 

Now, how to find the correct hash:

1. Modify the d3dx.ini file in the game folder and change the value of "hunting=" to "2", that is, "hunting=2".

2. Enter the game, select the camera mode, and change the scene to "Studio"

3. Press the number "0", and then press 7 or 8, and the following similar graphics will appear. The hexadecimal number after IB in the red box in the figure below is the hash.

现在就介绍如何找到正确的hash

1、修改游戏文件夹中的d3dx.ini文件,将“hunting=”的值改为“2”,即“hunting=2”

2、进入游戏、选择拍照模式、将场景改为”摄影棚“

3、按下数字“0”,然后按78,会出现下面类似的图形,下图中红框中IB后的16进制数字就是hash

 hash.png.08062b9fac5b75a483819a6ae9734aa4.png

Then continue to press 7 or 8, you will find that a part of the screen disappears every time you press it, and the hash of the disappeared part is the number in the red box above. For example, see the picture below

然后继续按动78,你会发现每按一次画面中有一部分消失,而消失部分的hash就是上图红框中的数字。举例,见下图

hash2.png.b0760df54330aa2a8d96abc3da7af9a5.png 

Comparing the first one, you will find that the jacket is missing, and the 2b65da04 on the upper left is the hash of the jacket.

对比第一张,你会发现外套不见了,而此时左上的2b65da04正是外套的hash

 

b. Solutions for body damage

b、身体破损的解决方法

Sometimes it is found that the body is damaged as shown in the figure below, that is, the hash of the body is wrong

有时会发现身体破损的情况如下图,就是bodyhash错了

 body.png.5b321112d8711a7198ca55bd466632d8.png

Using the above method, when the body is found to be missing (see the figure below), the hash of the body part is found, and then the mod ini file can be modified.

运用上面的方法,当发现身体不见时(见下图),就找到了body部分的hash,然后修改modini文件即可。

hash-body.png.feba32ecc4d858e687ede78fc19ec7b9.png

c. The solution to the strange shape of the body

c、身体出现诡异形状的解决方法

解决方法操作有点复杂

The solution operation is a bit complicated

产生原因:Steam版和DMM版中bodyweight属性不同。

Cause: The weight attribute of the body in the Steam version and the DMM version is different.

工具:blender(我使用的是2.92版)

Tool: blender (I use version 2.92)

1、安装blender,再安装3dmigoto.py插件(我已上传至附件)

点击edit-preferences

1. Install blender, and then install the 3dmigoto.py plug-in (I have uploaded it to the attachment)

Click edit-preferences

blend-edit.png.7eee25fc6a44786689034a4df180b9f9.png

 

点击Add-on,再点击install,选择下载的3dmigoto.py,点击 install Add-on

Click Add-on, then click install, select the downloaded 3dmigoto.py, click install Add-on

addon.png.6719a4ad8803a262e7311a9bdb44e7ce.png

2、根据之前的方法进入hunting模式,然后按F8

程序会将全部素材导出之下图中的文件夹

2. Enter hunting mode according to the previous method, and then press F8

The program will export all the materials to the folder in the figure below

696052325_.png.366a28dcc2083f774b2c60027c3ca8a9.png

 

3、打开blender,删除起始的cubecameralight

3. Open blender and delete the initial cube, camera, light

blenderStart.png.5052237ed1723565224b4cf214f2d810.png

 

 4、导入file-import-vb.txt+ib.txt

4. file-import-vb.txt+ib.txt

 

5、选择素材文件夹中的ctx-开头的文件夹,全选所有文件,在“Bone CB”栏中填入“vs-cb2”,然后选择导入

5. Select the folder starting with ctx- in the material folder, select all files, fill in "vs-cb2" in the "Bone CB" column, and then select import

939510229_blender.png.2c6c52b1256d79366b42cef932eb92fd.png

6、这时会出现一面墙,这是正常的,将所有墙面和地面删掉就剩下穿着衣服的人物了

6. At this time, a wall will appear. This is normal. Delete all the walls and the ground to leave the characters in clothes.

 

点击身体部分(注意:不要点服装)

Click on the body part (note: don't Click on clothing)

304419114_3.png.3289c468bf71fb361f332f268a1db8a7.png

 

7、复制,快捷键Ctrl+c;然后按住左键框选整个人物删除;最后粘贴Ctrl+v

7. Copy, shortcut key Ctrl+c; then hold down the left button and select the entire character to delete; finally paste Ctrl+v

670173918_4.png.ab397df946d749403b308dbc04933c66.png

 

8、点选漂浮在身体周围的小点,删除;身体会变成如下状态,红框里的就是对应的名字,建议改名(我改为b.txt),方便下一步操作

8. Click the small dot floating around the body to delete; the body will become the following state, the corresponding name in the red box, it is recommended to change the name (I changed it to b.txt) to facilitate the next operation

weight1.png.a93e194e2e36abb6d4c4695336abc27d.png

 

9、从问题MOD的文件夹中导入bodyvb+ib。(你也可以从其他mod导入同类型的身体)

9. Import the vb+ib of the body from the folder of the problem MOD. (You can also import the same type of body from other mods)

1074906509_.png.ade67ad80a94a2326efa305372c53274.png

身体类型分3种,具体如下

There are 3 types of body types, as follows

1. "Common_Body"

"Kasumi", "Kokoro",

"Tamaki" etc.

Many are of this type.

2. "Honoka_Body"

"Honoka",

"Sayuri",

"Tukushi",

Four people of "Luna".

3. "Marie_Body"

"Marie",

"Kanna",

"Nagisa",

Four people of "Marie".

 

导入后

After import

874180589_weight2-.png.ed1e4d58a83f5a981de32e1701e7615a.png

 

10、最重要的操作开始:从原始的破损身体将weight参数传到新载入的完整身体(这一步我也不熟练,可能大家要多尝试)

10. The most important operation starts: transfer the weight parameter from the original damaged body to the newly loaded complete body (I am not proficient in this step, maybe you have to try more)

选择刚导入的完整身体(我这里是body.vb),删除原始weight数据

Select the complete body just imported (I am body.vb here) and delete the original weight data

1029657083_weight3.png.b41dbaa57f9f375dbd4a10fd584461f7.png

 

将红框中改为Weight Paint”模式,选择 “Weight - Transfer Weights

Change the red box to "Weight Paint" mode and select "Weight-Transfer Weights"

1002855631_weight4.png.29f8b113393479b98772ac7236b8d1c7.png

点击transfer mesh data

Click "transfer mesh data"

745826207_weight51.png.f0245842c80263bc6396f80d7e8cd66d.png

 

vertex mapping”选项改为“nearest face interpolated”;

source layers sele...”选项改为“by name

Change the "vertex mapping" option to "nearest face interpolated";

Change the "source layers sele..." option to "by name"

2139191491_weight52.png.36f279e359fae34be4eb8f4d2fbabab6.png

 

点击右上角里的原始身体名,再点击左上角的Weight - Transfer Weights

Click the original body name in the upper right corner, and then click "Weight-Transfer Weights" in the upper left corner

1588787797_weight6.png.20adc2399db5d82f95dc4aee13a1d479.png

操作完毕。验证方法:点击右上角的完整身体名(body.vb),如果右边中间的“vertex groups”中又有数据出现,就表示成功。

The operation is complete. Verification method: Click on the complete body name (body.vb) in the upper right corner. If there is data in the "vertex groups" in the middle on the right, it means success.

 

11、保存完整身体(body.vb)回mod文件夹

11. Save the complete body (body.vb) back to the mod folder

12、回到游戏,按下F10,试试身体是否正常

12. Go back to the game, press F10, and try to see if your body is normal

 

D, other

1. Thanks to tyaonyann and racing9041 for their enthusiastic and patient answers to the low-level questions of my pure newcomer.

2. Please reply to the mistakes and omissions

 

The above English comes from Google Translate

D、其他

1、感谢tyaonyannracing9041对我这个纯新人的低级问题热心而耐心的回答。

2、错误与疏漏之处,请回帖

 

以上英语来自于谷歌翻译

 

 

3dmigoto.py

Posted

轉移權重時,先選b 按著CTRL選body(確認vertex groups變空)再點Transfer Weights應該就可以了

如果用的全裸身體用非knight77版身體的話 右下角UV Maps要打開 選 TEXCOORD.zw

如果不這麼做 腹部會有一條接合痕跡

image.png.5f00446eb797d145433e8bc0fa44bb9a.png

  • 4 weeks later...
  • 2 months later...
Posted

感谢大佬分享,问一下身体空白的修复,意思是不是把内衣的hash改成和身体(nude)的hash一样的意思?

Posted

 

When the blender version is 2.92, the "Merge 3DMigoto Poses" command did not hit the search.
If you are developing a mod, I think you should lower the blender version to 2.83, but how about it?
 

 

blender 2.92.0

2_92.0.jpg.79617a3cd29b156d7dfa3e8b0153c5c6.jpg

 

 

blender 2.83.16

2_83.9.jpg.c29de1f6b16e2aeba71577103b804597.jpg

 

 

blender 2.79b

2_79b.jpg.31954612101098d1973ef4b338d05148.jpg

  • 1 month later...
  • 4 weeks later...
  • 2 weeks later...
Posted

I just found out that we can use the old add-on for Blender v2.92.0.

And sadly,  AAA077's sharing didnt work on any version of Blender.

Fortunately, at least a newer version than v2.8X can be used now.

Posted
On 9/26/2021 at 4:21 AM, starash said:

I just found out that we can use the old add-on for Blender v2.92.0.

And sadly,  AAA077's sharing didnt work on any version of Blender.

Fortunately, at least a newer version than v2.8X can be used now.

Regrets,These are two pictures attached by the author, I can't understand them

220116a3bq4eb1j0a7enj7.png

220259ruyjjpswy6y1twij.jpg

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...