http://bugs.winehq.org/show_bug.cgi?id=26448
Summary: Dosbox integration doesn't work with PIF files Product: Wine Version: 1.3.15 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dos AssignedTo: wine-bugs@winehq.org ReportedBy: spammis@spam.la
A PIF file is a shortcut to an MS-DOS program. Windows shortcuts to MS-DOS programs get a .pif extension whereas Windows shortcuts to Windows programs get a .lnk extension (or at least this was the case during the Windows 95 era: I have very rarely used Windows since then).
When I type "wine dosprog.exe", Wine forwards the program to Dosbox. When I type "wine dosprog.pif", Wine does not forward any program to Dosbox. I get error messages about "Wineconsole", so it seems that Wine finds the EXE file that the PIF file refers to but that Wine tries to run the EXE file under Wine instead of Dosbox.
http://bugs.winehq.org/show_bug.cgi?id=26448
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2011-03-16 14:31:50 CDT --- It may start to open a console, but it will still call Dosbox afterwards. There must be some other problem.
http://bugs.winehq.org/show_bug.cgi?id=26448
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement
http://bugs.winehq.org/show_bug.cgi?id=26448
--- Comment #2 from Spammer spammis@spam.la 2011-03-17 18:13:38 CDT --- Seems to be a locale-related problem: "wineconsole cmd" doesn't work whereas "LANG=en wineconsole cmd" does work. With my setup, "wineconsole cmd" is equivalent to "LANG=ja_JP.UTF-8 wineconsole cmd".
When I try "wineconsole cmd", an error message is repeated 20-30 times:
err:wineconsole:WCUSER_SetFont wrong font
At the end, I get another error message:
err:wineconsole:WINECON_Fatal Couldn't find a decent font, aborting
I see that "LANG=en wine piffile.pif" also works: I get a Wine console and then Dosbox starts.
Typing "wine --version" returns "wine-1.3.15".
http://bugs.winehq.org/show_bug.cgi?id=26448
--- Comment #3 from Spammer spammis@spam.la 2011-03-17 18:33:46 CDT --- Wineconsole seems to be picky about character sets.
Works: LANG=ja_JP.eucJP wineconsole cmd Doesn't work: LANG=ja_JP.UTF-8 wineconsole cmd
http://bugs.winehq.org/show_bug.cgi?id=26448
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|dos |-unknown
http://bugs.winehq.org/show_bug.cgi?id=26448
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
http://bugs.winehq.org/show_bug.cgi?id=26448
--- Comment #4 from André H. nerv@dawncrow.de 2011-03-27 11:33:14 CDT --- works fine here
http://bugs.winehq.org/show_bug.cgi?id=26448
--- Comment #5 from Spammer spammis@spam.la 2011-04-01 11:19:16 CDT --- Still does not work with Wine 1.3.16. There is also a bug with Firefox (works with LANG=ja_JP.eucJP but not with LANG=ja_JP.UTF-8), but I get completely different error messages. For whatever it is worth, I'm using the Wine 1.3.16 build available from https://launchpad.net/~ubuntu-wine/+archive/ppa
http://bugs.winehq.org/show_bug.cgi?id=26448
--- Comment #6 from Spammer spammis@spam.la 2011-04-05 17:16:38 CDT --- Same with Wine 1.3.17.
The Firefox problem only applies to Firefox 3.6.x: there are no problems with Firefox 4.0.x.
http://bugs.winehq.org/show_bug.cgi?id=26448
--- Comment #7 from Spammer spammis@spam.la 2011-06-20 05:53:06 CDT --- Created an attachment (id=35208) --> (http://bugs.winehq.org/attachment.cgi?id=35208) Windows 7 registry dump
I found a difference between Windows 7 and Wine: the Windows 7 registry has a few registry keys specifying a character set for certain Windows code pages, whereas Wine has not. I've dumped the relevant part of my Windows 7 registry and attached it to this bug.
The value of key 65001 was, I believe, set manually by me in order to get a working UTF-8 cmd under Windows (but it failed: cmd still crashes a lot under Windows when switching to UTF-8, and screen output is not interpreted as UTF-8). The other keys were already set when I got my computer with Windows 7 pre-installed from Dell.
If I import these keys into Wine's regedit, wineconsole still crashes. The "cmd" program under Windows switches the command-line to the character set specified in the registry when changing character set, but Wine doesn't seem to implement this feature.
http://bugs.winehq.org/show_bug.cgi?id=26448
--- Comment #8 from Spammer spammis@spam.la 2011-06-20 06:03:38 CDT --- I wrote:
The "cmd" program under Windows switches the command-line to the character set specified in the registry when changing character set
I meant to write:
The "cmd" program under Windows switches the command-line to the font specified in the registry when changing character set
In order to change character set under Windows, use "chcp nnn" (where "nnn" is a character set number). The "chcp" program is not implemented in Wine.
http://bugs.winehq.org/show_bug.cgi?id=26448
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Dosbox integration doesn't |Codepage problems with |work with PIF files |wineconsole, maybe need a | |builtin chcp program
http://bugs.winehq.org/show_bug.cgi?id=26448
--- Comment #9 from Austin English austinenglish@gmail.com 2013-11-13 16:50:55 CST --- This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.6 or newer) wine? If so, please attach the terminal output in 1.7.6 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=26448
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #10 from Austin English austinenglish@gmail.com --- Abandoned.
https://bugs.winehq.org/show_bug.cgi?id=26448
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Austin English austinenglish@gmail.com --- Closing.