Running in Wine?

Post bug reports and ask for game support here.

Moderators: Panther Paul, Arjuna

redwolf
Posts: 95
Joined: Wed Sep 18, 2002 10:08 pm

Running in Wine?

Post by redwolf »

What's the current status of running Command Ops games in Wine (Linux, FreeBSD, MacOS)?

The original BFC release worked. I don't have access to the current version and would be curious whether anybody tried.

(this is not a statement about windows sucking, demands for a linux version (I use FreeBSD anyway) or any form of guarantee demand, simply asking whether it happens to work right now)
Fishbreath
Posts: 55
Joined: Thu Feb 02, 2012 12:53 pm

RE: Running in Wine?

Post by Fishbreath »

The last time I tried, I don't believe I was able to get it running. That said, I didn't spend very much time trying.
User avatar
Perturabo
Posts: 2461
Joined: Sat Nov 17, 2007 5:32 pm
Contact:

RE: Running in Wine?

Post by Perturabo »

BFC release?
redwolf
Posts: 95
Joined: Wed Sep 18, 2002 10:08 pm

RE: Running in Wine?

Post by redwolf »

ORIGINAL: Perturabo

BFC release?

Panther Games once was with battlefront.com as a publisher. I think the game was called Red Devils Over Arnheim back in those days.

It did run in Wine.

I suppose Panther is still not releasing any demos?
Lieste
Posts: 1823
Joined: Sat Nov 01, 2008 10:50 am

RE: Running in Wine?

Post by Lieste »

Other than the CmdOps BfTB one you mean?
User avatar
Arjuna
Posts: 17768
Joined: Mon Mar 31, 2003 11:18 am
Location: Canberra, Australia
Contact:

RE: Running in Wine?

Post by Arjuna »

Dave "Arjuna" O'Connor
www.panthergames.com
User avatar
BletchleyGeek
Posts: 4460
Joined: Thu Nov 26, 2009 3:01 pm
Location: Living in the fair city of Melbourne, Australia

RE: Running in Wine?

Post by BletchleyGeek »

Interested in hearing about this Redwolf. The EstabEditor might be quite difficult to run, yet the engine, MapMaker and ScenMaker should work.
User avatar
Perturabo
Posts: 2461
Joined: Sat Nov 17, 2007 5:32 pm
Contact:

RE: Running in Wine?

Post by Perturabo »

I played the unpatched game and with the first two patches on Wine. It worked. I also used the estab editor - it required using Winetricks to install the .net framework.
User avatar
Arjuna
Posts: 17768
Joined: Mon Mar 31, 2003 11:18 am
Location: Canberra, Australia
Contact:

RE: Running in Wine?

Post by Arjuna »

Good to hear. Thanks.
Dave "Arjuna" O'Connor
www.panthergames.com
User avatar
BletchleyGeek
Posts: 4460
Joined: Thu Nov 26, 2009 3:01 pm
Location: Living in the fair city of Melbourne, Australia

RE: Running in Wine?

Post by BletchleyGeek »

ORIGINAL: Perturabo

I played the unpatched game and with the first two patches on Wine. It worked. I also used the estab editor - it required using Winetricks to install the .net framework.

Just like that? That's very smooth [:)]
User avatar
Perturabo
Posts: 2461
Joined: Sat Nov 17, 2007 5:32 pm
Contact:

RE: Running in Wine?

Post by Perturabo »

ORIGINAL: Bletchley_Geek

ORIGINAL: Perturabo

I played the unpatched game and with the first two patches on Wine. It worked. I also used the estab editor - it required using Winetricks to install the .net framework.

Just like that? That's very smooth [:)]
Oh and VC2008 and probably DX9
User avatar
BletchleyGeek
Posts: 4460
Joined: Thu Nov 26, 2009 3:01 pm
Location: Living in the fair city of Melbourne, Australia

RE: Running in Wine?

Post by BletchleyGeek »

ORIGINAL: Perturabo
ORIGINAL: Bletchley_Geek

ORIGINAL: Perturabo

I played the unpatched game and with the first two patches on Wine. It worked. I also used the estab editor - it required using Winetricks to install the .net framework.

