makaiforce

Member
Nov 26, 2017
217
123
191
i just want to put Kira noir in the game, but i don't understand where to find the .rpy enemy to edit and save.
 

pekomon

Newbie
Dec 11, 2020
18
35
80
i just want to put Kira noir in the game, but i don't understand where to find the .rpy enemy to edit and save.
You'd have to decompile the enemy you want to go from a -crpy file to a -rpy.

If you just want to replace a given enemy with Kira (meaning the enemy keeps the same name, for example, Laura), you'd just have to tweak the code (mostly images and flavor text, unless you want a unique attack pattern for the enemy)

If you want to add Kira as a new enemy while keeping the old one, shundi82 has the steps in this mini guide: https://f95zone.to/threads/hero-corruption-2-v1-75-diogaoo.104900/post-17546752
 

makaiforce

Member
Nov 26, 2017
217
123
191
You'd have to decompile the enemy you want to go from a -crpy file to a -rpy.

If you just want to replace a given enemy with Kira (meaning the enemy keeps the same name, for example, Laura), you'd just have to tweak the code (mostly images and flavor text, unless you want a unique attack pattern for the enemy)

If you want to add Kira as a new enemy while keeping the old one, shundi82 has the steps in this mini guide: https://f95zone.to/threads/hero-corruption-2-v1-75-diogaoo.104900/post-17546752
i'm following the steps, but i aways get this error when the encounter starts:
1760648652326.png
 
Last edited:

DogMammoth

Formerly 'kyle882'
May 24, 2018
20
24
66
Had some free time last night and today and decided to try making my own enemy. Honestly, the hardest part is finding porn that has the quality and variance that I would like from an encounter tbh. New enemy is Kira (sorry other guy making one with same name), she is a shemale, exists in the Forest map, has like 2 BJ phases, 2 anal phases, facial climax scene, and an anal then facial bad end if she beats you 5 times. I had to add a temp variable tracking player defeat count to the scripts that gets saved, so this requires a new run if you wanna try it. Installing should just be throwing the game folder in the HC2 directory and overwriting the files. Made for version 1.80.

I hope google docs sharing is allowed, this is literally my first ever post so idk. Link:
View attachment kira58.webp
 
  • Like
Reactions: kamu

makaiforce

Member
Nov 26, 2017
217
123
191
n
Had some free time last night and today and decided to try making my own enemy. Honestly, the hardest part is finding porn that has the quality and variance that I would like from an encounter tbh. New enemy is Kira (sorry other guy making one with same name), she is a shemale, exists in the Forest map, has like 2 BJ phases, 2 anal phases, facial climax scene, and an anal then facial bad end if she beats you 5 times. I had to add a temp variable tracking player defeat count to the scripts that gets saved, so this requires a new run if you wanna try it. Installing should just be throwing the game folder in the HC2 directory and overwriting the files. Made for version 1.80.

I hope google docs sharing is allowed, this is literally my first ever post so idk. Link:
Google Drive View attachment 5349431
no worries buddy, i've failed to make my custom enemy to work '-'
 

DogMammoth

Formerly 'kyle882'
May 24, 2018
20
24
66
n

no worries buddy, i've failed to make my custom enemy to work '-'
Kira noir is hot, I can try making an enemy of her too. If you have a vid or photoset in mind as the source material you can DM me a link. Otherwise, I saw some handjob/blowjob vids that looked usable.

If anyone tries that other enemy I made lmk if it has issues, ran perfect for me but I could've forgotten something.
 
  • Heart
Reactions: makaiforce

makaiforce

Member
Nov 26, 2017
217
123
191
Kira noir is hot, I can try making an enemy of her too. If you have a vid or photoset in mind as the source material you can DM me a link. Otherwise, I saw some handjob/blowjob vids that looked usable.

If anyone tries that other enemy I made lmk if it has issues, ran perfect for me but I could've forgotten something.
i'm using this site to get the galleries, high quality and alots of pornstars.
here's the one i want to use to Kira Noir:
 
  • Like
Reactions: DogMammoth

makaiforce

Member
Nov 26, 2017
217
123
191
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/Enemies/Noir.rpy", line 287, in script
    jump Noir17
