You must be 18+ to view this content

Waifu Solitaire - Lewd Edition may contain content you must be 18+ to view.

Are you 18 years of age or older?

or Return to itch.io

A downloadable game for Windows

It's single draw klondike solitaire featuring lewd pictures of you're waifu! Just input you're waifu's name into the console and lewd images will be downloaded from gelbooru in the background and loaded into the game while you play.

Don't have a waifu and/or don't care about the dynamic image loading feature? Using nowaifu doesn't find any images (at the time of release anyway) so you can just play with the tastefully lewd generic card.

If images don't start downloading but the console doesn't say it couldn't find any, something in the networking code probably got stuck and you might need to restart the program. Sorry about that.

It should go without saying that since this features adult material, it's clearly NSFW, I don't own the images pulled from the internet, and I'm not responsible for any degenerate acts you're waifu might be shown participating in.

Have fun!

v2 (birthday) update:

  • Bouncing cards animation when you win!
  • Right click to see the art full sized!
  • Closing the game by clicking the X like a normal program!
  • Connects to gelbooru using https!
  • Bug fixes!
StatusReleased
PlatformsWindows
Rating
Rated 3.2 out of 5 stars
(19 total ratings)
Authorcwdogflip
GenrePuzzle
Tagshusbando, husbandos, NSFW, Singleplayer, solitaire, waifu, waifus
Average sessionA few minutes
InputsMouse

Download

Download
waifu_solitaire v2.0.0.zip 6 MB

Install instructions

Unpack the zip and run waifu_solitaire.exe.

Development log

Comments

Log in with itch.io to leave a comment.

Based on the code by Vulpes101 somewhere else in the comments, i fixed it up so it should work and download all the images to the right palace.
Put the code from the pastebin in a .ps1 file in the same directory as the "waifu_solitarire.exe". you can then run the ps1 file and it should take all the images from gelbooru for the tag you enter.
The code is all commented so feel free to check through it first and modify it where needed, if there is an issue with the code and you fix it please reply here.
link to code: https://pastebin.com/DDLD55Xn

(1 edit)

do you know what changes could be made to search multiple tags?

I tried just using a string (A+B) but it didnt seem to work

Currently the way the code works that would not be possible without rewriting the tag searching part. To make it so you could, you would likely want it to loop thought the tag selection code until a keyword ("done" for example) would let it pass from there you would need some code to generate the link. From there the second half of the code should be the same. I would currently not be able to make these changes but if you or anyone else wants to feel free.

"You're Waifu" LMAO

don't work?

Mac???

(+5)

for those who just want to download the images and rename them. make a folder (or open the folder) in the waifus folder with your waifus name and put the images there with the name of #.png, #.jpg, or #.gif where # is put 1-52. this will set the images based on the number. ex. 1 is A of hearts, 2 is 2 of hearts, etc.

(+1)

your technique works. thank you

As there is no fix in sight I wrote a script which will do the download, organize the pictures and so on. Problem is, that it won´t load the pictures in the background. It has to download all before starting the game. The script will ask for your waifu name, then download the files, then start the game and this will ask for your waifu name again. Just type the same name and it should work. Hopefully.

If you want to use it just copy the text from https://pastebin.com/Dt4yZmzy into a .ps1 file (e.g. start.ps1). Now place this file in the root of the game where waifu_solitair.exe is located. Run the script by either double clicking or right clicking and pressing run (I have no idea anymore what the default is) and enjoy. 

It can take a while, but at least it works.


PS: @cwdogflip This game is really a very neat idea. Good job :)

PPS: If you want to use other sites/tags you can do that by changing the links in the script. Tags should be easy as just $main_url_base has to be changed, but for sites you have to figure out the regexes and so on for yourself ^^

For example if you not only want explicit images just remove '+rating%3aexplicit' from the $main_url_base.

(+1)

I would just like to add that in order for gelbooru to work u will need to add the tags together with the name.

e.g: morgana_(league_of_legends)

Thanks for mentioning the issue.

Should be fixed here: https://pastebin.com/47HvJPkF

Thanks for trying but your script plainly doesn't work. it throws off a red error too fast then dies. After a zillion tries i could screenshot it, it said that "execution of scripts is disabled in this system." and even though i try a few things on google, nothing worked.

Also i can't find the command to run this file straight through powershell since the shortcut way likes to die before i can humanly read the message.

