Medal of Honor: Allied Assault

From PCGamingWiki, the wiki about fixing PC games
This page may require cleanup to meet basic quality standards. You can help by modifying the article. The discussion page may contain useful suggestions.
Medal of Honor: Allied Assault
Medal of Honor: Allied Assault cover
Developers
2015 Inc.
Spearhead EA Los Angeles
Breakthrough TKO Software
Mac OS (Classic) Westlake Interactive
macOS (OS X) Westlake Interactive
Linux Ryan C. Gordon
Publishers
Electronic Arts
Mac OS Aspyr Media
OS X Aspyr Media
Engines
id Tech 3
Release dates
Windows January 22, 2002
Mac OS (Classic) June 11, 2002
macOS (OS X) June 11, 2002
Linux January 2004
Reception
Metacritic 91
Taxonomy
Monetization One-time game purchase, Expansion pack
Modes Singleplayer, Multiplayer
Pacing Real-time
Perspectives First-person
Controls Direct control
Genres Action, FPS, Shooter
Art styles Realistic
Themes Europe, World War II, Historical
Series Medal of Honor
Medal of Honor: Allied Assault on HowLongToBeat
Medal of Honor: Allied Assault on IGDB
Medal of Honor: Allied Assault guide on StrategyWiki
Medal of Honor: Allied Assault on MobyGames
Medal of Honor: Allied Assault on Wikipedia
Medal of Honor
Medal of Honor: Allied Assault 2002
Medal of Honor: Pacific Assault 2004
Medal of Honor: Airborne 2007
Medal of Honor (2010) 2010
Medal of Honor: Warfighter 2012
Medal of Honor: Above and Beyond 2020

Warnings

GameSpy online services have been shut down (see Network for solutions).

Key points

Cannot use Alt+Tab while in-game (Alt+Ctrl+Del works, but maximising may cause crash). As a workaround, pressing Alt+ Enter will make the game windowed, which will allow using Alt+Tab .
The Linux port is an incomplete conversion.

General information

Medal of Honor Wiki
GOG.com Community Discussions for game series
GOG.com Support Page

Availability[edit]

Source DRM Notes Keys OS
Retail
Disc check (requires the CD/DVD in the drive to play)
CD key
SafeDisc v2 DRM[Note 1].
Windows
Mac OS
macOS (OS X)
Linux
GOG.com
DRM-free
War Chest Edition contains bonus interviews, artworks and wallpapers
Windows
Origin
Origin
War Chest Edition. Included with EA Play.
Windows
SafeDisc retail DRM does not work on Windows Vista and later (see above for affected versions).
A Linux installer is available here which requires a USA CD version of the game, be aware that it was never finished.
Free demos are available from GameFront: base game singleplayer, base game multiplayer, base game multiplayer demo add-on, Breakthrough.

Version differences[edit]

The Deluxe Edition contains the base game and the Spearhead expansion.
The War Chest Edition is a complete edition containing the base game and both expansion packs. Note: it's the international edition with some lack of content for Allied Assault.[citation needed]

Monetization[edit]

Type Notes
Expansion pack The expansion packs include new campaigns, multiplayer modes and maps.
One-time game purchase The game requires an upfront purchase to access.

DLC and expansion packs

Name Notes
Spearhead
Windows
Mac OS
macOS (OS X)
Breakthrough
Windows
Mac OS
macOS (OS X)

Essential improvements[edit]

Patches[edit]

The latest version of Allied Assault is 1.11. The game is automatically updated to this version when installing Spearhead or Breakthrough. It's available in English, German, French, Italian, Spanish, and Dutch.
The latest version of Spearhead is 2.15. It is required to install 2.11 first, then 2.15.
The latest version of Breakthrough is 2.40b. If patch 2.40b was installed and the game crashes with a 'Pixomatic' error, install 2.40 over it.
GOG.com and Origin versions of Warchest have all official updates.

Unofficial patches[edit]

The unofficial patch 1.0 fixes some visual bugs, restores cut content, and restores German conversations and greetings that were missing. It is available on NexusMods and ModDB.
The HaZardModding Co-Op mod allows players to play the original campaign in co-op. It requires the Breakthrough expansion for scripts compatibility; Spearhead and Breakthrough campaigns are still being adapted. Tested only on GOG.com Warchest edition.

