MadEdit fails to launch as normal user (works as Root) when using English locale

Questions about Wine on Linux
Locked
waterflame
Newbie
Newbie
Posts: 2
Joined: Thu Nov 26, 2020 7:12 am

MadEdit fails to launch as normal user (works as Root) when using English locale

Post by waterflame »

Hello. I used to use a really old version of a hex editor called MadEdit which worked flawless in wine. At some point I guess my wine version updated or something changed because now it won't open when not run as root. The console output seems to be the same for both Root and Normal but the difference is Normal just quits out while when run as Root it opens the editor window. I noticed this when I normally run it with a Japanese locale(LANG=ja_JP.UTF-8) so that Shift-JIS renders properly. When running it with default(LANG=en_US.UTF-8) it doesn't open.

Ubuntu 18.04
Wine 6.0
Nvidia Driver 450.102.04
Kernel 5.4.0-66-generic

Steps to reproduce:
*Go to https://sourceforge.net/projects/madedi ... dit-0.1.2/ and grab MadEdit-0.1.2.win32-bin.zip
*In a new 64bit prefix run "winecfg"
*Run "wine MadEdit.exe"

User

Code: Select all

$ wine MadEdit.exe 
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
005c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
005c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0064:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0064:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00f4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00f4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:freetype_set_outline_text_metrics failed to read full_nameW for font L"Ani"!
Root

Code: Select all

# wine MadEdit.exe 
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
005c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
005c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0064:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0064:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00f4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00f4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:freetype_set_outline_text_metrics failed to read full_nameW for font L"Ani"!
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: MadEdit fails to launch as normal user (works as Root) when using English locale

Post by dimesio »

Works fine for me in a clean wineprefix in Wine 6.3, in both locales.

You could try upgrading, but it sounds like you messed up the permissions in your wineprefix by running something as root or sudo; that's one reason you should never do that.

https://wiki.winehq.org/FAQ#Should_I_ru ... as_root.3F
Locked