GUI Configuration

As you know, there are two official versions of the Astral Lust: 4K and 1080p.

You can change gui sizes using below code:

1init 11 python:
2
3  # Change 10 to amount of pixels you want,
4  # choose the size that would be in 4K version (even if you do it for 1080p version),
5  # game will automatically resize it according to game version.
6  gui.variable = int(math.ceil(10 / gui.game_mode))


List of all GUI variables

General

 1## General
 2## Example: define gui.game_ = int(math.ceil( / gui.game_mode))
 3define gui.game_width = int(math.ceil(3840 / gui.game_mode))
 4define gui.game_height = int(math.ceil(2160 / gui.game_mode))
 5define gui.game_spacing_mini = int(math.ceil(10 / gui.game_mode))
 6define gui.game_spacing_very_small = int(math.ceil(25 / gui.game_mode))
 7define gui.game_spacing_small = int(math.ceil(30 / gui.game_mode))
 8define gui.game_spacing = int(math.ceil(40 / gui.game_mode))
 9define gui.game_spacing_plus = int(math.ceil(45 / gui.game_mode))
10define gui.game_spacing_wrap = int(math.ceil(50 / gui.game_mode))
11define gui.game_icons = int(math.ceil(128 / gui.game_mode))
12define gui.game_icons_small = int(math.ceil(64 / gui.game_mode))
13define gui.game_width_half = int(math.ceil(gui.game_width / 2))
14define gui.game_height_half = int(math.ceil(gui.game_height / 2))

Emoticons

1## Emoticons
2## Example: define gui.emo_ = int(math.ceil( / gui.game_mode))
3define gui.emo_x = int(math.ceil(32 / gui.game_mode))
4define gui.emo_y = int(math.ceil(32 / gui.game_mode))
5define gui.emo_posx = int(math.ceil(580 / gui.game_mode))
6define gui.emo_posy = int(math.ceil(180 / gui.game_mode))

Text sizes

1## Text sizes
2## Example: define gui.game_text_ = int(math.ceil( / gui.game_mode))
3define gui.game_text_very_small = int(math.ceil(30 / gui.game_mode))
4define gui.game_text_menu = int(math.ceil(36 / gui.game_mode))
5define gui.game_text_small = int(math.ceil(40 / gui.game_mode))
6define gui.game_text = int(math.ceil(46 / gui.game_mode))
7define gui.game_text_medium = int(math.ceil(55 / gui.game_mode))
8define gui.game_text_ind = int(math.ceil(60 / gui.game_mode))

Collectibles

 1## Collectibles
 2## Example: : [int(math.ceil( / gui.game_mode)), int(math.ceil( / gui.game_mode))],
 3define gui.col = {  # col nr: [xpos, ypos]
 4  # player
 5  0: [int(math.ceil(260 / gui.game_mode)), int(math.ceil(693 / gui.game_mode))],
 6  1: [int(math.ceil(1747 / gui.game_mode)), int(math.ceil(310 / gui.game_mode))],
 7  2: [int(math.ceil(3046 / gui.game_mode)), int(math.ceil(2123 / gui.game_mode))],
 8  # lexi
 9  3: [int(math.ceil(114 / gui.game_mode)), int(math.ceil(1138 / gui.game_mode))],
10  4: [int(math.ceil(1876 / gui.game_mode)), int(math.ceil(642 / gui.game_mode))],
11  5: [int(math.ceil(3600 / gui.game_mode)), int(math.ceil(1939 / gui.game_mode))],
12  # f1 (a & b)
13  6: [int(math.ceil(1277 / gui.game_mode)), int(math.ceil(958 / gui.game_mode))],
14  7: [int(math.ceil(1900 / gui.game_mode)), int(math.ceil(739 / gui.game_mode))],
15  8: [int(math.ceil(1341 / gui.game_mode)), int(math.ceil(608 / gui.game_mode))],
16  # grace
17  9: [int(math.ceil(2445 / gui.game_mode)), int(math.ceil(500 / gui.game_mode))],
18  10: [0, int(math.ceil(155 / gui.game_mode))],
19  11: [int(math.ceil(441 / gui.game_mode)), int(math.ceil(1476 / gui.game_mode))],
20  # alice
21  12: [int(math.ceil(3676 / gui.game_mode)), int(math.ceil(1146 / gui.game_mode))],
22  13: [int(math.ceil(1363 / gui.game_mode)), int(math.ceil(109 / gui.game_mode))],
23  14: [int(math.ceil(1755 / gui.game_mode)), int(math.ceil(2037 / gui.game_mode))],
24  # lobby
25  15: [int(math.ceil(3570 / gui.game_mode)), int(math.ceil(620 / gui.game_mode))],
26  16: [int(math.ceil(710 / gui.game_mode)), int(math.ceil(555 / gui.game_mode))],
27  17: [int(math.ceil(1752 / gui.game_mode)), int(math.ceil(236 / gui.game_mode))],
28  # library
29  18: [int(math.ceil(100 / gui.game_mode)), int(math.ceil(2066 / gui.game_mode))],
30  19: [int(math.ceil(3672 / gui.game_mode)), int(math.ceil(1086 / gui.game_mode))],
31  20: [int(math.ceil(3429 / gui.game_mode)), int(math.ceil(1144 / gui.game_mode))],
32  21: [int(math.ceil(1022 / gui.game_mode)), int(math.ceil(881 / gui.game_mode))],
33  22: [int(math.ceil(1668 / gui.game_mode)), int(math.ceil(411 / gui.game_mode))],
34  23: [int(math.ceil(2196 / gui.game_mode)), int(math.ceil(665 / gui.game_mode))],
35  24: [int(math.ceil(2411 / gui.game_mode)), int(math.ceil(647 / gui.game_mode))]
36}

Battle

 1## Battle / Fight / Combat
 2## Example: define gui.battle_ = int(math.ceil( / gui.game_mode))
 3define gui.battle_pile_xsize = int(math.ceil(260 / gui.game_mode))
 4define gui.battle_pile_ysize = int(math.ceil(400 / gui.game_mode))
 5define gui.battle_card_xsize_small = int(math.ceil(390 / gui.game_mode))
 6define gui.battle_card_ysize_small = int(math.ceil(600 / gui.game_mode))
 7define gui.battle_card_yoffset_small = int(math.ceil(90 / gui.game_mode))
 8define gui.battle_card_xsize_medium = int(math.ceil(520 / gui.game_mode))
 9define gui.battle_card_ysize_medium = int(math.ceil(800 / gui.game_mode))