Skip intro videos[edit]

Edit autoexec.cfg
  1. Open (create file if needed) <path-to-game>\main\autoexec.cfg in a text editor.
  2. Add the following line:
seta cl_playintro "0"
For the game expansions, simply copy autoexec.cfg to <path-to-game>\mainta\ for Spearhead, <path-to-game>\maintt\ for Breakthrough or add the lines to the existing <path-to-game>\main\autoexec.cfg in these locations.
Alternatively, delete or rename the video folder located in <path-to-game>\main for the base game, <path-to-game>\mainta\ for Spearhead, and <path-to-game>\maintt\ for Breakthrough.

GameSpy alternative[edit]

Due to GameSpy Server shutting down, it is highly recommended to use MOH: Server Browser Fixer to browse online servers[citation needed]
  1. Extract the package and open MOHGSFixer.exe
  2. Select the <path-to-game>.
  3. Click Patch Detected Games
Confirmed to work with GOG version of the game. Alternative is to connect directly via IP address by using this website: https://cache.gametracker.com/search/mohaa/ or to use Medal of Honor: Query Launcher Utility
The in-game server browser for the Origin version does not work; however, connecting to a server via direct connect or Medal of Honor: Query Launcher Utility does.

Game data[edit]

Configuration file(s) location[edit]

System Location
Windows <path-to-game>\main\[Note 2]
macOS (OS X)
Linux ~/.mohaa/main/
All the medals that have been earned are stored in this folder.
<path-to-game>\main\newconfig.cfg and <path-to-game>\main\configs\unnamedsoldier.cfg are the configuration files.
Spearhead files are under mainta; Breakthrough files are under maintt.
It's recommended to create <path-to-game>\main\autoexec.cfg for the base game, <path-to-game>\maintt\autoexec.cfg for Breakthrough and <path-to-game>\mainta\autoexec.cfg for Spearhead, then make the custom configuration changes there.
It's unknown whether this game follows the XDG Base Directory Specification on Linux. Please fill in this information.

Save game data location[edit]

System Location
Windows <path-to-game>\main\save[Note 2]
macOS (OS X)
Linux
For Breakthrough, see <path-to-game>\maintt\save.
For Spearhead, see <path-to-game>\mainta\save.

Save game cloud syncing[edit]

System Native Notes
GOG Galaxy
Origin
Configurations, which include Level and medal unlocks, are not saved, and are deleted with uninstall.

Video[edit]

In-game general video settings.
In-game general video settings.
In-game advanced video settings.
In-game advanced video settings.

Graphics feature State WSGF Notes
Widescreen resolution
See Widescreen resolution.
Multi-monitor
See Widescreen resolution.
Ultra-widescreen
See Widescreen resolution.[3]
4K Ultra HD
Causes in-game UI elements to become extremely small and illegible.
Use dgVoodoo2 to scale the UI.
Field of view (FOV)
See Field of view (FOV) or the WSGF entry for a permanent fix (keeps FOV every map restart).
Windowed
Use Alt+ Enter. Doesn't properly capture mouse - may accidentally activate background windows.[citation needed]
Borderless fullscreen windowed
Anisotropic filtering (AF)
See the glossary page for potential workarounds.
Anti-aliasing (AA)
See the glossary page for potential workarounds.
Vertical sync (Vsync)
See Vertical sync (Vsync).
60 FPS
120+ FPS
Capped at 91 FPS by default; See Increasing frame limit to change the default cap.
High dynamic range display (HDR)
See the glossary page for potential alternatives.

Widescreen resolution[edit]

Edit autoexec.cfg[4]
  1. Open (create file if needed) <path-to-game>\main\autoexec.cfg in a text editor.
  2. Add the following entries, and save the file with the resolution desired.
seta r_customwidth "1920"
seta r_customheight "1080"
seta r_mode "-1"
For the game expansions, simply copy autoexec.cfg to <path-to-game>\mainta\ for Spearhead, and <path-to-game>\maintt\ for Breakthrough or add the lines to the existing autoexec.cfg in these locations.
Do not change resolution from the in-game options after setting a custom resolution.

Increasing frame limit[edit]

Edit autoexec.cfg[5]
  1. Open (create file if needed) <path-to-game>\main\autoexec.cfg in a text editor.
  2. Add the following line, with another number if desired:
    • seta com_maxfps "120"
  3. Save the file.
