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

4.60 star(s) 51 Votes

GH20

Member
Feb 21, 2020
161
179
Oh, new update for BK? Have been a while since i was on the forum, wonder what was changed.
 
Sep 21, 2019
237
199
is there a way to turn off randomly generated girls or at least reduce the frequency? I have alot of girl packs but finding yellow names are kinda rare its just the same ones randomized over and over. Would like to know if there's a way to make it only use non-clones or at least reduce amount of randoms.
Yeah there is, for both slave girls and free girls. So in BKfunctions.rpy in the game folder, change line 526
Python:
        slavemarket.girls = get_girls(nb)
to
Python:
        slavemarket.girls = get_girls(nb, prefer_original = True)
and for the free girls change line 560 from
Python:
            game.free_girls += get_girls(nb - len(game.free_girls), free=True)
to
Python:
            game.free_girls += get_girls(nb - len(game.free_girls), free=True, prefer_original = True)
.
The girls will be unique whenever the random choice pick a girl pack with no active unique in the game world. Note that game balance is broken as a result: unique/golden girls get a guaranteed golden trait.
 

D Dave

Member
Sep 8, 2021
185
193
I was about to suggest to set unigue to true in each of the girls folder.
But that seems a hassle xD

Edit: Tab characters are not allowed in Phyton. I don't need more reasons to dislike Phyton. :rolleyes:
 
Last edited:
  • Haha
Reactions: RandomFapinator

vadi9203

Member
Aug 2, 2019
461
273
I am likely just missing something/being dumb, but the pictures for my girls seem to change randomly every day and it is making it hard to keep track of them. Is it usually like this or am I missing something?

You are not missing anything and you arent dumb either. The code was made to change the girl's images every time with the profile, portrait etc pic's in the girlpack. For example if you 5 profile pic's then the game will randomly choose one of them for the next day. If you only have 1 then you will get same pic every time.


Small question, do we have a way to edit the sexual preference ? Meaning which type of sexual act she likes or not

Already tried with King's Way mods, but it seems it isn't persistent throught this way, and I have no idea if there is a command for that.
You can set it up with a _BK.ini file. You can add some favorite fixation too for that prefence to make sure the girl will like that sexual act. (Only works on new girl's, not on the existing ones what you already have if you load a save file, but it will remain no matter how many time's you restart the game)
 
Last edited:

Xakkic

Newbie
Aug 24, 2022
19
15
So i'm Getting an error when i try to start the game. Any one have any idea on how to fix it?


After initialization, but before game start.
File "game/BKhelp.rpy", line 401, in prepare_screen
screen help_menu(scr):
File "game/BKhelp.rpy", line 401, in prepare
screen help_menu(scr):
File "game/BKhelp.rpy", line 415, in prepare
hbox spacing xres(10) xpos 0.0 ypos 0.15 xsize 0.85 ysize 0.7:
File "game/BKhelp.rpy", line 415, in prepare
hbox spacing xres(10) xpos 0.0 ypos 0.15 xsize 0.85 ysize 0.7:
File "game/BKhelp.rpy", line 416, in prepare
frame background None xmargin xres(10):
File "game/BKhelp.rpy", line 416, in prepare
frame background None xmargin xres(10):
File "game/BKhelp.rpy", line 417, in prepare
has vbox
File "game/BKhelp.rpy", line 417, in prepare
has vbox
Exception: A screen named notify_history does not exist.

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

Full traceback:
File "D:\Brothel_King-pc-0.3t\Brothel_King-pc\renpy\bootstrap.py", line 359, in bootstrap
renpy.main.main()
File "D:\Brothel_King-pc-0.3t\Brothel_King-pc\renpy\main.py", line 635, in main
run(restart)
File "D:\Brothel_King-pc-0.3t\Brothel_King-pc\renpy\main.py", line 94, in run
renpy.display.screen.prepare_screens()
File "D:\Brothel_King-pc-0.3t\Brothel_King-pc\renpy\display\screen.py", line 1026, in prepare_screens
s.ast.prepare_screen()
File "game/BKhelp.rpy", line 401, in prepare_screen
screen help_menu(scr):
File "game/BKhelp.rpy", line 401, in prepare
screen help_menu(scr):
File "game/BKhelp.rpy", line 415, in prepare
hbox spacing xres(10) xpos 0.0 ypos 0.15 xsize 0.85 ysize 0.7:
File "game/BKhelp.rpy", line 415, in prepare
hbox spacing xres(10) xpos 0.0 ypos 0.15 xsize 0.85 ysize 0.7:
File "game/BKhelp.rpy", line 416, in prepare
frame background None xmargin xres(10):
File "game/BKhelp.rpy", line 416, in prepare
frame background None xmargin xres(10):
File "game/BKhelp.rpy", line 417, in prepare
has vbox
File "game/BKhelp.rpy", line 417, in prepare
has vbox
File "D:\Brothel_King-pc-0.3t\Brothel_King-pc\renpy\sl2\slast.py", line 2027, in prepare
raise Exception("A screen named {} does not exist.".format(self.target))
Exception: A screen named notify_history does not exist.

