Glam Prestige Journal

Bright entertainment trends with youth appeal.

In some special cases, I have to add a registry key to wine. Is it possible to do so using the command line, and how?

Here are the steps I do from GUI:

wine regedit
  • On the left, open HKEY_CURRENT_USER, then open Software
  • Right click on Wine -> New -> Key (named Direct3D)
  • Right click on Direct3D -> New -> String Value (named VideoMemorySize, double click on it and set it 1024

enter image description here

1 Answer

This is a standard winetricks configuration item:

enter image description here

So, you can do:

$ winetricks videomemorysize=1024
------------------------------------------------------
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing w_do_call videomemorysize=1024
Executing load_videomemorysize 1024
Setting video memory size to 1024
Executing winetricks_early_wine regedit C:\windows\Temp\_videomemorysize=1024\set-video.reg
3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy