MonoDrago Posted June 26 Posted June 26 View File PalMagic - Runtime Model Replacer PalMagic v0.2 by MonoDrago and Collaborators from the Palworld modding community! Presenting my open-source Palworld runtime model swapper PalMagic~! PalMagic has the following features Load JSON files with custom model information and apply it to Pals Load extra material files if required to apply to Pals Apply random custom models from the JSON lists to all applicable wild Pals Selectively apply custom models based on the Pal's characteristics Allow different custom models per Pal species Save the selected custom models selected for Player owned Pals in an individual manner Support for ShapeKeys/Morphs, they will be applied randomly to wild Pals and the settings will be saved for Player owned Pals Captured Pals will be saved with the settings they are caught with A cap of 1000 saved Pals was implemented to avoid making a massive save file, giving priority to the recently used ones A couple of hotkeys to cycle through the available custom models for each individual Pal Controls Shift + Z: will cycle through the available custom models for the closest Pal in proximity to the player (Can target Summoned Pals) Shift + X / Hold Controller Y/Triangle: will cycle through the available custom models for the Pal your crosshair is aiming at (Cannot target Summoned Pals) Installation Copy the contents of the corresponding platform to your "Content" folder Custom model paks should be placed in "~mods" while the Custom model JSON files should be put inside "~mods/ModelJSON" Once you have the files in their proper places, run the included "__ManifestList_Create.bat" file PalMagic uses a unique format for the model JSON files A python script is included (thank you xMenar!) to convert from other formats to PalMagic format, just place it on the other mod's swap JSON folder and it will automatically convert all the files and neatly place them in a ModelJSON folder just to be moved to the "~mods" folder NOTICE: The script will delete any other extra fields and conditions that aren't included in the ModelJSON example if the pack you are downloading already comes in a ModelJSON folder, it doesn't needs converting! the file contains an example of the JSON structure to follow, along explanations for the fields used Roadmap of features Spoiler More skin conditions, like temperature, HP values, Rank, etc Skin weights so people can make the skin more or less likely to be selected for randomly Skin locks (?) so a Pal gets locked in that skin and cannot be changed if desired to lock it FNV-1a for skin hashing Replication (whereas possible) of skins via the previous hashing (ie. all people who are in a multiplayer game can see the same skin if all players have it available) Proper saving of multiplayer game persist files (Currently all of the client sessions will be saved in a single file) Support of special/compatible skeleton models (this is in very heavy research, and may or may not work, but i will do my best to research it) Make sure to also check out Poki's alternative so you can pick the best mod for your needs~! DynamicPals at NexusMods Also join our Discord servers to download the source file, extra support and meet chill people~! T-Box's Server Jackal's Den Submitter MonoDrago Submitted 06/26/26 Category Palworld 3
ShadyKitsune Posted June 26 Posted June 26 Nice to see your work posted again Mono. Let's hope it stays up this time cause it is a unique piece of effort. 1
Algene Posted June 30 Posted June 30 Those future extra conditions look great, wonder if this would support changing the "voice" of the pals, specially Bushi, saw some anons talking about finishing bushianon's work for 1.0
ShadyKitsune Posted July 1 Posted July 1 4 hours ago, R>E>D>D>Y said: How does the converter file work, exactly? You need to download python from the official site, then once it's installed and setup, the converter is run while inside the SwapJSON folder. It'll make a ModelJSON folder inside it if it's done right and you move that into the outside folder (~mods) and it should be golden. 1
repholho Posted July 4 Posted July 4 Make sure the converter is running locally. Had to run it through the terminal using the prefix (i.e. ".\PalMagic_Converter.py") because otherwise it kept targeting the Program Files folder.
Msurikqp79 Posted July 5 Posted July 5 18 hours ago, repholho said: Make sure the converter is running locally. Had to run it through the terminal using the prefix (i.e. ".\PalMagic_Converter.py") because otherwise it kept targeting the Program Files folder. thats why you select the current path by clicking the address shown in file explorer
mbleat Posted July 10 Posted July 10 I'm running conventer.py in swapJSON folder with python instaled and getting this Spoiler [22:12:12] Starting conversion process... [22:12:12] Processing: DefaultQuestions.json -> [!] Error in DefaultQuestions.json: Incompatible structure: 'SkelMeshSwap' key missing. [22:12:12] Processing: IntegratedServicesRegionPolicySet.json -> [!] Error in IntegratedServicesRegionPolicySet.json: Incompatible structure: 'SkelMeshSwap' key missing. [22:12:12] Processing: MixedRealityRuntime.json -> [!] Error in MixedRealityRuntime.json: Incompatible structure: 'SkelMeshSwap' key missing. Conversion finished. Press Enter to close... What am i doing wrong?
ShadyKitsune Posted July 10 Posted July 10 6 hours ago, Bogobo123 said: Does this replace altermatic? It does. 48 minutes ago, mbleat said: I'm running conventer.py in swapJSON folder with python instaled and getting this Hide contents [22:12:12] Starting conversion process... [22:12:12] Processing: DefaultQuestions.json -> [!] Error in DefaultQuestions.json: Incompatible structure: 'SkelMeshSwap' key missing. [22:12:12] Processing: IntegratedServicesRegionPolicySet.json -> [!] Error in IntegratedServicesRegionPolicySet.json: Incompatible structure: 'SkelMeshSwap' key missing. [22:12:12] Processing: MixedRealityRuntime.json -> [!] Error in MixedRealityRuntime.json: Incompatible structure: 'SkelMeshSwap' key missing. Conversion finished. Press Enter to close... What am i doing wrong? For a start: Did you update the file for the 1.0 update? Afterwards, you want to follow this ordering for json conversion: Put the converter script in the swapJSON folder click the file explorer path bar and type "cmd" type "py PalMagic_Converter.py" and press enter This is just a suggestion off the top of my head because it is a little bit of a process to try to figure out.
mbleat Posted July 10 Posted July 10 Quote For a start: Did you update the file for the 1.0 update? Afterwards, you want to follow this ordering for json conversion: Put the converter script in the swapJSON folder click the file explorer path bar and type "cmd" type "py PalMagic_Converter.py" and press enter This is just a suggestion off the top of my head because it is a little bit of a process to try to figure out. I haven't updated yet for reasons but your recommendations helped. Thanks a lot. 1
Excell Posted July 11 Posted July 11 (edited) So with this mod, one should be able to use Tbox's and Jackal's mod together? I tried to get this to work, but I'm still getting deformed models when using both of the mods. Also can't use the controls to change the models. I got Jackal's mod to work. I hit the same wall as mbleat, and used ShadyKitsune's solution, which worked. I then added a couple of TBox's mods that caused the same deform issues as before. The models would start out as Tbox's, then switch to the deformed models. Am I missing something? Edited July 11 by Excell
Jaxon Hellsing Posted July 11 Posted July 11 I have the mod installed but I have no clue what I'm missing or what I'm doing wrong, as it's clearly not appearing in game. I have ModeljSON (for steam) in Palworld/Pal/Content/Paks/~mods and have PalMagic.pak in Palworld/Pal/Content/Paks/Logic mods, is this correct? I'm currently on Palworld 1.0 too. Shift Z and Shift X are not doing anything, so I must've done something wrong, but I don't know what.
ShadyKitsune Posted July 11 Posted July 11 1 hour ago, Jaxon Hellsing said: I have the mod installed but I have no clue what I'm missing or what I'm doing wrong, as it's clearly not appearing in game. I have ModeljSON (for steam) in Palworld/Pal/Content/Paks/~mods and have PalMagic.pak in Palworld/Pal/Content/Paks/Logic mods, is this correct? I'm currently on Palworld 1.0 too. Shift Z and Shift X are not doing anything, so I must've done something wrong, but I don't know what. He's updating it in places currently since there were changes to certain pals that break mods. But otherwise, your jsons were converted properly with no issues?
Jaxon Hellsing Posted July 11 Posted July 11 10 hours ago, ShadyKitsune said: He's updating it in places currently since there were changes to certain pals that break mods. But otherwise, your jsons were converted properly with no issues? Sadly I got the same message mbleat got even when running it through cmd
Excell Posted July 11 Posted July 11 Not sure if UE4SS or UniPalUI is needed, but I installed them first. Place ~mods and LogicMods directly into the Paks folder Place Jackals Pak file into ~mods Place the converter file into jackal's unzipped SwapJSON folder Type cmd in search bar type py PalMagic_Converter.py (no spaces)(not sure if that matters) - hit enter Then place the file it created into ModelJSON Run __ManifestList_Create located in ModelJSON Jackal's mod is broken right now, so there's really no point in using it since the game will crash as soon as you get close to a pal that needs to be updated. If you just want to make sure you can get jackal's mod working, starting a new game is safe since the pals at the starting area are still working properly. At that point, you could do your own testing to see which pals are causing problems. You would then need to remove the problem pal from the JSON file using an app like Notepad++ in my own, short testing - I found that Loupmoon may be a problem, though I didn't remove the code from the JSON file since I gave up. I'm just going to wait for updates and new pal models. Give our modding community some time to catch up.
Excell Posted July 11 Posted July 11 (edited) Not necessarily, but I'm not sure what mod you're trying to use then. Also, if you're just trying to use the model swap function from palmagic, I'm no help since I was unable to get this to work too, as I said in a previous comment. At this point, all I've really done is remove the need for altermatic, which was pointless. Edited July 11 by Excell
Jaxon Hellsing Posted July 11 Posted July 11 25 minutes ago, Excell said: Not necessarily, but I'm not sure what mod you're trying to use then. Also, if you're just trying to use the model swap function from palmagic, I'm no help since I was unable to get this to work too, as I said in a previous comment. At this point, all I've really done is remove the need for altermatic, which was pointless. Pal Magic has its own swap system right?
Excell Posted July 11 Posted July 11 Well yeah, that's the whole point of the mod. It doesn't have it's own models though, you would have to get them yourself. Seems like most people would use TBox's and Jackal's mods as the modder posted discord links in the discription.
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