Installing Tileproxy for FSX under Windows 7, 8 and 10

1. Summary and Prerequisites

  • Tileproxy download: http://sourceforge.net/projects/tileproxy/files/tileproxy/ (353.3 MB zip file Beta 8 November 2008)
  • Driver Signature Enforcement Overrider : http://www.ngohq.com/?page=dseo (706KB exe file)
  • A pre-configured proxyuser.ini file downloadable at the end of this article (will require tweaking)
  • UAC (User Account Control) set to Never notify me
  • Windows needs to run in Test Mode
  • FSX folder requires write permission.
  • Tileproxy cache best placed on separate partition or disk for faster performance and so as not to fragment the main drive. It may be useful to understand the cache further by looking at the full manual (see below). Note: never try defragmenting an SSD.
  • Firewall and file scanning by antivirus/security programs needs setting so as not to block Tileproxy downloads or cause time outs due to scanning each tile downloaded.
  • fsx.cfg in C:\Users\username\AppData\Roaming\Microsoft\FSX is overwritten when Tileproxy is installed. It is backed up during install and needs putting back to replace the fsx.cfg file that Tileproxy creates (make your own backup if you wish).
  • The Tileproxy cache folder needs full control by the appropriate user. Probably best to give full control to user ‘EVERYONE’. Click here for details on how to do this.
  • If you have photo scenery installed for particular areas then you will see this rather than the Tileproxy data. To use the Tileproxy data you will need to deactivate the photo scenery.
  • WORLD_LOD8 needs to be below the other Tileproxy areas. e.g. in your Scenery Library Tileproxy WORLD_000 may be Priority 90 therefore WORLD_LOD8 needs to be a number greater than 90.
  • Tileproxy can be uninstalled in the usual manner through ‘Programs and Features’. Note: The uninstall does not seem to be compatible with Windows 10. Run it and if it fails to complete then delete everything manually and use a registry cleaner (e..g. CCleaner) to 'tidy up'.
  • This guide is to assist with the installation of Tileproxy and to get you up and running. There is a lot more to it you want to delve further! For the full manual see: http://www.edtruthan.com/tileproxy/manual.htm
  • This can be carried out before following the guide which is the same as the install process for Windows 7. Thanks to Darrell for this update March 2015.

Subsequent to Darrell Scott helping myself and others with the install process we have put this guide together. Do contact us if you have suggestions or questions.
Robert Ephgrave.
 

2. Installing on Windows 8 and 10 (this step required for Windows 8 and 10 only).

The way to setup TileProxy on Windows 8 and 10 is the same as for windows 7 apart from one additional initial step. This involves running a command from the Command Prompt. When installing or running any applications, it is best to right click and run as administrator.

  • In Charms got to Search
  • Type cmd  which will find the Command Prompt
  • Right click and choose run as administrator

In the command prompt window type the following (note the spaces):

bcdedit -set TESTSIGNING ON

Press enter and it should return with the message The operation completed successfully. You can then close the command prompt and reboot.

Upon rebooting you should see the Windows Test Mode logo in the lower right corner. From here everything is the same as Windows 7 including using the dseo (Driver signature Over rider) program as usual but only after having performed the above step.

However the command may fail and will return the error message as below.

If this is the case you will need to Disable Secure Boot. This is accomplished within the UEFI (the up to date equivalent to the BIOS) and is beyond the scope of this tutorial. The subject is covered in this excellent video on Youtube.

https://www.youtube.com/watch?v=2OCpJP4Eh88

https://youtu.be/2OCpJP4Eh88

 

 

 Having disabled Secure Boot you will then be able to run the bcdedit command and continue with the install.

3. Install Tileproxy 

Tileproxy Install

 

Extract TileproxyInstaller.exe from the archive downloaded from Sourceforge and run the executable as administrator. Accept license etc.

 

The first screen is Choose Components.

Choose Components

All check boxes can remain ticked. You may however like to untick the C source code… and Display User Manual… check boxes as this is not necessary.

Next screen is installation location (ensure write permission is granted for this folder).

.Tileproxy Location

This can be anywhere but the default FSX folder is fine.

Next screen is install locations options page. Note carefully the information about the locations – do not use the FSX folder. The faster and larger the drive the better as there can be many thousands of files.

Tileproxy Locations

 

Next screen is install options for terrain resolution which can be tweaked later if desired. Try 60 cm/pixel.

 Tileproxy Options