10define gui.battle_card_yoffset_medium = int(math.ceil(-65 / gui.game_mode))
11define gui.battle_spirit_size = int(math.ceil(260 / gui.game_mode))
12define gui.battle_enemy_hp_icon_size = int(math.ceil(260 / gui.game_mode))
13define gui.battle_hp_icon_size = int(math.ceil(150 / gui.game_mode))
14define gui.battle_effects_icons = int(math.ceil(128 / gui.game_mode))
15define gui.battle_end_turn_size = int(math.ceil(260 / gui.game_mode))
16define gui.battle_enemy_hp_bar_xsize = int(math.ceil(1200 / gui.game_mode))
17define gui.battle_enemy_hp_bar_ysize = int(math.ceil(100 / gui.game_mode))
18define gui.battle_enemy_hp_bar_ypos = int(math.ceil(40 / gui.game_mode))
19define gui.battle_enemy_hp_text_yoffset = int(math.ceil(-5 / gui.game_mode))
20define gui.battle_enemy_name_yoffset = int(math.ceil(80 / gui.game_mode))
21define gui.battle_enemy_hp_icon_ypos = int(math.ceil(-68 / gui.game_mode))
22define gui.battle_enemy_hp_icon_xoffset = int(math.ceil(-565 / gui.game_mode))
23define gui.battle_intention_ypos_expanded = int(math.ceil(140 / gui.game_mode))
24define gui.battle_intention_xoffset = int(math.ceil(750 / gui.game_mode))
25define gui.battle_intention_xmaximum = int(math.ceil(600 / gui.game_mode))
26define gui.battle_intention_ypos = int(math.ceil(50 / gui.game_mode))
27define gui.battle_enemy_effects_xmaximum = int(math.ceil(1200 / gui.game_mode))
28define gui.battle_enemy_effects_ypos = int(math.ceil(200 / gui.game_mode))
29define gui.battle_enemy_effects_spacing = int(math.ceil(20 / gui.game_mode))
30define gui.battle_enemy_effects_size = int(math.ceil(128 / gui.game_mode))
31define gui.battle_enemy_effects_text_ycenter = int(math.ceil(64 / gui.game_mode))
32define gui.battle_enemy_effects_text_xcenter = int(math.ceil(64 / gui.game_mode))
33define gui.battle_enemy_effects_text_yoffset = int(math.ceil(84 / gui.game_mode))
34define gui.battle_left_margin = int(math.ceil(80 / gui.game_mode))
35define gui.battle_draw_pile_xcenter = int(math.ceil(210 / gui.game_mode))
36define gui.battle_draw_pile_ycenter = int(math.ceil(1830 / gui.game_mode))
37define gui.battle_spirit_xcenter = int(math.ceil(210 / gui.game_mode))
38define gui.battle_spirit_ypos = int(math.ceil(1345 / gui.game_mode))
39define gui.battle_spirit_text_ypos = int(math.ceil(1425 / gui.game_mode))
40define gui.battle_effects_ymaximum = int(math.ceil(1200 / gui.game_mode))
41define gui.battle_effects_size = int(math.ceil(128 / gui.game_mode))
42define gui.battle_effects_text_ycenter = int(math.ceil(64 / gui.game_mode))
43define gui.battle_effects_text_xcenter = int(math.ceil(64 / gui.game_mode))
44define gui.battle_effects_text_xoffset = int(math.ceil(-90 / gui.game_mode))
45define gui.battle_effects_frame_xminimum = int(math.ceil(400 / gui.game_mode))
46define gui.battle_effects_frame_padding = int(math.ceil(20 / gui.game_mode))
47define gui.battle_effects_frame_xcenter = int(math.ceil(64 / gui.game_mode))
48define gui.battle_effects_frame_ypos = int(math.ceil(32 / gui.game_mode))
49define gui.battle_effects_frame_xoffset = int(math.ceil(300 / gui.game_mode))
50define gui.battle_discard_pile_xcenter = int(math.ceil(3630 / gui.game_mode))
51define gui.battle_discard_pile_ycenter = int(math.ceil(1830 / gui.game_mode))
52define gui.battle_turn_xcenter = int(math.ceil(3630 / gui.game_mode))
53define gui.battle_turn_ycenter = int(math.ceil(1480 / gui.game_mode))
54define gui.battle_tooltip_ypos = int(math.ceil(200 / gui.game_mode))
55define gui.battle_tooltip_xoffset = int(math.ceil(-20 / gui.game_mode))
56define gui.battle_tooltip_xmaximum = int(math.ceil(600 / gui.game_mode))
57define gui.battle_hp_xsize = int(math.ceil(260 / gui.game_mode))
58define gui.battle_hp_ysize = int(math.ceil(50 / gui.game_mode))
59define gui.battle_hp_xcenter = int(math.ceil(215 / gui.game_mode))
60define gui.battle_hp_ycenter = int(math.ceil(1290 / gui.game_mode))
61define gui.battle_hp_icon_xoffset = int(math.ceil(-120 / gui.game_mode))
62define gui.battle_tool_xmaximum = int(math.ceil(480 / gui.game_mode))
63define gui.battle_tool_padding = int(math.ceil(20 / gui.game_mode))
64define gui.battle_tool_xpos = int(math.ceil(350 / gui.game_mode))
65define gui.battle_tool_ypos = int(math.ceil(1345 / gui.game_mode))
66define gui.battle_turn_counter_spacing = int(math.ceil(30 / gui.game_mode))
67define gui.battle_turn_counter_ysize = int(math.ceil(100 / gui.game_mode))
68define gui.battle_hand_ycenter = int(math.ceil(1800 / gui.game_mode))
69define gui.battle_card_btn_small_yoffset = int(math.ceil(180 / gui.game_mode))
70define gui.battle_card_btn_medium_yoffset = int(math.ceil(-125 / gui.game_mode))
71define gui.battle_ind_p_xcenter = int(math.ceil(215 / gui.game_mode))
72define gui.battle_ind_p_ycenter = int(math.ceil(1290 / gui.game_mode))
73define gui.battle_ind_x = int(math.ceil(15 / gui.game_mode))
74define gui.battle_ind_y = int(math.ceil(30 / gui.game_mode))
75define gui.battle_ind_yoffset = int(math.ceil(-50 / gui.game_mode))

Interface

 1## Interface
 2## Example: define gui.inter_ = int(math.ceil( / gui.game_mode))
 3define gui.inter_notify_ypos = int(math.ceil(380 / gui.game_mode))
 4define gui.inter_notify_ypadding = int(math.ceil(10 / gui.game_mode))
 5define gui.inter_notify_right_padding = int(math.ceil(160 / gui.game_mode))
 6define gui.inter_loot_choices_ycenter = int(math.ceil(780 / gui.game_mode))
 7define gui.inter_loot_tooltip_yoffset = int(math.ceil(500 / gui.game_mode))
 8define gui.inter_loot_tooltip_xmaximum = int(math.ceil(600 / gui.game_mode))
 9define gui.inter_loot_skip_yoffset = int(math.ceil(240 / gui.game_mode))
