- Clone the repository OR Create a repository based on this ("Use this template", green button)
- Open the repository in your windows explorer (file browser) and execute the
AssetPackCreatorUtilities.exe
. There you can rename your project. Choose a project name that contains no spaces or special characters and ends inAssetPack
- Open the repository sln-file with any IDE (Visual Studio, Rider, but NOT Visual Studio Code, that doesn't work)
- If you are using an alternative Cities Skylines II installation path, enter it in the
CustomAssetPack.csproj
-file under<CustomManagedPath>
- Create a file called
pdx_account.txt
on your Desktop. Put your PDX Mods username in the first line, your password in the second line. This is required for the mod to be published under your name and will not be shared with anyone. - Put the assets you want to add into the "Resources/assets" folder in the solution explorer (subfolders allowed)
- Edit the localization file "en-US.json" to include your assets. Otherwise, they will have missing localization
- Add thumbnails to your assets. Make sure the icon path is set like this
coui://customassets/PackName/CarProp.png
- Click on the Build Symbol (Hammer in Rider) at the top to build your project. This will load the assets into your local mods folder
To publish your mod you have to do the following steps:
- Open
Properties/PublishConfiguration.xml
in Notepad - Edit
<DisplayName>
,<ShortDescription>
,<LongDescription>
and<Tag>
- Replace the
thumbnail.png
file by the thumbnail for your Asset Pack - In Visual Studio, navigate to "Publish" and select "Publish New Mod". In Rider you can just select "Publish New Mod" next to the green arrow and press the arrow to execute the Publish Configuration.