For the game expansions, simply copy autoexec.cfg to <path-to-game>\mainta\ for Spearhead, or <path-to-game>\maintt\ for Breakthrough or add the line to the existing autoexec.cfg in these locations.

Field of view (FOV)[edit]

Default value for the (Horizontal) Field of view for Medal of Honor: Allied Assault is 80

Edit autoexec.cfg[6]
  1. Go to the configuration file(s) location.
  2. Open <path-to-game>\main\configs\autoexec.cfg in text editor.
    • Create the autoexec.cfg file if it does not exist.
  3. Add these commands to the file:
    • seta ui_console "1"
    • seta developer "1"
  4. Once in game hit the tilde key, next to the number 1 on the keyboard, and type in fov 110 (replace 110 with the desired FOV)
For the game expansions, simply copy autoexec.cfg to <path-to-game>\mainta\ for Spearhead, or <path-to-game>\maintt\ for Breakthrough or add the lines to the existing autoexec.cfg in these locations.

Vertical sync (Vsync)[edit]

Edit autoexec.cfg[citation needed]
  1. Open <path-to-game>\main\configs\autoexec.cfg in text editor.
    • Create the autoexec.cfg file if it does not exist.
  2. Add the following line:
    • seta r_swapinterval "1"
For the game expansions, simply copy autoexec.cfg to <path-to-game>\mainta\ for Spearhead, or <path-to-game>\maintt\ for Breakthrough or add the line to the existing autoexec.cfg in these locations.
Due to the DWM, the game's vsync implementation is broken in Windows 10, the framerate limiter will work but there will still be tearing; either force vsync through an appropriate graphics card control panel, or play the game in windowed mode.
If the game's tering persists even in windowed mode, choose 16 bit mode for color depth & texture color depth, in the game's options.

Max quality graphics settings[edit]

Edit autoexec.cfg[citation needed]
  1. Open (create if not present) <path-to-game>\main\autoexec.cfg in a text editor.
  2. Enter the lines in the box below and save the file.
seta cg_drawviewmodel "2"
seta cg_effectdetail "1.0"
seta cg_marks_add "1"
seta cg_max_tempmodels "1200"
seta cg_rain "1"
seta cg_reserve_tempmodels "240"
seta cg_shadows "2"
seta g_ddayfodderguys "2"
seta g_ddayfog "0"
seta g_ddayshingleguys "2"
seta r_colorbits "32"
seta r_drawstaticdecals "1"
seta r_ext_compressed_textures "1"
seta r_fastdlights "0"
seta r_fastentlight "0"
seta r_forceClampToEdge "1"
seta r_lodcap "1.0"
seta r_lodscale "1.1"
seta r_lodviewmodelcap "1.0"
seta r_lodCurveError "10000"
seta r_maxmode "9"
seta r_picmip "0"
seta r_picmip_models "0"
seta r_picmip_sky "0"
seta r_subdivisions "1"
seta r_texturebits "32"
seta r_texturemode "GL_LINEAR_MIPMAP_LINEAR" 
seta r_vidmode1024 "0"
seta r_vidmodemax "1"
seta s_khz "44"
seta ter_error "0.001"
seta ter_maxlod "64"
seta ter_maxtris "24576"
seta vss_draw "1"
seta vss_maxcount "5"
seta r_uselod "0"
seta r_roundimagesdown "0"

Notes

Warning: When r_subdivisions is 1 or 2, the game bugs out when the player is located in certain areas. Some Levels may have incorect map geometry. Set r_subdivisions to a higher value such as "3" to get rid of this issue. In the in-game menu, the list go from "High" (r_subdivisions 3) to 'Lowest" r_subdivisions 20) in autoexec.cfg.
Warning: With seta r_roundimagesdown "0", textures that use an unpure power of 2 as a resolution ratio are rounded to the upper nearest power of 2 instead of the lower, meaning slightly better visuals on those textures (textures\norway\cr1_side1.jpg for example). Some custom maps or mods are however not compatible with this setting and may cause the game to crash without error message, switch back to the default seta r_roundimagesdown "1" to solve this issue.
For the game expansions, simply copy autoexec.cfg to <path-to-game>\mainta\ for Spearhead, or <path-to-game>\maintt\ for Breakthrough or add the lines to the existing autoexec.cfg in these locations.
These settings, with r_subdivisions "3", can help with black lines in the main menu.

