Skip to content

Instantly share code, notes, and snippets.

@Modder4869
Created August 13, 2023 14:08
Show Gist options
  • Save Modder4869/c922be5be97edc265c5181977791fc6d to your computer and use it in GitHub Desktop.
Save Modder4869/c922be5be97edc265c5181977791fc6d to your computer and use it in GitHub Desktop.

Downloading

  • Get latest version from Github actions from here , if you dont have account you can use site like nightly.link to download it
  • Extract zip file somewhere
chrome_bBlpF4CYiz.webm.mov

Running

  • open AssetStudioGUI then click on Options -> specify game and pick your game name , for games like GI you might have to disable shader in Options -> Export Options check Disable Shader

Building AssetsMap

  • Click on Miscs then in text input type assets map output name
  • Click on Selection Box and pick MessagePack from list
  • Cick on Build Both
  • Select the folder where your game files are
  • Pick Output folder try to not use game folder as output folder as it cause some issues
  • Wait till it finish

Using AssetsBrowser

  • Miscs -> Asset Browser -> Load AssetMap and pick the AssetMap you create in previous step it ends with .map extension
  • Find asset you need by searching with its name or type for example Name=Elysia Type=Animator
  • Click on Arrow icon and Select the Assets you want to load
  • now you can right click items in Asset List then Export selected assets

Extracting Models

  • Find Asset that has Animator Type in Asset Listthen right click Go to scene hierarchy Select the model you want
  • Click on Model ->Export Selected if you selected more than one model and you want them merged pick merge options
    • Optionally If you want AnimationClips along the FBX file Doesnt work for Every AnimationClip Type Select them in Asset list and pick Exported Selected objects + Selected Animation Clips
    • you can also click Options -> Filter models only so only models that hash mesh are shows in asset list or Enable model preview
  • Some models are GameObject (GI npcs for example ) those wont be included in Assetmap by default if you need them you need to go to Options->Export Options uncheck MinimalMap before building assetmap

CLI

  • you can use asset studio cli to export stuff easier open powershell/cmd in same folder where studio installed
  • do .\AssetStudioCLI.exe --help to see what you can do few examples
  • Building AssetMap would be something like \AssetStudioCLI.exe "input folder" "output folder" --game GAME_NAME --map_op AssetMap --map_type MessagePack --map_name assets_map replace GAME_NAME with your actual game name
  • extracting all textures .\AssetStudioCLI.exe "input folder" "output folder" --types Texture2d --game GAME_NAME
    • can also use --names to filter what you want to extract it accept any regex
  • extracting models with cli would be something like .\AssetStudioCLI.exe "input folder" "output folder" --game GAME_NAME --map_op Load --models --names ^Avatar --map_name assets_map replace assets_map with whatever name you picked when building assetmap this would extract any model that start with Avatar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment