You are not logged in.

#1 2020-02-22 15:51:17

ryu7
Member
Registered: 2019-05-29
Posts: 46

256 colors mode for windows application

Please I need to put my arch in 256 colors on wine! I read that tutorial https://wiki.winehq.org/256_Color_Mode but none of these works I tried with xnest, the output is:

_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
(EE) 
Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)

Offline

#2 2020-02-22 17:46:34

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: 256 colors mode for windows application

Using "Xephyr" instead of Xnest seems to work for me. You get an 8-bit mode if you start it like this:

Xephyr :1 -screen 1024x768x8

That "x8" you see at the end is the trick. The result does look like 8-bit. I don't know if everything about this works correctly. I don't know how to test if programs can update the 256 color palette.

The way I tested things here is, I started Xephyr like I showed in one terminal window, then in another window I started openbox with "DISPLAY=:1 openbox". I could then right-click in the Xephyr window to get to Openbox's application menu and start programs etc.

Offline

#3 2020-02-22 19:32:14

ryu7
Member
Registered: 2019-05-29
Posts: 46

Re: 256 colors mode for windows application

Ropid wrote:

Using "Xephyr" instead of Xnest seems to work for me. You get an 8-bit mode if you start it like this:

Xephyr :1 -screen 1024x768x8

That "x8" you see at the end is the trick. The result does look like 8-bit. I don't know if everything about this works correctly. I don't know how to test if programs can update the 256 color palette.

The way I tested things here is, I started Xephyr like I showed in one terminal window, then in another window I started openbox with "DISPLAY=:1 openbox". I could then right-click in the Xephyr window to get to Openbox's application menu and start programs etc.


The same error!

Offline

#4 2020-02-22 20:30:51

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: 256 colors mode for windows application

That ":1" display name is perhaps in use on your setup. You should try a different number like ":2", ":3", etc.

Offline

#5 2020-02-22 20:51:28

ryu7
Member
Registered: 2019-05-29
Posts: 46

Re: 256 colors mode for windows application

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error:   Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server

I put  "2"  and open a black window where says that "ctrl + shift grabs mouse and keyboard". I press and my mouse dissapear! I Tried to open the game and it ask me to change to 256 colors!
I think that I made a little progress! thanks! but the application still not working!

Offline

#6 2020-02-22 20:59:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: 256 colors mode for windows application

You should probably disclose what you are actually trying to start and what's the actual error message you receive on starting it. If i interpret the very link you posted it seems that these workarounds you are trying to do are often not necessary as wine does a relevant conversion internally anyway.

Offline

#7 2020-02-22 22:13:28

ryu7
Member
Registered: 2019-05-29
Posts: 46

Re: 256 colors mode for windows application

When I try to start the game on wine in a terminal says:

000b:fixme:winediag:__wine_start_process Wine Staging 5.2 is a testing version containing experimental patches.
000b:fixme:winediag:__wine_start_process Please mention your exact version when filing bug reports on winehq.org.
001d:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\SecDrv": c000000d
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"SecDrv" failed to start: 87

Offline

#8 2020-02-22 22:25:44

xerxes_
Member
Registered: 2018-04-29
Posts: 1,045

Re: 256 colors mode for windows application

Maybe try dosbox.

Offline

#9 2020-02-22 22:28:25

ryu7
Member
Registered: 2019-05-29
Posts: 46

Re: 256 colors mode for windows application

xerxes_ wrote:

Maybe try dosbox.

The game is not DOS! Is for win!

Offline

#10 2020-02-22 23:35:01

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: 256 colors mode for windows application

What game!
Which windows version do you emulate!
Do you actually run the game in the nested X11 server!
Did you make the reuired change to the windows registry!
The winehq link you posted has the literal answer to your initial question! Did you actually read it!
Post your exact I/O (all commands you issue and their complete output)!
Why are we using so many exclamation points!…?

Offline

#11 2020-02-22 23:44:12

xerxes_
Member
Registered: 2018-04-29
Posts: 1,045

Re: 256 colors mode for windows application

I runned win3.11 from dosbox and some 16bit windowed games (that was on win7 before I moved to linux). Some early "windows" games were using dos4/gw (or other DOS ekstenders) which dosbox should support.