10define gui.inter_deck_display_xoffset = int(math.ceil(-1500 / gui.game_mode))
11define gui.inter_deck_display_yoffset = int(math.ceil(150 / gui.game_mode))
12define gui.inter_deck_card_xsize_small = int(math.ceil(325 / gui.game_mode))
13define gui.inter_deck_card_ysize_small = int(math.ceil(500 / gui.game_mode))
14define gui.inter_deck_card_xsize_medium = int(math.ceil(390 / gui.game_mode))
15define gui.inter_deck_card_ysize_medium = int(math.ceil(600 / gui.game_mode))
16define gui.inter_deck_card_yoffset = int(math.ceil(-50 / gui.game_mode))
17define gui.inter_deck_null_width = int(math.ceil(160 / gui.game_mode))
18define gui.inter_deck_null_height = int(math.ceil(10 / gui.game_mode))
19define gui.inter_deck_null2_height = int(math.ceil(130 / gui.game_mode))
20define gui.inter_deck_null2_width = int(math.ceil(3760 / gui.game_mode))
21define gui.inter_deck_exit_xcenter = int(math.ceil(3600 / gui.game_mode))
22define gui.inter_deck_exit_ycenter = int(math.ceil(64 / gui.game_mode))
23define gui.inter_vault_xoffset = int(math.ceil(600 / gui.game_mode))
24define gui.inter_save_width = int(math.ceil(768 / gui.game_mode))
25define gui.inter_save_height = int(math.ceil(432 / gui.game_mode))
26define gui.inter_notify_yoffset = int(math.ceil(100 / gui.game_mode))
27define gui.inter_char_tooltip_xoffset = int(math.ceil(550 / gui.game_mode))
28define gui.inter_char_tooltip_xmaximum = int(math.ceil(900 / gui.game_mode))
29define gui.inter_trade_yoffset = int(math.ceil(250 / gui.game_mode))
30define gui.inter_trade_yoffset_small = int(math.ceil(100 / gui.game_mode))
31define gui.inter_trade_yoffset_half = int(math.ceil(50 / gui.game_mode))
32define gui.inter_trade_margin = int(math.ceil(400 / gui.game_mode))
33define gui.inter_trade_margin_tb = int(math.ceil(200 / gui.game_mode))
34define gui.inter_trade_marginx2 = gui.inter_trade_margin * 2
35define gui.inter_trade_xoffset = int(math.ceil(380 / gui.game_mode))
36define gui.inter_trade_icon = int(math.ceil(gui.game_text_menu * 2.8 / gui.game_mode))
37define gui.inter_hollow_xsize = int(math.ceil(676 / gui.game_mode))
38define gui.inter_hollow_ypos = int(math.ceil(460 / gui.game_mode))
39define gui.inter_menu_spacing = int(math.ceil(200 / gui.game_mode))

Masks

 1## Masks
 2## Example: define gui.mask_ = [int(math.ceil( / gui.game_mode)), int(math.ceil( / gui.game_mode))] # [xpos, ypos]
 3define gui.mask_lexi_door = [int(math.ceil(857 / gui.game_mode)), int(math.ceil(135 / gui.game_mode))]
 4define gui.mask_lexi_document = [int(math.ceil(2889 / gui.game_mode)), int(math.ceil(670 / gui.game_mode))]
 5define gui.mask_lexi_laptop = [int(math.ceil(3032 / gui.game_mode)), int(math.ceil(613 / gui.game_mode))]
 6define gui.mask_lexi_pc = [int(math.ceil(2790 / gui.game_mode)), int(math.ceil(555 / gui.game_mode))]
 7define gui.mask_lexi_sleep = [int(math.ceil(2025 / gui.game_mode)), int(math.ceil(961 / gui.game_mode))]
 8define gui.mask_lexi_boxes = [int(math.ceil(1867 / gui.game_mode)), int(math.ceil(377 / gui.game_mode))]
 9define gui.mask_lexi_sofa = [int(math.ceil(523 / gui.game_mode)), int(math.ceil(647 / gui.game_mode))]