Windows-10-10.0.22631 AMD64
Ren'Py 8.2.0.24012702
Bro King 0.2 v241128
Thu Dec 5 12:24:19 2024
 

wirox

Member
Sep 18, 2017
156
658
After I add a video to an action, how do I name it to make it prioritized?
'00000' - did not work. I still often see pictures instead of video.

155.png

Do I have to delete (rename) photos ? How to make less photo and the girl didn't lose her rating?
 

korte7

Newbie
Jul 20, 2020
38
56
After I add a video to an action, how do I name it to make it prioritized?
'00000' - did not work. I still often see pictures instead of video.

Do I have to delete (rename) photos ? How to make less photo and the girl didn't lose her rating?
I think you add freq_high in the name of the videos or freq_low in the name of the photos. At least that is what I saw in some of my girlpacks. I don't know if that works though, I don't much care about that.
 

vadi9203

Member
Aug 2, 2019
461
273
After I add a video to an action, how do I name it to make it prioritized?
'00000' - did not work. I still often see pictures instead of video.

View attachment 4300735

Do I have to delete (rename) photos ? How to make less photo and the girl didn't lose her rating?
With the You can set the showing the of frequency higher. So it will show up more time.

I think you add freq_high in the name of the videos or freq_low in the name of the photos. At least that is what I saw in some of my girlpacks. I don't know if that works though, I don't much care about that.
You are right about this. And yes it does work.
 

vadi9203

Member
Aug 2, 2019
461
273
So i'm Getting an error when i try to start the game. Any one have any idea on how to fix it?


After initialization, but before game start.
File "game/BKhelp.rpy", line 401, in prepare_screen
screen help_menu(scr):
File "game/BKhelp.rpy", line 401, in prepare
screen help_menu(scr):
File "game/BKhelp.rpy", line 415, in prepare
hbox spacing xres(10) xpos 0.0 ypos 0.15 xsize 0.85 ysize 0.7:
File "game/BKhelp.rpy", line 415, in prepare
hbox spacing xres(10) xpos 0.0 ypos 0.15 xsize 0.85 ysize 0.7:
File "game/BKhelp.rpy", line 416, in prepare
frame background None xmargin xres(10):
File "game/BKhelp.rpy", line 416, in prepare
frame background None xmargin xres(10):
File "game/BKhelp.rpy", line 417, in prepare
has vbox
File "game/BKhelp.rpy", line 417, in prepare
has vbox
Exception: A screen named notify_history does not exist.

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

Full traceback:
File "D:\Brothel_King-pc-0.3t\Brothel_King-pc\renpy\bootstrap.py", line 359, in bootstrap
renpy.main.main()
File "D:\Brothel_King-pc-0.3t\Brothel_King-pc\renpy\main.py", line 635, in main
run(restart)
File "D:\Brothel_King-pc-0.3t\Brothel_King-pc\renpy\main.py", line 94, in run
renpy.display.screen.prepare_screens()
File "D:\Brothel_King-pc-0.3t\Brothel_King-pc\renpy\display\screen.py", line 1026, in prepare_screens
s.ast.prepare_screen()
File "game/BKhelp.rpy", line 401, in prepare_screen
screen help_menu(scr):
File "game/BKhelp.rpy", line 401, in prepare
screen help_menu(scr):
File "game/BKhelp.rpy", line 415, in prepare
hbox spacing xres(10) xpos 0.0 ypos 0.15 xsize 0.85 ysize 0.7:
File "game/BKhelp.rpy", line 415, in prepare
hbox spacing xres(10) xpos 0.0 ypos 0.15 xsize 0.85 ysize 0.7:
File "game/BKhelp.rpy", line 416, in prepare
frame background None xmargin xres(10):
File "game/BKhelp.rpy", line 416, in prepare
frame background None xmargin xres(10):
File "game/BKhelp.rpy", line 417, in prepare
has vbox
File "game/BKhelp.rpy", line 417, in prepare
has vbox
File "D:\Brothel_King-pc-0.3t\Brothel_King-pc\renpy\sl2\slast.py", line 2027, in prepare
raise Exception("A screen named {} does not exist.".format(self.target))
Exception: A screen named notify_history does not exist.

