With the updated games and new story, thought some hilarious translations might make the content more readable.
Spent some time remembering how I did anything. I have one gimp macro that resizes the screenshots for the display images. This expects the title slide to be the first slide. Also have to lpad the first ten images with 0s. Those get renamed 1_01.jpg and the uploaded to images/translations.
Using the same raw source, there are two other gimp macros. One to cut the right and top side of the image off. And then a second one to cut the left and bottom off. Unfortunately gimp doesn't let you do two crops in one macro. The star is still there and causing noise.
There is then the translate.js node script. My google API credit ran out but it let me make calls no problem, shouldn't cost more than $1.
Each time the script is run, need to update the source images, destination name, and how many slides per chapter. This then spits out the JSON.
I should break the script into two, one with translate and one without to be more useful to others.
Got chapter 3 all set up though, only 127 more to go of the (so far) released chapters. At least the first event is only 9 and scout only 8!
OK SO, it was using env() to read the email from the .env file BUT this doesn't work when things are cached which usually happens on production
SO I created a new config file enstars.php and created a mail address in there that reads from the .env file, this way even the cached ones know it
it is sending the emails out i see them in mailgun but only one has shown up in my mailbox so far??? Maybe this is some gmail rate limiting thing? cause one worked the next day
I looked into this project last night, and finally got a working concept tonight!
Steps of mostly failure:
I can't believe I got it working! It was probably 3 hours of messing around over two nights, switching to JavaScript was the solution all along!
Next step is to start automating things, image cropping, file running, and then saving the text!