最終更新:
nonbanirachan 2021年04月05日(月) 03:37:54履歴
0. Pre-requisites
Require UnityEditor, AssetBundleBrowser and ModImporter
See Plugins and Tools
1. About
.aba files in GameData/assets are unity AssetBundle.
So we can create by tools for AssetBundle.
2. AssetBundleBrowser installation
Run UnityEditor and create any project.
Drag and drop AssetBundleBrowser sources (folder named 'Editor') into Assets window.(see below)

3. Prepare assets
Create a folder, it will be used for bundling.

And drop resources into it
Below sample is using 'test.tex.png' and 'test2.tex.png'

4. Create AssetBundle
Run UnityEditor menu Window>AssetBundle Browser
Drag and drop prepared folder into AssetBundleBrowser window.

Click Build tab and build!

Several files are created. But important file is only one.

5. Import to CRE
Add extension .aba and port to CRE.
To: CR EditSystem/Mods/ImportFiles
If you want to check, can watch by MMPEditor plugin.

X. Appendix
CREs .aba contains two types of .tex files.
One is Texture2D and the other is Sprite.
Parts icons are almost Sprite. Fortunately no fatal error to use Texture2D for parts icon.
Require UnityEditor, AssetBundleBrowser and ModImporter
See Plugins and Tools
1. About
.aba files in GameData/assets are unity AssetBundle.
So we can create by tools for AssetBundle.
2. AssetBundleBrowser installation
Run UnityEditor and create any project.
Drag and drop AssetBundleBrowser sources (folder named 'Editor') into Assets window.(see below)

3. Prepare assets
Create a folder, it will be used for bundling.

And drop resources into it
Below sample is using 'test.tex.png' and 'test2.tex.png'

4. Create AssetBundle
Run UnityEditor menu Window>AssetBundle Browser
Drag and drop prepared folder into AssetBundleBrowser window.

Click Build tab and build!

Several files are created. But important file is only one.

5. Import to CRE
Add extension .aba and port to CRE.
To: CR EditSystem/Mods/ImportFiles
If you want to check, can watch by MMPEditor plugin.

X. Appendix
CREs .aba contains two types of .tex files.
One is Texture2D and the other is Sprite.
Parts icons are almost Sprite. Fortunately no fatal error to use Texture2D for parts icon.