Skip to content
Snirozu edited this page Feb 14, 2024 · 29 revisions

Downloads

Psych Engine
Version
Stable Builds Dev Builds Source Code
0.7.1h GitHub Releases Nightly Link Github Repository
0.6.3 Dev Builds only Nightly Link GitHub Repository

FAQ

Playing Questions

How do I import a mod to this engine?

In the same way as in Psych Engine

Can I use EXEcutable mods?

You can do that by using the FNF Modpack Converter Tool

How can I host the game by myself?

Launch the run-server.bat batch file that is in the same directory where you launch the game, follow the steps to install the required server components and that should launch the server!

The other player should connect to ws://localhost:2567 (if you're playing locally). If you want to expose the server to the internet or just one person then you can use port forwarding tools like Hamachi or Ngrok.

Why do I get blocked from the server?

That means the server is down.

The server is hosted on a free host (render.com) that puts inactive servers to sleep, when someone wakes up the server by sending something to it the server takes about one and a half minutes to launch again. If the server doesn't respond for longer than 3 minutes then probably the hosting is down.

Compiling Questions

"Unexpected ." Exception

Update Haxe.

"Type not found..." Exception

Make sure to install the proper libraries and versions of them. The libraries and their versions are listed in the hmm.json file. You can use hmm install to install them or manually using HaxeLib command haxelib install <library> <version>. Restarting the OS is recommended after installing all of the libraries.

Mods

Mods are basically regular Psych Engine mods, installing them is the same as in vanilla Psych Engine
They can also be downloaded via the in-game mod downloader

Installing mods

The best way is to get them from the in-game downloader, there you can search or download URL's directly and install them to the game!
Alternatively you can do it the old fashioned way (https://www.youtube.com/watch?v=fHadYFdeYoI) (not recommended!)

Setting URL's for a mod

Go to Setup Mods option in Online state and paste the DIRECT download link into the option labeled after that mod
GDrive, MEGA, MediaFire links will probably not work because they have randomized direct download links!
Gamebanana mods don't need to have the link to the direct download, only the mod page link ('https://gamebanana.com/mods/479714' will be valid)
Discord file links will also work and are the best to use

Skins

Skins are Psych Engine mods that contain files with custom characters!

Creating Skins

Instructions:
Create a new character inside the editor and make two versions of it, the first one should be for opponent and the second one for boyfriend, this second character should have a suffix "-player".
These two created characters should be placed in the "characters/" directory.

Also, there's a video tutorial on how to make a skin: https://www.youtube.com/watch?v=0XT2vKgB-Aw

Example File Hierarchy

╚ Psych Online/
 ╚ mods/
  ╚ Skin Mod/
   ╚ characters/
    ╚ characterName.json
    ╚ characterName-player.json
   ╚ images/
    ╚ characters/
     ╚ characterImage.png
     ╚ characterImage.xml
   ╚ mod_url.txt

API Questions

How can I send custom messages and make the other player receive them?

Declarate 'onMessage(type, message)' in the Lua script to receive custom messages from the other player.

Call 'sendMessage(type, message)' in the Lua script to send custom messages to the other player.

Where is the list of all Lua API functions?

https://github.com/Snirozu/Funkin-Psych-Online/blob/main/source/psychlua/FunkinLua.hx#L213

Clone this wiki locally