OMORI in a browser
This project is a (somewhat) PoC. It is NOT meant to be accessed from public, because it DOESN'T have any security to it's fs api (anyone can read/write pretty much any file/directory).
If you ask me:
- it listens on 0.0.0.0 so I can run server on my pc and play the game on the phone
- it was made only pretty much only for this ^^^
- if you still want to allow access to this from public, make a container or smth
-
Clone this repo
- With Git:
git clone https://github.com/fifomori/chromori - Or download .zip and unzip it
- With Git:
-
Install dependencies
- Run
install.bat(Windows) or./install.sh(Linux, macOS)
- Run
- Run Steam (if you want to collect achievements)
- Run
app.bat(Windows) or./app.sh(Linux, macOS) - Open
http://localhost:8000in your browser
- Chrome (tested with 119)
- works very well
- Firefox (tested with 119)
- has some sound stutters on synchronus fs operations (mainly in menu)
- doesn't load .zip mods
- WORKAROUND: unzip mods
- node_stream_zip using fs.open, which is hard to implement without WebSockets
- TODO: rewrite fs async api to WebSockets
- dosesn't patch xhr requests (fonts, some assets)
- OneLoader's vfs_web uses the Chrome Extensions API, which is unavailable for regular website
- WORKAROUND: replace these assets manually
- Publish prebuilt package
- Build greenworks for linux and darwin
- Test all greenworks binaries
- Autoextract game path while getting key
- Steamworks SDK version: v1.58a