ScriptError: could not find label 'Noir17'.

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/Main/base.rpyc", line 13, in script call
  File "game/Enemies/Noir.rpy", line 287, in script
    jump Noir17
  File "C:\Users\João Lázaro\Desktop\HeroCorruption2-1.80-win\renpy\ast.py", line 1705, in execute
    rv = renpy.game.script.lookup(target)
  File "C:\Users\xxxxx\Desktop\HeroCorruption2-1.80-win\renpy\script.py", line 1103, in lookup
    raise ScriptError("could not find label '%s'." % str(original))
ScriptError: could not find label 'Noir17'.

Windows-10-10.0.26100 AMD64
Ren'Py 8.3.4.24120703
  1.80
Thu Oct 16 23:55:58 2025
really idk what's happening here. followed all the steps on the guide, but aways receiving the "same" error.
Edit: found the godamn issue:
you can't use uppercase on the pictures, changed my owns and worked like a charm!
now it's time to make LOTS of enemies :)
tx for the help!
 
Last edited:
Oct 16, 2021
71
68
142
Had some free time last night and today and decided to try making my own enemy. Honestly, the hardest part is finding porn that has the quality and variance that I would like from an encounter tbh. New enemy is Kira (sorry other guy making one with same name), she is a shemale, exists in the Forest map, has like 2 BJ phases, 2 anal phases, facial climax scene, and an anal then facial bad end if she beats you 5 times. I had to add a temp variable tracking player defeat count to the scripts that gets saved, so this requires a new run if you wanna try it. Installing should just be throwing the game folder in the HC2 directory and overwriting the files. Made for version 1.80.

I hope google docs sharing is allowed, this is literally my first ever post so idk. Link:
Google Drive View attachment 5349431
Were you able to add the enemy to the Gallery?

I have been able to add new enemies, weapons, item/weapon mechanics, areas, change mid-battle images into sex videos but I have been unable to add any new enemy to the Gallery. The game throws weird errors which doesn't make sense.

Shundi82 (the very helpful person who outlined the steps for adding new enemy in our previous discussions) did not encounter any Gallery error. I guess since I was using UnRen to decompile and extract, the error was coming out of it
 

makaiforce

Member
Nov 26, 2017
217
123
191
Were you able to add the enemy to the Gallery?

I have been able to add new enemies, weapons, item/weapon mechanics, areas, change mid-battle images into sex videos but I have been unable to add any new enemy to the Gallery. The game throws weird errors which doesn't make sense.

Shundi82 (the very helpful person who outlined the steps for adding new enemy in our previous discussions) did not encounter any Gallery error. I guess since I was using UnRen to decompile and extract, the error was coming out of it
what's the resolution for the videos compatible?
 

DogMammoth

Formerly 'kyle882'
May 24, 2018
20
24
66
Were you able to add the enemy to the Gallery?

I have been able to add new enemies, weapons, item/weapon mechanics, areas, change mid-battle images into sex videos but I have been unable to add any new enemy to the Gallery. The game throws weird errors which doesn't make sense.

Shundi82 (the very helpful person who outlined the steps for adding new enemy in our previous discussions) did not encounter any Gallery error. I guess since I was using UnRen to decompile and extract, the error was coming out of it
I didn't even bother trying cus I just threw that enemy together real quick. I'll probably make another enemy and then I can try adding them to the gallery in like 2 days or so. I never looked at that guy's guide but it's probs outdated so I'll just see if I can figure it out.
 

makaiforce