10define gui.mask_mina_pc = [int(math.ceil(2797 / gui.game_mode)), int(math.ceil(548 / gui.game_mode))]
11define gui.mask_mina_sofa = [int(math.ceil(520 / gui.game_mode)), int(math.ceil(513 / gui.game_mode))]
12define gui.mask_mina_bed = [int(math.ceil(1867 / gui.game_mode)), int(math.ceil(815 / gui.game_mode))]
13define gui.mask_player_door = [int(math.ceil(850 / gui.game_mode)), int(math.ceil(88 / gui.game_mode))]
14define gui.mask_player_pc = [int(math.ceil(2267 / gui.game_mode)), int(math.ceil(401 / gui.game_mode))]
15define gui.mask_player_mirror = [int(math.ceil(1576 / gui.game_mode)), int(math.ceil(0 / gui.game_mode))]
16define gui.mask_player_bed = [int(math.ceil(1823 / gui.game_mode)), int(math.ceil(880 / gui.game_mode))]
17define gui.mask_player_cube = [int(math.ceil(3042 / gui.game_mode)), int(math.ceil(1822 / gui.game_mode))]
18define gui.mask_player_books = [int(math.ceil(3164 / gui.game_mode)), int(math.ceil(1931 / gui.game_mode))]
19define gui.mask_player_altar = [int(math.ceil(296 / gui.game_mode)), int(math.ceil(1092 / gui.game_mode))]
20define gui.mask_player_chest = [int(math.ceil(1816 / gui.game_mode)), int(math.ceil(875 / gui.game_mode))]
21define gui.mask_player_grey_cupboard = [int(math.ceil(2424 / gui.game_mode)), int(math.ceil(550 / gui.game_mode))]
22define gui.mask_player_white_cupboard = [int(math.ceil(2344 / gui.game_mode)), int(math.ceil(576 / gui.game_mode))]
23define gui.mask_player_wardrobe = [int(math.ceil(2912 / gui.game_mode)), int(math.ceil(153 / gui.game_mode))]
24define gui.mask_cat_pc = [int(math.ceil(2469 / gui.game_mode)), int(math.ceil(476 / gui.game_mode))]
25define gui.mask_cat_sleep = [int(math.ceil(2075 / gui.game_mode)), int(math.ceil(1004 / gui.game_mode))]
26define gui.mask_dog_sofa = [int(math.ceil(439 / gui.game_mode)), int(math.ceil(673 / gui.game_mode))]
27define gui.mask_dog_sleep = [int(math.ceil(1675 / gui.game_mode)), int(math.ceil(1215 / gui.game_mode))]
28define gui.mask_f1a_alice = [int(math.ceil(2273 / gui.game_mode)), int(math.ceil(179 / gui.game_mode))]
29define gui.mask_f1a_lexi = [int(math.ceil(2746 / gui.game_mode)), int(math.ceil(65 / gui.game_mode))]
30define gui.mask_f1a_grace = [int(math.ceil(1430 / gui.game_mode)), int(math.ceil(174 / gui.game_mode))]
31define gui.mask_f1a_f2 = [int(math.ceil(1805 / gui.game_mode)), int(math.ceil(76 / gui.game_mode))]
32define gui.mask_f1a_lobby = [int(math.ceil(1630 / gui.game_mode)), int(math.ceil(360 / gui.game_mode))]
33define gui.mask_f1a_f1b = [int(math.ceil(1850 / gui.game_mode)), int(math.ceil(550 / gui.game_mode))]
34define gui.mask_f1a_cupboard = [int(math.ceil(1203 / gui.game_mode)), int(math.ceil(607 / gui.game_mode))]
35define gui.mask_f1a_grace_clean = [int(math.ceil(2004 / gui.game_mode)), int(math.ceil(300 / gui.game_mode))]
36define gui.mask_f1b_grace = [int(math.ceil(2529 / gui.game_mode)), int(math.ceil(309 / gui.game_mode))]
37define gui.mask_f1b_alice = [int(math.ceil(912 / gui.game_mode)), int(math.ceil(243 / gui.game_mode))]
38define gui.mask_f1b_lexi = [int(math.ceil(1538 / gui.game_mode)), int(math.ceil(442 / gui.game_mode))]
39define gui.mask_f1b_player = [int(math.ceil(2223 / gui.game_mode)), int(math.ceil(454 / gui.game_mode))]
40define gui.mask_f1b_f2 = [int(math.ceil(480 / gui.game_mode)), int(math.ceil(1700 / gui.game_mode))]
41define gui.mask_f1b_lobby = [int(math.ceil(3000 / gui.game_mode)), int(math.ceil(1750 / gui.game_mode))]
42define gui.mask_f1b_f1a = [int(math.ceil(1842 / gui.game_mode)), int(math.ceil(1750 / gui.game_mode))]
43define gui.mask_f1b_cupboard = [int(math.ceil(2233 / gui.game_mode)), int(math.ceil(699 / gui.game_mode))]
44define gui.mask_f1b_grace_clean = [int(math.ceil(1598 / gui.game_mode)), int(math.ceil(504 / gui.game_mode))]
45define gui.mask_grace_door = [int(math.ceil(859 / gui.game_mode)), int(math.ceil(136 / gui.game_mode))]
46define gui.mask_grace_coffee = [int(math.ceil(2218 / gui.game_mode)), int(math.ceil(521 / gui.game_mode))]
47define gui.mask_grace_watering1 = [int(math.ceil(406 / gui.game_mode)), int(math.ceil(482 / gui.game_mode))]
48define gui.mask_grace_watering2 = [int(math.ceil(500 / gui.game_mode)), int(math.ceil(940 / gui.game_mode))]
49define gui.mask_grace_fox = [int(math.ceil(1467 / gui.game_mode)), int(math.ceil(270 / gui.game_mode))]
50define gui.mask_grace_sleep = [int(math.ceil(2715 / gui.game_mode)), int(math.ceil(1272 / gui.game_mode))]
51define gui.mask_alice_door = [int(math.ceil(728 / gui.game_mode)), int(math.ceil(136 / gui.game_mode))]
52define gui.mask_alice_tv = [int(math.ceil(2283 / gui.game_mode)), int(math.ceil(335 / gui.game_mode))]
53define gui.mask_alice_shelf = [int(math.ceil(2115 / gui.game_mode)), int(math.ceil(605 / gui.game_mode))]
54define gui.mask_alice_person_tv = [int(math.ceil(1601 / gui.game_mode)), int(math.ceil(551 / gui.game_mode))]
55define gui.mask_alice_clothes = [int(math.ceil(61 / gui.game_mode)), int(math.ceil(624 / gui.game_mode))]
56define gui.mask_alice_sleep = [int(math.ceil(2745 / gui.game_mode)), int(math.ceil(1131 / gui.game_mode))]
57define gui.mask_wc_f0 = [int(math.ceil(1600 / gui.game_mode)), int(math.ceil(1600 / gui.game_mode))]
58define gui.mask_f0_kitchen = int(math.ceil(3062 / gui.game_mode))
59define gui.mask_f0_wc = [int(math.ceil(2501 / gui.game_mode)), int(math.ceil(109 / gui.game_mode))]
60define gui.mask_f0_bath = [int(math.ceil(1438 / gui.game_mode)), int(math.ceil(111 / gui.game_mode))]
61define gui.mask_f0_dog = [int(math.ceil(1311 / gui.game_mode)), int(math.ceil(534 / gui.game_mode))]
62define gui.mask_bath_f0 = [int(math.ceil(1800 / gui.game_mode)), int(math.ceil(1700 / gui.game_mode))]
63define gui.mask_kitchen_f0 = [int(math.ceil(1800 / gui.game_mode)), int(math.ceil(1600 / gui.game_mode))]
64define gui.mask_kitchen_fridge = [int(math.ceil(2922 / gui.game_mode)), int(math.ceil(372 / gui.game_mode))]
65define gui.mask_kitchen_cat = [int(math.ceil(2095 / gui.game_mode)), int(math.ceil(195 / gui.game_mode))]
66define gui.mask_kitchen_cooking1 = [int(math.ceil(1309 / gui.game_mode)), int(math.ceil(186 / gui.game_mode))]
67define gui.mask_lobby_f0 = [int(math.ceil(1644 / gui.game_mode)), int(math.ceil(103 / gui.game_mode))]
68define gui.mask_lobby_door2 = [int(math.ceil(3025 / gui.game_mode)), int(math.ceil(92 / gui.game_mode))]
69define gui.mask_lobby_f1 = [int(math.ceil(2111 / gui.game_mode)), int(math.ceil(0 / gui.game_mode))]
70define gui.mask_lobby_door = [int(math.ceil(255 / gui.game_mode)), int(math.ceil(900 / gui.game_mode))]
71define gui.mask_lobby_counter = [int(math.ceil(1768 / gui.game_mode)), int(math.ceil(329 / gui.game_mode))]
72define gui.mask_lobby_cat = [int(math.ceil(3180 / gui.game_mode)), int(math.ceil(495 / gui.game_mode))]
73define gui.mask_lobby_dog = [int(math.ceil(1012 / gui.game_mode)), int(math.ceil(338 / gui.game_mode))]
74define gui.mask_lobby_clean_l = [int(math.ceil(1295 / gui.game_mode)), int(math.ceil(207 / gui.game_mode))]
75define gui.mask_vault_lobby = int(math.ceil(1762 / gui.game_mode))
76define gui.mask_vault_chest = [int(math.ceil(1807 / gui.game_mode)), int(math.ceil(721 / gui.game_mode))]
77define gui.mask_forge_create = [int(math.ceil(1055 / gui.game_mode)), int(math.ceil(805 / gui.game_mode))]
78define gui.mask_forge_upgrade = [int(math.ceil(2128 / gui.game_mode)), int(math.ceil(859 / gui.game_mode))]
79define gui.mask_forge_destroy = [int(math.ceil(1454 / gui.game_mode)), int(math.ceil(661 / gui.game_mode))]
80define gui.mask_gym_lobby = int(math.ceil(1806 / gui.game_mode))
81define gui.mask_gym_agi = [int(math.ceil(480 / gui.game_mode)), int(math.ceil(227 / gui.game_mode))]
82define gui.mask_gym_str = [int(math.ceil(1697 / gui.game_mode)), int(math.ceil(214 / gui.game_mode))]
83define gui.mask_gym_vit = [int(math.ceil(2080 / gui.game_mode)), int(math.ceil(262 / gui.game_mode))]
84define gui.mask_gym_alice = [int(math.ceil(2180 / gui.game_mode)), int(math.ceil(0 / gui.game_mode))]
85define gui.mask_lib_door = [int(math.ceil(3075 / gui.game_mode)), int(math.ceil(380 / gui.game_mode))]
86define gui.mask_lib_books_r = [int(math.ceil(1838 / gui.game_mode)), int(math.ceil(282 / gui.game_mode))]
87define gui.mask_lib_books_l = [int(math.ceil(1121 / gui.game_mode)), int(math.ceil(299 / gui.game_mode))]
88define gui.mask_kiara_desk = [int(math.ceil(1855 / gui.game_mode)), int(math.ceil(555 / gui.game_mode))]
89define gui.mask_lib_hotel = [int(math.ceil(3286 / gui.game_mode)), int(math.ceil(1675 / gui.game_mode))]
90define gui.mask_lib_mt_xpos = int(math.ceil(500 / gui.game_mode))
91define gui.mask_dungeon_playroom = [int(math.ceil(475 / gui.game_mode)), int(math.ceil(1478 / gui.game_mode))]
92define gui.mask_dungeon_cells = [int(math.ceil(1492 / gui.game_mode)), int(math.ceil(331 / gui.game_mode))]

