You are on page 1of 7

FALLOUT1 HIGH RESOLUTION PATCH README Ver 2.

2b
*************************************************************************************
Created by "Mash" Matt Wells 9 October 2009
mashw@bigpond.net.au

About

This program modifies "falloutw.exe" in memory for the purposes of increasing the visual
resolution.
It was compiled with "Visual C++ 6.0 -sp6" and should work on most versions of Windows.

Currently Supported versions of the "Falloutw.exe" are:


US 1.1.
The EXE used in TeamX's English 1.2 (this executable is the same used in their fallout 1.3.4
patch) .
The EXE used in the Fallout Restoration Mod by Wasteland Ghost/TeamX.
Polish 1.2/TeamX.
Fallout Collection (PC DVD) WHITE LABEL 1.2.
Some other versions will also work but will be recognised as one of the versions listed above.

Table Of Contents

1. Fallout1 High Resolution Patch Contents


2. Un-installation of previous versions of this patch
3. Installation
4. Troubleshooting
5. Main Config file "f1_res.ini"
6. Map Edges
7. Custom Art
8. Thanks
9. Contributors

1.Fallout1 High Resolution Patch Contents


f1_res_patcher.exe Patches "falloutw.exe" to load "f1_res.dll".
f1_res.dll Modifies "falloutw.exe" for higher resolutions.
f1_res.ini Configuration file for "f1_res.dll"

f1_res(folder)
f1_res_README.rtf This Read Me
f1_res_change.log Details changes made to the patch from previous versions
panels.ini Holds the screen positions for the various windows.
intrface(folder) Contains custom art for the Main-Menu, Iface-Bar and the Screen Setup Window.
Map_Edges(folder) Contains map edge data files sorted into folders by Mod name.

data(folder)
grid000.FRM A black tile that replaces missing map tiles found beyond the borders of original
maps (hides mouse trails).
2.Un-installation of previous versions of this patch
Although not absolutely necessary, the following files should be deleted from your Fallout
installation folder, US11.res ,TEAMX12.res and the "f1_res" folder.
"f1_res_README.rtf" and "f1_res_change.log" can also be deleted from your fallout installation
folder if present. As of version 1.2 they are stored in the "f1_res" folder.

3. Installation

Step 1. Extract to Fallout Directory