(1 edit)

That is because the execution policy on your system is set to restricted. I forgot that this is the default, sorry about that. Also the script needs an update, because gelbooru changed their auto complete url.


Execution Policy:

If you want to run it and don't want to change the system settings to allow all scripts to be run (which I would not advise if you do not need it), then create a .bat file (e.g. start.bat) in the folder with the start.ps1 script.

Open it with any plain editor like good old notepad and paste this script:

powershell -executionpolicy RemoteSigned -File "start.ps1"

Which will set the execution policy for this one instance of powershell and make the script runnable.


Update:

Here is the updated version of the script to accept the auto completes in a JSON format.

https://pastebin.com/vmzTytxA

(1 edit)

Well, thank you for replying, now we're getting somewhere but not quite there.

I followed your instructions, with your most up to date script and i got this error:


The term 'Invoke-WebRequest' is not recognized as the name of a cmdlet, 
function, script file, or operable program. 
Check the spelling of the name, or if a path was included, 
verify that the path is correct and try again.
At C:\waifu_solitaire v2.0.0\waifu_solitaire\v2.0.0\start.ps1:83 char:37
+             $img = Invoke-WebRequest <<<<  $Matches[1] -OutFile $out_path
    + CategoryInfo          : ObjectNotFound: (Invoke-WebRequest:String) [], C
   ommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

I did some digging and turns out the Invoke-Webrequest was removed from Powershell 5. 

This guy seemingly have recreated the function itself, but when i tried to implement it a quick red message would appear and crash the cmd, can't debug, too fast. Maybe you have better tools:

https://github.com/cloudbase/unattended-setup-scripts/blob/master/FastWebRequest...

I hope the dev find in their heart to spare time to fix this again. It was such a neat idea and i didn't even manage to experience it when it was working.

Please at least update the files so it has some "example waifus" already in the waifu folder so i can make my own images based on tha

(1 edit)

Hey! I just tried to get this to work, and it didn't download any pictures.
Did Gelbooru update again or am I missing some kind of file on my system that would allow this to work?

Edit: I waited a while, and I finally got an error in the terminal.

what if the game lets us configure the site it uses? so if one site goes down, there are others.

(+5)

Please update this so you can get photos again!

(+2)

I was wondering if you would be up for adding the ability for the game to draw images from multiple sites? Sankaku Complex has a much bigger NSFW library then Gelbooru does.

Would it be possible to add a blacklist for certain tags?

(+1)

would be nice if you could adjust the game window somehow, because sometimes you can't view the full image :/

also it should download more than 52 pictures (right now it always stops at 52) for variety on every new game :)))

Can you be able to configure so it searches questionable pictures as well as explicit? Sometimes there's not enough pictures

It doesn't even try to download images now.

Something's definitely wrong on the back end. What error are you getting?

I'm not getting any kind of error. It just doesn't download stuff at all. Here's a screenshot to show you what I mean:


(+1)

Oh that's even worse. I'll see what I can do but I'm hoping fixing the other issues will fix whatever this is.

(+1)

Turns out Gelbooru updated their software at some point and broke the image downloading code pretty much completely. I'll be uploading a new version with a fix for that and some other bugs as well as some new features in a few days. Sorry for the inconvenience.

idk what happened, but it doesn't seem to be downloading the pictures at all.

here's what i get whenever i start it up and wait a bit

Interesting. Does this only happen with "Haruka (pokemon)" or have you seen it fail the same way with other names as well? Either way, I'll try to see what's going in this weekend. Thanks for bringing this to my attention.

yeah it happens with all of the names i've tried before. I tried using "rem" a few times as a sort of test name while trying to find what was wrong myself. Sadly i'm no good at programming yet. Hope this helps :)

I looked into it and it seems like you were failing to connect to the User-Agent string website. It might have been a problem on their end (I can ping it but I can't get to it in a browser so who knows what they're doing), but it might have been your own internet. I don't know what to say beyond that. If you're willing to try again, I'll be uploading a new version in a few days that might work better for you. Sorry for the inconvenience.

Oh don't worry about inconveniences it's all good. I'd be happy to try out the new version and thanks for looking into my issue :)

(+1)

It might be nice to have the image downloader prioritize solo or 1girl tags, so you don't end up with a deck of group shots.