Fate Maker Posted January 27, 2023 Posted January 27, 2023 (edited) @amorrow28 how to use kuro_mdl_to_gltf.py to get gltf model in KURO NO KISEKI 2? I drag mdl files to kuro_mdl_to_gltf.py or double click it,but it doesn't work. Edited January 27, 2023 by fateli
coomi Posted January 27, 2023 Posted January 27, 2023 (edited) Nude bathing outfits. Includes every playable Kuro 2 girl. OPTION 1: MODEL REPLACEMENT This version directly replaces the bathing model files. [KURO2] NudeBathing 1.2.0 MDL.7z To install, extract the .7z file and move the "c" folder to the game's root folder. Overwrite files when asked. OPTION 2: 3DMIGOTO This version uses 3DMigoto to hack in the models while the game is running. You can toggle the mod on/off by pressing F2. [KURO2] NudeBathing 1.2.0a +3DMigoto.7z Note that you might see some odd shadows with the 3DMigoto version. They are caused by the original bathing model casting a shadow on the body. If it bothers you, use the .mdl version. To install, extract the .7z file and move everything to the game's root folder, next to ed9.exe. If you already have 3DMigoto installed for Kuro 2, you only need to move the Mods folder. If you have controller issues, disable the Steam overlay. If that doesn't help, use the .mdl version. Edited February 7, 2023 by coomi add missing Risette to migoto version 17
fakecheng Posted January 27, 2023 Author Posted January 27, 2023 (edited) DELETED Edited January 29, 2023 by fakecheng 1
ryuryuryuryuryu Posted January 27, 2023 Posted January 27, 2023 1 hour ago, coomi said: This is a very quick port of my Kuro 1 bathing clothes mod. I only changed two pixel shader hashes and checked that Agnes and Feri work. I'll naively assume that the rest of the girls work as well, as they all used the same hashes in Kuro 1. Let me know if something doesn't work. Reveal hidden contents [KURO2] NudeBathing 1.0.1 +3DMigoto.7z 5.45 MB · 19 downloads Included: - Agnes - Feri - Risette - Judith - Fie I don't think these girls' bathing models are used in the game, but I've included them anyway: - Naje - Nina - Saara - Shahina To install, extract the .7z file and move everything to the game's root folder, next to ed9.exe. If you already have 3DMigoto installed for Kuro 2, you only need to move the Mods folder. I will probably do similar models for the new girls too. I'll also look into making a .mdl version of this later. sorry but i cant use the gamepad to play the game after installing this mod
woofhat Posted January 27, 2023 Posted January 27, 2023 11 hours ago, amorrow28 said: KuroMDLTools_v1.1.0.zip 31.8 kB · 36 downloads Hopefully this means we can now all mod Kuro 2 to our heart's content. The code is compatible with both Kuro 1 and Kuro 2, which was NOT easy because the format has changed quite a bit. I felt this was the best thing to do though, because otherwise I would end up writing a new tool with every new release. Requirements, instructions etc are all on my original post in the Kuro 1 thread. Please note that Kuro 2 requires that all assets are compressed. If your mod has new textures, be sure to compress them with cle_compress.py, included in the download. Just put the script in a folder with your textures and run it, and it will compress them all. MDL files do not need to be compressed because my import script already compresses them. Also, now you can change the exporter to always give complete maps easily (while preserving command line options)! Just open the python script in notepad, and at the very top, change the "complete_vgmaps_default = False" to "complete_vgmaps_default = True" The tool is very new, so please report bugs. Do not report crashes with asset swapped MDLs, we have not figured out why the game sometimes crashes when renaming files yet. As always, the newest version will be at my GitHub. Enjoy! As always, I am excited to see what the community does with this. If you make something you like, I hope you share! Thank you for the tool. You are really fast.? It works very well!? The only difference compared to KURO 1 is that I can't delete unwanted mesh directly, otherwise the game will crash, but I don't think that's a problem.
coomi Posted January 27, 2023 Posted January 27, 2023 11 minutes ago, ryuryuryuryuryu said: sorry but i cant use the gamepad to play the game after installing this mod Disable the steam overlay and see if that helps
Renne Bright Posted January 27, 2023 Posted January 27, 2023 Is there one know where is Renne's dlc clothes model?I means that the dlc only on Jap.It's name maybe Night Cat.I don't found it.
Monty-R Posted January 27, 2023 Posted January 27, 2023 Which tool is for decrypt/encrypt the script files? If no one's doing the translation mod, I'll try to make my own.
Astergun Posted January 27, 2023 Posted January 27, 2023 Shizuna is also has bathing in this entry too!
amorrow28 Posted January 27, 2023 Posted January 27, 2023 12 hours ago, fateli said: @amorrow28 how to use kuro_mdl_to_gltf.py to get gltf model in KURO NO KISEKI 2? I drag mdl files to kuro_mdl_to_gltf.py or double click it,but it doesn't work. I assume you mean my kuro_mdl_to_basic_gltf.py script and not the older tool by uyjulian. It needs pyquaternion, sorry I will include an installer with the next release. You can type “python -m pip install pyquaternion” into the command line, or grab the install file from my G1M exporter.
coomi Posted January 27, 2023 Posted January 27, 2023 21 hours ago, amorrow28 said: To my fellow modders, Here is Kuro MDL Tools version 1.1! KuroMDLTools_v1.1.0.zip 31.8 kB · 52 downloads Hopefully this means we can now all mod Kuro 2 to our heart's content. The code is compatible with both Kuro 1 and Kuro 2, which was NOT easy because the format has changed quite a bit. I felt this was the best thing to do though, because otherwise I would end up writing a new tool with every new release. Requirements, instructions etc are all on my original post in the Kuro 1 thread. Please note that Kuro 2 requires that all assets are compressed. If your mod has new textures, be sure to compress them with cle_compress.py, included in the download. Just put the script in a folder with your textures and run it, and it will compress them all. MDL files do not need to be compressed because my import script already compresses them. Also, now you can change the exporter to always give complete maps easily (while preserving command line options)! Just open the python script in notepad, and at the very top, change the "complete_vgmaps_default = False" to "complete_vgmaps_default = True" The tool is very new, so please report bugs. Do not report crashes with asset swapped MDLs, we have not figured out why the game sometimes crashes when renaming files yet. As always, the newest version will be at my GitHub. Enjoy! As always, I am excited to see what the community does with this. If you make something you like, I hope you share! This is admittedly with an asset swapped model, but I am running into infinite loading screens on game startup when changing/adding new textures. I have compressed the textures and placed them in the correct folder. The game process keeps running even after closing the game window, and it's locking the textures until I manually end the process. Seems like it's failing to load them for whatever reason. I also tested changing to the texture to another vanilla texture. Changing woman01_body to woman02_body in materialinfo works without problems, but changing woman01_body to woman01_body_n (the normal map) causes the same infinite loading screen. They are both properly compressed .dds files from the vanilla game with the same resolution, so I'm not sure what's happening here. Also getting the same problem as @woofhat, removing meshes from the model causes a crash when the model appears on screen.
amorrow28 Posted January 27, 2023 Posted January 27, 2023 (edited) 23 hours ago, Monty-R said: Which tool is for decrypt/encrypt the script files? If no one's doing the translation mod, I'll try to make my own. You can use Kuro Tools, although there are new op codes so you will need to modify the Python code or wait for an update that adds Kuro 2 compatibility. The bigger problem is that the game refuses to load modified script and table files, even when we re-apply compression and encryption. I suspect that CLE (or Falcom) is now actively trying to stop fan translations… EDIT: This problem has been solved. Get working scripts here. Edited January 28, 2023 by amorrow28
amorrow28 Posted January 27, 2023 Posted January 27, 2023 6 minutes ago, coomi said: This is admittedly with an asset swapped model, but I am running into infinite loading screens on game startup when changing/adding new textures. I have compressed the textures and placed them in the correct folder. The game process keeps running even after closing the game window, and it's locking the textures until I manually end the process. Seems like it's failing to load them for whatever reason. I also tested changing to the texture to another vanilla texture. Changing woman01_body to woman02_body in materialinfo works without problems, but changing woman01_body to woman01_body_n (the normal map) causes the same infinite loading screen. They are both properly compressed .dds files from the vanilla game with the same resolution, so I'm not sure what's happening here. Also getting the same problem as @woofhat, removing meshes from the model causes a crash when the model appears on screen. Thanks, @fakecheng has reported the same thing. I will look after work. Although if it’s sensitive to the length of the file name, I wonder if there is a hidden check somewhere to prevent modding. I wanted to ask, has anyone tried modifying a texture and loading that on an unmodified model? I ask because the game refuses to load modified scripts and tables, and those are encrypted whereas models and textures are not. Still, I want to see where the problems are.
Fate Maker Posted January 28, 2023 Posted January 28, 2023 4 hours ago, amorrow28 said: I assume you mean my kuro_mdl_to_basic_gltf.py script and not the older tool by uyjulian. It needs pyquaternion, sorry I will include an installer with the next release. You can type “python -m pip install pyquaternion” into the command line, or grab the install file from my G1M exporter. Thanks a lot. After run “python -m pip install pyquaternion” in CMD .It works well.
fakecheng Posted January 28, 2023 Author Posted January 28, 2023 (edited) 5 hours ago, amorrow28 said: I wanted to ask, has anyone tried modifying a texture and loading that on an unmodified model? I ask because the game refuses to load modified scripts and tables, and those are encrypted whereas models and textures are not. Still, I want to see where the problems are. I tried modify Van's face texture without touching his MDL.Texture can load without problem. I also tried export his MDL,change both modified dds file name and texture name in material_info.json from "chr0000_00" to "chr1234_00"(which doesn't existed in the game originally),json size stay the same and the game can load it as well. Don't know if it help.I also noticed even the json stay the same size,the MDL after import is still has different size from export without change anything: chr0000.mdl original size: 1,711,485 bytes Export and import without modify: 1,708,785 bytes material_info.json modified while stay the same size: 1,708,791 bytes Edited January 28, 2023 by fakecheng 1
Fate Maker Posted January 28, 2023 Posted January 28, 2023 It is possible to use models from other games. I import Genshin Impact model convert from MMD format.But face weights are difficult to adjust so I just set all face weights to 1 and rigify head bone,that means chr has no facial expression. 4
alitsin Posted January 28, 2023 Posted January 28, 2023 @loxoss_Our God, please can you transplant Our God, can you transplant Alphen's nude mod to replace Van's model please??
amorrow28 Posted January 28, 2023 Posted January 28, 2023 22 hours ago, woofhat said: To replace the characters, you need to replace the following files. 1)<game_directory>\c\asset\common\model\***.mdl 2)<game_directory>\f\asset\common\model_info\***.mi For example, to replace Van's default costume with Agnes' bath towel. you need to replace chr0000.mdl with chr5001_c02.mdl replace chr0000_face.mdl with chr5001_face.mdl replace chr0000.mi with chr5001_c02.mi @woofhat thank you, I can definitely confirm after doing ~50-60 character swaps that the .mi files are the problem. How did you figure that out?? Anyways, here is a new version of the model swap script that will check for .mi files, and automatically inject those as well. It should still be useable with Kuro 1 (since Kuro 1 uses the .json extension instead of the .mi extension so my script will not find them, but they are both JSON files, lol). BE SURE TO RESTORE ALL YOUR ORIGINAL MI FILES! It will start to make backups, just like it does with .mdl files, and you will want to have correct backups. a00000 - inject kuro model.py As always, newest version at my GitHub. 5
coomi Posted January 28, 2023 Posted January 28, 2023 9 hours ago, amorrow28 said: Although if it’s sensitive to the length of the file name, I wonder if there is a hidden check somewhere to prevent modding. I renamed my custom texture to "woman99_body" and it's now working perfectly. It seems like the new textures need to have the same filename length as the texture that you're replacing.
amorrow28 Posted January 28, 2023 Posted January 28, 2023 The texture name length thing is very weird but that’s a great breakthrough, @fakecheng and @coomi! Thanks for letting me know about the mesh delete thing, @woofhat and coomi. I will look into seeing if there is a bug somewhere. I am taking a short break from the MDL tool to port my unskirt mod, because my brain is tired haha. But can someone please try something for me? Instead of deleting a mesh, try replacing the .ib file with a 0 byte file. Can you see if that works? That will be an important clue for me. Thanks!
fakecheng Posted January 28, 2023 Author Posted January 28, 2023 (edited) 1 hour ago, amorrow28 said: The texture name length thing is very weird but that’s a great breakthrough, @fakecheng and @coomi! Thanks for letting me know about the mesh delete thing, @woofhat and coomi. I will look into seeing if there is a bug somewhere. I am taking a short break from the MDL tool to port my unskirt mod, because my brain is tired haha. But can someone please try something for me? Instead of deleting a mesh, try replacing the .ib file with a 0 byte file. Can you see if that works? That will be an important clue for me. Thanks! I post what I found on discord.The problem doesn't seem to be the json size or texture name length.Look like it is about MDL format. In short Export K2 mdl>change texture name>import back to K2 mdl>Launch K2 and game stuck. Export K2 mdl>change texture name>import back to K1 mdl>Launch K2 and work fine. I tried the 0 byte .ib you said anyway. Change all the .ib to 0 byte>Game launch and model invisible Change all the .ib to 0 byte and change json textures name>Game stuck Edited January 28, 2023 by fakecheng
coomi Posted January 28, 2023 Posted January 28, 2023 Model replacement for Celis' bathing outfit. No 3DMigoto required. Download is in the post above with the rest of the bathing clothes. I'll keep updating that post with all my downloads. There is a small hand seam that's sometimes visible depending on the lighting. Not sure what's causing it, as I made really sure to smooth out the texture. I will try to do the missing girls next week. I think that's Elaine, Nadia, Shizuna, and Renne. Am I missing someone? 2
fakecheng Posted January 28, 2023 Author Posted January 28, 2023 (edited) 40 minutes ago, fakecheng said: I post what I found on discord.The problem doesn't seem to be the json size or texture name length.Look like it is about MDL format. In short Export K2 mdl>change texture name>import back to K2 mdl>Launch K2 and game stuck. Export K2 mdl>change texture name>import back to K1 mdl>Launch K2 and work fine. I tried the 0 byte .ib you said anyway. Change all the .ib to 0 byte>Game launch and model invisible Change all the .ib to 0 byte and change json textures name>Game stuck An example for my Kilika over Van mod.I do it from scratch so all the model files and json are K2 files.Her underwear is a new mesh(I didn't make underwear texture yet so it is normal the texture look wrong) and her body is custom texture.You can see both adding meshes and custom textures work fine after I import the files into a K1 MDL. Edited January 28, 2023 by fakecheng 1
woofhat Posted January 28, 2023 Posted January 28, 2023 4 hours ago, amorrow28 said: @woofhat thank you, I can definitely confirm after doing ~50-60 character swaps that the .mi files are the problem. How did you figure that out?? Anyways, here is a new version of the model swap script that will check for .mi files, and automatically inject those as well. It should still be useable with Kuro 1 (since Kuro 1 uses the .json extension instead of the .mi extension so my script will not find them, but they are both JSON files, lol). BE SURE TO RESTORE ALL YOUR ORIGINAL MI FILES! It will start to make backups, just like it does with .mdl files, and you will want to have correct backups. a00000 - inject kuro model.py 4.48 kB · 8 downloads As always, newest version at my GitHub. Try more, you can always try it out. Actually I am not sure what these mi(json) files are for.
fakecheng Posted January 28, 2023 Author Posted January 28, 2023 (edited) 6 hours ago, fakecheng said: An example for my Kilika over Van mod.I do it from scratch so all the model files and json are K2 files.Her underwear is a new mesh(I didn't make underwear texture yet so it is normal the texture look wrong) and her body is custom texture.You can see both adding meshes and custom textures work fine after I import the files into a K1 MDL. Update: I just finish most of the meshes edit and custom textures of my Kilika2Van mod and play a little around.Although K2 can play K2 modified model and json with K1 MDL,the meshes and textures are not always working. This is how my Kilika2Van mod look at normal state(Ignore her face,I didn't fix it yet): Spoiler This is how she look in equip menu,some meshes like her flower at the chest and her mouth are missing: Spoiler When running around in the map,textures will mess up in some certain angle: Spoiler Textures mess up most of the time in the first cutscene when Van show up: Spoiler Edited January 28, 2023 by fakecheng
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now