(Not) Using Construct with WINE or VMs...

New releases and general discussions.

Post » Sun Jan 11, 2009 5:06 pm

It seems that - so far - this isn't possible, at least with Ubuntu 8.10. WINE 1.0.1 and VirtualBox 2.1.0.

With VirtualBox and 2k (assigned 512MB RAM plus 128MB for graphics), the layout editor complains about a lack of available memory. VirtualBox has only recently started to support 3D acceleration for VMs, and that (so far) only under XP. KVM/Qemu doesn't support 3D acceleration (and won't as it emulates a mid-90s Cirrus Logic graphics card). Haven't tried VMWare Player, so I don't know how well that'd work.

With WINE, the installer itself runs correctly until it reaches the DirectX websetup tool, which crashes. The Visual C++ Runtime doesn't install or work correctly under Ubuntu 8.10's version of WINE, so even running the physical (XP) machine's copy of Construct does not work (after using winetricks to install DirectX).

As to which one might end up being able to support Construct first, I actually hope it's WINE (after fixing the DirectX installer problems), although either would be nice.
B
2
S
2
G
3
Posts: 158
Reputation: 1,566

Post » Sun Jan 11, 2009 6:30 pm

A small update:

Construct sort-of works with WINE 1.1.12. The File menu is non-responsive and it seems to crash loading (at least) a test CAP I made the other day (with the physical machine XP), but it got somewhere more than with the other version.

Games made with Construct appear to work though. No sound under WINE 1.0.1, but they do have sound with 1.1.2.
B
2
S
2
G
3
Posts: 158
Reputation: 1,566

Post » Sun Jan 11, 2009 8:58 pm

0.98.4 is still broken (WINE 1.1.2; 1.0.1 gives a "Call from 0x7b845450 to unimplemented function dwmapi.dll.DwmFlush, aborting" error).

I followed stainsor's advice in viewtopic.php?p=18135#p18135. On startup, it reports that "Error loading C:\Develop\Construct\Plugins\ID3.csx (126) - this plugin may not be available!" and "Error loading C:\Develop\Construct\Plugins\Registry.csx (126) - this plugin may not be available!". These two initial errors can be fixed by copying MFC42.DLL into WINE's windows/system32 directory.

Loading up a test .cap either fails when trying to run it via Construct with a "Cannot find XAudio2.csx" error, or crashes out due to what looks like problems with OpenGL's SetDepthStencilSurface function...
B
2
S
2
G
3
Posts: 158
Reputation: 1,566

Post » Mon Jan 12, 2009 4:22 am

I wish I had an apple to test it on...

If you create a blank direct x game does it run?

If you place just a single sprite on the layout does it run?

If you then add an action like 'rotate 1 degree' does it work as expected?

Is it just those plugins which are having a problem?
B
4
S
2
G
5
Posts: 641
Reputation: 3,011

Post » Mon Jan 12, 2009 11:16 am

David: I can't get the menu to respond. It appears but I can't click on anything. Keyboard shortcuts appear to work though. The bottom half of the layout window acts like a black hole. The context menu also does not respond to mouse clicks. Interestingly, it does respond if you use the cursor keys. However, positioning doesn't work.

It comes up with a lot of: [code:2ti47djl]fixme:d3d:IWineD3DSwapChainImpl_Present Unhandled present rects (0,0)-(1142,792)/(null)[/code:2ti47djl] and [code:2ti47djl]fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface[/code:2ti47djl] and [code:2ti47djl]err:listview:LISTVIEW_WindowProc unknown msg 1091 wp=ffffffff lp=0032c050[/code:2ti47djl] so it's apparent there are known shortcomings with this.
B
2
S
2
G
3
Posts: 158
Reputation: 1,566

Post » Mon Jan 12, 2009 11:23 am

I'd imagine Wine is rather good with the standard Windows API, but it's to be expected it may not perform as well on custom UIs (which rely on callbacks, overrideables, etc). You should submit bugs for Wine for these problems, and then maybe.. one day.. Construct may run perfectly :D.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Mon Jan 12, 2009 11:31 am

Except they already know about two of them, judging by the "fixme"s.

Doesn't mean that I won't submit bugs though - I couldn't find Construct on Wine's application database, so it looks like nobody there either knows of it existing.

The video hardware tool doesn't work either.
B
2
S
2
G
3
Posts: 158
Reputation: 1,566

Post » Mon Jan 12, 2009 4:40 pm

Part of the problem is probably that Construct is using the very latest DirectX updates at the moment (eg. November 2008). As it seems WINE and other emulators have poor DirectX support off the bat, I doubt they're able to keep up with such updates.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Sat Jan 24, 2009 12:50 pm

Well, WINE no longer complains about OpenGL features when it crashes Construct (0.98.6). Just complains about the X11 renderer now.

Dunno if that's an improvement though. If it's just a WINE bug that's keeping Construct from working(ish), then that's at least something.
B
2
S
2
G
3
Posts: 158
Reputation: 1,566

Post » Sat Jan 24, 2009 2:14 pm

You could try informing the WINE project that WINE doesn't work with Construct. They might be able to fix it then.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Next

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 1 guest