Next screen is install options for terrain detail radius, which can be tweaked later if desired.

 Tileproxy Detail Radius

Next screen is water masks

Tileproxy Water Masks

Next screen is Install Options page

Untick all but Optimize for high speed

Tileproxy Optimize

Next screen is a Windows message box.

Windows Message Box

Ignore this screen for now. It will be dealt with later.

Installation will complete and the user manual will open which you can shut down. The ProxyUser.ini file will also open in your Notepad program and you can also close this (we will deal with it later). You should now be left with the Completing the Tileproxy Project for Microsoft FSX/2004/2002 Setup window and you can click Finish

4. Update ProxyUser.ini file

In this step you need to replace the ProxyUser.ini file with the sample pre-configured ini file below. If you used the default location this will be in:
C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\TileProxy
Having replaced the file with the preconfigured one, it can now be tweaked as necessary. Open the ini file in a text editor and look for the service sections.

Tileproxy Service Source

Use # to comment out the services not required. Only one service can be active at a time. Note that the Google service is no longer available.

The cache_folder path needs setting to what was chosen during installation

map_version can be checked for versions updates at http://aviation.allanville.com/tileproxy/

Tileproxy Map Version

5. Replace fsx.cfg

In Windows Explorer go to %AppData% or use Windows search for %AppData% and go to:

C:\Users\username\AppData\Roaming\Microsoft\FSX

Replace the fsx.cfg file with the original that you backed up at the start or the backup that Tileproxy created.

6. Driver Signature Enforcement

Driver Signature Enforcement DSEO

Run dseo13be.exe (as administrator) and accept the software license. From the options screen of bullet points select Enable Test Mode and click Next.

 

 

DSEO Test Mode

A message will appear stating a computer restart is required to apply this change.

DO NOT restart at this stage. Click OK and carry on.

DESO Test Mode Enabled

Next select Sign a System File and click Next. In the Insert Filename field, put
C:\Windows\System32\drivers\tileproxy.sys
and click OK.

 DSEO Sign System File

 

Windows Test Mode Message

 

Next select Exit and click OK. Restart Windows which should now be in Test Mode. The Test Mode message should appear in the lower right portion of the screen. NOTE: if you have run the bcdedit -set TESTSIGNING ON command as per section 2 above then the Test Mode logo should already be there.   

 

7. Turn Off UAC (User Account Control)

Set UAC to Never notify

Turn Off UAC

8. Firewall and Virus Software

Virus software and firewall software should be set so as not to block any Tileproxy processes.
e.g. if there is real time file protection that scans every tile being downloaded the system can time out or may not be able to write to the Tileproxy folders. In this case exclude the folders from the scanning process including the cache folder if on another drive. e.g.

C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Tileproxy\*.*

T:\TileProxy Photoreal World\*.*

Note the TileProxy Photoreal World folder must never be renamed.

9. Run Tileproxy before Starting FSX

N.B. for Windows 8 the usual shortcut to TileProxy (which is a .bat file) does not work.  Instead find the file in the TileProxy folder named Proxuser.exe and run that instead (Right click and run as Administrator).  You obviously could create a shortcut to it on the Desktop too (Right Click and Send to Desktop).

 If Tileproxy is not started first, FSX will start as normal.
With Tileproxy running the DOS window should appear as per the screen shot, stopping at:
TileProxy is ready for takeoff.

Start Tileproxy

Now run FSX

Tileproxy Tiles Loading

The DOS window now changes to ovals being populated with stars. The first oval may remain blank which is correct as it is WORLD_LOD8 which is already part of FSX Scenery.

10. FSX Scenery

In the FSX Scenery Library Settings all the WORLD_XXX entries must be at the top and the WORLD_LOD8 must be below them.

FSX World LOD8

FSX Scenery Library

  

Tileproxy installation ends here.

Setting Permissions on Folders

Select the folder you want to set or modify permissions for. Right click the folder and click Properties in the dropdown menu. In the popup window select the Security tab and click Edit…

 Windows Setting Folder Permissions

In the next popup window click Add…

 Windows Setting Folder Permissions

In the Select Users or Groups popup type everyone in the empty field and click Check Names.

 Windows Setting Folder Permissions

Everyone is a standard object name so should appear underlined. Click OK.

 Windows Setting Folder Permissions

This returns to the Permissions popup where you can select Everyone and put a tick in the Allow check box against Full control

 Windows Setting Folder Permissions

RELE0001