How to preview and export the game's assets (AssetStudio) - Catman-232/Homebrewery GitHub Wiki
To do this we can use Asset Studio, you can get it from the most recently active repo for it here: https://github.com/zhangjiequan/AssetStudio/releases/latest
In the Assets section, click on one of the three zips named AssetStudio.net etc
. The .net6.0-windows
one will probably be the best one to pick. This zip contains the program itself, not an installer, so put it somewhere you want it to be and extract it.
Double click on AssetStudioGUI.exe
to open it up. You see two things appear, a cmd window you can leave alone, and the GUI itself.
Click on File
and Load Folder
, then find your game install location, select the ATLYSS_Data
folder and click Select Folder
in the bottom right.
You should now see this stuff in the Scene Hierarchy
tab:
Don't worry about that, instead click on Asset List
to see the big list of game assets!
This might be overwhelming as this is every single object in the resources, no matter if it's even particularly readable, you can preview Texture2D and Mesh objects in here though.
Use the Filter Type
dropdown menu to specify the data type to show in the Asset List. So for example, click Mesh to make the list only show Mesh type objects. Use the arrows at the top and bottom to scroll the list, which you'll need to do to find Texture2D.
A lot of that is still useless junk to you though, so sort by the Container
field (Click on it, twice so it will put blanks to the bottom) to be able to find the files that are actually properly defined as assets. This container string represents the folder tree in Unity Editor, developers use this to keep their assets organised!
Generally, all the meaningful assets can be found inside the container _graphic/_mesh/0
, so you can use the search bar to filter to the objects that have that as part of their container path.
Kiseff has named the sub-containers accordingly:
00_player
- Meshes and textures for bodies, body parts (3D and 2D), gear parts and ScriptableArmorRender meshes01_creep
- Enemy models and textures02_friendlynpc
- NPC models and textures03_item
- Meshes and textures for items, including weapons and shields
Click on one of these Mesh objects to see it in the preview window on the right.
You can click and drag to spin it around!
Or if you're looking at Texture2Ds:
To export stuff, first check the export settings in the Options
dropdown menu, in Export options
I'll be honest with you, I don't really know what some of those Fbx ones mean, I just know that exporting the models makes it into an FBX file and some of those toggle what aspects get exported along with it. What I do recommend though is setting Group exported assets by
to container path
, as this will export assets in a folder tree that matches the container string.
So now, you right click on a file you want to export (Or you can select multiple by holding control and clicking them each, or by holding shift to select everything up to what you click). Click on Export Selected Assets
. Choose an output folder to export to and click Select Folder
.
It will automatically open the output folder when it is done.