Wish to contribute to the project by donating? Heads up to our Patreon -> https://www.patreon.com/skylordsreborn

Jump to content
Ilsyde

tweaks: zoom, third-person camera, custom resolutions, lock cursor

Recommended Posts

KnbUg33.png

Here is a quick overview of the tweaks you'll find in this post:

-    skip intro videos
the one you can't seem to get rid of no matter how hard you keep smasing the Esc key
-    larger field of view and third-person camera
see more of the gameplay area
-    set a custom resolution
you don't have to make due with the in-game defaults
-    snap cursor to window boundaries (recommended in windowed mode)
confines mouse cursor inside the game window



Before we start:
The configuration file titled config.xml is by default found under C:\Users\<username>\Documents\BattleForge
You may open this file by right-clicking on it, then selecting Open With > Choose Default Program… and selecting Notepad, though you may use any other text editor.
- do not try to edit this file while Battleforge is running, otherwise the settings you made might get overwritten
- do not make the file read-only otherwise the game won’t start
- do not forget to save the file after you’ve made changes to it, and before you start Battleforge again
 



-    Skip intro videos

The Battleforge intro is unskippable and gets annoying rather quickly. Open the config.xml file as described above and find the following entry:
skip_intro_movies="0"
Then change the number between the two quotation marks to 1, as the example shows below:
skip_intro_movies="1"

-    Larger field of view and third-person camera

Changing the FoV can’t be done by editing the config.xml file, as the variable is located in one of the main client files. We need to replace that file with one that has already been modified. As a result, the camera will be lifted higher off the ground which is the same as zooming out farther – a feature that’s present in a lot of other strategy games.

First of all, navigate to the directory you’ve installed the Battleforge client and open the
base, then pak folders. There are about a thousand files here – the one you’ll need to find is named bf1_base01.pak. Delete or move this file to another directory. Simply renaming it won’t be enough! (you may re-download the original file below in case you want to revert the changes)

Next, choose a modified file from below and place it where the original
bf1_base01.pak was i.e. under … \base\pak\
Only one of these can be live at any given time, so experiment to see which one suits your setup better. The higher the FoV, the more processing power your PC will require, the smaller units and buildings will become, and the more you’ll be able to see of the playing field. Ideally, you’d want the highest FoV possible to give you the most advantage, but that’ll depend on the monitor’s size and the specifications of your system.
Changing the FoV will not reduce text and GUI size – everything will stay readable.


DOWNLOAD modded file: FoV set to 80 (with vanity cam)
>>> click here to preview
DOWNLOAD modded file: FoV set to 75 (with vanity cam)
>>> <no preview>
DOWNLOAD modded file: FoV set to 70 (with vanity cam)
>>> click here to preview
DOWNLOAD original file: FoV set to 60 (without vanity cam)
>>> click here to preview

The third-person camera (click to preview) is included in all three modded files as a bonus. I’ve lowered the default minimum camera angle so you can zoom in real close with the mouse wheel to admire those… assets… *wink* *wink* *nudge* *nudge*

-    Set a custom resolution

Since the game engine only supports hor+ and can't handle ver+ (to utilise 16:10 and other vertical widescreen ratios), the wider screen you have, the better.
Having a larger horizontal viewing area will give you an advantage in both PvE and PvP at the expense of vertical image size. You have to make a decision whether this trade-off is worth it.

First, open the config.xml file as described above and find the following two entries:
screenheight="####" and screenwidth="####"
Between the quotation marks you'll see numbers, instead of # signs. These are the current vertical and horizontal resolutions (respectively). Change these to whatever you're comfortable with but don't reduce screenheight below 650, as GUI elements that don't scale will be partially cropped. My advice is to always maximise the horizontal resolution, then decide on the vertical number of pixels depending on your preference.
Note that if you were to use the in-game Settings menu after this step, Battleforge will reset the resolution to default (screenheight="768" and screenwidth="1024") therefore you'll be required to modify the config.xml file again.

Next, find the following entry:
fullscreen="1"
This might already be set to 0, buit if it isn't then change the number between the two quotation marks in order to enter windowed mode, like so:
fullscreen="0"

By using a smaller vertical resolution nothing gets lost or cropped, however everything on the screen will be that much smaller to allow for additional horizontal screen space.
Here is an example of a 24:10 window ratio that - in essence - gives you 50% more horizontal viewing area by reducing vertical image size by 33% (i.e. running the game in 1920x804 instead of 1920x1200).
c2Ke2Z9.png


-    Snap cursor to window boundaries (recommended in windowed mode)

Whether you have to, or choose to play Battleforge in windowed mode, you'll notice how awkward it is to scroll around the map by using either the arrow or WASD keys. Moving the mouse cursor to one of the screen borders requires way too much precision, as there is nothing to keep the cursor within the boundaries of the game window. Fortunately there is an application called Cursor Lock created by SnakeByte Studios. It's purpose is to confine the mouse cursor inside a specified window.
You may download the tool by clicking on this link: http://www.snakebytestudios.com/download/cursor-lock/
Once downloaded and installed, double-click on CursorLockSetup.exe to launch the application. You need to change some of the settings before running Battleforge:

