If you want to learn how to mod I Wani Hug that Gator, you can find all the details about the mod in this guide.
How to Mod
This is not a guide about teaching you python nor is it about familiarizing you with the renpy api. Here are some helpful links to get you started though.
Renpy:
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) Any maybe python. Don’t think its required though.
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.