Input[edit]

In-game control settings.
In-game control settings.

Improve mouse responsiveness[edit]

Edit autoexec.cfg[7]
  1. Open <path-to-game>\main\autoexec.cfg in a text editor.
    • Create the autoexec.cfg file if it does not exist.
  2. Add the following lines:
    • seta m_filter "1"
    • seta in_mouse "-1"
  3. Increasing the frame rate may also have a positive effect.

Other solutions:

  • Alternatively add the lines to <path-to-game>\main\configs\unnamedsoldier.cfg into the cvar section.
  • If possible, lower the polling rate on your mouse.
  • Use an older mouse with a lower polling rate.

Audio[edit]

In-game audio settings.
In-game audio settings.

Audio feature State Notes
Separate volume controls
Master and music.
Surround sound
First choose a 3D sound provider, and set the in-game speaker setup to Surround (5.1) or Quad Speakers (4.x)
Subtitles
Closed captions
Mute on focus lost
EAX support
A3D 1.x, A3D 2.0. EAX 1, EAX 2. See 3D audio providers restoration.

Localizations

Language UI Audio Sub Notes
English
Traditional Chinese
Retail only.
Dutch
Retail only.
French
Retail only.
German
Retail only; download for digital releases. Censored.
Hungarian
Fan translation; download.
Italian
Retail and Deluxe only. For WarChest -> download.
Japanese
Retail only.
Korean
Retail only.
Brazilian Portuguese
Fan translation.
Spanish
Retail only; download for digital versions
Polish
Fan translation; download
Russian
Fan audio and text translation made by "Fargus Multimedia" a.k.a "7Wolf" here

3D audio providers restoration[edit]

On Windows Vista and later, first restore legacy audio effects.
Retrieve missing 3D sound providers[8][9]
  1. Download HRTF for MoHAA.
  2. Extract the archive to a temporary folder.
  3. Move the contents of the MOHAA folder to <path-to-game>.
  4. Move the OpenAL folder to %APPDATA%.
  5. Open <path-to-game>\autoexec.cfg with a text editor.
    • Create the autoexec.cfg file if it does not exist.
    • For the game expansions, create the file autoexec.cfg at <path-to-game>\mainta\ for Spearhead, or at<path-to-game>\maintt\ for Breakthrough.
  6. Add seta s_milesdriver with one of the options below that is supported by your sound card. DirectSound3D Hardware Support with DSOAL for MoHAA is recommended, otherwise set to Creative Labs EAX 2 (TM) if using Alchemy. For non-Creative cards see or use other wrappers.
    • Aureal A3D Interactive (TM)
    • Aureal A3D 2.0 (TM)
    • Creative Labs EAX 2 (TM)
    • Creative Labs EAX (TM)
    • Dolby Surround
    • DirectSound3D 7 Software with Full HRTF
    • DirectSound3D 7 Software with Light HRTF
    • DirectSound3D Hardware Support
    • DirectSound3D Software
    • Example: seta s_milesdriver Creative Labs EAX 2 (TM)
  7. Save the file.
  8. Make sure that Windows sound output is set to 44.1 kHz to avoid audio distortions. Refer to the instructions provided here, but use 44.1 kHz 24 bit instead.
