• Hi Guest! To get rid of ads on the page, please consider donating through user upgrades or other methods.

How to UE4 Introduction to Texture Modding for BnS UE4 * Updated 12/7/2022*

Zommie

Cricket
Donator
License
Member
3my1zCl.png


THE INFORMATION OF THIS TUTORIAL IN THESE FORUMS IS SLIGHTLY OUTDATED.

I did a revision to the tutorial in December of 2022. Instead of amending this page, I'll link you to all my tutorials that teach how to do cosmetic mods for BnS. If you are new to BnS modding or even if you were looking to follow this tutorial, I suggest starting with the UAssetGUI tutorial as this program makes modding BnS a lot faster and easier.

Any methods found on these forums that use hex editing for modding the UE4 version of BnS are OUTDATED. Hex editing has been replaced by UAssetGUI. Don't torture yourself by using old methods.

All my BnS Tutorials
I'm done with BnS and helping its shitty remaining player base, so don't contact me for anything regarding the game.

Just in time for us to get hit with the sig lock that prevents modding.

This tutorial was supposed to be out like 4 months ago but I unfortunately never had the time to finalize it until now.

I’ve been casually texture modding games for many years and this type of thorough tutorial was something I had planned during UE3. I never got around to it because I got into texture modding BnS very late into the UE3 lifespan and figured it would be obsolete in less than a year but now with UE4 fresh, this tutorial will actually be relevant for a bit, so I hope it will help others understand how to start texture modding the game and also give you all the tools you need.

While this tutorial uses tools meant to work with the NA/EU region, some of the knowledge can transfer over to other regions and game assets to edit may be in the same paks.

Tools Needed
Everything is free, except for Photoshop if you choose to use this program to edit textures.

- Photoshop, Gimp, or other image editing software but I highly recommend using one that supports Alpha Channels. Clip Studio doesn’t support Alpha Channels but can be used if you rebuild the Alpha Channel in another program or if your texture simply doesn’t use Alphas.

- KimCoder’s Bns UE4 ModTool for unpacking and repacking.https://www.bnsbuddy.com/threads/bns-ue4-modtool.2651/

- UE Viewer - https://www.gildor.org/en/projects/umodel

- Unreal Editor Ver 4.25.4 and pick the creator’s license one - https://www.unrealengine.com/en-US/download

- Notepad++ - https://notepad-plus-plus.org/downloads/

- Pak File List in xml format from the Mod Police Discord. https://mega.nz/file/8J8U1QbI#VmueJ9N1aTNH4KTSbOczZrim3h5JBxRdU-SecRjlHx4
Getting the Files You Need
Probably the biggest pain in the ass aside from actually working on your textures. You will use UE Viewer for this. I personally put the entirety of the Viewer inside the game’s folder in BNSR, then Content. That way, I don’t have to search for the game and it opens all the paks by default.

NWDesjn.png


You will need the BnS AES key, which is 0xD2E5F7F94E625EFE2726B5360C1039CE7CB9ABB760A94F37BB15A6DC08741656

This key works as of the day this tutorial was made. I have the key saved to a text document where UE Viewer is located.

There are two ways to find the files you need from what I know. From easiest to hardest.

- If you have old mods from UE3 or your old UE3 installation still around, open the UPK(s) with the UEViewer and look for the “core” number or name of the texture you will be using. The Object line in UE Viewer contains the core number or name you can search in Pak File List. Screenshots of the files you used before that contain the Object or Core are also good.

- Find them manually in the UEViewer. I’m fortunate enough to just be working with old mods from UE3 for now. You will have to look through all textures and know which one it is that you need. The Object line in UE Viewer will contain the core number or text you can search in the Pak File List.

- Textures will be located in Game > Art > Character inside the UE Viewer. There are different folders, such as Cloth (outfits) or Face (stuff like makeup, eyelashes…) and you can also find the mesh somewhere in there.

Here is an example of the Object number you will need and where the textures are located in UE Viewer.

IMFghGj.png


Next, open the Pak File List xml in Notepad++. And now it’s time to Search the core number or text found in the Object line of the texture or mesh you are trying to edit within the game’s new paks system. Use Find All in Current Document.

Note: If you get errors opening files with Notepad++, make sure you did download the correct version for your operating system.

wxUNc3V.png


You can see here that Pak6 contains the texture because it has the Cloth path in the entire line and has things like the Physics. You can ignore the search result with "CS_Set".

Copy and paste the entire line starting with "Pak_F...etc" somewhere or keep your Pak File List opened. You will need this exact folder path line later on in the tutorial.
Unpacking The Pak to Obtain the Texture and the Organized File Paths
Optional Step