Double-click the "Fallout1_High_Resolution_Patch_v2.2b.exe". Click the [Browse] button and
find your Fallout installation folder (usually "C:\Program Files\Interplay\Fallout\"). Click
[Extract], the extraction window will disappear once complete.
Note: If you have installed a previous version of this patch, you may be asked to overwrite some of the
files listed above. Answer YES to overwrite files.

Step 2. Patch "falloutw.exe" to load "f1_res.dll"


Note: If you have installed a previous version of this patch, you can skip this step and proceed to Step3
Once extraction is finished, open your Fallout installation folder and Double-Click the
"f1_res_patcher.exe". A Message-box will appear asking if you want to patch the
"falloutw.exe". Click the [OK] button to continue. You should then see the message
"falloutw.exe was patched successfully".
If you ever want to remove this patch, you can do so by running "f1_res_patcher.exe" again
and following the prompts.

Step 3. Set the screen resolution in-game


Start the game and from the Main-menu select the 'Options' Button. Once the Options
Window opens, click the 'SCRN' Button which you should find to the right of the "Game
Preferences" text. Select your resolution from the list provided and click the 'Done' button.
The game needs to be restarted for the new settings to take effect.
Other Options
To restart the game automatically select the 'Restart Game' toggle button before clicking
'Done'.
You can manually set an unlisted resolution by clicking the small windows labelled 'Width'
and 'Height'.
You can cycle through the Iface-bar Side Art options by clicking the example image provided.

4. Troubleshooting

Fallout is not starting after setting the resolution via the in-game menu.
Open the "f1_res.ini" found in your Fallout Install folder and return SCR_WIDTH, SCR_HEIGHT
and COLOUR_BITS to their default values:
SCR_WIDTH=640
SCR_HEIGHT=480
COLOUR_BITS=8
Re-start the game and try a different resolution.

There is no 'SCRN' button on the Game Preferences Window.


Note: The 'SCRN' button will only be present when accessed via the Main-menu.
Re-run the "f1_res_patcher.exe" as in Step 2 of the Installation section above. If the Hi-res patch
is installed correctly you should receive this message "Patch is Already INSTALLED! Do you wish
to UNINSTALL this Patch?". Click the 'Cancel' button if the patch is already installed otherwise
follow the instructions in Step 2 of the Installation section.

If you are using an older version of Windows (pre XP), you may need to find the run-time
components for Visual C++ 6.0. These can be downloaded from Microsoft, just search for
"Vcredist.exe" in your favourite search-engine.
Note: This problem should only affect older versions of Windows. WindowsXP and Vista should already
have the necessary components installed.

The above problem can also occur using Fallout US Version 1.1 in Windows XP. Setting
Compatibility Mode to Windows 95 seems to fix this.
Instructions:
1. Right-Click your "falloutw.exe" and select Properties.
2. Click the Compatibility Tab.
3. Check the box next to "Run this program in compatibility mode for:"
4. Select Windows 95 from the drop down list below.
5. Click Apply.

Crashing when using the Screen Settings Window.


In rare cases some systems will crash when using the Screen Settings Window. This I think is
due to the method I use to populate the Display List. Open the "f1_res.ini" found in your Fallout
Install folder and under [HI_RES_PANEL] set SAFER_DISPLAY_LIST=1. Hopefully this will fix
the problem with the trade off of there being fewer resolution choices in the Display List.

5.Main Config file "f1_res.ini"

This is where your current screen resolution and other settings are stored.
The "f1_res.ini" file is divided into six sections MAIN, HI_RES_PANEL, MOVIES, MAPS, IFACE
and OTHER_SETTINGS.

MAIN

Screen Dimensions (SCR_WIDTH = & SCR_HEIGHT =)


Set your custom resolution here.

Number of colours (COLOUR_BITS = 8)


Can be set to 8 for 8bit colour (default) or 16 for 16bit colour.

Text for Options Button (OPTIONS_TEXT = options)


Text to display beside the options button on the Main-menu.

HI_RES_PANEL

Display List Descending/Ascending (DISPLAY_LIST_DESCENDING = 1)


Here you can set the order of the resolution list in the Screen Settings Window. Descending order
by default.

Safer Display List (SAFER_DISPLAY_LIST=0)


Set this to 1 if you experience crashing when using the Screen Settings Window.
MOVIES

Movie Size (MOVIE_SIZE = 1)


Here you can set how the movies stretch to the screen.

Subtitle Area Height (SUBTITLE_AREA_HEIGHT = 66)


The Height of the area at the bottom of the screen for displaying subtitles

Subtitle Position (SUBTITLE_POS = 10)


The distance from the bottom of the screen to the bottom of the subtitles.

MAPS

Ignore Map Edges (IGNORE_MAP_EDGES = 0)


Set to 0 (Off by default). If set to 1(On) this setting ignores the map edges preventing you
scrolling outside the playable area of a map.

Map Edges Folder Name (MAP_EDGES_NAME = F1_Original)


Sets the name of the folder containing ini config files for setting map edges. "F1_Original" is the
default and contains variables for all maps used in Fallout.

Ignore Player Scroll Limits (IGNORE_PLAYER_SCROLL_LIMITS= 0)


Set to 0 (Off by default). If set to 1(On) this setting ignores the scroll limits from the player set
below by the variables SCROLL_DIST_X and SCROLL_DIST_Y.

Player Scroll Distance (SCROLL_DIST_X & SCROLL_DIST_Y)


By default the scroll distance from the player is set to the screen edge + 1 tile in both directions.
Setting a distance less than the screen edge can cause problems.

IFACE

Height of the Viewable Map Area (IFACE_BAR_MODE = 0)


By default the Viewable Map Area will sit above the Interface-Bar. Setting to 1 will lower the
bottom of the Viewable Area to the bottom of the screen. Side bar graphics will be disabled in this
mode.

Iface Side-Bar Graphics Art (IFACE_BAR_SIDE_ART = 2)


Sets which optional art is used to fill the spaces either side of the Iface-bar.
Options are:
Set to 2 (default) for the Leather Pipboy Belt art created by me.
Set to 1 for the Corroded Metal art created by Simon Rawlins(Pixote).
Set to 0 for no side-bar art (Black).

Iface Side-Bar Graphics Orientation(IFACE_BAR_SIDE_ORI = 2)


If set to 2 the Iface-bar side graphics extend from the Iface-Bar and are cut off where they meet
the Screen edges.
If set to 1 the Iface-bar side graphics extend from the Screen edges and are cut off where they
meet the Iface-Bar.

OTHER_SETTINGS
Error checking (MEM_CHECK_FLAG = 0)
Checks memory contents before writing. By default a message box will pop up (if there is a
problem) giving you the name of a log file "f1_res_error.log" where the offsets of the errors will be
stored. By default writing to memory will then be skipped and the program will resume. Further
details on how errors are handled can be found in the "f1_res.ini".

Notify Centre X (NOTIFY_CENTRE_X = 0)


Changes which way the notify panel scrolls horizontally. The Notify panel being where Sneak,
Level up, Radiated etc are displayed. Choices are extend left, right or centre. Set to 0 by default
(extends right from left).

Dialog Screen Background (DIALOG_SCRN_BACKGROUND = 0)


When set to 1 this setting hides the Map and Iface-bar while viewing the Dialog Screen.

6. Map edges
The "f1_res\Map_Edges" folder is where the scroll borders are set for each map in Fallout. The
original scroll blockers were never designed to work at higher resolutions. So my solution in the
end was to disable the original blockers and replace them with my own which I refer to here as
map edges. Map edge data for all the regular maps are contained in the folder
"f1_res\Map_Edges\F1_Original". The name of the map edges folder used can be changed in the
"f1_res.ini" file. Other folders can also be created for other mods. The INI settings files within
these folders can be created with the BIS Mapper using the Mapper2 Hi-Res Patch (Version
2.0+).

The map_edges INI file details


Each map edge folder contains INI config files referenced by name to the various maps in a mod.
Each INI file should contain at least one section labelled "default", which contains scroll boarder
data for the used levels in a map. There may also be other sections for extra tweaks for particular
resolutions. These other sections are named based on the resolution they are made for. For
example a section made for a resolution of 1024 x 768 will be called "1024x768". If a complete
match is not found settings will be grabbed from other sections with matching width's or height's
falling back to the "default" section if custom settings are not found.

This is an excerpt taken from the "ABBEY.ini" file made for the Abbey map of the Restoration
Project 1.2.

[default]
1N=7484
1S=28928
1E=28457
1W=19748
2N=12080
2S=19734
2E=20685
2W=14330
3N=10933
3S=20157
3E=17735
3W=15165
[1680x1050]
2N=9684
2S=21921
2E=20483
2W=13932
[1920x1080]
2N=9686
2W=13936
[1920x1200]
2N=9686
2W=13936

The first part of each key name defines the map level. "1" for level one, "2" for level two and "3"
for level three. The rest of the key name defines which edge your setting; "N" for north, "S" for
south, "E" for east and "W" for west.
The key values themselves are hex tile numbers. They can refer to any hex tile running along the
inside of the edge your setting up.
You only need to include keys for the map levels used. For example if the Abbey map only used
level 3, the whole section would look like this.

[default]
3N=10933
3S=20157
3E=17735
3W=15165

How it Works In Game


When a map is loaded, the map edge variables are compared with the screen resolution. If the
screen width is greater than the distance between the east and west edges and/or the screen
height is greater than the north and south edges, then the distance between the two edges will be
widened to compensate. It does this by adjusting the edge closest to the centre hexagonal tile as
this edge has more room to move.
Also when a map loads it first centres in the middle of the edges. If this is out of bounds it will
instead centre on the centre hexagonal tile 20100. This should not generally happen unless
you’re running the game at an extremely high resolution.

Scrolling adjusts the position on the map of the hex tile located at the centre of the screen.
Because the screen width and height won't necessarily be multiples of a hex tile width or height
there will always be some variation on the location of a map edge between different resolutions.
So when setting up a new map always test it at multiple resolutions.

7. Custom Art
Main-menu
I've divided the original "MAINMENU.FRM" into two parts. The first is the general background
(MAINMENU.FRM) which is scaled to fit the screen and the second is the background for the
menu itself (MENU_BG.FRM). Both reside in the "f1_res/intrface" folder and can be replaced with
your own custom art if desired. The "MAINMENU.FRM" can be replaced with a different size frm,
for example "800x600" and will be automatically scaled to fit the screen. The "MENU_BG.FRM"
uses a masking colour (position 0 in the pallet) so it can have see-through areas if you wish and
for best results it should be left at its original size for now. I may make this more customisable in
the future.

Iface-bar Side Art


If you want to customize the Side-bar art, the frms to modify are:
ifacelft1.frm and ifacerht1.frm for art option 1
ifacelft2.frm and ifacerht2.frm for art option 2
All frm's can be found in the "f1_res/intrface" folder.
8.Thanks

First I'd like to thank all the good people at "No Mutants Allowed" http://www.nma-fallout.com/ for
hosting this patch, and for keeping the mutants at bay for all these years.

And of course to everyone in the forums who provided support and constructive criticism - Thanks
:)

9.Contributors
Simon Rawlins(Pixote).
>Created the Metal looking side-bar art.

You might also like