RenPy gui.rpy

GUI Customization Guide

Advanced GUI

  1################################################################################
  2## GUI Configuration Variables
  3################################################################################
  4
  5
  6## Colors ######################################################################
  7##
  8## The colors of text in the interface.
  9
 10## An accent color used throughout the interface to label and highlight text.
 11define gui.accent_color = '#99ccff'
 12
 13## The color used for a text button when it is neither selected nor hovered.
 14define gui.idle_color = '#888888'
 15
 16## The small color is used for small text, which needs to be brighter/darker to
 17## achieve the same effect.
 18define gui.idle_small_color = '#aaaaaa'
 19
 20## The color that is used for buttons and bars that are hovered.
 21define gui.hover_color = '#c1e0ff'
 22
 23## The color used for a text button when it is selected but not focused. A
 24## button is selected if it is the current screen or preference value.
 25define gui.selected_color = '#ffffff'
 26
 27## The color used for a text button when it cannot be selected.
 28define gui.insensitive_color = '#8888887f'
 29
 30## Colors used for the portions of bars that are not filled in. These are not
 31## used directly, but are used when re-generating bar image files.
 32define gui.muted_color = '#3d5166'
 33define gui.hover_muted_color = '#5b7a99'
 34
 35## The colors used for dialogue and menu choice text.
 36define gui.text_color = '#ffffff'
 37define gui.interface_text_color = '#ffffff'
 38
 39
 40## Fonts and Font Sizes ########################################################
 41
 42## The font used for in-game text.
 43define gui.text_font = "Commissioner-Regular.ttf"
 44
 45## The font used for character names.
 46define gui.name_text_font = "Commissioner-Medium.ttf"
 47
 48## The font used for out-of-game text.
 49define gui.interface_text_font = "Commissioner-Light.ttf"
 50
 51## The size of normal dialogue text.
 52define gui.text_size = int(math.ceil(66 / gui.game_mode))
 53
 54## The size of character names.
 55define gui.name_text_size = int(math.ceil(90 / gui.game_mode))
 56
 57## The size of text in the game's user interface.
 58define gui.interface_text_size = int(math.ceil(66 / gui.game_mode))
 59
 60## The size of labels in the game's user interface.
 61define gui.label_text_size = int(math.ceil(72 / gui.game_mode))
 62
 63## The size of text on the notify screen.
 64define gui.notify_text_size = int(math.ceil(48 / gui.game_mode))
 65
 66## The size of the game's title.
 67define gui.title_text_size = int(math.ceil(150 / gui.game_mode))
 68
 69
 70## Main and Game Menus #########################################################
 71
 72## The images used for the main and game menus.
 73define gui.main_menu_background = Movie(play="Anim/main_menu.webm")
 74define gui.game_menu_background = "gui/game_menu.png"
 75
 76
 77## Dialogue ####################################################################
 78##
 79## These variables control how dialogue is displayed on the screen one line at a
 80## time.
 81
 82## The height of the textbox containing dialogue.
 83define gui.textbox_height = int(math.ceil(555 / gui.game_mode))
 84
 85## The placement of the textbox vertically on the screen. 0.0 is the top, 0.5 is
 86## center, and 1.0 is the bottom.
 87define gui.textbox_yalign = 1.0
 88
 89
 90## The placement of the speaking character's name, relative to the textbox.
 91## These can be a whole number of pixels from the left or top, or 0.5 to center.
 92define gui.name_xpos = int(math.ceil(720 / gui.game_mode))
 93define gui.name_ypos = 0
 94
 95## The horizontal alignment of the character's name. This can be 0.0 for left-
 96## aligned, 0.5 for centered, and 1.0 for right-aligned.
 97define gui.name_xalign = 0.0
 98
 99## The width, height, and borders of the box containing the character's name, or
