Ren'Py Brothel King [v0.3] [Goldo]

4.60 star(s) 48 Votes

ImperialD

Devoted Member
Oct 24, 2019
11,541
11,727
I answered it about 2 pages ago that its not an update for 0.15b. You need to redownload the game for it. And apply the patch.
so i gotta redownload 15b .. that has no patches .. again , then add this patch to it ????
that sounds kinda stupid :mad:
 
  • Angry
Reactions: Reij

Jman9

Engaged Member
Jul 17, 2019
2,295
965
so i gotta redownload 15b .. that has no patches .. again , then add this patch to it ????
For the umpteenth time: there are four files archives:
  1. Base 0.15b
  2. 0.15b update
  3. Base 0.2
  4. 0.2 update
You need either 1&2 or 3&4. You will have trouble if you go either 3, 1&4, 3&2 or possibly even just 1. You will also have trouble if you run BK via the Ren'Py SDK or Joiplay and don't use a compatible version (0.15b is Ren'Py 7.0.0, 0.2 is Ren'Py 7.3.5, plugin versions can vary).

that sounds kinda stupid
It's for Goldo's convenience, not yours. :p That being said, I do hope we'll get some sort of 'final release' version without an extra patch and obvious bugs this time. Maybe. If the stars align.
 
Last edited:

vadi9203

Member
Aug 2, 2019
431
248
so i gotta redownload 15b .. that has no patches .. again , then add this patch to it ????
that sounds kinda stupid

It's the 0.2 test version what you find on the first page by now not 0.15b. And yes you download it. If you try to apply the patch for the 0.15 version you only get a million error massage becuse its not compatible with it as Jman posted the renpy engine version is not the same.
 
  • Like
Reactions: DevilInside666

CapPingu

Newbie
Mar 5, 2018
44
30
I get this error everytime I do any kunoichi 2nd event:


Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKendday.rpy", line 62, in script call
    call play_events(type = "night") from _call_play_events
  File "game/BKevents.rpy", line 663, in script call
    call display_events(ev_list) from _call_display_events
  File "game/BKevents.rpy", line 675, in script call
    $ ev.play()
  File "game/BKchapter2.rpy", line 6468, in script
    $ unlock_achievement("h narika")
  File "game/BKchapter2.rpy", line 6468, in <module>
    $ unlock_achievement("h narika")
  File "game/BKachievements.rpy", line 230, in unlock_achievement
    if achievement_dict[target].unlock(level_cap):
KeyError: u'h narika'

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

Full traceback:
  File "game/BKendday.rpy", line 62, in script call
    call play_events(type = "night") from _call_play_events
  File "game/BKevents.rpy", line 663, in script call
    call display_events(ev_list) from _call_display_events
  File "game/BKevents.rpy", line 675, in script call
    $ ev.play()
  File "game/BKchapter2.rpy", line 6468, in script
    $ unlock_achievement("h narika")
  File "D:\Brothel_King-pc\renpy\ast.py", line 914, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "D:\Brothel_King-pc\renpy\python.py", line 2028, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/BKchapter2.rpy", line 6468, in <module>
    $ unlock_achievement("h narika")
  File "game/BKachievements.rpy", line 230, in unlock_achievement
    if achievement_dict[target].unlock(level_cap):
KeyError: u'h narika'

Windows-8-6.2.9200
Ren'Py 7.3.5.606
Brothel King 0.2 v210826
Wed Oct 06 19:06:02 2021
 

doujinftw

Active Member
Nov 26, 2020
885
1,209
Mega
It's the 0.2 test version what you find on the first page by now not 0.15b. And yes you download it. If you try to apply the patch for the 0.15 version you only get a million error massage becuse its not compatible with it as Jman posted the renpy engine version is not the same.
they should just link people to straight to the hhs site where it just have each thread dedicate to each version easier for people to download the correct files
 

vadi9203

Member
Aug 2, 2019
431
248
they should just link people to straight to the hhs site where it just have each thread dedicate to each version easier for people to download the correct files
this will send you straight there.