This step is mainly if your texture is NOT found in the Pak File List due to it being a new outfit. If you know which Pak it's contained in, extract it because you will need the exact folder path name that is found within the game's files for later. For here, we will extract Pak6 as an example. You just drag and drop it onto the ModTool. The tool will give you the folder inside your Paks. I recommend clearing the main Pak folder out of any extracted paks asap, as having too many in there has caused crashes for me in UE Viewer when I was trying to extract assets.

Q4FFpqH.png


Go back to UE Viewer and export your texture. It can be exported as a TGA (uncompressed) or a DDS (sometimes a texture may bug out as a TGA; you will know because there are black dots everywhere). There will be a UModelExport folder wherever you put your UEViewer. In my case, it’s within the game’s folder itself.

NH9SlIn.png


Make a backup of your texture if you want. Open your texture in your image editing program and what you do here is dependent on your skill level as a texture modder.

ycBdMPi.png


Save it as a TGA, even if you exported as a DDS, and keep the exact same name. The reason why I’m saving as TGA for this tutorial and not DDS is because Unreal Editor throws out an error (for me personally) when trying to import DDS files from UE Viewer or even those saved in Photoshop. I was not able to proceed with texture modding by using DDS because of this. TGA files are compatible with Unreal Editor and they are saved in the DDS format through there anyways once baked. The default option in Unreal Editor will work for BnS for the types of textures I’m doing, which are mostly recolors or minor edits.

This is it for saving the texture part. Now we can set up Unreal Editor
Rebuilding the Game's Folder Path Inside Unreal Editor
Go through the process of downloading the Unreal Editor. Once you're inside the Epic Games launcher, make sure you get version 4.25.4. This is the one BnS uses.

Here, I already have my workspace set up but I'll guide you through just setting up a blank project for texture modding.
Choose Games.

gsYiV12.png


Choose Blank.

7QXpQ8B.png


And everything here is fine. Name it whatever you want and remember it will be located in your Documents.

PkYGxqT.png


- After you have your blank project, we need to rebuild the exact folders paths used inside the game’s files. This is also the reason why in the Optional Step, you needed to unpack your pak if it was a new outfit.

If your mod fails to load in the game, it is likely because you didn’t rebuild the exact folder path. You can follow my folders for the tutorial and you will understand how to do it on your own if you start doing textures from other categories. The folders don’t change much.

In the content browser of the Editor, make a new folder. Name it the exact name of the Pak you found in the Pak File List or as the one you extracted. In my case, it’s Pak_F_LP_6-WindowsNoEditor.

rgryuzV.png


Now just keep making folders inside the first folder that rebuild the exact path in the game's files. The next folder inside will be BNSR. If you toggle the "Show or hide the sources panel" then you can see the folders even easier.

l5p3Bw4.png


Now make a folder inside the BNSR folder. The next one is Content. Once you get to the folder with the Korean characters, you can just copy and paste it.

x4MbL0Y.png


I stopped after LynM and did not make a "Mesh" folder. This is because this would be the wrong folder to make for texture edits. The next folder is actually called Texture and you can see it is set up like this in the extracted pak.

nyiMGlk.png


Now everything will be set up properly. Once you are at the final folder, you just drop your TGA files in here named exactly how they appear in the game. If you need to make any edits to your textures back in your image editing program, you don’t have to redrop them. You can simply choose to “re-import” by clicking on the texture and it will pull up a new window; the saved changes to the TGA will appear. The default options for Unreal Editor will work for BnS so far for me. I have not experienced crashes (other than the shitty game crashing for no reason regardless of mods). The Editor will take care of saving them as a DDS for you.

G8gX8mi.png


Now it’s time to “bake” it in Unreal Engine. This will give you the exact files that the game will be able to read.

Go to File, Package Project, and pick Windows 64 bit. You just choose “Select Folder” after that. It will start to give you the files you need and the first time you do this, it may take a while but will be faster afterwards.

IlUhRXk.png


For me, the files I need are in this path. I’ve seen people have different paths but you can make sure you have the right files if they look like this. Now it’s time to repack your folder.

5Lb2ii7.png


Optional

If you plan to do many different types of mods, you can organize yourself in the Content Browser with some folders. Like my Texture and Font folders. But do keep in mind you cannot add new folders inside the folders starting with the Pak names. You also can’t have too many folders prior to the Pak name folder or Unreal Editor will throw out an error and be unable to repack your files.

aKl2Z3B.png
Repacking Your Mod and Giving It a Sig
Simply drag the folder that Unreal Editor gave you into the ModTool's "Repack". The file you get back that has a _p.pak at the end is what you need.

0ZlyWhR.png


