I was wondering if I could hide wine version from applications in wine-stable like wine-staging has.
Is there some user.reg or system.reg file code, winetricks command, registry key or something for that?
How do I hide wine version from applications in wine-stable?
-
- Level 2
- Posts: 23
- Joined: Sat Jan 08, 2022 3:07 pm
Re: How do I hide wine version from applications in wine-stable?
No, you can't. Wine-staging has added a patch to Wine that makes this possible.
A possibility is to compile Wine with the patch.
A possibility is to compile Wine with the patch.
Re: How do I hide wine version from applications in wine-stable?
Another possibility I sometimes use is do a dirty trick:
1. make a backup of the binary you like to run, so you always have a copy.
2. double-check if it is wine-aware:
grep wine_ program.exe (fill in correct name for the program)
grep: program.exe: binary file matches
3. replace the string in the binary:
sed -i 's/wine_/hack_/g' program.exe
to fine tune you could as search string also use wine_get_version (or wine_get_unix_file_name or whatever the program is checking for)
1. make a backup of the binary you like to run, so you always have a copy.
2. double-check if it is wine-aware:
grep wine_ program.exe (fill in correct name for the program)
grep: program.exe: binary file matches
3. replace the string in the binary:
sed -i 's/wine_/hack_/g' program.exe
to fine tune you could as search string also use wine_get_version (or wine_get_unix_file_name or whatever the program is checking for)