Just like that? That's very smooth [:)]
Oh and VC2008 and probably DX9

That makes more sense to me [:)] I need to get the latest Ubuntu on my other partition and try to nail this down to write a short HOW-TO
User avatar
Perturabo
Posts: 2461
Joined: Sat Nov 17, 2007 5:32 pm
Contact:

RE: Running in Wine?

Post by Perturabo »

The newest version of Wine has some kind of a bug that makes bombardment stall the game for some time.
User avatar
BletchleyGeek
Posts: 4460
Joined: Thu Nov 26, 2009 3:01 pm
Location: Living in the fair city of Melbourne, Australia

RE: Running in Wine?

Post by BletchleyGeek »

Dave,

could you please make this thread sticky?
User avatar
Perturabo
Posts: 2461
Joined: Sat Nov 17, 2007 5:32 pm
Contact:

RE: Running in Wine?

Post by Perturabo »

While scen-maker and estab maker maker work in Wine 1.5.26, the map maker crashes when loading a map. I'm pretty sure that map maker worked in some earlier version.

Play on Linux is worth getting because it allows to easily install multiple versions of wine and assign them to various programs.
User avatar
BletchleyGeek
Posts: 4460
Joined: Thu Nov 26, 2009 3:01 pm
Location: Living in the fair city of Melbourne, Australia

RE: Running in Wine?

Post by BletchleyGeek »

ORIGINAL: Perturabo

While scen-maker and estab maker maker work in Wine 1.5.26, the map maker crashes when loading a map. I'm pretty sure that map maker worked in some earlier version.

That's interesting. Can you post an screenshot of the crash dump window showing the details of the crash? That can give a good hint as to what might be a potential reason.
ORIGINAL: Perturabo
Play on Linux is worth getting because it allows to easily install multiple versions of wine and assign them to various programs.

Haven't tried that one. Is that free software, or is a subscription-based scheme as Cedega used to be back in the day?
User avatar
Perturabo
Posts: 2461
Joined: Sat Nov 17, 2007 5:32 pm
Contact:

RE: Running in Wine?

Post by Perturabo »

ORIGINAL: Bletchley_Geek
ORIGINAL: Perturabo
Play on Linux is worth getting because it allows to easily install multiple versions of wine and assign them to various programs.

Haven't tried that one. Is that free software, or is a subscription-based scheme as Cedega used to be back in the day?
Free.
ORIGINAL: Bletchley_Geek
ORIGINAL: Perturabo

While scen-maker and estab maker maker work in Wine 1.5.26, the map maker crashes when loading a map. I'm pretty sure that map maker worked in some earlier version.

That's interesting. Can you post an screenshot of the crash dump window showing the details of the crash? That can give a good hint as to what might be a potential reason.

Code: Select all

