Skip to content

ohmcodes/GUIDE-ONI-MOD-Sample-asset-create-or-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GUIDE ONI MOD Sample asset create or update

Oxygen Not Included MOD change asset or create new building or animation basic guide

Requirements:

Using uTinyRipper

  1. Create a folder "ONI Assets" (optional or whatever you want)

  2. Extract uTinyRipper then run uTinyRipper.exe

  3. Open Steam and locate ONI

    1. Right Click and Click Local Files Tab
    2. Click Browse Local Files
    3. Open OxygenNotIncluded_Data folder
    4. you can do this without steam, in my case the folder is located: C:\Program Files (x86)\Steam\steamapps\common\OxygenNotIncluded\OxygenNotIncluded_Data
    5. Select all .asset filename you can do this by Holding shift + click
    6. It will look like this and Press Export

    tut1

Using Kanimal SE

  1. Extract kanimal SE (KSE) this will generate a folder named Windows.NET.dependent you can rename the folder for easy use.
  2. For this guide you only look to TextAsset and Texture2d in your extracted asset folder
  3. We'll make a Red Gas pump
  4. Open TextAsset folder then find pumpgas_anim.bytes and pumpgas_build.bytes (to search it easily you can use search bar but in my case i just click some file and rapidly pressing p+u+m+p then it will highlight the 1st file with contains pump
  5. it is safe to copy it to a new folder
  6. Open Texture2d and find pumpgas_0.png then copy it to your folder with your bytes file
  7. Press windows key and search for Windows PowerShell run as administrator (optional but better)
  8. Locate your kanimal folder in my case C:\Users<your-user>\Desktop<your-kanimal-folder>
  9. if you are stuck, you can check kanimal guide
  10. go you your pump folder and get the dir location by pressing the dir bar and it will show you the full dir and copy it
  11. in your Windows PowerShell type in: NOTE: change and
.\kanimal-cli.exe scml C:\Users\<your-user>\Desktop\<your-pump>\pumpgas_0.png C:\Users\<your-user>\Desktop\<your-pump>\pumpgas_anim.bytes C:\Users\<your-user>\Desktop\<your-pump>\pumpgas_build.bytes -o C:\Users\<your-user>\Desktop\<your-pump>\output\
  1. if you don't set -o or output dir it will auto generate in your kanimal folder where kanimal-cli.exe located
  2. after you hit enter if will look like this:

tut2

  1. It will fragmented to multiple files or .png and 1 .scml

tut3

  1. from here on you can edit it with your image editor like photoshop
  2. if you have Spriter you can open the pumpGas.scml and if you want to change some animation
  3. if you just want to change the skin you can skip renaming all files inside it but its better to rename everything to avoid conflict
  4. In my case i just rename 3 files (Note: this will be done after scml->kanim)
pumpGas_red.png

pumpGas_red_anim.bytes

pumpGas_red_build_bytes
  1. scml -> kanim in your Windows PowerShell type in:
 .\kanimal-cli.exe kanim pumpGas.scml -o C:\Users\<your-user>\Desktop\<your-pump>\editedoutput\

Visual Studio

  1. Make a folder to your solution anim/assets// Note: make sure you made the directory inside VS not in Windows

  2. Open that directory then drag the 3 files

    pumpGas_red.png

    pumpGas_red_anim.bytes

    pumpGas_red_build_bytes

  3. your anim string should be string anim = pumpGas_red_kanim

  4. Enjoy!

Credit to my master: Ronivan

About

Oxygen Not Included MOD change asset or create new building or animation basic guide

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published