Well as i mentioned before im working on adding more sound to events. you can download the music and sound files for it.
For the sounds to work put the sound rpy folder into the mods folder so later on you dont need to rewriteing the settings.rpy.
The sounds, music folder and the chapter1 and intro rpy are going straight for the game folder where you apply the patch. The option.rpy is optimal if you want to change the main menu song.

This patch will change the music played in some places. For the other events i will postpone it for the time being until i dont get an answer from Goldo what changes he will make in them. (I would like if someone point out a few mistakes in places where i misput the sounds if possible.)
 
Last edited:

Hryme

Member
Aug 15, 2016
271
231
Please let us know which girl(s) caused an issue if you could, so we can verify the errors, contact the creators and/or remove them from the Girl Packs google sheet.

We've been thinking about putting together a download bundle of multiple recommended girls to simplify this process for newcomers.
I had problems when downloading and installing the anime girls from the signature of of Leortha in addition to the basic girls pack. But the problems is probably from not applying the patch to a 0.2 base install. I don't want to try again as I accidentaly deleted the downloads and MEGA takes forever when you download from folders.

A download bundle of multiple recommended girls that just works with the base game would be excellent. I have no interest in combing through a 300 page thread or a huge google doc to find some girls that work. And I suspect there are other people like me that just give up trying the game instead of doing that.
 

Jman9

Engaged Member
Jul 17, 2019
2,295
965
It needs a better release model with a group of girls added that works with just one download.

There is too much wonkiness with all the different girl packs...
There is a basic girl pack linked next to the download, both in the OP here and on HHS. There is even a bloody bolded red warning plastered next to it!

Unfortunately, the pack is ancient, and the girls aren't very good. The best that can be said about it is that it's lightweight and the characters are relatively well-known.

The community tried to make a new one some time ago, but since nobody really wanted to take charge of the project, the project kinda died. Maybe someone will dust it off again.

A download bundle of multiple recommended girls that just works with the base game would be excellent. I have no interest in combing through a 300 page thread or a huge google doc to find some girls that work. And I suspect there are other people like me that just give up trying the game instead of doing that.
That's been a problem with girl packs since forever, and I don't think there's a really good solution. There's the basic girl pack, at least. We tried to make a 'community girl pack' and didn't get anywhere, because it's a lot of work and we all have other things we find more fun. Even BK-related things. :cautious:

I guess the closest is to just download Leortha's full Mega folder and call it a day. Maybe prune the packs a little if your tastes are more demanding than his.



...and seems that the game has a lot of code to evaluate what you have in your girls directory. This code seems to break a lot.
Never played this game, have no packs or anything downloaded, and even navigating around the main menu is throwing constant errors
The code is working fine. You're just trying to play the game without any girl packs, which is explicitly warned against. I suppose Goldo could write exception handling in case another idiot tries this but personally, I'd rather he spent his extremely limited dev time on something more worthwhile.

It is a shame cause I remember playing the first iteration of this game ages ago and that worked a lot better. Things need to be tightened up.
Your memory fails you. There is quite a bit of code that loads the girl packs, but it does so upon startup and doesn't fiddle with the files once the game is on. That's why the game can take a while to load on slower machines. It used to be the other way around, and you're the first person I see longing for the days when the game did rummage through files a lot more.



Rollback won't be good for a battle, but casuals will love you if you let them rollback scum the last move when its that time of the month for the rng gods.
The most worthwhile thing you can rollback is the whole night. And that's exactly where dictionaries get broken. :cry: I think training probably also falls under that, since interactions do a lot of logging and storing data. Event challenge rolls and loot most likely can be rolled back without problems, but I don't think a dev sabotaging his own work is something a player is entitled to demand.

One of my pet peeves with bk when I played it quite a while back was the way a training choice could go horribly wrong right away and you had no way to undo it.
Quickload? It does have this horrible annoying confirmation popup, though.



...I fear this project will never be finished or stable.
BK has had a rather complete simbro part of the game since... 0.14, I think. And 0.15b was stable enough for well over a year.

For a game with so much state, Python is a terrible fit.
Python is a major language with a full range of applications. There are tradeoffs, of course, but Python is not something inherently 'anti-state'.

Where you're right is that Ren'Py is a poor choice for a complex game like that, for several reasons. But it also provides several nice perks, and this is all water under the bridge anyway. Goldo is not going to rebuild BK again from the ground up.

