The Anything Gallery has finally been fixed!
Hello everyone!
I'm sorry this took so long - but after finishing The Heilwald Loophole I finally took some time to fix this game.
Turns out it was way simpler than I could've imagined: (short tech tangent ahead)
The webrequests the game is sending to google images require a 'User Agent' which basically lets the server know which device/browser the request is coming from. Previously I was using a Firefox/Mozilla user agent which apparently just broke at some point. I've now switched to the latest Chrome user agent which is probably more reliable in general since Chrome is literally made by Google.
During testing videos took a little longer to load than usual (around 5-10 seconds, which could've been due to my network of course) but they should still work.
Lastly I just wanted to say that I deeply appreciate how many people still seem to be interested in this little project - I've even seen a comment about someone trying to mod this game to fix it, which is really cool to me!
Anyway, I hope you'll have a good time exploring the Anything Gallery once again.
Cheers!
Files
Get The Anything Gallery
The Anything Gallery
Whatever you want to see... this gallery has it!
Status | Released |
Author | Jamathan |
Tags | First-Person, Procedural Generation, PROCJAM, Singleplayer |
Comments
Log in with itch.io to leave a comment.
I tried decompiling the Ilan.Google.API library DLL in dnSpy and sent the source code to chatgpt for help. ChatGPT replied that it uses an outdated google search script, and I think the developer should add a user agent simulation to his code (I think it should work if it is there).
i think its broken again:(the game mechanics work fine, but there is nothing in the picture frames and the movies don't play either
game is broken again :/
Haha, oh boy did I have bad timing with the mod injector. Glad to see you updated it! I do kinda miss the feel the old version with the screen-space dither and resulting artificial resolution drop but it's great that you've fixed it.
My mod injector does actually still work with this new version, which is kind of crazy, but that's the power of languages in the dotnet family. It needs some rework anyway since it disables the built in Image and Video scanners to supply its own and now that they work it doesn't need to do that.
It's the first time I've successfully worked with Unity, which is kinda crazy when you consider I was digging in the back end doing runtime asset resolution and injection, which is something few developers using Unity would ever do anyway. I did figure out how to inject new Tiles and Tilesets into your Jigsaw procedural builder, so that's cool, but I don't really have the energy to dive into that other than 3 new rooms on a new tileset as a test. I did want to look at adding an audio scanner and audio playing room, but I wasn't quite sure how to inject such a thing. At some point I want to look at Jigsaw and see if I can resolve the overlapping generation problem, but that's probably a massive can of worms as it is. I was glad to have a good simple target to learn things like MonoMod with as I had never done runtime injection of content into a C# program, let alone a Unity game before.
My mod loader and mods are MIT licensed and I wave the attribution requirement for you if anything in there is worth integrating (except the stuff from JotunnLib of course, but that's not useful to you in any case), but honestly I don't think you'd need anything from there. Who knows, you might find my method of reading the Google HTML results interesting, but really I have no idea how fragile it might or might not be; it just tries to guess what part of the page contains results and what part of the page contains related queries via some dumb tests related to attribute names, content, and occurrence counts. I didn't change the user-agent in play so there's probably some sort of content fallback going on where my code wouldn't directly port over anyway.
Great, thank you! Always love your anything gallery
awesome! : D
I remember this being an issue. glad you could fix it!