💡
Omori Modding Wiki
  • 🚩getting started
    • Overview
    • Installing Mods
    • Decryption and Playtest Generation
      • Resetting Installation
      • Dev Tools
    • Packaging Mods
      • mod.json File
    • Omori Files Guide
      • Common File Types
      • Omori Files Index
        • Data Files
  • 🏰RPG Maker MV
    • ⭐Intro to RPG Maker MV
    • 🗒️Common Notetags and Filename
      • Map Event Notetags
      • RPG Maker Sprite Sheet Formats
        • Sprite Sheet Filenames
      • Enemy Notetags
    • Custom Battles
      • Plot Armor
    • Map Creation
    • Event Plugin Commands
    • YAML Texts and Dialogues
      • Text Codes
      • Omori Text Color Convention
    • Shops
    • Quests
    • Bubbles / Balloons
  • 🎨Art Assets
    • Intro to Art Assets
      • Ex 1: Headspace Portrait
      • Art Specifications
      • Art Programs
    • Line Art
      • Preparations
      • Line Quality
      • Line Coloring
        • Direct Colored Brush
        • Blend Layers
        • Color Correction
          • Color Balance
          • Tone Curve
          • Gradient Maps
  • Community
    • Omori Mod Licensing Guide
  • Links
    • Mod Resources/Plugins
    • Omori Modding Hub (Server)
    • Omori Mod Site (Unofficial)
    • Original Masterdoc
    • Omori Data Archive
Powered by GitBook
On this page
  • Common file types
  • Delta files
  • Less common file types
  • Other known file types
  1. getting started
  2. Omori Files Guide

Common File Types

Common file types seen in OMORI

PreviousOmori Files GuideNextOmori Files Index

Last updated 2 years ago

Introduction

When modding OMORI, you'll encounter different file types. This page aims to explain the files, and the file types you can use to modify the game, which are not the same.

Common file types

These file types are commonly used by OMORI and you'll encounter these when the game.

.js - JavaScript

Encrypted: yes, as .OMORI files Patching: not directly (read on)

OMORI uses

These files can't be , but the functions they define can usually be just overwritten. This means that in mods you can, for the most part, just create the same file structure the game has and modify functions as you need. Just remember that your code doesn't replace the original files, your function definitions will simply overwrite the previous ones, normally through object prototype manipulation, which is what the normal game files do as well:

SomeObject.prototype.function = function() {...}

To summarize, mods may look like they are patching JavaScript files, because for the most part, you can overwrite the functions as if the files where able to be patched, but it's an important difference to the other files, where the mod's file will be loaded and not in addition to, as is with JS files. .

.json - JavaScript Object Notation

Encrypted: yes, as .KEL Patching: normal patching, and can also be

files only hold data, no JavaScript logic. They are used by the game to store enemy descriptions, or events. They might contain data that gets interpreted by the game as if it was game logic. These files can be normally , and . JSON files are very easy to work with in JavaScript, because all data types supported by JSON can be mapped 1-to-1 into a JavaScript object or array. It's worth mentioning that JSON doesn't support all types that a JS object does, like functions.

.png - Transparent image files

Encrypted: yes, as .rpgmvp Patching: normal replacement or delta patching using

PNG files are image files that support transparency. This is how the game stores all common images.

.yaml - YAML Ain't Markup Language

.yml - The legacy file extension

.ogg - Vorbis audio

Encrypted: yes, as .rpgmvo Patching: normal replacement

Delta files

.jsond - JSON patch files

.yamld - YAML patch files

You can use .yamld files to patch YAML files similar to .jsond. You might think that the content needs to be the json-patch format, but instead with YAML syntax, but this is not the case. Unlike YAML files, which naturally contain YAML syntax, .yamld files must contain JSON syntax that matches the json-patch schema, just like `.jsond` files. (Todo: add example to illustrate)

.olid - OneLoaderImageDelta

Less common file types

.webm - Video files

Encrypted: no Patching: normal replacement

.ttf - Font files

Encrypted: no Patching: normal replacement

TBA

donottouch.xlxs - language file index table

Encrypted: yes, same encryption as .KEL, but encrypted file also has .xlxs extension. Patching:

Other known file types

.so, .lib, .dll

JavaScript Addendum

Encrypted: yes, as .HERO Patching: normal replacement or delta patching using

files are similar to .json files, in that they hold the same data types, like strings, numbers, objects etc. The two big differences regarding OMORI is that YAML files have a different, more human-friendly syntax, and they support comments, which JSON files don't. YAML files are primarily used for dialogue files found in \/languages\/, and are therefore more comfortable to edit than JSON.

.yml is a , which means it used to be used for YAML files, but the official file extension today is .yaml. Most programs will still recognise .yml as a YAML file. We recommend using only .yaml for constistency. You'll encounter .yml with projects that used files decrypted using the , which outputs files with the .yml extension. The built-in of OneLoader will output the same files with a .yaml extension.

.ogg files contain compressed audio using the codec. They can be normally.

Deltas are explained . They are special file types to modify a game file. They are not used by the base game, only by OMORI mods through the help of OneLoader. The file types that can be used for delta patching are:

Patch only parts of the object contained within a game's JSON file by loading a `.jsond` file. The syntax to modify JSON objects can be found . Here's a which you can use to generate patches by supplying the original file, and the state after your modifications. We recommend this, because manually writing JSON patches is hard.

OneLoaderImageDelta files contain patching instructions for PNG files. You can find out more on the wiki page about .

files are lossy video files encoded using .

You should know that you don't have to keep the same file structure, or names, or even contents. You can name your files whatever you want, as long as you load them properly through the file. You can also have all functions in a single or just a few files, if you want.

🚩
decrypted
decrypting
JavaScript
patched
More Info on JS in OMORI
delta-patched
JSON
patched
delta-patched
image deltas
.yamld
YAML
legacy file extension
decryptor mod for Gomori
decryptor
Vorbis
patched
here
here
JSON patch generator
replacing images
WebM
VP9
mod.json
Explanation of donottouch.xlxs