Windows-10-10.0.22631 AMD64
Ren'Py 8.2.0.24012702
Bro King 0.2 v241128
Thu Dec 5 12:24:19 2024
Just install the game. And copy/paste the the folder and icon from the patch into the brothel king_pc folder and thats all. Btw you need to download the BK 0.3t version (its in the OP. The medifire link it's the official one from the game creator Goldo) You are trying to use the patch on the 0.2 version so ofc it will not work.
 
Last edited:

Xakkic

Newbie
Aug 24, 2022
19
15
Just install the game. And copy/paste the the folder and icon from the patch into the brothel king_pc folder and thats all. Btw you need to download the BK 0.3t version. You are trying to use it on the 0.2 version so ofc it will not work.
funny. because the path is literally listed as Brother-King-pc.0.3t
 

Xakkic

Newbie
Aug 24, 2022
19
15
From this alone im seeing you are using the 0.2 version of the game.
>.< i don't know why. i literally extracted from the o.3t folder. unless the patch i got was from 0.2 which would have botched it. That was indeed it. >.< Thank you all for your help!
 
Last edited:

vadi9203

Member
Aug 2, 2019
461
273
>.< i don't know why. i literally extracted from the o.3t folder. unless the patch i got was from 0.2 which would have botched it. That was indeed it. >.< Thank you all for your help!
Both mediafire links are the official ones and the link wont change even if the game get an update.
 

Wacky Woohoo Pizza Man

It's Pizza Time
Donor
Feb 19, 2018
297
397
Yeah there is, for both slave girls and free girls. So in BKfunctions.rpy in the game folder, change line 526
Python:
        slavemarket.girls = get_girls(nb)
to
Python:
        slavemarket.girls = get_girls(nb, prefer_original = True)
and for the free girls change line 560 from
Python:
            game.free_girls += get_girls(nb - len(game.free_girls), free=True)
to
Python:
            game.free_girls += get_girls(nb - len(game.free_girls), free=True, prefer_original = True)
.
The girls will be unique whenever the random choice pick a girl pack with no active unique in the game world. Note that game balance is broken as a result: unique/golden girls get a guaranteed golden trait.
oh sweet thanks, i was worried cuz i didnt see an options in settings but i am glad the game dev had optional parameters to the code to make it work this way. Also what are golden traits?
 
Sep 21, 2019
237
199
oh sweet thanks, i was worried cuz i didnt see an options in settings but i am glad the game dev had optional parameters to the code to make it work this way. Also what are golden traits?
I am sure the dev left those options for debugging, and I am super grateful to him for that :D
Golden traits are the traits that appear yellow on the character description. Normally those traits are supposed to be rarer, are they are overall better than the average green positive trait (average girls get two green traits). Unique girls (golden names) get a guaranteed golden trait.

Note that I say that based on my low experience of the game: I only played until chapter 3 (where the story isn't finished to be implemented) and that's it. Then I tried screwing around things. I haven't even tried the mods like trait king's mod that people have been talking about, so take my info with a grain of salt. That trait king mod sounds great btw. Maybe I should give it a go.
 

SeibaUrufu

Newbie
Dec 21, 2017
87
6
You are not missing anything and you arent dumb either. The code was made to change the girl's images every time with the profile, portrait etc pic's in the girlpack. For example if you 5 profile pic's then the game will randomly choose one of them for the next day. If you only have 1 then you will get same pic every time.




You can set it up with a _BK.ini file. You can add some favorite fixation too for that prefence to make sure the girl will like that sexual act. (Only works on new girl's, not on the existing ones what you already have if you load a save file, but it will remain no matter how many time's you restart the game)

Thanks, ended up using your idea, took some reload of the game to get one like I wanted.
 

rasta

Newbie
Aug 25, 2017
49
15
Hi,

I'm having this error after the intro:


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

While running game code:
  File "game/BKintro.rpy", line 1760, in script call
    call advance_to_chapter(starting_chapter, silent=True, start=True) from _call_advance_to_chapter_2
  File "game/BKevents.rpy", line 786, in script
    $ calendar.updates(change_district=not start) # change_district disables quest and resource market updates
  File "game/BKevents.rpy", line 786, in <module>
    $ calendar.updates(change_district=not start) # change_district disables quest and resource market updates
  File "game/BKclasses.rpy", line 3025, in updates
    weekly_updates(change_district)
  File "game/BKfunctions.rpy", line 2793, in weekly_updates
    update_slaves()
  File "game/BKfunctions.rpy", line 526, in update_slaves
    slavemarket.girls = get_girls(nb)
  File "game/BKfunctions.rpy", line 302, in get_girls
    template_girls = [g for g in generate_girls() if can_generate(g, free)] # Must be separate from available_templates to avoid creating new girl objects with every loop
  File "game/BKfunctions.rpy", line 302, in <lambda>
    template_girls = [g for g in generate_girls() if can_generate(g, free)] # Must be separate from available_templates to avoid creating new girl objects with every loop
  File "game/BKfunctions.rpy", line 228, in generate_girls
    girl.load_ini()
  File "game/BKgirlclass.rpy", line 429, in load_ini
    self.init_dict = read_init_file(self.ini, search_for=search_for, skip_checks=skip_checks)
  File "game/BKfunctions.rpy", line 3681, in read_init_file
    raise AssertionError("_BK.ini error with girlpack: %s. 'background story/generate_as' should be set to 'all', 'slave', 'free' or 'story'." % file)

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

Full traceback:
  File "game/BKintro.rpy", line 1760, in script call
    call advance_to_chapter(starting_chapter, silent=True, start=True) from _call_advance_to_chapter_2
  File "game/BKevents.rpy", line 786, in script
    $ calendar.updates(change_district=not start) # change_district disables quest and resource market updates
  File "Brothel_King-pc\renpy\ast.py", line 823, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "Brothel_King-pc\renpy\python.py", line 1178, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/BKevents.rpy", line 786, in <module>
    $ calendar.updates(change_district=not start) # change_district disables quest and resource market updates
  File "game/BKclasses.rpy", line 3025, in updates
    weekly_updates(change_district)
  File "game/BKfunctions.rpy", line 2793, in weekly_updates
    update_slaves()
  File "game/BKfunctions.rpy", line 526, in update_slaves
    slavemarket.girls = get_girls(nb)
  File "game/BKfunctions.rpy", line 302, in get_girls
    template_girls = [g for g in generate_girls() if can_generate(g, free)] # Must be separate from available_templates to avoid creating new girl objects with every loop
  File "game/BKfunctions.rpy", line 302, in <lambda>
    template_girls = [g for g in generate_girls() if can_generate(g, free)] # Must be separate from available_templates to avoid creating new girl objects with every loop
  File "game/BKfunctions.rpy", line 228, in generate_girls
    girl.load_ini()
  File "game/BKgirlclass.rpy", line 429, in load_ini
    self.init_dict = read_init_file(self.ini, search_for=search_for, skip_checks=skip_checks)
  File "game/BKfunctions.rpy", line 3681, in read_init_file
    raise AssertionError("_BK.ini error with girlpack: %s. 'background story/generate_as' should be set to 'all', 'slave', 'free' or 'story'." % file)

Windows-10-10.0.22631 AMD64
Ren'Py 8.2.0.24012702
Bro King 0.3t v241117
Fri Dec  6 16:51:42 2024
 
  • Like
Reactions: klckr and D Dave

D Dave

Member
Sep 8, 2021
185
193
Can you tell us which girlpack you used. it has a problem, or you simply edited the files wrong.

this is the error (the last line of your report):
raise AssertionError("_BK.ini error with girlpack: %s. 'background story/generate_as' should be set to 'all', 'slave', 'free' or 'story'." % file)

at least one girl has a wrong "bk_ini" file
good luck searching for it.

You can open the bk_ini files with any text editor, then search "generate_as" and make sure it is set to "all".
I also had a broken girls pack, where it was set to "random", forgot which one it was.
 

Hermenegild

Active Member
Sep 18, 2017
579
344
>.< i don't know why. i literally extracted from the o.3t folder. unless the patch i got was from 0.2 which would have botched it. That was indeed it. >.< Thank you all for your help!
If I was to guess, you might have "patched" your basic 0.3 installation with the latest 0.2 patch... Please check.
 
4.60 star(s) 51 Votes