I Wani Hug that Gator!

I Wani Hug that Gator!

40 ratings
How to mod IWHTG!
By Eugene
A little tutorial on modding I wani hug that gator!

Original art by CbaseJ... Probably.

Cant insert a direct link because the site hosts some indecent art along with regular artwork. Sorry ¯\_(ツ)_/¯
2
6
   
Award
Favorite
Favorited
Unfavorite
Before we start
This is not a guide about teaching you python nor is it about familiarizing you with the renpy api. These are things you are going to have to learn on your own. I'm sorry, but if I tried to this guide would be far longer than I could ever hope to make.

Here are some helpful links to get you started though. (My last attempt at making this guide got flagged so i'm playing it extra safe. Just type these key words into firefox or google and you should be good)

Python
Python beginners guide
W3Schools Python

renpy
Renpy Documentation

Lastly, you will want to install code editors like VScode, Atom or even sublime text. Up to you. (You could just use notepad but please don't) And maybe python. Don't think its required though.

Now that that's out of the way...
Modding 101
Make your way to the IWHTG files. You can do this quickly by
right clicking the game, after that you will click the properties option.



Once clicked you will make your way to the installed files tab. And then click browse.



You are now in IWHTG Root folder! congrats! Now what you'll want to do is click on the game folder.



Make your way to the mods folder.



Once inside you will see a text file called README.Its a bit dated but I advise you to give it a quick read.

If you feel confident in starting on your own after reading the README, then feel free to part ways with the guide here. If you are still a little lost don't worry! That's why i'm still here.

Modding Structure
Basically modding structure goes like this.

You start with creating your own folder and naming it whatever you want your mod name to be.



After that what you will want to do is create two folders and one text documents.
First folder will be called "assets_folder" second will be called "script_folder".
The text document will be "(whatever text here)_storyline".



In the example above I put an abbreviated version of my mod title as the text before the underscore.

Now lets head into the assets folder and set some stuff up real quick.

  • Create a folder called "images"
  • In the newly created images folder create a couple more folders and name the first one backgrounds
  • The second one characters
  • And the last one doodles


Keep in mind how these files are structured. We will come back to this later.

We are almost done setting up our mod. Yipee! Now onto setting up INIT. What you will want to do is go back to the root of your mod folder and open the text document you created.

The template in the README is a bit dated. It was made more for snoot game rather than IWHTG so I cobbled together a quick template just to get us started.

init python: # Modding Support variables # All mod rpy files must have title of their mod (this shows up on a button) # and finally the label that controls the flow of dialogue mod_menu_access += [{ 'Name': "Mod Name", 'Label': "mod_storyline" }]; label mod_storyline: call chapter_1_new label chapter_1_new: scene bg_damien_house with eDissolve(2) play music mus_chill_thinking fadein 3.0 show inco neutral at moveinup(0.3) with eidissolve pause 0.5 I "Sample Text" return

Now save the document as a .rpy file.



When you open the new .rpy file it should look something like this...(I have a ♥♥♥♥ ton of errors due to some vscode issue. to lazy to fix sorry)



And just like that our mod will now show up in the mods tab. Hooray! Now lets start editing the new storyline file. (you can delete the original text file if you want.)

If you want to change what name the mod will show up as. Change the "Mod name" To whatever you want. If you want to customize the Label you have to change both instances of the "mod_storyline" in the script.



And that's it! You just setup your first mod! Now there is a lot more that goes into making actual content. But I just cant go over all of it in one sitting(I could but I have other stuff to do). I will give you pointers though on figuring out just what is possible with IWHTG!
Connecting the dots.
Here I will be showing you where you can learn about how to further customize your mod. And wouldn't you know it everything you need is right in the games directory! Lets take a look on how the Wani's game folder is files are structured...



A certain folder should seem a little familiar...



Lets take a closer look at the image folder.



Well wouldn't you know it! We have the exact same three folders in our images folder!



Basically, just copy the file structure of the game itself! And you should be good. This can be extended to most of the folders in the Wani's game folder. Audio, gui, 00src and images. All of these folders could probably by copied and pasted into your own assets_folder if you would really wanted to. Just make sure to remove any of the content you don't need.

Now for scripts. All I can advise you to do is read them. See how the devs themselves made their scenes and learn from them. See how they are connected to each other. A good place to start looking is the "storyline" and "script" .rpy files in the game folder.
I guess that's it...
Now that you know the bare minimum. Here's a hour long video going over everything I said!(Had no ♥♥♥♥♥♥♥ idea this tutorial existed until now. Spent a couple hours of figuring out how to mod for nothingggg)


Its for snoot game but it is pretty much the same.

Anyways, hope I did a good enough job at teaching you how to at least get started with modding this awesome game. This is my first guide so its probably awful to look at. Feel free to list all your criticisms. No promises on fixing the guide right away though...

Where you go to publish these mods is up to you. Now go mod this game to hell and back. Bring me more content to consume.
15 Comments
Ipwnlocks 21 Aug, 2024 @ 2:38pm 
I have put in alot of time to ren'py, and its just such a pain in the ass. I recently purchased and started playing with tyranobuilder. and I find it has so many little convivence features that just works, it makes playing around with the software not so much of a drag.
kl8n2k5 13 Aug, 2024 @ 6:29am 
the old way still works, but it won't work with the rpym format or the modloader
kl8n2k5 13 Aug, 2024 @ 6:27am 
The "mod_menu_access" code in a rpy file is no longer needed, there's a new method in the readme using a .json for the modloader
{LINK REMOVED}
Dude_84_Dude 28 Jul, 2024 @ 1:50pm 
Just wanted to say thanks for this guide. Couldn't have made my mod without it.
Dude_84_Dude 10 Jun, 2024 @ 3:59pm 
I'm very slowly figuring it out. But thank you so much for this.
Dude_84_Dude 26 May, 2024 @ 5:10pm 
I've been struggling with trying to mod this game and my screen looks just like the one here with all the errors I don't know how to fix. I was hoping it wouldn't be this frustrating.
Dude_84_Dude 13 May, 2024 @ 8:16am 
This looks complicated. I had an idea for a mod that involves Inco and Olivia going on a second date and would love to make it, but it looks like it'll take some doing.
Eugene  [author] 28 Apr, 2024 @ 2:15pm 
@LeventeKing I dont know I havent gotten that popup before. It might be something with the new workshop update. Ill look into it some time later today.
LeventeKing 28 Apr, 2024 @ 2:06pm 
Hey question, as soon as I do everything according to the guide of yours, and as I start up the mod i get a quick but overridable error code named "old_widget", is there any way to fix that?
Toshi XCV 26 Apr, 2024 @ 8:42am 
Thanks, very appreciated. Gonna snoot them all