wine: Unhandled page fault on read access to 0xf88513d0 at address 0x44f0cf (thread 0009), starting debugger...
 Unhandled exception: page fault on read access to 0xf88513d0 in 32-bit code (0x0044f0cf).
 Register dump:
  CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
  EIP:0044f0cf ESP:0033f5a4 EBP:0033f5c8 EFLAGS:00210246(  R- --  I  Z- -P- )
  EAX:f88513d0 EBX:00000000 ECX:bebebebe EDX:00000000
  ESI:00060000 EDI:00e69530
 Stack dump:
 0x0033f5a4:  00e95760 6835d4f5 00000000 f88513d0
 0x0033f5b4:  00000000 00000000 013d0000 00eab168
 0x0033f5c4:  00000000 0033f600 0044eadb 0033f5fb
 0x0033f5d4:  00000003 00000000 00000000 00000300
 0x0033f5e4:  00000200 00eab168 013d0000 00000000
 0x0033f5f4:  00e95760 0033f628 683663b8 0033f630
 Backtrace:
 =>0 0x0044f0cf in mapmaker (+0x4f0cf) (0x0033f5c8)
   1 0x0044eadb in mapmaker (+0x4eada) (0x0033f600)
   2 0x004384a5 in mapmaker (+0x384a4) (0x0033f630)
   3 0x0041655d in mapmaker (+0x1655c) (0x0033f690)
   4 0x00439a09 in mapmaker (+0x39a08) (0x0033f808)
   5 0x00439c9f in mapmaker (+0x39c9e) (0x0033f874)
   6 0x004125ce in mapmaker (+0x125cd) (0x0033f974)
   7 0x00410feb in mapmaker (+0x10fea) (0x0033f9ec)
   8 0x78d9f71f in mfc100 (+0x23f71e) (0x0033faa8)
   9 0x78d9f27a in mfc100 (+0x23f279) (0x0033fac8)
   10 0x78d9d667 in mfc100 (+0x23d666) (0x0033fb40)
   11 0x78d9d8f3 in mfc100 (+0x23d8f2) (0x0033fb64)
   12 0x78c95993 in mfc100 (+0x135992) (0x0033fba8)
   13 0x6ea10f8a WINPROC_wrapper+0x19() in user32 (0x0033fbd8)
   14 0x6ea1293c in user32 (+0xa293b) (0x0033fc28)
   15 0x6ea13cb2 in user32 (+0xa3cb1) (0x0033fc78)
   16 0x6e9d4cee DispatchMessageA+0xad() in user32 (0x0033fd88)
   17 0x78d8bdf4 in mfc100 (+0x22bdf3) (0x0033fdb8)
   18 0x78db1c4c in mfc100 (+0x251c4b) (0x0033fdcc)
   19 0x006c58aa in mapmaker (+0x2c58a9) (0x0033fe60)
   20 0x7b8610fc call_process_entry+0xb() in kernel32 (0x0033fe78)
   21 0x7b864c0b in kernel32 (+0x54c0a) (0x0033feb8)
   22 0x7bc75a50 call_thread_func_wrapper+0xb() in ntdll (0x0033fed8)
   23 0x7bc75cad call_thread_func+0x7c() in ntdll (0x0033ffa8)
   24 0x7bc75a2e RtlRaiseException+0x21() in ntdll (0x0033ffc8)
   25 0x7bc4dc7e in ntdll (+0x3dc7d) (0x0033ffe8)
 0x0044f0cf: movw	0x0(%eax,%edx,2),%cx
 Modules:
 Module	Address			Debug info	Name (100 modules)
 PE	  400000-  e13000	Export          mapmaker
 ELF	239cc000-23a0b000	Deferred        usp10<elf>
   \-PE	239d0000-23a0b000	\               usp10
 ELF	3f036000-3f058000	Deferred        imm32<elf>
   \-PE	3f040000-3f058000	\               imm32
 ELF	68000000-68020000	Deferred        ld-linux.so.2
 ELF	68020000-68161000	Dwarf           libwine.so.1
 ELF	68161000-6817c000	Deferred        libpthread.so.0
 ELF	6817c000-682fe000	Deferred        libc.so.6
 ELF	682fe000-68328000	Deferred        libm.so.6
 ELF	68328000-68334000	Deferred        libnss_nis.so.2
 ELF	68334000-68341000	Deferred        libnss_files.so.2
 ELF	68341000-68447000	Deferred        gdi32<elf>
   \-PE	68350000-68447000	\               gdi32
 ELF	68447000-684ad000	Deferred        advapi32<elf>
   \-PE	68450000-684ad000	\               advapi32
 ELF	684ad000-685a3000	Deferred        comctl32<elf>
   \-PE	684c0000-685a3000	\               comctl32
 ELF	685a3000-685b6000	Deferred        msimg32<elf>
   \-PE	685b0000-685b6000	\               msimg32
 ELF	685b6000-68696000	Deferred        comdlg32<elf>
   \-PE	685c0000-68696000	\               comdlg32
 ELF	68696000-688ad000	Deferred        shell32<elf>
   \-PE	686a0000-688ad000	\               shell32
 ELF	688ad000-688ea000	Deferred        winspool<elf>
   \-PE	688b0000-688ea000	\               winspool
 ELF	688ea000-68a05000	Deferred        oleaut32<elf>
   \-PE	68900000-68a05000	\               oleaut32
 ELF	68a05000-68b19000	Deferred        ole32<elf>
   \-PE	68a20000-68b19000	\               ole32
 ELF	68b19000-68b91000	Deferred        rpcrt4<elf>
   \-PE	68b20000-68b91000	\               rpcrt4
 ELF	68b91000-68bb9000	Deferred        msacm32<elf>
   \-PE	68ba0000-68bb9000	\               msacm32
 ELF	68bb9000-68be9000	Deferred        ws2_32<elf>
   \-PE	68bc0000-68be9000	\               ws2_32
 ELF	68be9000-68c00000	Deferred        libresolv.so.2
 ELF	68c00000-68c97000	Deferred        libfreetype.so.6
 ELF	68c97000-68cab000	Deferred        libz.so.1
 ELF	68cab000-68ce0000	Deferred        libfontconfig.so.1
 ELF	68ce0000-68d09000	Deferred        libexpat.so.1
 ELF	68d09000-68d94000	Deferred        winex11<elf>
   \-PE	68d10000-68d94000	\               winex11
 ELF	68d94000-68dae000	Deferred        libice.so.6
 ELF	68dae000-68dc1000	Deferred        libxext.so.6
 ELF	68dc1000-68dc7000	Deferred        libuuid.so.1
 ELF	68dc7000-68dcb000	Deferred        libxau.so.6
 ELF	68dcb000-68dcf000	Deferred        libxinerama.so.1
 ELF	68dcf000-68dd5000	Deferred        libxxf86vm.so.1
 ELF	68dd5000-68de0000	Deferred        libxrender.so.1
 ELF	68de0000-68de9000	Deferred        libxrandr.so.2
 ELF	68de9000-68ded000	Deferred        libxcomposite.so.1
 ELF	68ded000-68dfd000	Deferred        libxi.so.6
 ELF	68dfd000-68e08000	Deferred        libxcursor.so.1
 ELF	68e08000-68e0e000	Deferred        libxfixes.so.3
 ELF	68e0e000-68e41000	Deferred        uxtheme<elf>
   \-PE	68e10000-68e41000	\               uxtheme
 ELF	68e41000-68e56000	Deferred        dwmapi<elf>
   \-PE	68e50000-68e56000	\               dwmapi
 ELF	68e56000-68ea8000	Deferred        libcups.so.2
 ELF	68ea8000-68ee6000	Deferred        libgssapi_krb5.so.2
 ELF	68ee6000-68f7e000	Deferred        libgnutls.so.26
 ELF	68f7e000-68f8c000	Deferred        libavahi-common.so.3
 ELF	68f8c000-68f9f000	Deferred        libavahi-client.so.3
 ELF	68f9f000-69068000	Deferred        libkrb5.so.3
 ELF	69068000-6906c000	Deferred        libcom_err.so.2
 ELF	6906c000-69075000	Deferred        libkrb5support.so.0
 ELF	69075000-69085000	Deferred        libtasn1.so.3
 ELF	69085000-690f9000	Deferred        libgcrypt.so.11
 ELF	690f9000-69142000	Deferred        libdbus-1.so.3
 ELF	69142000-69146000	Deferred        libkeyutils.so.1
 ELF	69146000-6914a000	Deferred        libgpg-error.so.0
 ELF	6ac07000-6ac30000	Deferred        libk5crypto.so.3
 ELF	6b345000-6b3b4000	Deferred        shlwapi<elf>
   \-PE	6b350000-6b3b4000	\               shlwapi
 ELF	6da06000-6db3c000	Deferred        libx11.so.6
 ELF	6e713000-6e718000	Deferred        libdl.so.2
 ELF	6e959000-6ea9e000	Dwarf           user32<elf>
   \-PE	6e970000-6ea9e000	\               user32
 ELF	6ecc4000-6ece7000	Deferred        iphlpapi<elf>
   \-PE	6ecd0000-6ece7000	\               iphlpapi
 ELF	6fd18000-6fd22000	Deferred        libnss_compat.so.2
 ELF	73f9c000-73fb6000	Deferred        wsock32<elf>
   \-PE	73fa0000-73fb6000	\               wsock32
 ELF	757e2000-757eb000	Deferred        libsm.so.6
 ELF	76008000-760b8000	Deferred        winmm<elf>
   \-PE	76010000-760b8000	\               winmm
 ELF	76d03000-76d0c000	Deferred        librt.so.1
 PE	78050000-780b9000	Deferred        msvcp100
 PE	78aa0000-78b5f000	Deferred        msvcr100
 PE	78b60000-78f98000	Export          mfc100
 ELF	7b800000-7b904000	Dwarf           kernel32<elf>
   \-PE	7b810000-7b904000	\               kernel32
 ELF	7b933000-7b94c000	Deferred        libnsl.so.1
 ELF	7bc00000-7bcc7000	Dwarf           ntdll<elf>
   \-PE	7bc10000-7bcc7000	\               ntdll
 ELF	7bf00000-7bf03000	Deferred        <wine-loader>
 ELF	7c772000-7c78a000	Deferred        version<elf>
   \-PE	7c780000-7c78a000	\               version
 ELF	7d227000-7d24c000	Deferred        libxcb.so.1
 Threads:
 process  tid      prio (all id:s are in hex)
 00000008 (D) C:\Matrix Games\Battles from the Bulge\MapMaker.exe
 	00000025    0
 	00000024    0
 	00000009    0 <==
 0000000e services.exe
 	00000020    0
 	0000001f    0
 	00000019    0
 	00000018    0
 	00000017    0
 	00000015    0
 	00000010    0
 	0000000f    0
 00000012 winedevice.exe
 	0000001b    0
 	0000001a    0
 	00000014    0
 	00000013    0
 0000001c plugplay.exe
 	00000021    0
 	0000001e    0
 	0000001d    0
 00000022 explorer.exe
 	00000023    0
