Jump to content

A Very Basic Guide to Azur lane Modding


Recommended Posts

Posted
On 2024/9/8 at AM2點49分, Saphaya said:

您好,很抱歉回覆晚了,您可以將您的不和諧@放在這裡,以便我可以向您發送邀請

Hi, if you not trouble, can send me too?
ID:
mango_0726

Posted

So, with the release of the new 3D dorm.
image.thumb.png.1bf878be7034c9b37604c21d05efd1bf.png

Ya'll thinking what I'm thinking?

Also, seeing people ask for discords, if there are any discord servers for modding, am also interested. Not just Azur Lane but any other gacha games.

Posted
On 1/5/2024 at 1:23 AM, QuestionableIntentions said:

I just spent way too much time updating and fixing this, hope it helps:
 

https://github.com/QuestionableIntentions53x/AzurLanePaintingExtractPlus

 

I'm gonna be updating it for a while into the future, but the current release can at least repair images and convert a PNG to a texture file. Full instructions are included in the README . It's still a bit rough around the edges, so bear with it. If you have any problems feel free to message me.

Hi, Is there any way to prevent Sprite from being cut off?

image.png.dad9c5ac402fc276a61a4d17e28d0e92.png
Texture2D

image.png.3faf4015c1dc879a57ad468786b1410f.png

Sprite

image.png.60f2358db2c9d0af719536b08f07dc94.png
Final result

Posted
2024 年 9 月 8 日凌晨 2:49,Saphaya 说道:

您好,很抱歉回复晚了,您可以将您的不和谐@放在这里,以便我可以向您发送邀请

id:ggg1233909

thanks  :)

Posted
17 hours ago, Matsuri AI said:

Hi, Is there any way to prevent Sprite from being cut off?

image.png.dad9c5ac402fc276a61a4d17e28d0e92.png
Texture2D

image.png.3faf4015c1dc879a57ad468786b1410f.png

Sprite

image.png.60f2358db2c9d0af719536b08f07dc94.png
Final result

This happens because of the mesh data not because of the sprite, the best fix is to modify the mesh to be a square but Manjuu just recently started to update their game files and at least I don't know about a way to make it a square as of right now.

Posted
On 9/8/2024 at 1:49 AM, Saphaya said:

Hello sorry for the late reply, you can put your discord @ here so I can DM you the invite

Can you send me an invite as well please?
ID: supacutemilk

Thank you so much.

 

Posted

I made a 3D dormitory MOD. Is it okay to post it here? Or is there a more suitable place? Discord is too closed to search so I gave up trying to find it.

 

Spoiler

1.thumb.jpg.e1bf7337570ef1c19da0cd0bf69a3f1c.jpg2.thumb.jpg.0830315d81656ae17b22508a3c9ca3ed.jpg4.thumb.jpg.ff8f5f4f3b3721ef0c0b5ac863ef035c.jpg5.thumb.jpg.7db747e0d815ec772c4ccbe34e5dd8f8.jpg

 

Posted
1 hour ago, lewdragon7 said:

I made a 3D dormitory MOD. Is it okay to post it here? Or is there a more suitable place? Discord is too closed to search so I gave up trying to find it.

 

  Hide contents

1.thumb.jpg.e1bf7337570ef1c19da0cd0bf69a3f1c.jpg2.thumb.jpg.0830315d81656ae17b22508a3c9ca3ed.jpg4.thumb.jpg.ff8f5f4f3b3721ef0c0b5ac863ef035c.jpg5.thumb.jpg.7db747e0d815ec772c4ccbe34e5dd8f8.jpg

 

this would be the place yes

Posted (edited)

3D dormitory MOD data. Please overwrite the following files. Please make a backup before overwriting just to be safe. There are two types of normal costumes: one with the chest cloth down and one with it completely removed. Please rename the one you like to tianlangxing_noshoes and overwrite it.

tianlangxing_noshoes ...normal costume
tianlangxing_towel ...bath costume
Spoiler

21.thumb.jpg.a4a7f729a6f5e21fa1b22af61fdcc7b1.jpg

 

In my environment, the file location is as follows. I think the path and package name will be different depending on the environment, so please look for something similar.

