Reply: MB Gold: Changing Default FOV

NOTE: You are posting the message as a 'Guest', you can not edit the message or delete it
Please Log in or Register to skip this step.

reCaptcha

X

Topic History of: MB Gold: Changing Default FOV

Max. showing the last 20 posts - (Last post first)

  • blaster
  • blaster's Avatar
27 Aug 2019 02:37

That worked! Now I can relive some childhood nostalgia in full UHD glory. Thank you for saving the day, HiGuy. Your solution is elegant because we don't even have to find out where the fov parameter is being altered, as we're simply overriding it. Cool.

Just to confirm for anyone else who might need this, the solution is to add setfov(); to the function PlayGui::onWake within the following cs file:

Code:
Program Files (x86)\Marble Blast Gold\marble\client\scripts\playgui.cs
Example:


Thanks for the input everybody.

  • HiGuy
  • HiGuy's Avatar
27 Aug 2019 00:59

Try putting the setFov() in there?

Also try deleting playgui.cs.dso file both in the game directory and AppData

  • blaster
  • blaster's Avatar
26 Aug 2019 23:48

@whirligig
It was worth a try. I gave it a shot, but was not successful.

@HiGuy
I edited playGui.cs, but either it doesn't work or my syntax was incorrect. To be sure, I'm including a screenshot of my edit to that file. If you can help me troubleshoot, I'm sure we are close to a solution.



(Side note: Oddly enough, my .cs files are scattered between the game's AppData and Program Files locations. My prefs.cs file is under AppData, but there were only DSO files in marble/client/scripts, then I realized I could find it over in Program Files.)

  • whirligig
  • whirligig's Avatar
26 Aug 2019 03:53

FWIW, it appears that there's a $pref::Video::FOV as well, but I don't know if it affects anything.

  • HiGuy
  • HiGuy's Avatar
26 Aug 2019 02:21

You can edit marble/client/scripts/playGui.cs and add that at the end of PlayGui::onWake and it will run on every level.

  • blaster
  • blaster's Avatar
26 Aug 2019 00:30

@MurhaajaFasaani
Yes, this does work. But my point is not to have to do this manually each time I load into a new level.
At my monitor's aspect ratio, the game feels too stretched...

  • MurhaajaFasaani
  • MurhaajaFasaani's Avatar
25 Aug 2019 08:04

You can type "setFov(x);" in the console to set your FOV.

  • blaster
  • blaster's Avatar
25 Aug 2019 00:05

Hello Marble Blast community!

I'm running vanilla MB Gold on Windows 10. I'm trying to change my default game resolution and field of view, by editing my prefs.cs file located in in:

Code:
AppData\Local\VirtualStore\Program Files (x86)\Marble Blast Gold\marble\client

Here's what I'm changing in the prefs.cs file:
Code:
$pref::Video::resolution = "3440 1440 32"; $pref::Player::defaultFov = 120;

I have successfully changed the game resolution for my ultra-wide monitor, however default FOV seems to be unaffected. I'm stumped as to why this isn't working. Seems like a simple parameter change, but is there something I'm missing here?
(My best guess: another script is changing the FOV value upon each mission launch.)

I'm aware of the Horizontal Widescreen support Mod by brandondorf9999. The mod will automatically scale FOV, but the game always crashes when I attempt to push the resolution any higher than 1080p. So instead of trying to figure out why the mod isn't working, I'm just using the vanilla installation and trying to change my default FOV, since I always game at the same resolution anyways.

Any ideas would be greatly appreciated!

Time to create page: 0.867 seconds
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.