[Wine] WINEPRELOADRESERVE: how to use ?

Arnaud.ATOCH at oecd.org Arnaud.ATOCH at oecd.org
Fri Apr 14 07:51:37 CDT 2006


I'm using FC5 with wine 0.9.12 for World of Warcraft.
./wine /dos/World\ of\ Warcraft/wow
err:virtual:map_image Image was mapped at 0xf20000: standard load address for
a Win32 program (0x00400000) not available
err:virtual:map_image Do you have exec-shield or prelink active?
wine: could not load L"C:\\World of Warcraft\\wow.exe": Bad EXE format for

If I change the PE exe range it works

static struct wine_preload_info preload_info[] =
    { (void *)0x00000000, 0x00110000 },  /* DOS area */
    { (void *)0x80000000, 0x01000000 },  /* shared user data + shared heap */
    { (void *)0x10000000, 0x00f00000 },  /* PE exe range (may be set with
WINEPRELOADRESERVE), defaults to 512mb */
    { 0, 0 }                             /* end of list */

My question is the following :
Does anyone knows how to use the WINEPRELOADRESERVE (bash variable ?) to
avoid recompiling wine ?


More information about the wine-users mailing list