News:

Please request registration email again and then check your "Spam" folder

Former www.henthighschool.com

Modding Question

Started by darthdestroyeis, Jul 03, 2022, 08:30 PM

Previous topic - Next topic

darthdestroyeisTopic starter

Over time, I've been working on some UI sizing / location overhauls to make the game better fit a 1080p / 1440p screen. To do this though, I have to update multiple game files, which get wiped out every time a new update is posted. I would like to make my changes available to the community, but don't want to have to redo it every time an update drops. To this effect, is there any way to turn these changes into a mod, so that I don't have to redo these changes any time a new game update drops?

Example of Original layout vs Updated

Original: https://i.ibb.co/8P0wWHK/Og-Ui-Example.png
Updated: https://i.ibb.co/1f44cyh/Updated-Ui-Example.png

Leortha

Those two image links point to the same place.
Mega link for all my Brothel King girl packs:

https://mega.nz/folder/Fcg2lBID#yKalC_e47WAS8jsbHPyOvQ

Mega link for my loli packs:

https://mega.nz/folder/BMwizTwD#89Lqk4Q2cFxFNVQEzTzXDg

darthdestroyeisTopic starter

@Leortha should be fixed now. Thanks!

DougTheC

#3
Quote from: darthdestroyeis on Jul 03, 2022, 08:30 PMOver time, I've been working on some UI sizing / location overhauls to make the game better fit a 1080p / 1440p screen. To do this though, I have to update multiple game files, which get wiped out every time a new update is posted. I would like to make my changes available to the community, but don't want to have to redo it every time an update drops. To this effect, is there any way to turn these changes into a mod, so that I don't have to redo these changes any time a new game update drops?

Example of Original layout vs Updated

Original: https://i.ibb.co/8P0wWHK/Og-Ui-Example.png
Updated: https://i.ibb.co/1f44cyh/Updated-Ui-Example.png

You may be able to get your effect by adding an entirely new .rpy file, and putting in your changes in a block with a larger init value. Won't be able to do things like redefine labels or functions.

You could even try using the same init value in an added file alphabetically after changed file, like "original_filename_a_MyMod.rpy" after  "original_filename.rpy". More risky, but maybe necessary if other files use variables at same init level.

Then copy this file into any new release/patch, revising if needed.
I predict that May 5, 2022, the US Dow Jones index will drop over 1,063 points.
It's a sure thing.

If we believe absurdities we shall commit atrocities. -- Voltaire
-
Advice from the radio: Wash your hands, often with soap and water.
-
My doctor put me on the Pro Plan® Bright Mind™ diet.

neronero

Better widescreen support sounds like a great addition to the game which Goldo is also eager to implement.

For the short term, more patches are very unlikely:
Quote from: Goldo on Jul 01, 2022, 05:11 PMThis is the last 0.2 patch, for real - next up will be the test version for 0.3 (still some time away).

For version 0.3 and beyond, best to share your changes with Goldo so he can (hopefully) incorporate them directly into the game.
My Girl Packs: [ link ] - Trait King mod: [ link ]

Goldo

Yes, neronero is right, I'm all for including them in vanilla. Although I would like to point out that in the past some people have suggested changes that fit their particular screen but didn't scale properly to other resolutions. So it will require some testing to make sure the changes are robust, but if it is the case, it could be added to 0.3.
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

darthdestroyeisTopic starter

Sounds good Goldo. I usually work towards 1080p sizing since that's most common these days. Will work on porting my adjustments over to the newer files and will send em to ya once I have a few UI sections done

Goldo

Quote from: darthdestroyeis on Jul 06, 2022, 03:04 AMSounds good Goldo. I usually work towards 1080p sizing since that's most common these days. Will work on porting my adjustments over to the newer files and will send em to ya once I have a few UI sections done

Thank you. If possible try to comment your changes (or the beginning/end of sections you change), so that I can more easily identify them.
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

Yasaki74

Quote from: Goldo on Jul 08, 2022, 03:16 PM
Quote from: darthdestroyeis on Jul 06, 2022, 03:04 AMSounds good Goldo. I usually work towards 1080p sizing since that's most common these days. Will work on porting my adjustments over to the newer files and will send em to ya once I have a few UI sections done

Thank you. If possible try to comment your changes (or the beginning/end of sections you change), so that I can more easily identify them.
self.MC_relationship_level = 0 # 0: stranger, 1: friend, 2: love interest, 3: girlfriend, 4: lover, 5: job offerImma do what's called a pro gamer move
self.MC_relationship_level = 0 # 0: stranger, 1: friend, 2: love interest, 3: girlfriend, 4: lover, 5: job offer, 6: Marriage