You can rename your mod now to whatever you want BUT make sure that there is a _p at the end before the extension. Also, I highly suggest putting your mod inside of a folder and starting the name with "Mod_". The reason for this is because there was an issue of games not starting up due to certain mods if a voice pack mod is also present. Having the folder set up makes sure that your mod is fully compatible with all other mods. I'm not sure why this happens with UE4 mods.

For example, this is what my mod will have to be named. Now you grab any sig from the pak folder inside your BnS game and give it the exact same name with the _p at the end as well. This works for now but unfortunately, a change to how the sig works is coming and custom sigs will have to be made later on. Once that happens and someone finds a way to make custom sigs, I will update the tutorial but the change is not live in NA/EU yet.

Your mod will load into the game now by putting it inside a “Mods” folder along with the paks.

XgQ6dzq.png
This concludes the texture modding tutorial!

If you have any suggestions on how to improve the tutorial or know ways to make this entire process even faster and more efficient, please let me know. I just started texture modding UE4, so my knowledge is very basic on how to get all of this working again.

As an extra tip, if you’re knowledgeable about Blender, you can import the mesh into it and work on your textures that way. This way, you don’t have to keep loading in the game for previews. It saves a lot of time. Some texture colors will still look different in the game vs Blender, though. This is something I used to do back in UE3.

I have now made a tutorial with some basic Blender information on how to import your outfit into it. Please see the "Putting the Outfit Pieces Together in Blender and Removing Parts Not Needed" section of my Mesh/Outfit Combination Tutorial if you're interested in the steps to accomplish this. It will save you a lot of time with your texture modding, as you don't need to keep reloading the game to view changes.
 
Last edited:

Lirbo

Cricket
Member
Hi thanks for the tutorial but I'm afraid Repacking doesn't work properly? it just doesn't generate anything
 

Zommie

Cricket
Donator
License
Member
Hi thanks for the tutorial but I'm afraid Repacking doesn't work properly? it just doesn't generate anything
Could you post a screenshot of your Unreal Viewer folder that you're trying to pack so I can troubleshoot it? And you are using Kim's tool to repack it?
 

Lirbo

Cricket
Member
Could you post a screenshot of your Unreal Viewer folder that you're trying to pack so I can troubleshoot it? And you are using Kim's tool to repack it?
n9S1KIS.png

I tried both the Content folder and the Pak_F_LP_6-WindowsNoEditor folder (which is the highlighted folder)
 

Zommie

Cricket
Donator
License
Member
n9S1KIS.png

I tried both the Content folder and the Pak_F_LP_6-WindowsNoEditor folder (which is the highlighted folder)
Wtf, this is really weird lol. Everything appears to be in order.
The folder that should be packed is the one inside the Content anyways, so the "Pak_xxx" one. Check the folder that the Mod Tool came in to see if the mod got packed there instead?

Also, make sure the Mod Tool stays inside the folder it came with as I assume it needs the other files in there to work properly. Let me know if this still doesn't work.
 

Lirbo

Cricket
Member
Wtf, this is really weird lol. Everything appears to be in order.
The folder that should be packed is the one inside the Content anyways, so the "Pak_xxx" one. Check the folder that the Mod Tool came in to see if the mod got packed there instead?

Also, make sure the Mod Tool stays inside the folder it came with as I assume it needs the other files in there to work properly. Let me know if this still doesn't work.
Thanks for the quick response, though I'm afraid it still does not work. I tried to also open the Mod Tool as administrator (though when you do that you gotta paste the path manually as dragging won't work), and yes all of the ModTool files are on the same Folder
 

Zommie

Cricket
Donator
License
Member
Thanks for the quick response, though I'm afraid it still does not work. I tried to also open the Mod Tool as administrator (though when you do that you gotta paste the path manually as dragging won't work), and yes all of the ModTool files are on the same Folder
I have a ghetto solution for you since I'm not sure why the tool is not working. There is also just the regular Unreal Pak with Oodle made to work with BnS mods. So I will include this file. Follow the path in my screenshot attached here and just drag and drop your mod onto the repack bat file. It should give you the packed up mod.
If this STILL doesn't work, I may have to look at the contents of your mod to see if there is something up there.
Capture.PNG
 

Attachments

  • UnrealPak_4.25_with_Oodle.zip
    4.3 MB · Views: 53

Zommie

Cricket
Donator
License
Member
n9S1KIS.png

I tried both the Content folder and the Pak_F_LP_6-WindowsNoEditor folder (which is the highlighted folder)
I just saw this reply from someone at Kim's forum post perhaps having a similar issue to yours? Try deleting the numbers off the folder. Kim himself gave me the tool at first, so mine doesn't have any numbers in the folder name.
Capture.PNG
 