100## None to automatically size it.
101define gui.namebox_width = None
102define gui.namebox_height = None
103
104## The borders of the box containing the character's name, in left, top, right,
105## bottom order.
106define gui.namebox_borders = Borders(5, 5, 5, 5)
107
108## If True, the background of the namebox will be tiled, if False, the
109## background of the namebox will be scaled.
110define gui.namebox_tile = False
111
112
113## The placement of dialogue relative to the textbox. These can be a whole
114## number of pixels relative to the left or top side of the textbox, or 0.5 to
115## center.
116define gui.dialogue_xpos = int(math.ceil(804 / gui.game_mode))
117define gui.dialogue_ypos = int(math.ceil(150 / gui.game_mode))
118
119## The maximum width of dialogue text, in pixels.
120define gui.dialogue_width = int(math.ceil(2232 / gui.game_mode))
121
122## The horizontal alignment of the dialogue text. This can be 0.0 for left-
123## aligned, 0.5 for centered, and 1.0 for right-aligned.
124define gui.dialogue_text_xalign = 0.0
125
126
127## Buttons #####################################################################
128##
129## These variables, along with the image files in gui/button, control aspects of
130## how buttons are displayed.
131
132## The width and height of a button, in pixels. If None, Ren'Py computes a size.
133define gui.button_width = None
134define gui.button_height = None
135
136## The borders on each side of the button, in left, top, right, bottom order.
137define gui.button_borders = Borders(int(math.ceil(12 / gui.game_mode)), int(math.ceil(12 / gui.game_mode)), int(math.ceil(12 / gui.game_mode)), int(math.ceil(12 / gui.game_mode)))
138
139## If True, the background image will be tiled. If False, the background image
140## will be linearly scaled.
141define gui.button_tile = False
142
143## The font used by the button.
144define gui.button_text_font = gui.interface_text_font
145
146## The size of the text used by the button.
147define gui.button_text_size = gui.interface_text_size
148
149## The color of button text in various states.
150define gui.button_text_idle_color = gui.idle_color
151define gui.button_text_hover_color = gui.hover_color
152define gui.button_text_selected_color = gui.selected_color
153define gui.button_text_insensitive_color = gui.insensitive_color
154
155## The horizontal alignment of the button text. (0.0 is left, 0.5 is center, 1.0
156## is right).
157define gui.button_text_xalign = 0.0
158
159
160## These variables override settings for different kinds of buttons. Please see
161## the gui documentation for the kinds of buttons available, and what each is
162## used for.
163##
164## These customizations are used by the default interface:
165
166define gui.radio_button_borders = Borders(int(math.ceil(54 / gui.game_mode)), int(math.ceil(12 / gui.game_mode)), int(math.ceil(12 / gui.game_mode)), int(math.ceil(12 / gui.game_mode)))
167
168define gui.check_button_borders = Borders(int(math.ceil(54 / gui.game_mode)), int(math.ceil(12 / gui.game_mode)), int(math.ceil(12 / gui.game_mode)), int(math.ceil(12 / gui.game_mode)))
169
170define gui.confirm_button_text_xalign = 0.5
171
172define gui.page_button_borders = Borders(int(math.ceil(30 / gui.game_mode)), int(math.ceil(12 / gui.game_mode)), int(math.ceil(30 / gui.game_mode)), int(math.ceil(12 / gui.game_mode)))
173
174define gui.quick_button_borders = Borders(int(math.ceil(30 / gui.game_mode)), int(math.ceil(12 / gui.game_mode)), int(math.ceil(30 / gui.game_mode)), 0)
175define gui.quick_button_text_size = int(math.ceil(42 / gui.game_mode))
176define gui.quick_button_text_idle_color = gui.idle_small_color
177define gui.quick_button_text_selected_color = gui.accent_color
178
179## You can also add your own customizations, by adding properly-named variables.
180## For example, you can uncomment the following line to set the width of a
181## navigation button.
182
183# define gui.navigation_button_width = 250
184
185
186## Choice Buttons ##############################################################
187##
188## Choice buttons are used in the in-game menus.
189
190define gui.choice_button_width = int(math.ceil(2370 / gui.game_mode))
191define gui.choice_button_height = None
192define gui.choice_button_tile = False
193define gui.choice_button_borders = Borders(int(math.ceil(300 / gui.game_mode)), int(math.ceil(15 / gui.game_mode)), int(math.ceil(300 / gui.game_mode)), int(math.ceil(15 / gui.game_mode)))
194define gui.choice_button_text_font = gui.text_font
195define gui.choice_button_text_size = gui.text_size
196define gui.choice_button_text_xalign = 0.5
197define gui.choice_button_text_idle_color = "#cccccc"
198define gui.choice_button_text_hover_color = "#ffffff"
199define gui.choice_button_text_insensitive_color = "#444444"
200
201
202## File Slot Buttons ###########################################################
203##
204## A file slot button is a special kind of button. It contains a thumbnail
205## image, and text describing the contents of the save slot. A save slot uses
206## image files in gui/button, like the other kinds of buttons.
207
208## The save slot button.
209define gui.slot_button_width = int(math.ceil(828 / gui.game_mode))
210define gui.slot_button_height = int(math.ceil(618 / gui.game_mode))
211define gui.slot_button_borders = Borders(int(math.ceil(30 / gui.game_mode)), int(math.ceil(30 / gui.game_mode)), int(math.ceil(30 / gui.game_mode)), int(math.ceil(30 / gui.game_mode)))
212define gui.slot_button_text_size = int(math.ceil(42 / gui.game_mode))
213define gui.slot_button_text_xalign = 0.5
214define gui.slot_button_text_idle_color = gui.idle_small_color
215define gui.slot_button_text_selected_idle_color = gui.selected_color
216define gui.slot_button_text_selected_hover_color = gui.hover_color
217
218## The width and height of thumbnails used by the save slots.
219define config.thumbnail_width = 768
220define config.thumbnail_height = 432
221
222## The number of columns and rows in the grid of save slots.
223define gui.file_slot_cols = 3
224define gui.file_slot_rows = 2
225
226
227## Positioning and Spacing #####################################################
228##
229## These variables control the positioning and spacing of various user interface
230## elements.
231
232## The position of the left side of the navigation buttons, relative to the left
233## side of the screen.
234define gui.navigation_xpos = int(math.ceil(120 / gui.game_mode))
235
236## The vertical position of the skip indicator.
237define gui.skip_ypos = int(math.ceil(30 / gui.game_mode))
238
239## The vertical position of the notify screen.
240define gui.notify_ypos = int(math.ceil(135 / gui.game_mode))
241
242## The spacing between menu choices.
243define gui.choice_spacing = int(math.ceil(66 / gui.game_mode))
244
245## Buttons in the navigation section of the main and game menus.
246define gui.navigation_spacing = int(math.ceil(12 / gui.game_mode))
247
248## Controls the amount of spacing between preferences.
249define gui.pref_spacing = int(math.ceil(30 / gui.game_mode))
250
251## Controls the amount of spacing between preference buttons.
252define gui.pref_button_spacing = 0
253
254## The spacing between file page buttons.
255define gui.page_spacing = 0
256
257## The spacing between file slots.
258define gui.slot_spacing = int(math.ceil(30 / gui.game_mode))
259
260## The position of the main menu text.
261define gui.main_menu_text_xalign = 1.0
262
263
264## Frames ######################################################################
265##
266## These variables control the look of frames that can contain user interface
267## components when an overlay or window is not present.
268
269## Generic frames.
270define gui.frame_borders = Borders(int(math.ceil(12 / gui.game_mode)), int(math.ceil(12 / gui.game_mode)), int(math.ceil(12 / gui.game_mode)), int(math.ceil(12 / gui.game_mode)))
271
272## The frame that is used as part of the confirm screen.
273define gui.confirm_frame_borders = Borders(int(math.ceil(120 / gui.game_mode)), int(math.ceil(120 / gui.game_mode)), int(math.ceil(120 / gui.game_mode)), int(math.ceil(120 / gui.game_mode)))
274
275## The frame that is used as part of the skip screen.
276define gui.skip_frame_borders = Borders(int(math.ceil(48 / gui.game_mode)), int(math.ceil(15 / gui.game_mode)), int(math.ceil(150 / gui.game_mode)), int(math.ceil(15 / gui.game_mode)))
277
278## The frame that is used as part of the notify screen.
279define gui.notify_frame_borders = Borders(int(math.ceil(48 / gui.game_mode)), int(math.ceil(15 / gui.game_mode)), int(math.ceil(120 / gui.game_mode)), int(math.ceil(15 / gui.game_mode)))
280
281## Should frame backgrounds be tiled?
282define gui.frame_tile = False
283
284
285## Bars, Scrollbars, and Sliders ###############################################
286##
287## These control the look and size of bars, scrollbars, and sliders.
288##
289## The default GUI only uses sliders and vertical scrollbars. All of the other
290## bars are only used in creator-written screens.
291
292## The height of horizontal bars, scrollbars, and sliders. The width of vertical
293## bars, scrollbars, and sliders.
294define gui.bar_size = int(math.ceil(75 / gui.game_mode))
295define gui.scrollbar_size = int(math.ceil(36 / gui.game_mode))
296define gui.slider_size = int(math.ceil(75 / gui.game_mode))
297
298## True if bar images should be tiled. False if they should be linearly scaled.
299define gui.bar_tile = False
300define gui.scrollbar_tile = False
301define gui.slider_tile = False
302
303## Horizontal borders.
304define gui_borders_size = int(math.ceil(12 / gui.game_mode))
305define gui.bar_borders = Borders(gui_borders_size, gui_borders_size, gui_borders_size, gui_borders_size)
306define gui.scrollbar_borders = Borders(gui_borders_size, gui_borders_size, gui_borders_size, gui_borders_size)
307define gui.slider_borders = Borders(gui_borders_size, gui_borders_size, gui_borders_size, gui_borders_size)
308
309## Vertical borders.
310define gui.vbar_borders = Borders(gui_borders_size, gui_borders_size, gui_borders_size, gui_borders_size)
311define gui.vscrollbar_borders = Borders(gui_borders_size, gui_borders_size, gui_borders_size, gui_borders_size)
312define gui.vslider_borders = Borders(gui_borders_size, gui_borders_size, gui_borders_size, gui_borders_size)
313
314## What to do with unscrollable scrollbars in the gui. "hide" hides them, while
315## None shows them.
316define gui.unscrollable = "hide"
317
318
319## History #####################################################################
320##
321## The history screen displays dialogue that the player has already dismissed.
322
323## The number of blocks of dialogue history Ren'Py will keep.
324define config.history_length = 250
325
326## The height of a history screen entry, or None to make the height variable at
327## the cost of performance.
328define gui.history_height = int(math.ceil(420 / gui.game_mode))
329
330## The position, width, and alignment of the label giving the name of the
331## speaking character.
332define gui.history_name_xpos = int(math.ceil(465 / gui.game_mode))
333define gui.history_name_ypos = 0
334define gui.history_name_width = int(math.ceil(465 / gui.game_mode))
335define gui.history_name_xalign = 1.0
336
337## The position, width, and alignment of the dialogue text.
338define gui.history_text_xpos = int(math.ceil(510 / gui.game_mode))
339define gui.history_text_ypos = int(math.ceil(6 / gui.game_mode))
340define gui.history_text_width = int(math.ceil(2220 / gui.game_mode))
341define gui.history_text_xalign = 0.0
342
343
344## NVL-Mode ####################################################################
345##
346## The NVL-mode screen displays the dialogue spoken by NVL-mode characters.
347
348## The borders of the background of the NVL-mode background window.
349define gui.nvl_borders = Borders(0, int(math.ceil(30 / gui.game_mode)), 0, int(math.ceil(60 / gui.game_mode)))
350
351## The maximum number of NVL-mode entries Ren'Py will display. When more entries
352## than this are to be show, the oldest entry will be removed.
353define gui.nvl_list_length = 6
354
355## The height of an NVL-mode entry. Set this to None to have the entries
356## dynamically adjust height.
357define gui.nvl_height = int(math.ceil(345 / gui.game_mode))
358
359## The spacing between NVL-mode entries when gui.nvl_height is None, and between
360## NVL-mode entries and an NVL-mode menu.
361define gui.nvl_spacing = int(math.ceil(30 / gui.game_mode))
362
363## The position, width, and alignment of the label giving the name of the
364## speaking character.
365define gui.nvl_name_xpos = int(math.ceil(1290 / gui.game_mode))
366define gui.nvl_name_ypos = 0
367define gui.nvl_name_width = int(math.ceil(450 / gui.game_mode))
368define gui.nvl_name_xalign = 1.0
369
370## The position, width, and alignment of the dialogue text.
371define gui.nvl_text_xpos = int(math.ceil(1350 / gui.game_mode))
372define gui.nvl_text_ypos = int(math.ceil(24 / gui.game_mode))
373define gui.nvl_text_width = int(math.ceil(1770 / gui.game_mode))
374define gui.nvl_text_xalign = 0.0
375
376## The position, width, and alignment of nvl_thought text (the text said by the
377## nvl_narrator character.)
378define gui.nvl_thought_xpos = int(math.ceil(720 / gui.game_mode))
379define gui.nvl_thought_ypos = 0
380define gui.nvl_thought_width = int(math.ceil(2340 / gui.game_mode))
381define gui.nvl_thought_xalign = 0.0
382
383## The position of nvl menu_buttons.
384define gui.nvl_button_xpos = int(math.ceil(1350 / gui.game_mode))
385define gui.nvl_button_xalign = 0.0
386
387## Localization ################################################################
388
389## This controls where a line break is permitted. The default is suitable
390## for most languages. A list of available values can be found at https://
391## www.renpy.org/doc/html/style_properties.html#style-property-language
392
393define gui.language = "unicode"
394
395
396################################################################################
397## Mobile devices
398################################################################################
399
400init python:
401
402    ## This increases the size of the quick buttons to make them easier to touch
403    ## on tablets and phones.
404    if renpy.variant("touch"):
405
406        gui.quick_button_borders = Borders(int(math.ceil(120 / gui.game_mode)), int(math.ceil(42 / gui.game_mode)), int(math.ceil(120 / gui.game_mode)), 0)
407
408    ## This changes the size and spacing of various GUI elements to ensure they
409    ## are easily visible on phones.
410    if renpy.variant("small"):
411
412        ## Font sizes.
413        gui.text_size = int(math.ceil(90 / gui.game_mode))
414        gui.name_text_size = int(math.ceil(108 / gui.game_mode))
415        gui.notify_text_size = int(math.ceil(75 / gui.game_mode))
416        gui.interface_text_size = int(math.ceil(90 / gui.game_mode))
417        gui.button_text_size = int(math.ceil(90 / gui.game_mode))
418        gui.label_text_size = int(math.ceil(102 / gui.game_mode))
419
420        ## Adjust the location of the textbox.
421        gui.textbox_height = int(math.ceil(720 / gui.game_mode))
422        gui.name_xpos = int(math.ceil(240 / gui.game_mode))
423        gui.text_xpos = int(math.ceil(270 / gui.game_mode))
424        gui.text_width = int(math.ceil(3300 / gui.game_mode))
425
426        ## Change the size and spacing of various things.
427        gui.slider_size = int(math.ceil(108 / gui.game_mode))
428
429        gui.choice_button_width = int(math.ceil(3720 / gui.game_mode))
430
431        gui.navigation_spacing = int(math.ceil(60 / gui.game_mode))
432        gui.pref_button_spacing = int(math.ceil(30 / gui.game_mode))
433
434        gui.history_height = int(math.ceil(570 / gui.game_mode))
435        gui.history_text_width = int(math.ceil(2070 / gui.game_mode))
436
437        gui.quick_button_text_size = int(math.ceil(60 / gui.game_mode))
438
439        ## File button layout.
440        gui.file_slot_cols = 2
441        gui.file_slot_rows = 2
442
443        ## NVL-mode.
444        gui.nvl_height = int(math.ceil(510 / gui.game_mode))
445
446        gui.nvl_name_width = int(math.ceil(915 / gui.game_mode))
447        gui.nvl_name_xpos = int(math.ceil(975 / gui.game_mode))
448
449        gui.nvl_text_width = int(math.ceil(2745 / gui.game_mode))
450        gui.nvl_text_xpos = int(math.ceil(1035 / gui.game_mode))
451        gui.nvl_text_ypos = int(math.ceil(15 / gui.game_mode))
452
453        gui.nvl_thought_width = int(math.ceil(3720 / gui.game_mode))
454        gui.nvl_thought_xpos = int(math.ceil(60 / gui.game_mode))
455
456        gui.nvl_button_width = int(math.ceil(3720 / gui.game_mode))
457        gui.nvl_button_xpos = int(math.ceil(60 / gui.game_mode))

