You are viewing a potentially older version of this package.
View all versions.
Asset Bundle Loader
Library. Provides helpers to load new assets into Shadows of Doubt. Includes functions for creating ScriptableObjects from raw JSON files, as well as built Unity AssetBundles
| Date uploaded | 4 days ago |
| Version | 2.2.0 |
| Download link | Piepieonline-Asset_Bundle_Loader-2.2.0.zip |
| Downloads | 323 |
| Dependency string | Piepieonline-Asset_Bundle_Loader-2.2.0 |
This mod requires the following mods to function
BepInEx-BepInExPack_IL2CPP
BepInEx pack for IL2CPP x64 Unity games. Preconfigured and ready to use.
Preferred version: 6.0.738README
Piepieonline's AssetBundleLoader
Various methods for loading content into Shadows of Doubt, including asset bundles, raw JSON scriptable objects, and more
- Load AssetBundles built against previous game versions, by correcting referenced PathIDs.
- Load new ScriptableObjects from raw JSON files with text based referencing
- Patch ScriptableObjects from partial JSON representation
- Create Texture2D from PNG files on the file system (Uses BigGustave library to replace stripped Unity and System methods)
- Load building floorplans from FloorSaveData JSON files, referenced from a BuildingPreset as
"blueprints": [ "FLOOR:MyFloorplan" ]- The path is relative to the folder holding the mod's manifest, and the file name becomes the floor's name in the city's floor data, so prefix it to avoid clashing with other mods
- Reference assets inside a mod's AssetBundle from JSON as
"prefab": "BUNDLE:MyBundle.ab|MyPrefab", for the fieldsREF:can't reach - prefabs, meshes, textures and the like- The bundle path is relative to the folder holding the mod's manifest, and the asset name is the name it has inside the bundle
- A BuildingPreset's model is finished off on load: prefabs keep their own tags, and anything left untagged is treated as a lit part of the building model, with the bundle's copies of the game's shaders swapped for the game's own
Manual Installation
- Ensure you have BepInEx BE installed
- Extract the mod to ".\BepInEx\plugins", so you should have ".\BepInEx\plugins\AssetBundleLoader\AssetBundleLoader.dll"
- Ensure the rest of the *.dll files are along side the AssetBundleLoader.dll file
Source:
https://github.com/piepieonline/ShadowsOfDoubtMods/tree/master/AssetBundleLoader
CHANGELOG
2.2.0
- Added floorplan loading
- Added referencing AssetBundle contents from JSON
2.1.2
- Fixed a backwards default parameter that caused existing mods issues
2.1.1
- Added loading patch JSONs to overwrite base game objects, in addition to creating new objects
- Added a helper to combine Texture2Ds
2.1.0
- Added creating Texture2D objects from PNG files on disk
2.0.4
- Updated to support fixes for DDSLoader patching
2.0.3
- Added an in-game error popup when missing content is detected
2.0.2
- Fixed for 39.10
2.0.1
- Removed some files that are no longer required
2.0.0
- Reworked JSON object loading with changes to allow for:
- Self referencing
- Introducing a delegate that removes the need to hook for all consumers
- The delegate also tries to ensure that objects are fully loaded by all game systems
1.0.5
- Added JSON object loading
1.0.4
- Fixed for game version 34.05 (Addressables)
1.0.3
- Fixed an issue that could occur when loading multiple bundles fresh that reference the same asset
1.0.2
- Fixed the UniverseLib dependency (Both included DLL and missing initialisation)
1.0.1
- Fixed a bug with reloading bundles in the same session. Added BepInEx BE dependency properly.
1.0.0
- Initial Thunderstore (BepInEx BE) version