1) While on the Shortcut tab, click Program Mode. This should be selected by default.
2) Under Program Options, tick the box next to Open Program and click the browse button on the right to navigate to the location where you've installed the Battleforge client. Select BFRebornLauncher.exe then press OK.
3) Under Program Options, tick the box next to Lock Program and click the browse button on the right to navigate to the location where you've installed the Battleforge client. Select BattleForge.exe then press OK.
4) Under Standard Options, tick the box next to Lock Region and select Window Interior from the drop down box.

Finally, click the Create Shortcut button in the bottom right corner of the window. Save the shortcut to your Desktop, or to your preferred location. You'll need to run Battleforge using this shortcut from now on.
However, you don't need to run Cursor Lock ever again (it starts and shuts itself down automatically as required).

The mouse cursor will now snap to the inner part of the game window, allowing you to scroll around the map by moving the mouse cursor to the edges - just like in full screen.
Below is a snapshot to guide you with setting up Cursor Lock:
wOeDQ6I.png
click here to view this image

Edited by Ilsyde
how to set language part defunct
Secvndvs, DJ_Blyatboy and Strek0za like this

Share this post


Link to post
Share on other sites

If you have a fairly good size monitor (24" or so) this shouldn't be a problem. You're essentially asking the game to cram everything into a smaller vertical area. Large text wouldn't fit the GUI elements, unless you scale the GUI, in which case it would cover a large part of the gameplay area.
Try 1024x768 in full screen. Text and other elements will be huge. Then try 1024x768 in windowed mode. You'll get the same result i.e. smaller text and GUI.

You can only change the font size by modifying the client files:
The brute force approach is to resize the fonts BF is using. Below is a quick, 20% upscale I've done to demonstrate:
font.thumb.png.f6e0f06cee9dfe42a99c3a8e0
It's not pretty.

You could also replace the standard fonts with a larger, but different font. Or with something that's easier to read:
font.thumb.png.eebea9bc33f8365552dc969fa
This would be my preferrred method, because...

...the third approach is to modify every single entry that specifies the font size. And there are A LOT of those, trust me.

Edited by Ilsyde

Share this post


Link to post
Share on other sites
2 hours ago, Ilsyde said:

If you have a fairly good size monitor (24" or so) this shouldn't be a problem. You're essentially asking the game to cram everything into a smaller vertical area. Large text wouldn't fit the GUI elements, unless you scale the GUI, in which case it would cover a large part of the gameplay area.
Try 1024x768 in full screen. Text and other elements will be huge. Then try 1024x768 in windowed mode. You'll get the same result i.e. smaller text and GUI.

You can only change the font size by modifying the client files:
The brute force approach is to resize the fonts BF is using. Below is a quick, 20% upscale I've done to demonstrate:
font.thumb.png.f6e0f06cee9dfe42a99c3a8e0
It's not pretty.

You could also replace the standard fonts with a larger, but different font. Or with something that's easier to read:
font.thumb.png.eebea9bc33f8365552dc969fa
This would be my preferrred method, because...

...the third approach is to modify every single entry that specifies the font size. And there are A LOT of those, trust me.

I'm basically talking about like having a 4K resolution for example, everything fits nicely in the screen but the text and GUI becomes much smaller and is not scaled.

Share this post


Link to post
Share on other sites

I remember seeing presets in the client files that govern the scaling of the static GUI elements, so - again - this is possible. There are only two image sizes for everything though: small and medium.

EDIT:

OK, presets only work when you're first installing the client. But we're not doing that. Image sizes don't matter, you can alter the client to resize each GUI element by changing the pixel dimensions but this is done on an individual level thus will take a while.

Edited by Ilsyde

Share this post


Link to post
Share on other sites

To celebrate the beta testers' access to BF, I've added a new tweak:

Larger field of view and third-person camera.

This is similar to what @Ultrakool wanted: extended gameplay area without affecting the text and GUI size. Enjoy.

Share this post


Link to post
Share on other sites

@Ilsyde Very nice, I changed my field of view, looks very good. Also, from the picture you added in the beginning of your post, it looks like Frost mage has legs. I never knew that :o 

I guess it was worth the wait, thanks for sharing :P 

Share this post


Link to post
Share on other sites

@Devilwarrior1699 Yes there is. That information is another guide I didn't ask Ross to move into the public area, as I thought demand will be low :)
Here it is:

 

Quote

Hey guys,

Some of you have a problem when running Battleforge in windowed mode, as there is no true borderless setting. Therefore if your screen is not capable of displaying a vertical resolution larger than 768 (e.g. 1366x768 or 1024x768) then the bottom of the gameplay area will be chopped off, due to the title bar adding another 27 pixels making the image 795 tall.

I found an application that is able to fix this, by allowing you to reposition the window (therefore hiding the title bar).

1) download this file
2) extract the contents (swru.exe) anywhere
3) run swru.exe
3) start Battleforge Reborn (make sure it's running in a window)
4) select the resizing utility, then find and highlight Battleforge 1.2 retail
5) now you need to play around with either or both x and y coordinates (horizontal and vertical positions)
Try setting y to -27 first, then press <enter> or Set Size in the bottom left corner. This should move the window up, hiding the title bar by placing it outside the display area.
(changing the x coordinate will move the window left or right, in case the edges are cropped and are not fully visible)

tool.png

credits go to Scott who created this handy tool

Try other settings if you're not 100% happy with the result e.g. Ultrakool replied that -29 worked best for him.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.