Lirbo

Cricket
Member
I just saw this reply from someone at Kim's forum post perhaps having a similar issue to yours? Try deleting the numbers off the folder. Kim himself gave me the tool at first, so mine doesn't have any numbers in the folder name.
View attachment 6272
lol what numbers? Where am I supposed to see them?
This is where I extracted my ModTool to:
9se60nl.png
 

Zommie

Cricket
Donator
License
Member
lol what numbers? Where am I supposed to see them?
This is where I extracted my ModTool to:
9se60nl.png
Oh, I think I know why it doesn't work now. It's not in its own folder so the program must not be able to start up with what it needs.
Make a separate folder and set it up like this. Or make a folder with this exact name as mine and extract everything in there again.
Capture.PNG
 

Lirbo

Cricket
Member
Oh, I think I know why it doesn't work now. It's not in its own folder so the program must not be able to start up with what it needs.
Make a separate folder and set it up like this. Or make a folder with this exact name as mine and extract everything in there again.
View attachment 6273
ily!
Also about Sigs, so just any .sig from the Paks folder? shouldn't it be from the same .pak?
AKA for the LynM grab the specific .sig: "Pak_F_LP_6-WindowsNoEditor.sig"?
 

Zommie

Cricket
Donator
License
Member
ily!
Also about Sigs, so just any .sig from the Paks folder? shouldn't it be from the same .pak?
AKA for the LynM grab the specific .sig: "Pak_F_LP_6-WindowsNoEditor.sig"?
Glad that the repacking works now!
Any sig from any pak works for BnS modding.
 

Lirbo

Cricket
Member
Glad that the repacking works now!
Any sig from any pak works for BnS modding.
Thank you very much, I face issues installing mods in general to the game (other than your JP pack which works perfectly). I know it's a little off-topic to this thread, is it supposed to install itself to the game by simply dropping it at:
C:\Program Files (x86)\NCSOFT\BnS_UE4\BNSR\Content\Paks\Mods
Or I'm supposed to go through additional steps?
 

Zommie

Cricket
Donator
License
Member
Thank you very much, I face issues installing mods in general to the game (other than your JP pack which works perfectly). I know it's a little off-topic to this thread, is it supposed to install itself to the game by simply dropping it at:
C:\Program Files (x86)\NCSOFT\BnS_UE4\BNSR\Content\Paks\Mods
Or I'm supposed to go through additional steps?
Which mod are you having issue installing?

And yes, that should just automatically work if you drop it there. A few reasons it doesn't work:
- Maybe you have a mod that conflicts with it and not letting a specific mod install. A way around this is to just put all mods in their own folder and start the name with "Mod_", like in the screenshot I'm attaching of my mod set up.
- The names of the mod and sig are not identical.
Capture.PNG
 

stel

Cricket
Member
hi i have a question about "
Next, open the Pak File List xml in Notepad++"

where this file is located? i dont see him.
 

skylifex

Cricket
Member
@Zommie did u use blender ? when i export the file everything work fine on ue4 but once i try to equip outfit it wont work

i trying to export it to fbx file working good on ue4 but showing invisible on game


@MochiMochiDesu1995
Post automatically merged:

plz help i am stuck here when import uasset and skeleton and physics via blender fbx method
 

Attachments

  • Screenshot01830.jpg
    Screenshot01830.jpg
    1.3 MB · Views: 41
Last edited:

Zommie

Cricket
Donator
License
Member
hi i have a question about "
Next, open the Pak File List xml in Notepad++"

where this file is located? i dont see him.
Unsure if you still needed help but the file you need is right here in the "Tools" section of the tutorial. There is an update to this file and I think the new one is pinned in the modding channel of the BnS Buddy Discord. I'll try to update the main post at some point with the new file. Screenshots_2022-04-07-01-24-13.png
 

Zommie

Cricket
Donator
License
Member
@Zommie did u use blender ? when i export the file everything work fine on ue4 but once i try to equip outfit it wont work

i trying to export it to fbx file working good on ue4 but showing invisible on game
I have only used Blender in UE3 to preview how textures would align. I would export a model out of UModel and then import it into Blender only to preview textures. I never imported a model back into the game for UE3 or UE4, so I'm afraid I can't help you with this.

It's my hope to eventually learn how to import 3D models into BnS and make a tutorial available for everyone, as I know there are a few people wanting to learn how to do it. It would also be great if anyone got it done before me and I will never understand why people keep resources to themselves when it comes to modding.
I do understand the inconvenience to some people of being bombarded with questions and troubleshooting but I rather they put they don't wish to be bothered and still get some sort of tutorial out there as a starting point.
 
Top Bottom