/storage/self/Primary/Android/data/com.YoStarJP.AzurLane/files/AssetBundles/dorm3d/character/tianlangxing_db/res


Operation has been confirmed with NOX. I may not be able to answer questions regarding the actual machine or other emulators.

dorm3d_tianlangxing_mod.zip

Edited by lewdragon7
Posted
9 hours ago, Saphaya said:

Amazing mod, did you use UABEA to change the mesh model? I have a friend that can edit models too but I don't know how to put his edited model inside the game file.

Did the mod work properly? I was planning to fix it on the weekend if someone tried it and got an error, but it seems that no one tried it.
I use UnityEX to replace the mesh, but you can probably do it with UABEA. UnityEX is easier to use when you want to rewrite a lot of textures and meshes at the same time, or when you want to create variations like the chest cloth in this case. However, it is a paid software. I will summarize the steps to import your own mesh later.

 

By the way, I replaced the vase with a dildo. There are color variations, so please use the one you like. The asset path is as follows:
/Android/data/com.YoStarJP.AzurLane/files/AssetBundles/dorm3d/character/tianlangxing_db/timeline/ffliwu_chahuaping

Spoiler

1.thumb.jpg.b8dd2f7bfb58ae972f79c9433c99fd86.jpg2.thumb.jpg.a699a598898c9049cdf8f638d5a00507.jpg

 

ffliwu_chahuaping_scene.zip

Posted (edited)
5 hours ago, lewdragon7 said:

Did the mod work properly? I was planning to fix it on the weekend if someone tried it and got an error, but it seems that no one tried it.
I use UnityEX to replace the mesh, but you can probably do it with UABEA. UnityEX is easier to use when you want to rewrite a lot of textures and meshes at the same time, or when you want to create variations like the chest cloth in this case. However, it is a paid software. I will summarize the steps to import your own mesh later.

 

By the way, I replaced the vase with a dildo. There are color variations, so please use the one you like. The asset path is as follows:
/Android/data/com.YoStarJP.AzurLane/files/AssetBundles/dorm3d/character/tianlangxing_db/timeline/ffliwu_chahuaping

  Reveal hidden contents

1.thumb.jpg.b8dd2f7bfb58ae972f79c9433c99fd86.jpg2.thumb.jpg.a699a598898c9049cdf8f638d5a00507.jpg

 

ffliwu_chahuaping_scene.zip 1.6 MB · 0 downloads

I installed the mod (no chestcloth ver mod and towel mod), both work perfectly. Thanks for this new mod! everyone was thinking about this in that scene haha but somehow the site doesn't let me download it (edit: now it let me download it.)

Edited by Saphaya
Posted (edited)

I confirmed that mesh replacement is possible with UABEA. The general steps to replace a mesh are as follows:
1. Identify the asset file that contains the mesh you want to replace
2. Open the asset file in AssetStudio and check the version of Unity it was built with
3. Install the same version of Unity
4. Open the asset file with AssetStudio and export the mesh in FBX format
5. Edit the mesh with DCC Tools and export it in FBX format
6. Create a project in Unity and import the FBX of the modified mesh
7. Build
8. Export the mesh in Raw format from the asset file created after building
9. Open the asset file you want to modify and import the mesh with import raw

 

Notes for each step
1. Identify the asset file that contains the mesh you want to replace
This is the same process as image replacement, so I will omit it. Please refer to the file name and other information to identify it.

 

2. Open the asset file in AssetStudio and check the version of Unity it was built with
To replace the mesh, use Import/Export Raw. This requires the same version of Unity as the one used to build the game. It may work with a different version, but it may be difficult to pinpoint the cause if it fails.

1.png.666bfcf72e7515f7a7c1d1b14331905a.png

 

3. Install the same version of Unity
Download the relevant version from https://unity.com/releases/editor/archive . It's really easy now that we have Unity Hub. The minimum installation option is fine. Android Build Support is not required for Android games. A build for Windows will do.

 

4. Open the asset file in AssetStudio and export the mesh in FBX format
Export from Model in the main menu. I always export everything first with "Export all objects (split)" because it's a hassle.