Aureal A3D 2.0 (TM) may not work properly during gameplay. The problem can be related to card detection bug in binary[10]
EAX 3 with Msseax3.m3d library from GTA Vice City works (also with its Mss32.dll), but spatialization quality is decreased in comparison to EAX 2. It can be obtained here. (EAX 3 wasn't released in 2001 yet[11])
To avoid crash on startup for Spearhead when using DSOAL with DirectSound3D Hardware Support, use an older version of DSOAL, attached in True 3D Sound for Headphones v1.1. Otherwise download this DSOAL package which contains audio settings and snddrivers for MoHAA.

Network[edit]

In-game multiplayer join options.
In-game multiplayer join options.
In-game multiplayer server browser, with the gamespy patch applied.
In-game multiplayer server browser, with the gamespy patch applied.

Multiplayer types

Type Native Players Notes
LAN play
64 Versus, Co-op
For co-op use the Medal of Honor: Cooperative mod or HaZardModding Coop.
Online play
64 Versus, Co-op
For co-op use the Medal of Honor: Cooperative mod or HaZardModding Coop.

Connection types

Despite what the SDK says, IPX protocol is not supported

Ports

Protocol Port(s) and/or port range(s)
TCP 12203-12218, 28900, 29900, 29901
UDP 12203-12218, 3783, 6500, 6515, 6667, 12201, 12202, 12203, 12210, 12300, 13139, 27900
Universal Plug and Play (UPnP) support status is unknown.

Issues fixed[edit]

Graphics settings are lost each time when starting game[edit]

Create autoexec.cfg
  1. Copy the graphics settings from the <path-to-game>\main\configs\unnamedsoldier.cfg file to <path-to-game>\main\autoexec.cfg
Alternatively set the maximum graphics settings.

"GLW_StartOpenGL() - could not load OpenGL subsystem" error message on startup[edit]

Reduce the game's resolution
This error will appear if the game's config files use a resolution that your monitor doesn't support.
  1. Use the instructions under Widescreen resolution to set the resolution to a supported value.
Use an OpenGL to DirectX translation layer
  1. Download the latest version of GLDirect from here.
  2. In the archive that was downloaded, open the gldirect5\bin\release folder.
  3. Extract the DLL from this archive folder into <path-to-game>.

Game freezes on startup[edit]

There is a bug in the game where the device string provided by newer GPU drivers is longer than the game expects, likely causing a buffer overflow.
Many GPU drivers have workarounds where they trim the string sent to MOHAA.exe, negating the problem.
However, this workaround was only put in for the base game, not it's expansions.[12]
Replace the expansions' EXEs with patched versions[13]
  1. Download the two EXEs in this forum post and replace the ones in <path-to-game>.
Rename the expansions' EXEs[14]
  1. In <path-to-game>, rename MOHAA.exe to something else.
  2. Rename an expansion's EXE (moh_spearhead.exe or moh_breakthrough.exe) to MOHAA.exe.
Use an OpenGL to DirectX translation layer
  1. Download the latest version of GLDirect from here.
  2. In the archive that was downloaded, open the gldirect5\bin\release folder.
  3. Extract the DLL from this archive folder into <path-to-game>.
It can alter visual fidelity of original graphics.
Use an older version of OpenGL's DLL[15]
  1. Find an older version of OpenGL.dll. Note that DLLs should only be downloaded from trustworthy sources.
  2. Place the DLL in <path-to-game>.

Can't turn mouse more than 180° (or doesn't work properly)[edit]

Some mouse precision issues may be caused by the games' incompatibility with high-polling rates of modern gaming mice. The first fix is recommended.
Edit config

Add the line seta in_mouse -1 to autoexec.cfg.

Lower polling rate of mouse[citation needed]

Lower mouse polling rate to 125Hz (8ms) via mouse drivers.

Game crashes during EA logo (Origin version)[edit]

Change settings of Origin

If the game crashes at startup using the Origin version, disable the "Origin In Game" overlay.
This can be done in the Game properties, however the expansions will still crash at startup.
In order to play the expansions it is required that the "Origin In-Game" overlay is disabled in Origin's "Application settings".

Disable in-game Origin overlay by forcing the 3dfxgl graphics driver[citation needed]
Works for both expansions and the base game.
  1. Go to <path-to-game>.
  2. In the three folders named main, mainta and maintt, edit each autoexec.cfg with a text editor.
  3. In all three of the config files, insert the following line: seta r_gldriver "3dfxgl"
This possibly works since origin fails to detect the 3dfxgl graphics driver, and as a result disables the in-game overlay.

Can't load savegames in MoH: Spearhead Addon - Mission is always starting at the beginning[edit]

Change settings of Origin

If savegames can't be loaded normally, resulting in the game always starting at the beginning of a map, then it is required that "Origin In Game" is disabled in Origin's "Application settings".

DPI issues[edit]

If you are experiencing scaling issues, it can help to change the DPI settings of the game executable.
Change high DPI settings[16]
  1. Right click the game executable in <path-to-game> and select Properties.
    • Base game: MOHAA.exe
    • Spearhead expansion: moh_spearhead.exe
    • Breakpoint expansion: moh_breakthrough.exe
  2. Go to the Compability tab.
  3. Near the bottom of the window, select 'Change high DPI settings'
  4. 'Override high DPI scaling behaviour' keep the default (Application) in the drop down list.
    • If the 'Override high DPI scaling behaviour' option is greyed out, you may need to first hit 'Change settings for all users' on the Compability tab in the previous window.