Member
Nov 26, 2017
217
123
191
I didn't even bother trying cus I just threw that enemy together real quick. I'll probably make another enemy and then I can try adding them to the gallery in like 2 days or so. I never looked at that guy's guide but it's probs outdated so I'll just see if I can figure it out.
you do the creations manually or with some software? (Ren'py editors / creators).
i'm a total novice on Ren'py, and idk how to create new maps, add certain attacks like the Grapples from mountains and etc
 

DogMammoth

Formerly 'kyle882'
May 24, 2018
20
24
66
you do the creations manually or with some software? (Ren'py editors / creators).
i'm a total novice on Ren'py, and idk how to create new maps, add certain attacks like the Grapples from mountains and etc
I just decompile the rpyc files, throw the ones I wanna edit into Visual Studio or whatever IDE and I do it manually. I use the other enemy files as reference when adding like special attacks or whatever. Never used renpy before and rarely code in python, but just learning other enemy files is how I figure stuff out.
 
  • Heart
Reactions: makaiforce

DogMammoth

Formerly 'kyle882'
May 24, 2018
20
24
66
Were you able to add the enemy to the Gallery?

I have been able to add new enemies, weapons, item/weapon mechanics, areas, change mid-battle images into sex videos but I have been unable to add any new enemy to the Gallery. The game throws weird errors which doesn't make sense.

Shundi82 (the very helpful person who outlined the steps for adding new enemy in our previous discussions) did not encounter any Gallery error. I guess since I was using UnRen to decompile and extract, the error was coming out of it
I added my Kira enemy into the gallery. To keep stuff organized I just made my own subsection in the locations menu to keep all my modded chars in one place instead of tacking them on to existing locations in the gallery menu. Everything is in screens.rpyc.

Line 2009 makes a new button that leads to the modded chars gallery.
line 2014 is making a new screen and line 2024 is the code that adds a button that opens a char's profile (gallery) page.

if you wanna add your char to a location's gallery screen you basically just need line 2024-2026.

Note that the images in archive.rpa need to follow the naming scheme the dev set up as well or the gallery images won't load properly.
nameX.webp for normal encounter images and pnameX.webp for Bad End images where name is your character name and X is the image number. Character buttons in the gallery menu also require nameicon.jpg, a 200x124 pixel size image, to be in your characters image folder in archive.rpa.

My Kira enemy and files it comes with have been updated to add Kira to the gallery.
 
Last edited:
Oct 16, 2021
71
68
142
what's the resolution for the videos compatible?
Like the normal images 1400x840 if I remember correctly, you can further reduce it for borders. The preliminary one that I did looked like this: https://f95zone.to/threads/hero-corruption-2-v1-75-diogaoo.104900/post-17669882

I added my Kira enemy into the gallery. To keep stuff organized I just made my own subsection in the locations menu to keep all my modded chars in one place instead of tacking them on to existing locations in the gallery menu. Everything is in screens.rpyc.

Line 2009 makes a new button that leads to the modded chars gallery.
line 2014 is making a new screen and line 2024 is the code that adds a button that opens a char's profile (gallery) page.

if you wanna add your char to a location's gallery screen you basically just need line 2024-2026.

Note that the images in archive.rpa need to follow the naming scheme the dev set up as well or the gallery images won't load properly.
nameX.webp for normal encounter images and pnameX.webp for Bad End images where name is your character name and X is the image number. Character buttons in the gallery menu also require nameicon.jpg, a 200x124 pixel size image, to be in your characters image folder in archive.rpa.

My Kira enemy and files it comes with have been updated to add Kira to the gallery.
Google Drive
Ah, thanks, I will check it out when I return home. Just for pointers, what tool did you use to decompile and extract? (I was using Unren, which led to decompiled .rpy throwing errors)
 

kiva1357

New Member
Mar 21, 2018
4
2
81
In the meantime, here's some modifications to make the game more of a sandbox. Simply paste the [game] folder on the same directory as the .exe of the game. Replace all files (script.rcpy, base.rcpy, city.rcpy and techniques.rcpy) and it should work!

Changes include (Game version 1.75 & 1.80):

GENERAL:
  • 300 personality points from the start
  • Tons of gold from the start
  • 10000 of each material from the start
  • All areas unlocked from the start
  • Bad endings don't end the run

BASE:
  • Rest restores everything to max
  • BATTLE, EVENT and ARENA SELECTOR (battling after 23:00 instead might cause unintended effects)
  • On top of that, inside the Battle->Extras yo'll find [AllAdds] and [Corruption], to set all addictions or corruption to a given value

CITY:
  • City available from day 1
  • Marie event can happen more than once in a playthrough
  • All jobs available everyday for as many times as you want
  • Can chose a random arena fighter
  • Refining works 99.99% of the time and automatically goes to +20
  • All scrolls for sale are T4
  • Training is always 99% efficient

Enjoy!
on line 1615 theres an error a that someone posted a picture of a little higher up for the 1.80 version
 

DogMammoth

Formerly 'kyle882'
May 24, 2018
20
24
66
Like the normal images 1400x840 if I remember correctly, you can further reduce it for borders. The preliminary one that I did looked like this: https://f95zone.to/threads/hero-corruption-2-v1-75-diogaoo.104900/post-17669882


Ah, thanks, I will check it out when I return home. Just for pointers, what tool did you use to decompile and extract? (I was using Unren, which led to decompiled .rpy throwing errors)
I use an online tool at . For compiling archives I use rpatool through the terminal.
 
  • Like
Reactions: Arcana Ultimata
3.60 star(s) 30 Votes