

Assign Alt to Option (not Cmd) in new versions
#1
Posted 15 January 2019 - 03:29 AM
http://www.columbia....winekeymap.html
Briefly, the method is this: modify keyboard.c to use the correct key-mappings, build, and replace winemac.drv.so in the Wineskin engine with the custom copy of winemac.drv.so that I built.
But this didn't work when I tried it Wine 3.0.
Are there current instructions for building an engine that I can use with High Sierra or Mojave? When I try building an engine with Wineskin Winery, I get an error when it tries to install gcc.
Thanks for any help...
#2
Posted 15 January 2019 - 08:10 AM
http://portingteam.c...150#entry107989
#3
Posted 15 January 2019 - 12:52 PM
https://palant.de/20...ngs-on-mac-os-x
But the fix that he describes doesn't make option=Alt etc. This mods in this keyboard.c file (look for lines with "//was") certainly did work in the past:
http://www.columbia..../keyboard.c.zip
And again - are there any current instructions out there for building an engine? Probably the instructions are right in front of me, but I can't see them...
#4
Posted 16 January 2019 - 02:37 AM
emendelson, on 15 January 2019 - 03:29 AM, said:
http://www.columbia....winekeymap.html
Briefly, the method is this: modify keyboard.c to use the correct key-mappings, build, and replace winemac.drv.so in the Wineskin engine with the custom copy of winemac.drv.so that I built.
But this didn't work when I tried it Wine 3.0.
Are there current instructions for building an engine that I can use with High Sierra or Mojave? When I try building an engine with Wineskin Winery, I get an error when it tries to install gcc.
Thanks for any help...
You really don't need to go through all that trouble as the macDriver already has that feature since Wine 1.7.4, I verified that tonight and added it as a feature to Wineskin-2.8.9Beta2
As for compiling Engines with Winery..... yeah Gatekeeper broke that.
NRG, on 15 January 2019 - 08:10 AM, said:
http://portingteam.c...150#entry107989
Partly true, the key maps before were handled by WineskinX11 but after adding the Command/Ctrl mapping I noticed macDriver also mentioned mapping Option/Alt, I dig through git and found it was a feature added since Wine 1.7.4 so now its a toggle option and enabled by default.
emendelson, on 15 January 2019 - 12:52 PM, said:
https://palant.de/20...ngs-on-mac-os-x
But the fix that he describes doesn't make option=Alt etc. This mods in this keyboard.c file (look for lines with "//was") certainly did work in the past:
http://www.columbia..../keyboard.c.zip
And again - are there any current instructions out there for building an engine? Probably the instructions are right in front of me, but I can't see them...
I have already built a working replacement for Unofficial using XCode instead of gcc but that only covers 32bit compiles as 64bit compiles have issues with regedit. And on High Sierra and Mojave you would require the 10.13SDK and force to build for OSX10.7 (due to some change with XCode10)
I'm sure it could be solved but I don't want to spend the time on that when I could just use docker to cross-compile and have a functioning compile.
#5
Posted 16 January 2019 - 03:32 AM
Gcenx, on 16 January 2019 - 02:37 AM, said:
Thank you! I just downloaded this from GitHub and the "Map Option as Alt" option finally works (I think for the first time). This will save an enormous amount of trouble. Thank you again!
#6
Posted 16 January 2019 - 04:15 AM
emendelson, on 16 January 2019 - 03:32 AM, said:
Thank you! I just downloaded this from GitHub and the "Map Option as Alt" option finally works (I think for the first time). This will save an enormous amount of trouble. Thank you again!
If you think that’s handy use wine 3.17 or higher, Command key functions like it does on macOS.
Both options are enabled by default on wrapper creation.
#7
Posted 16 January 2019 - 01:31 PM
Gcenx, on 16 January 2019 - 04:15 AM, said:
Both options are enabled by default on wrapper creation.
Thank you for letting me know about that! I gave up hoping they would ever make this default. This saves an enormous amount of trouble.
Thank you again!
#8
Posted 17 January 2019 - 01:46 AM
emendelson, on 16 January 2019 - 01:31 PM, said:
Thank you again!
I think you misunderstood what I meant let me clarify, the mapping for Command and also Option keys are not enabled within wine by default but I make sure those options are enabled for all Wineskin Wrappers using my current master wrapper.
Default setting for wine is having the weird key mapping that everyone hates, but Unofficial Wineskin adds the needed Reg entries after wineboot (when wine asks if you want to install mono & gecko prompts) for the options to be enabled.
If you build yourself a clean wrapper and check winecfg you will notice the following overrides;
gameoverlayrenderer (disabled)
Those are not configured that way by wine but by the settings I set via Wineskin so a new wrapper will have some setting imported by default, say we didn't disabled gameoverlayrenderer Steam would crash on some games if using a custom compile of wine but having it disabled means custom compiles will still function that's one of the workarounds used by winetricks I just integrated it directly.
#9
Posted 17 January 2019 - 03:38 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users