### If you want to use this to port maps to payday3 you will need imagemagick because the .dds files need to be converted to .png because UE 4.7 cant import .dds files
**It should also have printed out what files you will need to export u will need to remember that**
![](/assets/images/PDWJ4.png)
### Export the needed assets from the game
Go back to Diesel Bundle Viewer and navigate to /units
![](/assets/images/EXPF1.png)
Export the needed files Printed out by pdworld2json.py (In my case it is pd2_dlc_red, pd2_dlc_drive, pd2_dlc1, payday2, pd2_dlc_arena, pd2_dlc_eng, units, pd2_dlc2, vehicles, pd2_dlc_casino, lights, world, equipment, dev_tools, pd2_mcmansion)
Mark them Right Click and Press save as and save them in your project folder in a folder called "units"
![](/assets/images/EXPF2.png)
### Convert .model files in the unit folder and make them ready for blender
Make sure to download [PAYDAY 2 Model Tool](https://github.com/kythyria/payday2-model-tool/releases) [PAYDAY-2-Hashlist](https://github.com/Luffyyy/PAYDAY-2-Hashlist)
If all done right just open ExportModels.bat and it should export the models. It will take a bit for it to finish so sit back and relax.
You can also use this, it is faster, but i found if it encounters an error it will crash, and not export the rest, using the .bat makes if it encounters an error it will just continue.
```
.\PD2ModelParser.exe --batch-export=VALUE
```
After it finished, we need to sort the data for the next step, so open ModelCopyForBlender.bat
It should have created 2 more folders output and textures, and copied the data needed for blender.
If up to this point you have done everything correct you should be able to hit the run script button, and wait for it to finish. It will take a while depending of the amount of files you have. Blender will lag but don't worry.
When done it should have created a folder called "done" there you will find the fixed models and if you had the textures properly setup they should have applied too.
Because the amount of data to import is so huge unreal sometimes likes to crash so i made 2 scripts (One for UE4 and UE5) to help with that, you might need an auto clicker because you will need to press import a lot with it.
To use it run it inside Unreal Engine
Run python scripts in UE5
![](/assets/images/UEPY1.png)
And UE4
![](/assets/images/UEPY2.png)
Now suffer though the slow import, this will by far take the longest time so get compfy
Ok you done it all, homestretch. Now make sure to add the Files from the "UnrealEditorFiles/" Folder into your project. Reload the project now try to drag the world.json into the Content Browser It should pop up with a json import window, select the DataTable Row Type to be PDWorldJson and hit apply
![](/assets/images/MIPU.png)
Next open the level spawner widget like this
![](/assets/images/MIPU2.png)
Choose the map files and hit spawn map
![](/assets/images/MIPU3.png)
### Profit???
Well now you done it, i hope at least. When anything goes wrong don't worry, read over this ReadMe.
If you cant figure it out come and reach out to me i'll try to hep as best i can.