Wallpaper generator

It’s become a bit of a problem for me to maintain this c++ project as it has complex requirements (curl with ssl is really hard to build on windows)

I’ve written a new version in javascript which is accesible from http://hexagenic.github.io/wanikaniwallpaper-js/

If there’s a demand for a commandline version I might rewrite it from scratch in the future

A guide to correcting this on Windows for a PC novice would be much appreciated.

akranis - thanks for the Java version. However, the generated image doesn’t conform to my screen for some reason, regardless of what sort of tweeks I make to the resolution. Thanks for providing the option regardless.

1 Like

Yes, I’ve already been informed that there is a slight rendering bug at the moment. I’m working on it.

It worked fine for me. And I’m very very very happy with it. And at the same time sad. And encouraged. :slight_smile:

Thanks, akranis!

akranis said... Yes, I've already been informed that there is a slight rendering bug at the moment. I'm working on it.
 Ah, that's great. Cheers.

I’ve pushed a fix for the rendering bug, you may need to clear the browser cache in order to get new updated version.

ChrisKempson said...
Jono18 said... I'm pretty clueless with computers but I've got a mac and thought this was awesome. I downloaded the link: http://www.mediafire.com/download/9p9687zs7d77p84/wanikaniwallpaper_osx.zip.

Is anyone with a mac able to give me basic instructions to get the wallpaper up and running? Would be much appreciated. 
Download that file again as I've just uploaded a new zip file with a "generate" script I wrote for you to make things easier (hopefully) :)

Once unzipped, open api_key.txt and paste in your key.
Next double-click to file "generate". 
If all goes well a new file will be created with a name in the format wanikani-[year]-[month]-[day].png

I followed those instructions (saved key in API worked, when I open the order file it does come up with my kanji), but then opening 'generate' comes up with this (no file exists in the format you specified, looks like there was an error): 

/Users/Jono******/Downloads/wanikaniwallpaper_osx

dyld: Library not loaded: /usr/local/lib/libpng16.16.dylib

  Referenced from: /Users/Jono******/Downloads/wanikaniwallpaper_osx/./wanikaniwallpaper

  Reason: image not found

/Users/Jono******/Downloads/wanikaniwallpaper_osx/generate: line 17: 18433 Trace/BPT trap: 5       ./wanikaniwallpaper -k $API_KEY -f /Library/Fonts/Osaka.ttf -o wanikani-$(date +"%F").png

logout


[Process completed]





 

Sorry about that, should have checked shared library dependencies  before shipping. Anyway, have uploaded a new version for you to download and try. Hopefully there’s nothing else missing :slight_smile:

I’m trying all my best to compile this for Windows, and I’ve run into several missing headers, tried to find the required dependencies, but I’m namely stuck with utf8.h…

Thanks! This is wonderful :slight_smile:

I think I grabbed utf8.h from https://github.com/ledger/utfcpp

Thanks!
So here are my Win32 binairies: http://www.mediafire.com/download/no84c7575lkcmc6/wanikaniwallpaper.exe
I’m so glad this is working again :slight_smile:

Dunedune said... Thanks!
So here are my Win32 binairies: http://www.mediafire.com/download/no84c7575lkcmc6/wanikaniwallpaper.exe
I'm so glad this is working again :)
 No problem :)

Thanks, the new .exe works great!

Way late to this party, but this is so cool! Thanks!

sackboy97 said... I tried changing it with the Hex editor but it still doesn't work (it stays open a bit longer but still no out.png)
Could any of you upload the fixed .exe? :D
EDIT: Nevermind, I didn't notice that the "s" overwrote the /, now it works :D
Does anyone know how to "fix" the missing kanji? It says that three are missing.
 I finally got mine fixed and noticed this error.

Thankfully it gave the unicode for the missing kanji - 贅 and I was able to just open up the order file and throw it at the end so now it shows up fine and no more missing kanji errors :)

@freakymrq: I just did that and the missing kanji now appear properly, though there’s a “missing” symbol before 一. Not sure what’s causing it.


@sackboy97

mine doesn’t show that space.



Would you mind sharing the order file? It’s probably an error with the encoding or something similar, but I’m not sure what’s causing it.

sackboy97 said... Would you mind sharing the order file? It's probably an error with the encoding or something similar, but I'm not sure what's causing it.
 Sorry for the delay,

here's my order file - http://www.mediafire.com/download/tvciwc350rk7346/order