RenPy screens.rpy

 1## Ren'Py screens.rpy
 2## Example: define gui.renpy_ = int(math.ceil( / gui.game_mode))
 3define gui.renpy_choices = int(math.ceil(810 / gui.game_mode))
 4define gui.renpy_main_menu_frame = int(math.ceil(840 / gui.game_mode))
 5define gui.renpy_main_menu_vbox_xoffset = int(math.ceil(-60 / gui.game_mode))
 6define gui.renpy_main_menu_vbox_xmaximum = int(math.ceil(2400 / gui.game_mode))
 7define gui.renpy_main_menu_vbox_yoffset = int(math.ceil(-60 / gui.game_mode))
 8define gui.renpy_outer_frame_bottom_padding = int(math.ceil(90 / gui.game_mode))
 9define gui.renpy_outer_frame_top_padding = int(math.ceil(360 / gui.game_mode))
10define gui.renpy_navigation_frame = int(math.ceil(840 / gui.game_mode))
11define gui.renpy_content_frame_left_margin = int(math.ceil(120 / gui.game_mode))
12define gui.renpy_content_frame_right_margin = int(math.ceil(60 / gui.game_mode))
13define gui.renpy_content_frame_top_margin = int(math.ceil(30 / gui.game_mode))
14define gui.renpy_menu_viewport = int(math.ceil(2760 / gui.game_mode))
15define gui.renpy_menu_side = int(math.ceil(30 / gui.game_mode))
16define gui.renpy_menu_label_xpos = int(math.ceil(150 / gui.game_mode))
17define gui.renpy_menu_label_ysize = int(math.ceil(360 / gui.game_mode))
18define gui.renpy_return_button = int(math.ceil(-90 / gui.game_mode))
19define gui.renpy_page_label_xpadding = int(math.ceil(150 / gui.game_mode))
20define gui.renpy_page_label_ypadding = int(math.ceil(10 / gui.game_mode))
21define gui.renpy_pref_label = int(math.ceil(6 / gui.game_mode))
22define gui.renpy_pref_vbox = int(math.ceil(675 / gui.game_mode))
23define gui.renpy_slider_slider = int(math.ceil(1050 / gui.game_mode))
24define gui.renpy_slider_button = int(math.ceil(30 / gui.game_mode))
25define gui.renpy_slider_vbox = int(math.ceil(1350 / gui.game_mode))
26define gui.renpy_help = int(math.ceil(45 / gui.game_mode))
27define gui.renpy_help_button = int(math.ceil(24 / gui.game_mode))
28define gui.renpy_help_label_xsize = int(math.ceil(750 / gui.game_mode))
29define gui.renpy_help_label_right_padding = int(math.ceil(60 / gui.game_mode))
30define gui.renpy_confirm_vbox_spacing = int(math.ceil(90 / gui.game_mode))
31define gui.renpy_confirm_hbox_spacing = int(math.ceil(300 / gui.game_mode))
32define gui.renpy_skip_indicator = int(math.ceil(18 / gui.game_mode))
33define gui.renpy_mobile_pref_vbox_medium = int(math.ceil(1350 / gui.game_mode))
34define gui.renpy_mobile_navigation_frame = int(math.ceil(1020 / gui.game_mode))
35define gui.renpy_mobile_pref_vbox_small = int(math.ceil(1200 / gui.game_mode))
36define gui.renpy_mobile_slider_pref_slider = int(math.ceil(1800 / gui.game_mode))