User avatar
BletchleyGeek
Posts: 4460
Joined: Thu Nov 26, 2009 3:01 pm
Location: Living in the fair city of Melbourne, Australia

RE: Running in Wine?

Post by BletchleyGeek »

ORIGINAL: Perturabo
Backtrace:
=>0 0x0044f0cf in mapmaker (+0x4f0cf) (0x0033f5c8)
1 0x0044eadb in mapmaker (+0x4eada) (0x0033f600)
2 0x004384a5 in mapmaker (+0x384a4) (0x0033f630)
3 0x0041655d in mapmaker (+0x1655c) (0x0033f690)
4 0x00439a09 in mapmaker (+0x39a08) (0x0033f808)
5 0x00439c9f in mapmaker (+0x39c9e) (0x0033f874)
6 0x004125ce in mapmaker (+0x125cd) (0x0033f974)
7 0x00410feb in mapmaker (+0x10fea) (0x0033f9ec)
8 0x78d9f71f in mfc100 (+0x23f71e) (0x0033faa8)
9 0x78d9f27a in mfc100 (+0x23f279) (0x0033fac8)
10 0x78d9d667 in mfc100 (+0x23d666) (0x0033fb40)
11 0x78d9d8f3 in mfc100 (+0x23d8f2) (0x0033fb64)
12 0x78c95993 in mfc100 (+0x135992) (0x0033fba8)
13 0x6ea10f8a WINPROC_wrapper+0x19() in user32 (0x0033fbd8)
14 0x6ea1293c in user32 (+0xa293b) (0x0033fc28)
15 0x6ea13cb2 in user32 (+0xa3cb1) (0x0033fc78)
16 0x6e9d4cee DispatchMessageA+0xad() in user32 (0x0033fd88)
17 0x78d8bdf4 in mfc100 (+0x22bdf3) (0x0033fdb8)
18 0x78db1c4c in mfc100 (+0x251c4b) (0x0033fdcc)
19 0x006c58aa in mapmaker (+0x2c58a9) (0x0033fe60)
20 0x7b8610fc call_process_entry+0xb() in kernel32 (0x0033fe78)
21 0x7b864c0b in kernel32 (+0x54c0a) (0x0033feb8)
22 0x7bc75a50 call_thread_func_wrapper+0xb() in ntdll (0x0033fed8)
23 0x7bc75cad call_thread_func+0x7c() in ntdll (0x0033ffa8)
24 0x7bc75a2e RtlRaiseException+0x21() in ntdll (0x0033ffc8)
25 0x7bc4dc7e in ntdll (+0x3dc7d) (0x0033ffe8)

