Code Monkey home page Code Monkey logo

guide-oni-mod-sample-asset-create-or-update's Introduction

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

guide-oni-mod-sample-asset-create-or-update's People

Contributors

ohmcodes avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.