2.png.cc9d20ce74eccd9de73e332733732065.png

 

5. Edit the mesh with DCC Tools and export it in FBX format
I use Maya to edit the mesh, but I think Blender and others will work fine too. Points to note are as follows.

- The bone binding order must be exactly the same as the original model data.
For Maya: The contents and order of influences must match. I recommend arranging it with a script after all work is done.
For Blender: It should be fine as long as the order of vertex groups matches. This has not been verified, so please let me know if an error occurs and I will look into it.

 

- The order of materials must be exactly the same as the original model data.
If you have one object and one material, you don't need to worry about anything. However, most game models have multiple materials assigned to one object. For example, two materials, skin and cloth, are assigned to a body mesh.
For Maya: Separate the objects by material, select them in the Unity material order, and then combine to adjust the material order.
For Blender: It should be fine as long as the order of material slots matches. Not verified.

 

6. Create a project in Unity and import the modified FBX
Create a "Resources" folder in the Assets folder. Drag and drop the FBX into the Resources folder to import it.
Set the following in the FBX import options.
[Materials]
Set "On Demand Remap" to "From Model's Material". You can leave the material at "None".

3.png.774253dab6503a6f39cdbc37bdf07027.png

 

7. Build
Build it. Even if you are replacing assets of an Android game, you can use the build for PC.

4.png.901b9984f524b93fd0419636b068501f.png

 

8. Export the mesh in Raw format from the asset file created after building
All assets in the Resources folder are included in a file called "resources.assets" even if you are not placed in the scene. Open resources.assets with UABEA, select the mesh you created, and click [Export Raw].

5.thumb.png.b00cb508624df71fff880c28f06ae9c0.png

 

9. Open the asset file you want to modify and import the mesh with import raw
Open the asset file you want to replace the mesh with in UABEA, select the mesh you want to replace, click [Import Raw], and save it.

6.thumb.png.58902e50251f7e9af1dec5ce11e4fb76.png

 

Open the saved asset file with AssetStudio to check if the replacement was successful.

6b.thumb.png.0ba7a5ceb0094b2166058d9daa4602b8.png

 

This is a swimsuit model created for verification purposes. It was created using UABEA. The path is as follows:

/Android/data/com.YoStarJP.AzurLane/files/AssetBundles/dorm3d/character/tianlangxing_db/res

 

I only made the barefoot model, not the shoed one. The beach volleyball scene remains the same.

Spoiler

7.thumb.jpg.67ea73a1a5884ca5915348a26ed2e93f.jpg

 

 

tianlangxing_swim.zip

Edited by lewdragon7
Posted

Great tutorial! Thanks for the write up. I appreciate people who are thorough in their explanations.

 

33 minutes ago, lewdragon7 said:

4. Open the asset file in AssetStudio and export the mesh in FBX format
Export from Model in the main menu. I always export everything first with "Export all objects (split)" because it's a hassle.

 

Interesting, I've always done export assets. Didn't realize this was the way to export to fbx. RIP

 

35 minutes ago, lewdragon7 said:

8. Export the mesh in Raw format from the asset file created after building
All assets in the Resources folder are included in a file called "resources.assets" even if you are not placed in the scene. Open resources.assets with UABEA, select the mesh you created, and click [Export Raw].

 

This all seems to line up as the only way to import mesh data back into unity atm. Is there a difference between UABEA and UnityEX in this regards? Obviously UABEA is preferred as being free.

 

I've also run into issues where modding the regular ship mesh for skins had certain unity attributes that were wanted by the game. I don't suppose if you know a good way to discern those? They may apply similarly in this situation where modding the base mesh is fair game, but replacing with a seperate mesh entirely might run into a similar issue?

Posted
52 minutes ago, lewdragon7 said:

I confirmed that mesh replacement is possible with UABEA. The general steps to replace a mesh are as follows:
1. Identify the asset file that contains the mesh you want to replace
2. Open the asset file in AssetStudio and check the version of Unity it was built with
3. Install the same version of Unity
4. Open the asset file with AssetStudio and export the mesh in FBX format
5. Edit the mesh with DCC Tools and export it in FBX format
6. Create a project in Unity and import the FBX of the modified mesh
7. Build
8. Export the mesh in Raw format from the asset file created after building
9. Open the asset file you want to modify and import the mesh with import raw

 