That's interesting. It looks to me like X-Windows is sending a message to the client application which isn't being properly translated into a GDI event, maybe putting some garbage in an event data structure.

Can you try to disable all the bells & whistles of your desktop manager and see if you get the same crash? I mean, Compiz, fancy window transition animations, etc.
User avatar
Perturabo
Posts: 2461
Joined: Sat Nov 17, 2007 5:32 pm
Contact:

RE: Running in Wine?

Post by Perturabo »

ORIGINAL: Bletchley_Geek
ORIGINAL: Perturabo
Backtrace:
=>0 0x0044f0cf in mapmaker (+0x4f0cf) (0x0033f5c8)
1 0x0044eadb in mapmaker (+0x4eada) (0x0033f600)
2 0x004384a5 in mapmaker (+0x384a4) (0x0033f630)
3 0x0041655d in mapmaker (+0x1655c) (0x0033f690)
4 0x00439a09 in mapmaker (+0x39a08) (0x0033f808)
5 0x00439c9f in mapmaker (+0x39c9e) (0x0033f874)
6 0x004125ce in mapmaker (+0x125cd) (0x0033f974)
7 0x00410feb in mapmaker (+0x10fea) (0x0033f9ec)
8 0x78d9f71f in mfc100 (+0x23f71e) (0x0033faa8)
9 0x78d9f27a in mfc100 (+0x23f279) (0x0033fac8)
10 0x78d9d667 in mfc100 (+0x23d666) (0x0033fb40)
11 0x78d9d8f3 in mfc100 (+0x23d8f2) (0x0033fb64)
12 0x78c95993 in mfc100 (+0x135992) (0x0033fba8)
13 0x6ea10f8a WINPROC_wrapper+0x19() in user32 (0x0033fbd8)
14 0x6ea1293c in user32 (+0xa293b) (0x0033fc28)
15 0x6ea13cb2 in user32 (+0xa3cb1) (0x0033fc78)
16 0x6e9d4cee DispatchMessageA+0xad() in user32 (0x0033fd88)
17 0x78d8bdf4 in mfc100 (+0x22bdf3) (0x0033fdb8)
18 0x78db1c4c in mfc100 (+0x251c4b) (0x0033fdcc)
19 0x006c58aa in mapmaker (+0x2c58a9) (0x0033fe60)
20 0x7b8610fc call_process_entry+0xb() in kernel32 (0x0033fe78)
21 0x7b864c0b in kernel32 (+0x54c0a) (0x0033feb8)
22 0x7bc75a50 call_thread_func_wrapper+0xb() in ntdll (0x0033fed8)
23 0x7bc75cad call_thread_func+0x7c() in ntdll (0x0033ffa8)
24 0x7bc75a2e RtlRaiseException+0x21() in ntdll (0x0033ffc8)
25 0x7bc4dc7e in ntdll (+0x3dc7d) (0x0033ffe8)

That's interesting. It looks to me like X-Windows is sending a message to the client application which isn't being properly translated into a GDI event, maybe putting some garbage in an event data structure.

Can you try to disable all the bells & whistles of your desktop manager and see if you get the same crash? I mean, Compiz, fancy window transition animations, etc.

That's interesting. It looks to me like X-Windows is sending a message to the client application which isn't being properly translated into a GDI event, maybe putting some garbage in an event data structure.

Can you try to disable all the bells & whistles of your desktop manager and see if you get the same crash? I mean, Compiz, fancy window transition animations, etc.
I don't have any. I'm on LXDE. I'll try to enable GDI mode in Wine. Maybe it can't work in OpenGL mode.
User avatar
BletchleyGeek
Posts: 4460
Joined: Thu Nov 26, 2009 3:01 pm
Location: Living in the fair city of Melbourne, Australia

RE: Running in Wine?

Post by BletchleyGeek »

Yes, it could be a problem when managing redraw events in MapMaker to render the maps. It's also interesting this doesn't happen on the game itself.
Post Reply

Return to “Tech Support”