The odds of any kind of meaningful save compatibility is practically non-existent.
It's very much possible. And I say that as someone with a personal fork of an older version of BK who's done crazy stupid shit with it while in the middle of a game and having to update stuff manually and semi-manually. And when I was still making a public spectacle of it, I did manage to keep new stuff relatively backwards compatible, at least code-wise.

It's a question of what's a better return on dev time spent, again. That, and the fact Goldo wasn't aware of the 'after_load' label until recently and has generally been very successful at resisting versioning. :p

My suggestion would be to start fresh in Unity, Godot, or hell, even GMS/RPGM would be a better fit. Ren'Py is the absolute worst choice given the context, and the odds of getting a completed, relatively stable game are not at all good.
Not going to happen if you want 0.3 and maybe even 0.4. Goldo has other, more... primal hobbies now. Like being a mini-boss and planting his seed in RL. ;) And in my experience, even full teams manage to fuck up with Unity or RPGM more often than not. YMMV.
 
  • Like
Reactions: artghrl

doujinftw

Active Member
Nov 26, 2020
885
1,209
this will send you straight there.

Well as i mentioned before im working on adding more sound to events. you can download the music and sound files for it.
For the sounds to work put the sound rpy folder into the mods folder so later on you dont need to rewriteing the settings.rpy.
The sounds, music folder and the chapter1 and intro rpy are going straight for the game folder where you apply the patch. The option.rpy is optimal if you want to change the main menu song.

This patch will change the music played in some places. For the other events i will postpone it for the time being until i dont get an answer from Goldo what changes he will make in them. (I would like if someone point out a few mistakes in places where i misput the sounds if possible.)
oh i been on the hhs site already, what i mean is for the first poster should link it on the first page some that people that exclusively only use f95zone know where to go to navigate the right file, nvm clicking on the name goldo should take them there :ROFLMAO:
 

Ixiah

Member
Aug 17, 2016
427
247
Is it possible that older Girl Packs can cause the game to crash like in this pic ?
 

Kite80

Well-Known Member
Modder
May 30, 2017
1,082
1,079
When you suspect that a girl pack may cause errors in your game, probably there are elements in its _BK.ini or_events.in no more compatible with your current version. In that case, try to delete such files in the pack and see if the errors keep showing up
 

deathsdelano

New Member
May 19, 2018
2
1
I get this error everytime I do any kunoichi 2nd event:


Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKendday.rpy", line 62, in script call
    call play_events(type = "night") from _call_play_events
  File "game/BKevents.rpy", line 663, in script call
    call display_events(ev_list) from _call_display_events
  File "game/BKevents.rpy", line 675, in script call
    $ ev.play()
  File "game/BKchapter2.rpy", line 6468, in script
    $ unlock_achievement("h narika")
  File "game/BKchapter2.rpy", line 6468, in <module>
    $ unlock_achievement("h narika")
  File "game/BKachievements.rpy", line 230, in unlock_achievement
    if achievement_dict[target].unlock(level_cap):
KeyError: u'h narika'

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

Full traceback:
  File "game/BKendday.rpy", line 62, in script call
    call play_events(type = "night") from _call_play_events
  File "game/BKevents.rpy", line 663, in script call
    call display_events(ev_list) from _call_display_events
  File "game/BKevents.rpy", line 675, in script call
    $ ev.play()
  File "game/BKchapter2.rpy", line 6468, in script
    $ unlock_achievement("h narika")
  File "D:\Brothel_King-pc\renpy\ast.py", line 914, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "D:\Brothel_King-pc\renpy\python.py", line 2028, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/BKchapter2.rpy", line 6468, in <module>
    $ unlock_achievement("h narika")
  File "game/BKachievements.rpy", line 230, in unlock_achievement
    if achievement_dict[target].unlock(level_cap):
KeyError: u'h narika'

Windows-8-6.2.9200
Ren'Py 7.3.5.606
Brothel King 0.2 v210826
Wed Oct 06 19:06:02 2021
got the error with Mizuki, fixed by going into the BKchapter2.rpy and changed H Mizuki into C2 mizuki, and it worked. The issue is in the achievement file they are keyed as C2 -kunochi name- while in the ch2 file, its trying to key them as H -kunochi(mizuki)- when there the achievement.rpy is looking for c2 -kunochi(mizuki)
 
  • Like
