EliteMasterEric / EnigmaEngine

A fork of FNF's Kade Engine that combines its QoL features with true mod support and new gameplay enhancements
https://enigmaengine.github.io/
Other
12 stars 1 forks source link

Trying to do custom content in mods and it does not work #17

Closed aladairmaxwell closed 2 years ago

aladairmaxwell commented 2 years ago

Hey so I tried doing a mod in this new ModCore format and I'm trying to add a new character and freeplay song. But in-game I can't attach my character to game's existing songs and if I open Freeplay tab, the game does not respond like this.

image

It this even possible for doing mods with new content or it's just skin replacements only? I did everything according to guidelines and ENA example as well. Please check this and say where I wrong.

TestMod.zip

EliteMasterEric commented 2 years ago

Hey, thank you SO much for taking the time to test out Enigma Engine. It is currently in the early stages of development (my plan is to make an official beta release after I implement the mod menu and custom weeks) but I greatly appreciate the effort you put in to trying to use it now.

Enigma IS designed around adding being able to add completely custom content, not just skin replacements. If you're looking for a better example showcasing custom songs and characters (and not just replacing existing ones) please check out the Tricky Mod example, which is my sandbox environment created with the goal of recreating the Full-Ass Tricky Mod as a togglable mod.

I'd love to help you figure out what's up. Looking at your mod folder, everything seems fine (shared/images/characters/yellowfireOffsets.txt is unused but that won't break anything). However, when I open Freeplay, I do get an error related to loading the song file. Due to a change I made in the latest development build, this now appears as a warning in the log file (by the way, there is a log file!) rather than a crash.

I will continue to investigate.

Conclusion/tl;DR: Your mod folder looks correct, the problem is with me. Please wait for an update from me or for the v0.2 release of Enigma, coming soon hopefully.

EliteMasterEric commented 2 years ago

image

Mod loads fine after some fixes. Momentarily, I'll clean up the build and create a 0.2.0-prerelease for you to test with.

aladairmaxwell commented 2 years ago

Yes yes, I checked everything and here is what I found out:

1) Song needs _meta every time. Without it, Free Mode will not be available. Your Tricky mod is broken too in this way. 2) Character need some extra lines, such as "looped": true. Also I had strange prefixes, I changed them a bit. 3) Character does not need to be written in characterList and just be set as .json file name.

Everything works fine now, I really appreciate for your help and attention. I'm looking forward for custom weeks and stages. ModCore really is a future for FNF modding. P.S. Please write some info in Custom Characters as soon as you can, it will be really really nice!

EliteMasterEric commented 2 years ago
  1. Song needs _meta every time. Without it, Free Mode will not be available. Your Tricky mod is broken too in this way.

This will be fixed in the prerelease, the crash bug is now a warning message in the log file.

  1. Character need some extra lines, such as "looped": true. Also I had strange prefixes, I changed them a bit.

looped should be an optional attribute but it defaults to false, and I'm not certain right now what circumstances that value is needed in.

  1. Character does not need to be written in characterList and just be set as .json file name.

Correct.

Everything works fine now, I really appreciate for your help and attention. I'm looking forward for custom weeks and stages.

Great to hear!

I'll get around to uploading a compiled build of the 0.2.0-prerelease version, and add documentation for Custom Characters tomorrow.

EliteMasterEric commented 2 years ago

@aladairmaxwell Please check out the following build, I tested it with your mod specifically:

https://github.com/EnigmaEngine/EnigmaEngine/releases/tag/v0.2.0-prerelease

Please report any bugs you find to this project (the same way you just did) and remember to include the log file.

prokube commented 2 years ago
  1. Song needs _meta every time. Without it, Free Mode will not be available. Your Tricky mod is broken too in this way.

This will be fixed in the prerelease, the crash bug is now a warning message in the log file.

Having no-freeplay songs would be cool as well imo

EliteMasterEric commented 2 years ago

Once custom week support is added, you'll be able to have songs in Story Mode that don't appear in free play, if you like. Just add them to the custom week then don't add them to freeplaySonglist.txt.