Notes for each step
1. Identify the asset file that contains the mesh you want to replace
This is the same process as image replacement, so I will omit it. Please refer to the file name and other information to identify it.

 

2. Open the asset file in AssetStudio and check the version of Unity it was built with
To replace the mesh, use Import/Export Raw. This requires the same version of Unity as the one used to build the game. It may work with a different version, but it may be difficult to pinpoint the cause if it fails.

1.png.666bfcf72e7515f7a7c1d1b14331905a.png

 

3. Install the same version of Unity
Download the relevant version from https://unity.com/releases/editor/archive . It's really easy now that we have Unity Hub. The minimum installation option is fine. Android Build Support is not required for Android games. A build for Windows will do.

 

4. Open the asset file in AssetStudio and export the mesh in FBX format
Export from Model in the main menu. I always export everything first with "Export all objects (split)" because it's a hassle.

2.png.cc9d20ce74eccd9de73e332733732065.png

 

5. Edit the mesh with DCC Tools and export it in FBX format
I use Maya to edit the mesh, but I think Blender and others will work fine too. Points to note are as follows.

- The bone binding order must be exactly the same as the original model data.
For Maya: The contents and order of influences must match. I recommend arranging it with a script after all work is done.
For Blender: It should be fine as long as the order of vertex groups matches. This has not been verified, so please let me know if an error occurs and I will look into it.

 

- The order of materials must be exactly the same as the original model data.
If you have one object and one material, you don't need to worry about anything. However, most game models have multiple materials assigned to one object. For example, two materials, skin and cloth, are assigned to a body mesh.
For Maya: Separate the objects by material, select them in the Unity material order, and then combine to adjust the material order.
For Blender: It should be fine as long as the order of material slots matches. Not verified.

 

6. Create a project in Unity and import the modified FBX
Create a "Resources" folder in the Assets folder. Drag and drop the FBX into the Resources folder to import it.
Set the following in the FBX import options.
[Materials]
Set "On Demand Remap" to "From Model's Material". You can leave the material at "None".

3.png.774253dab6503a6f39cdbc37bdf07027.png

 

7. Build
Build it. Even if you are replacing assets of an Android game, you can use the build for PC.

4.png.901b9984f524b93fd0419636b068501f.png

 

8. Export the mesh in Raw format from the asset file created after building
All assets in the Resources folder are included in a file called "resources.assets" even if you are not placed in the scene. Open resources.assets with UABEA, select the mesh you created, and click [Export Raw].

5.thumb.png.b00cb508624df71fff880c28f06ae9c0.png

 

9. Open the asset file you want to modify and import the mesh with import raw
Open the asset file you want to replace the mesh with in UABEA, select the mesh you want to replace, click [Import Raw], and save it.

6.thumb.png.58902e50251f7e9af1dec5ce11e4fb76.png

 

Open the saved asset file with AssetStudio to check if the replacement was successful.

6b.thumb.png.0ba7a5ceb0094b2166058d9daa4602b8.png

 

This is a swimsuit model created for verification purposes. It was created using UABEA. The path is as follows:

/Android/data/com.YoStarJP.AzurLane/files/AssetBundles/dorm3d/character/tianlangxing_db/res

 

I only made the barefoot model, not the shoed one. The beach volleyball scene remains the same.

  Reveal hidden contents

7.thumb.jpg.67ea73a1a5884ca5915348a26ed2e93f.jpg

 

 

tianlangxing_swim.zip 20.11 MB · 0 downloads

Thank you very much for your contribution! The Vase Mod also works perfectly for me (at least the brown version), good work. I'd love to talk more with you about this, if you don't mind I hope you can add me in discord (@Saphaya in discord too)

Posted
3 hours ago, ahpy said:

Great tutorial! Thanks for the write up. I appreciate people who are thorough in their explanations.

 

 

Interesting, I've always done export assets. Didn't realize this was the way to export to fbx. RIP

 

 

