ObstRiegel wrote:https://prnt.sc/is3mnb I have no idea why it doesn´t work, it even doesn´t work for hte example .json file in the folder
Hi, I'm the actual author of the tool. Sorry for the delay, got less free time than I need lately
First of all, you seem to be running Ruby 2.5, not 2.4 (despite the warning on the RubyInstaller download page). I haven't tested it, it might work, but it currently has major compatibility issues with a lot of libraries out there.
I'll give it a go myself though. Just to rule it out. For now let's assume it's not the problem.
The place in the code it refers to suggests that the file in the
font_templates contains not an object (in curlies,
{}), but an array instead (in squares,
[]). The error indicates it cannot convert
"source" into an integer, which is fair, I did not intend any conversion to happen there.
There has to be a field with the name "source" in every .json file inside font_templates. Is this the case?
I specifically tested the example in the repository, and
bamalf has been using this tool extensively with a bit of my guidance. We never faced an issue like yours. Let's track it down.
The tool is really rough around the edges, I'm aware of that and sorry about that. I was under the impression that this tool will not be in use by anyone once we're done with Russian fan localization mod.
Looks like I will have to allocate some more time to improve ease of use and error reporting.
UPD: no worries regarding Ruby 2.5, it works just as well as 2.4. Just tried this out.