Skip to content

Commit cb8c622

Browse files
committed
Bump version, switch UIScalingMode so mode 1 = OnlineArcade
1 parent c2f1475 commit cb8c622

File tree

4 files changed

+11
-22
lines changed

4 files changed

+11
-22
lines changed

OutRun2006Tweaks.ini

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ VSync = 1
2525
[Graphics]
2626
# Adjusts the UI scaling applied by the game
2727
# 0 = game default, stretches to screen ratio
28-
# 1 = 4:3 UI centered to middle of screen
29-
# 2 = fixed UI scaling without stretching, based on Outrun Online Arcade
28+
# 1 = fixed UI scaling without stretching, based on Outrun Online Arcade
29+
# 2 = 4:3 UI centered to middle of screen
3030
# Outrun Online Arcade scaling required many manual code changes, please let me know if you notice anything broken!
3131
UIScalingMode = 0
3232

3333
# Adds 4:3 letterboxing to game menus, to address some graphical issues outside of the menus 4:3 display
3434
# 0 = disable all letterboxing
3535
# 1 = letterbox menus only, disabled when in-game
3636
# 2 = always letterbox (only recommended with UIScalingMode = 1)
37-
# NOTE: this letterboxing setting is only used when UIScalingMode above is set to 1 or above
37+
# NOTE: this letterboxing is only used when UIScalingMode is set to 1 or above
3838
UILetterboxing = 1
3939

4040
# 1 - 16, 0 to leave it at games default.
@@ -87,7 +87,8 @@ AllowFLAC = true
8787
# (gamepad buttons can be rebound below)
8888
#
8989
# The tracks played by the CDSwitcher can be customized in the CDTracks section at the end of this file
90-
# Custom tracks can also be added there for CDSwitcher to load in
90+
# Custom tracks can also be added there for CDSwitcher to load in
91+
# (AllowUncompressedBGM must be enabled above for CDSwitcher to function correctly)
9192
SwitcherEnable = false
9293

9394
# Whether to display track title after switching

README.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Latest builds can be found under the releases section: https://github.com/emoose
55

66
### Features
77
**Bugfixes:**
8-
- UI can now scale to different aspect ratios properly without stretching (requires `UIScalingMode = 2` in INI)
8+
- UI can now scale to different aspect ratios properly without stretching (requires `UIScalingMode = 1` in INI)
99
- Prevents save corruption bug when remapping controls with many dinput devices connected
1010
- Fixed C2C ranking scoreboards not updating on Steam and other releases due to faulty anti-piracy checks
1111
- Pegasus animation's clopping sound effect will now end correctly
@@ -50,20 +50,11 @@ To set it up:
5050
Steam Deck/Linux users may need to run the game with `WINEDLLOVERRIDES="dinput8=n,b" %command%` launch parameters for the mod to load in.
5151

5252
### Building
53-
Building requires Visual Studio 2022, CMake & git to be installed, with those setup just clone this repo and then run `build_2022.bat`.
53+
Building requires Visual Studio 2022, CMake & git to be installed, with those setup just clone this repo and then run `generate_2022.bat`.
5454

5555
If the batch script succeeds you should see a `build\outrun2006tweaks-proj.sln` solution file, just open that in VS and build it.
5656

5757
(if you have issues building with this setup please let me know)
5858

59-
### TODO
60-
- even with LODs & culling disabled some distant cars still pop into view, can distance of them loading in be increased?
61-
- likewise certain parts of the stage have pop-in, usually happens when some part is obscured by some other geometry, occlusion culling maybe?
62-
- car shadow improvements? seems player car uses different shadowing to other cars, could that be added to those too?
63-
- (the existing car shadows also seem to disappear after some distance, could it be increased?)
64-
- input deadzone improvements?
65-
- fix broken car horn (haven't seen any code for it yet though...)
66-
- game retiming? probably a pipe dream - seems game is meant for 60.2Hz tickrate, lots of things coded for that & using 0.0166112... frametimes
67-
6859
### Thanks
6960
Thanks to [debugging.games](http://debugging.games) for hosting debug symbols for OutRun 2 SP (Lindburgh), very useful for looking into Outrun2006.

src/hooks_graphics.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,8 @@ VSyncOverride VSyncOverride::instance;
468468
enum class ScalingMode
469469
{
470470
Vanilla,
471-
KeepCentered,
472471
OnlineArcade,
472+
KeepCentered,
473473
Other
474474
};
475475

@@ -686,10 +686,7 @@ class UIScaling : public Hook
686686
{
687687
float spacing = -((Game::screen_scale->y * Game::original_resolution.x) - Game::screen_resolution->x) / 2;
688688

689-
// Space out the UI elements if they're past a certain X position
690-
// Seems this is pretty much what online arcade does
691-
// TODO: add checks to skip processing non-HUD elements
692-
689+
// Space out the UI elements if they're in the not in the middle of the screen
693690
float* m = *Module::exe_ptr<float*>(0x49B564);
694691
float x = m[12];
695692

src/resource.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
#endif
1515

1616
#define MODULE_VERSION_MAJOR 0
17-
#define MODULE_VERSION_MINOR 3
18-
#define MODULE_VERSION_BUILD 1
17+
#define MODULE_VERSION_MINOR 4
18+
#define MODULE_VERSION_BUILD 0
1919
#define MODULE_VERSION_REVISION 0
2020

2121
#define STR(value) #value

0 commit comments

Comments
 (0)