This all seems to line up as the only way to import mesh data back into unity atm. Is there a difference between UABEA and UnityEX in this regards? Obviously UABEA is preferred as being free.

 

I've also run into issues where modding the regular ship mesh for skins had certain unity attributes that were wanted by the game. I don't suppose if you know a good way to discern those? They may apply similarly in this situation where modding the base mesh is fair game, but replacing with a seperate mesh entirely might run into a similar issue?

The easiest way is to import the FBX exported from the original asset back into the asset file without editing it at all, and check if it's broken in the game. If it's not broken at that point, all the necessary attributes are included in the FBX, so all you have to do is work carefully not to destroy the data.

 

UABEA requires several times more clicks than UnityEx. Also, I feel there are many stressful operations. It may not be that different if I am importing a perfect asset without any defects only once, but if I am repeating trial and error, UABEA is a bit troublesome. Mesh replacement is rarely completed with a single import. One of the reasons I chose UnityEx was that the previous version of UABEA didn’t allow me to overwrite open asset files. However, when I checked the price of UnityEx again, it was four times higher than when I originally bought it, which makes it harder for me to recommend now.

Posted
On 10/14/2024 at 12:58 PM, lewdragon7 said:

Did the mod work properly? I was planning to fix it on the weekend if someone tried it and got an error, but it seems that no one tried it.
I use UnityEX to replace the mesh, but you can probably do it with UABEA. UnityEX is easier to use when you want to rewrite a lot of textures and meshes at the same time, or when you want to create variations like the chest cloth in this case. However, it is a paid software. I will summarize the steps to import your own mesh later.

 

By the way, I replaced the vase with a dildo. There are color variations, so please use the one you like. The asset path is as follows:
/Android/data/com.YoStarJP.AzurLane/files/AssetBundles/dorm3d/character/tianlangxing_db/timeline/ffliwu_chahuaping

  Hide contents

1.thumb.jpg.b8dd2f7bfb58ae972f79c9433c99fd86.jpg2.thumb.jpg.a699a598898c9049cdf8f638d5a00507.jpg

 

ffliwu_chahuaping_scene.zip 1.6 MB · 2 downloads

I had tried to check this scene for test until i found i didn't know how to trigger it...

Posted
45 minutes ago, wadsaasczxcwq said:

I had tried to check this scene for test until i found i didn't know how to trigger it...

You need to buy her preferred gift item (it costs gems) and you get it, you can afterwards rewatch it in the reminicense tab.

Posted
On 10/8/2024 at 8:16 AM, Solovan0116 said:

Found a mod for Friedrich der Grosse on pixiv

 

Pixiv link

https://www.pixiv.net/en/artworks/122296640

 

Link to the mod itself 

https://drive.google.com/file/d/1ORntUDMTaYkUE5RKcfhTkqv4sQR_ZtUr/view

 

预览.png

I wrongly moved this file to painting, and had no a backup.

Is there anyone can please upload the original file here before I have to download all the package? Path:  /Assetbundles/panting/feiteliedadi_3

Posted
43 minutes ago, wadsaasczxcwq said:

I wrongly moved this file to painting, and had no a backup.

Is there anyone can please upload the original file here before I have to download all the package? Path:  /Assetbundles/panting/feiteliedadi_3

I got you.

feiteliedadi_3.zip

Posted
On 9/8/2024 at 1:49 AM, Saphaya said:

Hello sorry for the late reply, you can put your discord @ here so I can DM you the invite

Sorry to trouble you but can you also invite me? discord: hulitan

Posted
On 10/13/2024 at 2:26 AM, lewdragon7 said:

I made a 3D dormitory MOD. Is it okay to post it here? Or is there a more suitable place? Discord is too closed to search so I gave up trying to find it.

 

  Hide contents

1.thumb.jpg.e1bf7337570ef1c19da0cd0bf69a3f1c.jpg2.thumb.jpg.0830315d81656ae17b22508a3c9ca3ed.jpg4.thumb.jpg.ff8f5f4f3b3721ef0c0b5ac863ef035c.jpg5.thumb.jpg.7db747e0d815ec772c4ccbe34e5dd8f8.jpg

 

What tools do you use? Can I know? 

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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