Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS Engine: Common Issues and Fixes #359

Closed
JordanSantiagoYT opened this issue Jun 2, 2024 · 1 comment
Closed

JS Engine: Common Issues and Fixes #359

JordanSantiagoYT opened this issue Jun 2, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@JordanSantiagoYT
Copy link
Owner

JordanSantiagoYT commented Jun 2, 2024

This issue is for documenting issues that I see could be reported often, and the fixes for them.

Issue: Game crashes with "[lime.utilis.preloader] ERROR: there is no asset library with an id of "videos"
Fix: The directory that you're using to run JS Engine might contain a character that Lime cannot parse. This includes punctuation or characters that aren't in English. To fix this, you'll need to remove any of those characters.

Issue: My game crashes when I enter a song!
Fix: Depends.
If the lines start with "StrumNote.hx": The noteskin XML you're using is invalid.
If the lines contain "NoteSplash.hx": A note splash texture you're trying to use isn't in images/noteSplashes.
If it happens after updating to 1.32.0 (or the other way around), go to Options, enter the Visuals & UI menu to reset your note splash/skin settings to defaults, then try again. If it still crashes, then you're missing a required config file for your game to work. Head to the Note Splash Editor by pressing 7 in the main menu, then entering the Note Splash Debug Editor and create one for your skin.

Game crashes when trying to load a song JSON or Week file!
Fix: Dependent.
If it starts with "[file_contents,assets/data/", the engine couldn't find the file it was trying to look for.
If it starts with "Invalid char", then a json the engine tried loading was formatted incorrectly or corrupt. This can usually happen if you forget to put a "," where there should be one.

When rendering a song, the finished video has no audio!
Fix: ..you're supposed to put that video in a video editor and edit your song into the video

Issue: I can't compile the code, it throws a "Could not find haxelib "hxdiscord_rpc", does it need to be installed?"
Fix: Did you try running haxelib git hxdiscord_rpc https://github.com/MAJigsaw77/hxdiscord_rpc?
If you did, try removing and reinstalling it. If that doesn't work, try running haxelib --global git, then cd to the source code directory and run haxelib git (this assumes you use windows, if you're on macOS/Linux then use their respective cd commands)

Issue: Could not find include file for hxCodec when compiling!
Fix: this likely means you're using a hxCodec version other than 2.5.1, for some reason using that version fixes the issue

Issue: When I compile, any graphic I make is a half-transparent white one!
Fix: run haxelib set hxcpp 4.2.1.. that fixes it for some reason

Issue: my antivirus says that "JSEngine.exe" is a virus!
Fix: don't worry, this is a false positive. unless you DIDN'T download a build of this engine from ANY of the following:
Google Drive, MEGA, GitHub, Gamebanana, Gamejolt
then you shouldn't be at any risk. try running JSE again, and if your pc detects it again, simply go into your antivirus settings and set it to trust JSEngine

@pik3-4
Copy link

pik3-4 commented Nov 12, 2024

how do i get the song to put it in the editor?

Repository owner locked as off-topic and limited conversation to collaborators Nov 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants