This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |
| emulators:winetricks [2026/04/19 11:48] – [Example] Proper Usage of Winetricks for v43 crcerror | emulators:winetricks [2026/04/19 11:49] (current) – [Example] crcerror |
|---|
| |
| * First, to let the system become aware of your resolution settings, execute the following command: <code>export DISPLAY=:0.0</code> | * First, to let the system become aware of your resolution settings, execute the following command: <code>export DISPLAY=:0.0</code> |
| * Now set the Wine architecture (''win32'' for 32-bit or ''win64'' for 64-bit *default arch and therefore not needed*) to the according game's architecure, 32-bit in this case: <code>export WINEARCH=win64</code> | * Now set the Wine architecture (''win32'' for 32-bit or ''win64'' for 64-bit *default arch and therefore not needed*) to the according game's architecure, 64-bit in this case: <code>export WINEARCH=win64</code> |
| * Next create the prefix according your exported architecture. The command will not work if there is already a prefix! The reason is, if you want to change the architecture (32/64bit) this works **only** if the prefix is initiated at first time - it can not be changed later. So delete the prefix and start over by using ''batocera-wine'' with the ''createprefix'' command: <code>batocera-wine windows createprefix '/userdata/system/roms/windows/Giana Sisters - Twisted Dreams.pc'</code> | * Next create the prefix according your exported architecture. The command will not work if there is already a prefix! The reason is, if you want to change the architecture (32/64bit) this works **only** if the prefix is initiated at first time - it can not be changed later. So delete the prefix and start over by using ''batocera-wine'' with the ''createprefix'' command: <code>batocera-wine windows createprefix '/userdata/system/roms/windows/Giana Sisters - Twisted Dreams.pc'</code> |
| * Now you need to use ''batocera-wine'' with the ''tricks'' command as follows, which will install the first needed winetrick to the game's wineprefix (Note that if you have any whitespaces in your path you have to put the whole path into single quotes as in the following example): <code>batocera-wine windows tricks '/userdata/system/wine-bottles/windows/ge-custom/Giana Sisters - Twisted Dreams.pc.wine' xact_x64 wmp11</code> | * Now you need to use ''batocera-wine'' with the ''tricks'' command as follows, which will install the first needed winetrick to the game's wineprefix (Note that if you have any whitespaces in your path you have to put the whole path into single quotes as in the following example): <code>batocera-wine windows tricks '/userdata/system/wine-bottles/windows/ge-custom/Giana Sisters - Twisted Dreams.pc.wine' xact_x64 wmp11</code> |