Reactions: CapPingu

Ingvar77

Newbie
May 1, 2021
93
48
Just started a new game and get this
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKintro.rpy", line 108, in script call
    $ renpy.call("chapter", 0)
  File "game/BKevents.rpy", line 363, in script
    python:
  File "game/BKevents.rpy", line 365, in <module>
    game.set_max_girl_level()
  File "game/BKclasses.rpy", line 318, in set_max_girl_level
    self.max_girl_level = {1: 1, 2: 5, 3: 5, 4: 10, 5: 10, 6: 15, 7: 20}[self.chapter]
KeyError: 0

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

Full traceback:
  File "game/BKintro.rpy", line 108, in script call
    $ renpy.call("chapter", 0)
  File "game/BKevents.rpy", line 363, in script
    python:
  File "K:\Brothel king 0_2\renpy\ast.py", line 914, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "K:\Brothel king 0_2\renpy\python.py", line 2028, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/BKevents.rpy", line 365, in <module>
    game.set_max_girl_level()
  File "game/BKclasses.rpy", line 318, in set_max_girl_level
    self.max_girl_level = {1: 1, 2: 5, 3: 5, 4: 10, 5: 10, 6: 15, 7: 20}[self.chapter]
KeyError: 0

Windows-7-6.1.7601-SP1
Ren'Py 7.3.5.606
Brothel King 0.2 v210826
Thu Oct 07 03:01:01 2021
 
May 16, 2017
46
50
Ok, so I goofed and ran the game unpatched with no girl data (was used to girls being there by default). Added girls. Ran it. Still broken. Do some reading. Ok, the patch is important. Install patch. Still broken. More reading. Ok I gotta delete certain files? I guess I'll delete everything but the girls folder, unzip the game and then unzip the patch and update the files. That should do it.

The game is even more broken now. More errors in more places and I still can't start the game because it gives me a null girl by default.

Any insights?
 
  • Like
Reactions: Hryme

phupdup

Well-Known Member
Oct 24, 2019
1,391
1,110
See my post a couple of pages back.

Just started a new game and get this
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKintro.rpy", line 108, in script call
    $ renpy.call("chapter", 0)
  File "game/BKevents.rpy", line 363, in script
    python:
  File "game/BKevents.rpy", line 365, in <module>
    game.set_max_girl_level()
  File "game/BKclasses.rpy", line 318, in set_max_girl_level
    self.max_girl_level = {1: 1, 2: 5, 3: 5, 4: 10, 5: 10, 6: 15, 7: 20}[self.chapter]
KeyError: 0

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

Full traceback:
  File "game/BKintro.rpy", line 108, in script call
    $ renpy.call("chapter", 0)
  File "game/BKevents.rpy", line 363, in script
    python:
  File "K:\Brothel king 0_2\renpy\ast.py", line 914, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "K:\Brothel king 0_2\renpy\python.py", line 2028, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/BKevents.rpy", line 365, in <module>
    game.set_max_girl_level()
  File "game/BKclasses.rpy", line 318, in set_max_girl_level
    self.max_girl_level = {1: 1, 2: 5, 3: 5, 4: 10, 5: 10, 6: 15, 7: 20}[self.chapter]
KeyError: 0

Windows-7-6.1.7601-SP1
Ren'Py 7.3.5.606
Brothel King 0.2 v210826
Thu Oct 07 03:01:01 2021
 
  • Like
Reactions: Ingvar77
May 16, 2017
46
50
Pretty nifty, but sadly, zero changes on my end. Still start with an error, if I try to pack update the girls, another error, and still 0 girls to pick from at the intro. I tried putting your files in the /game folder, but that broke the game so hard as to be unable to run in its entirety so I moved them to the main folder and I'm not seeing any changes.

Gonna double check stuff. Maybe I have things in the wrong places.

Well, I had things in the wrong spots got them in the right spots, but still unplayable.
 
Last edited:
4.60 star(s) 48 Votes