How to Mod Palworld - Audio

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone Mr science mover here today is going to be a tutorial on how to mod audio in power world I know some people have been requesting this I haven't seen any tutorials on it yet so this is going to be my video walk through uh so first thing we're going to start with f model um if you don't know how to open F model watch my first video so we're going to go into the files here in F model and we're going to want to go to to Pal content pal and sound and this is going to be where all of our sounds are stored so we could head straight into the media folder and this is going to give us basically every single sound in the game but these numbers are not meaningful to us right now um so what we're going to do instead is we're going to go to events and se sound events and here is where all of our sound events are stored so we can see we have events for map objects so we can find uh the bonfire building opening a chest using a frying pan um specific Pals and their actions when they do that um here's for the player here's for skills um so for a tutorial let's just change the sound of a player punching so we're going to go ahead and open that and we'll see the sound when player swings and so we open this U asset this is going to tell us what number we actually want so it looks like this action which is swinging is correlated with these three files so we're going to note these down down so I'm going to actually copy them and open up a notepad so I can look them up so we have this one this one and the last one I'm going to replace all three of these I'm assuming these are all going to be like a randomization so it picks one of these three but we'll check in a second um so I can click on it and it should I have it set to the wrong output so we can hear what that sounds like we can click on the second one and the third one all relatively similar but we're going to just replace all three of them um so these are located in that media tab I was talking about earlier so we're going to go back into media uh and we actually still have the numbers up here so that's nice we're going to go to the first one 241 something 24169 347 so we're going to pick that one we're going to export raw data we go to 6714 for that one which is this one oops export that and 7599 and we'll export that one for our data so now we have our files um we can go into our F model output output um into the folder that we just talked about the media f folder I have some exported sounds from earlier um but now we can play the waves of the files that we just exported if we want to so I can play this again for you that's what that sounds like but what we actually want here is the U asset and the uex the UB bulks are really not that important for right now but I'm going to copy all of these files into a working folder this anymore so this is going to be my working folder with a python script that I wrote it will be using in just a bit so I'm going to delete the ulks because those are the original sounds that I want to replace and I don't really need them right now um and what I'm going to do is I'm going to open audacity now this is going to let us even if we have audio that we already know we want to to import is going to let us convert it to the proper um the proper format so I'm going to go ahead and open some audio okay so I found this beautiful audio that I'm going to put into the game to play whenever we swing it's going to sound like this so that's what we're going to hear every time we swing um and what we're going to do is is um this one's actually in the correct format already but what we want is Stereo 48,000 H Hertz 32-bit float and the way we can change that is just by going to format check 32-bit float Rate Check 48,000 Hertz and once we have that in the correct format we can go ahead and Export as wave and make sure we pick the 32-bit float encoding and I'm just going to export that to this folder I'm go ahead and close audacity so we have our wave and now the question is how do we get that into the format that the game can read which was the ubook that we deleted earlier so the way we do that is by using W which is a program that you might have installed if you're already working with the power world modding kit because it's required to launch that but if you don't have that installed then you're going to have to install wi separately so what we're going to want is the version that power uses which is 20211 point11 and to install that we'll go to the bottom here we check all we click 20 21.1 and we pick 11 uh I already have this installed but it should say install here um important note you will have to create an account and log in in order to use W wi so I'm we're going to go ahead and once that's installed I'll launch wwise uh if you don't have a project here already like I do we'll hit new and we can create a project we'll call it tutorial audio make sure platform is Windows we'll pick the location which we I'll just put it in the same folder I was working in and we'll just keep all the other defaults and hit okay um this is fine we can just close that um so what we want to do first is we'll go to Project import audio files and we're going to import the audio that we just had so the wave that we just exported so we're going to click add files going to navigate to that wave and we're going to import that click import and now that that's imported into our project we're going to click convert all audio files and we're going to convert for Windows and that's actually all we needed wi for is to convert the ulk convert the wave into a ulk uh so I'm going to go ahead and close this I don't even need to save my project and what that did is it generated a file for us in the do cach folder Windows sfx and now we have this wem file here and you might be asking what a wem file is it's just a ook it's the exact same so we're actually just going to go ahead and rename this to one of these uh we're going to have to replace it with all of them so I'm going to start with the first one we'll name it the same exact number and then we'll copy that two more times and and we name the others so now that we have all of our uls in place we're almost done we have one last step which is to change the uex to refer to the new ulk size so the ux actually has has a number in it that tells it how big the ubook it's expecting is so we have to actually change that if our new audio is not the same length as our old audio and that's what this python script does so I'm going to show you first where this number is and then I'm going to run the python script so let's open a uxp we can see it's pretty small uh it has the name of the audio that it's replacing platform windows and right here is the size in bytes of the file so it's actually the original ubok was 5,6 1 bytes but our new ulk is if I open properties it's 27 two70 27,400 bytes thank you I got there eventually so we're gonna have to actually put that number right here but that's what this python script does so I'm going to drag this ulk onto the python script and we can see in our uxp it just Auto updated that for us now the number is correct so I'm going to do that for the other ones as well I'll just drag those onto the python script and then we should be good so I'm just going to go ahead and create a mod folder for this so we're going to call it tutorial audio P we're going to recreate the file structure that we got these audio files from so it's going to be pal content and we're just going to drag our new files if I can find them let me open this window we're going to drag our new files right in there and then we're going to pack this folder up with unreal pack and we're all good to go so I'm G to copy this I'm going to put it in my packs folder and I'm going to launch power world all right so now we're in the game and moment truth I'm going to punch and uh sound effects hopefully guys can make something more interesting this but that's uh just what I had on hand uh so yeah good luck and happy modding
Info
Channel: Smoovers
Views: 1,779
Rating: undefined out of 5
Keywords: smoovment, smoov
Id: 0foZzES18B0
Channel Id: undefined
Length: 12min 11sec (731 seconds)
Published: Sun Feb 04 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.