You really should tell as that "mysterious game name", that will be easier for everyone.

Last edited by xerxes_ (2020-02-22 23:46:07)

Offline

#12 2020-02-22 23:56:26

ryu7
Member
Registered: 2019-05-29
Posts: 46

Re: 256 colors mode for windows application

The game is Return Fire (https://en.wikipedia.org/wiki/Return_Fire)
I can't change the registry! x11 is not there!

Offline

#13 2020-02-23 00:07:35

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: 256 colors mode for windows application

That's nonsense. Just run "regedit", this is not related to a nested X11 server and w/o the regedit change, the 8bit X11 server won't help.

And stop using exclamation points unless you're actually trying to be rude.
Rule of thumb: if you use them more frequently than the orange man, you're doing it wrongly.

Offline

#14 2020-02-23 00:17:40

ryu7
Member
Registered: 2019-05-29
Posts: 46

Re: 256 colors mode for windows application

seth wrote:

That's nonsense. Just run "regedit", this is not related to a nested X11 server and w/o the regedit change, the 8bit X11 server won't help.

And stop using exclamation points unless you're actually trying to be rude.
Rule of thumb: if you use them more frequently than the orange man, you're doing it wrongly.


Ok sorry

Offline

#15 2020-02-23 14:08:57

ryu7
Member
Registered: 2019-05-29
Posts: 46

Re: 256 colors mode for windows application

sorry the double post

Nevermind

The game still does not work in wine

Return Fire Winehq

Last edited by ryu7 (2020-02-23 14:27:46)

Offline

#16 2020-02-23 14:51:31

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: 256 colors mode for windows application

You linked a pretty infoless winehq report from 2007…
You did still not indicate whether you edited the registry or commented on any other question asked.

We're at comment #15 and still fail on https://bbs.archlinux.org/viewtopic.php?id=57855

Offline

#17 2020-02-23 15:06:33

ryu7
Member
Registered: 2019-05-29
Posts: 46

Re: 256 colors mode for windows application

seth wrote:

You linked a pretty infoless winehq report from 2007…
You did still not indicate whether you edited the registry or commented on any other question asked.

We're at comment #15 and still fail on https://bbs.archlinux.org/viewtopic.php?id=57855


But I get the same error

"Could not load language .DLL

I don't edited the registry. What do I have that to edit?

Last edited by ryu7 (2020-02-23 15:08:27)

Offline

#18 2020-02-23 15:36:48

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: 256 colors mode for windows application

You said you read https://wiki.winehq.org/256_Color_Mode

export "WINEDEBUG=warn+all", run the game and post the complete output.

Offline

#19 2020-02-23 16:09:59

ryu7
Member
Registered: 2019-05-29
Posts: 46

Re: 256 colors mode for windows application

It says that file already exist

You wanted say import ?

where Should I export this file in regedit?

The file appear in my personal folder

Says the same thing that I must run in 256 color mode

the output:

000b:fixme:winediag:__wine_start_process Wine Staging 5.2 is a testing version containing experimental patches.
000b:fixme:winediag:__wine_start_process Please mention your exact version when filing bug reports on winehq.org.
001b:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\SecDrv": c000000d
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"SecDrv" failed to start: 87

Last edited by ryu7 (2020-02-23 16:22:17)

Offline

#20 2020-02-23 16:30:19

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: 256 colors mode for windows application

You wanted say import ?

No I didn't, and this is pointless - there's no way you're using archlinux anyway.

Offline

#21 2020-02-23 18:06:56

latalante1
Member
Registered: 2018-08-30
Posts: 111

Re: 256 colors mode for windows application

I checked the demo.
https://archive.org/details/Rfire
It starts up.
Color mapping is incorrect even with an additional key in the registry (set to N).

HKEY_CURRENT_USER\Software\Wine\X11 Driver\ClientSideGraphics

Dithering is terrible.

I suspect that it may be similar with the retail version.
Report the problem to wine developers or run this game in a virtual machine with the appropriate version of windows.

Offline

Board footer

Powered by FluxBB