Getting The Assets In Unity - CoreKeeperMods/Getting-Started GitHub Wiki

How do I view the game's assets in unity?

This page provides a way to get a glimpse of the assets used in the game and even load them into Unity!

Step 1: AssetRipper

Download the latest version of AssetRipper from their GitHub repository at https://github.com/AssetRipper/AssetRipper. The name is pretty descriptive of what it does.

Extract the zipfile and open AssetRipper.exe.

Leave all the settings on default except for Script Export Format and Script Content Level, these should respectively be set to Dll Export Without Renaming and Level 3

Then drag and drop your game folder (The whole folder called Core Keeper) into AssetRipper.

Wait until AssetRipper is done loading the game content and then click on Export > Export all files in the left upper corner.

You should now have a folder with all the assets of the game.

Step 2: Preparing the folder for Unity

Go into the folder in the project root (called ExportedProject) and create a new folder with the name Packages.

Create a new file with the name manifest.json in the Packages folder and paste this into the file:

{
  "dependencies": {
    "com.unity.2d.sprite": "1.0.0",
    "com.unity.dots.editor": "0.12.0-preview.6",
    "com.unity.entities": "0.17.0-preview.41",
    "com.unity.ide.rider": "2.0.7",
    "com.unity.ide.visualstudio": "2.0.12",
    "com.unity.ide.vscode": "1.2.4",
    "com.unity.memoryprofiler": "0.6.0-preview.1",
    "com.unity.netcode": "0.6.0-preview.7",
    "com.unity.performance.profile-analyzer": "1.1.1",
    "com.unity.physics": "0.6.0-preview.3",
    "com.unity.platforms": "0.10.0-preview.10",
    "com.unity.postprocessing": "3.2.1",
    "com.unity.profiling.core": "1.0.2",
    "com.unity.rendering.hybrid": "0.11.0-preview.43",
    "com.unity.test-framework": "1.1.29",
    "com.unity.textmeshpro": "3.0.6",
    "com.unity.ugui": "1.0.0",
    "com.unity.modules.ai": "1.0.0",
    "com.unity.modules.androidjni": "1.0.0",
    "com.unity.modules.animation": "1.0.0",
    "com.unity.modules.assetbundle": "1.0.0",
    "com.unity.modules.audio": "1.0.0",
    "com.unity.modules.cloth": "1.0.0",
    "com.unity.modules.director": "1.0.0",
    "com.unity.modules.imageconversion": "1.0.0",
    "com.unity.modules.imgui": "1.0.0",
    "com.unity.modules.jsonserialize": "1.0.0",
    "com.unity.modules.particlesystem": "1.0.0",
    "com.unity.modules.physics": "1.0.0",
    "com.unity.modules.physics2d": "1.0.0",
    "com.unity.modules.screencapture": "1.0.0",
    "com.unity.modules.terrain": "1.0.0",
    "com.unity.modules.terrainphysics": "1.0.0",
    "com.unity.modules.tilemap": "1.0.0",
    "com.unity.modules.ui": "1.0.0",
    "com.unity.modules.uielements": "1.0.0",
    "com.unity.modules.umbra": "1.0.0",
    "com.unity.modules.unityanalytics": "1.0.0",
    "com.unity.modules.unitywebrequest": "1.0.0",
    "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    "com.unity.modules.unitywebrequestaudio": "1.0.0",
    "com.unity.modules.unitywebrequesttexture": "1.0.0",
    "com.unity.modules.unitywebrequestwww": "1.0.0",
    "com.unity.modules.vehicles": "1.0.0",
    "com.unity.modules.video": "1.0.0",
    "com.unity.modules.vr": "1.0.0",
    "com.unity.modules.wind": "1.0.0",
    "com.unity.modules.xr": "1.0.0"
  }
}

Save manifest.json and go back into project root.

Move all the files in the Assets/MonoScript folder to somewhere safe and make sure the folder is empty.

Step 3: Installing The right Unity version.

Install Unity version 2020.3.25f1 from the Unity Download Archive: https://unity3d.com/get-unity/download/archive.

Go through the standard Unity installation and wait until it's done.

Step 4: Opening the project.

Open the Unity hub and select the folder you created when exporting the AssetRipper files.

Open the project with Unity version 2020.3.25f1 and wait for it to load. This can take a while.

Close Unity after it's done loading and the editor is shown.

Step 5: Changing the meta files

Place the scripts you temporarily moved into another directory back into the Assets/MonoScript folder and start Unity again.

If Unity asks to upgrade the project files because of deprecated functions click on Yes, I made a backup

After that Unity should ask you if you want to enter Safe Mode. Click on yes.

The Editor now loads into the Safe Mode which allows you to fix errors but we're not going to do that.

In the Unity Asset browser, go to the scripts folder

image

Find every file that starts with Pug and click on it to show the inspector. In the inspector deselect General > Auto Reference

image

There should be 5 files.

Step 6: Restart Unity

Go out of Safe Mode and restart Unity once more to fully get the project assembled.

Step 7: Profit

You should now be able to see the assets in the Unity editor.

Enjoy and make some cool stuff.