The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Оценок: 146
Set Max Scale
3
2
   
Наградить
В избранное
В избранном
Удалить
Tags: Lua, Tweaks
Размер файла
Добавлен
Изменён
16.453 KB
8 янв. 2022 г. в 22:38
13 янв в 21:53
Обновлений: 18 (просмотреть)
Для использования необходим дополнительный контент.

Подпишитесь, чтобы загрузить
Set Max Scale

В 1 коллекции, созданной Stlkngne
Some of my favorite Repentance mods
Предметов: 301
Описание
This mod lets you set the MaxScale option from your options.ini file from within the game. MaxScale controls how zoomed in you are.

The default of 99 works fine for normal rooms, but if you're in a larger room then you may want to set this to 1-4 to zoom out a bit. For some reason, 5-99 appear to have the same behavior.

This mod can auto-update MaxScale depending on if you're in a normal vs large room. There's also separate options for Mother, The Beast, and the menu.

Unfortunately, setting MaxScale via the API doesn't do anything on its own. We need to trigger an update. For now, that happens by toggling fullscreen (on then back off, or off then back on). That might be too annoying for some, but it appears to be a limitation of the API. (Update: If you have REPENTOGON then fullscreen doesn't need to be toggled anymore. There's still a small delay when the game updates, but it looks better than it did before.)

Mod Config Menu is required to change settings.

You can press < or > (shift + , or shift + .) on your keyboard to cycle through the available options.

Note: When the game starts up, it will try to load the scale setting for the menu from save slot #1.
Комментариев: 75
Mr.Methylenedioxymethamphetamine 16 янв в 22:34 
MOD HONESTLY SAVED MY LIFE THANK YOU SO MUCH <3
Distop 24 окт. 2024 г. в 11:23 
This mod disabled my graphics card ong 🙌
Alzgamer 21 окт. 2024 г. в 1:37 
I've reproduced issue with debug console. Scale don't work properly. I see only the lower part of the screen with different scale, the rest part is cut off by the top of the screen. Plus the camera view is too close.
I have:
Windows 11 23H2
Resolution: 3840 х 1080
GPU: AMD Radeon RX 5700
CPU: AMD Ryzen 3800X
Stlkngne  [создатель] 20 окт. 2024 г. в 14:35 
I don't think it's something I can fix on my end. It seems to be an issue with the TriggerWindowResize function in certain scenarios. If someone is able to consistently repro this then I'd suggest opening an issue against repentogon with some details about your setup (os/hardware/resolution/etc): https://github.com/TeamREPENTOGON/REPENTOGON/issues

Simple repro steps via debug console:
lua Options.MaxScale = 1
lua Isaac.TriggerWindowResize()

You can set different max scale values and then trigger via the function or by pressing F (and compare any differences).
Alzgamer 20 окт. 2024 г. в 10:39 
I have an ultra wide (32:9) monitor. Option "do not prefer fullscreen toggle" breaks the camera view. The camera moved to close, I can't see anything. Helps only manual toggle fullscreen with F. Can you pls fix this? I use repentogon 1.0.12b.
BlueBone 5 авг. 2024 г. в 5:23 
Man i love that shit, too bad it shifts co-op+'s hud too :(
SirSwerving 10 мар. 2024 г. в 21:13 
Ah thanks, that worked.
Stlkngne  [создатель] 10 мар. 2024 г. в 21:11 
Try enabling the prefer fullscreen toggle option. That seems to work for some people. I haven't been able to repro the issue on my hardware.
SirSwerving 10 мар. 2024 г. в 21:02 
This mod doesn't seem to work correctly. (At least with REPENTOGON) 1 is technically 2 and all settings 2-99 are identical to 5-99. There is no wat to set the scale to 1, 3, 4.
Skeleporter 27 фев. 2024 г. в 5:00 
my bad i commented without looking at the other comments first. great mod btw its one of my must haves