Unstable frame rate and stuttering[edit]

This performance issue can occur with newer graphics cards supporting OpenGL 4.0 and newer. It is most common on Windows Vista and newer.
Fixes nearly all performance problems in Spearhead, when FPS might go down 8 FPS in the first level.
Doesn't help for Breakthrough. Curve detail setting can be lost on restart. Game can crash on settings save, sometimes can be fixed when you press default button, and make changes afterwards.
Change level of details

Set shadows to "Simple" (cg_shadows "1") and curve details to "low" (seta r_subdivisions "10") in advanced options.

Other information[edit]

API[edit]

Technical specs Supported Notes
OpenGL 1.1
ExecutablePPC 32-bit 64-bit Notes
Windows
macOS (OS X)
Linux

Middleware[edit]

Middleware Notes
Audio Miles Sound System 6.1c (BIN file version 3.0.0.0)
Multiplayer GameSpy

Command line arguments[edit]

See complete SDK command line arguments

Enable Reshade/SweetFx[edit]

Instruction[17]
Install ReShade 3 or 4 as OpenGL. Works with all MoHAA/Expansions. No in-game config changes are needed.
There is a bug when showing the OSD of MSI Afterburner overlay, which causes Reshade to stop working. Hide the OSD to restore Reshade.
Older Reshade 1.x/SweetFX 2.0 OpenGL injectors won't work automatically. To use them, install a OpenGL to DirectX wrapper such as GLDirect. Additionally, changes must be made to the game's configuration.

For Reshade 1.x/2.0, follow these steps:

  1. Download gldirect5
  2. Go to bin\release. Extract and rename gldirect5.dll to opengl32.dll
  3. Copy the file to the MoHAA folder.
  4. Paste preset to the MoH dir.
  5. Run ReShade's Setup.exe and set D3D9 Mode.

Alternatively:

  1. Open <path-to-game>\main\configs\unnamedsoldier.cfg
  2. Go to cvars section:
  3. Add the following line: seta r_gldriver "3dfxgl"
  4. Search for and download gldirect5
  5. Go to bin\release. Extract and rename gldirect5.dll to 3dfxgl.dll
  6. Copy the file to MoHAA folder.
  7. Optional: Paste in "SweetFx preset file" into the MoH directory (found in link above).
  8. Run ReShade (1.0, 2.0) Setup.exe and set D3D9 Mode.
May introduce graphical distortions in the Main Menu of the Game. Install GLDirect DX8 as a fix (it also increases performance a little; however, it produces a darker image). Rename the d3d9.dll Reshade injector to d3d8.dll.
"Game Filter" via Nvidia Driver overlay may achieve similar results as SweetFx, however Reshade is better at implementing ambient occlusion and Bloom effects.

System requirements[edit]

Windows
Minimum Recommended
Operating system (OS) 95 OSR2
Processor (CPU) Intel Pentium II 450 MHz
AMD Athlon 500 MHz
System memory (RAM) 128 MB
Hard disk drive (HDD) 1.2 GB
Video card (GPU) 16 MB of VRAM
DirectX 8.0 compatible
Mac OS
Minimum[18] Recommended
Operating system (OS) 9.0
Processor (CPU) PowerPC 7xx
PowerPC G3
System memory (RAM) 128 MB
Hard disk drive (HDD)
Other 2x CD-ROM drive
macOS (OS X)
Minimum
Operating system (OS) 10.1
Processor (CPU) G3 450 MHz
System memory (RAM) 256 MB
Hard disk drive (HDD)
Video card (GPU) 3D Graphic acceleration
16 MB of VRAM
Linux
Minimum
Operating system (OS)
Processor (CPU)
System memory (RAM)
Hard disk drive (HDD)

Notes

  1. SafeDisc retail DRM does not work on Windows 10[1] or Windows 11 and is disabled by default on Windows Vista, Windows 7, Windows 8, and Windows 8.1 when the KB3086255 update is installed.[2]
  2. 2.0 2.1 When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).

References