The forum

Open General

works but crashes after a while

Author Replies
JChurchill Wednesday 19 December 2012 at 8:25
JChurchillAnonymous

Hello, 

I have been working on getting Open General javascript:nicTemp(); working with Play On Mac with some success, but after the game runs for a while it crashes. I am not too savvy on this stuff so I came here with hope that someone could help. I have pasted the backtrace.txt file produced.

Thanks in advance for the help.

System:
Mac OSX 10.7.5
Graphics: NVIDIA GeForce GT 330M 512 MB
Play On Mac version 4.1.8

Unhandled exception: page fault on read access to 0x4a82f842 in 32-bit code (0x4a82f842).
Register dump:
 CS:001b SS:0023 DS:0023 ES:0023 FS:101f GS:000f
 EIP:4a82f842 ESP:0196f5f0 EBP:0196f628 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:4a82f778 ECX:0196f5f0 EDX:446c21f0
 ESI:91c3cd98 EDI:01000000
Stack dump:
0x0196f5f0:  04c503b8 0196f630 00000000 ffffffff
0x0196f600:  00000000 4a82f865 4a7f0845 4a82f767
0x0196f610:  04c503c0 0196f630 0196f688 4a82f8a6
0x0196f620:  91c3cd98 4a82f865 0196f688 4a82f937
0x0196f630:  014f0fd0 ffffffff 00000000 00001f80
0x0196f640:  7bc43178 91c3cd98 90f469fe 01000000
0203: sel=101f base=7ff90000 limit=00000fff 32-bit rw-
Backtrace:
=>0 0x4a82f842 in <wine-loader> (+0x4a82f842) (0x0196f628)
  1 0x4a82f937 in <wine-loader> (+0x4a82f936) (0x0196f688)
  2 0x7bc7469c in <wine-loader> (+0x7bc7469b) (0x0196f6a8)
  3 0x7bc746e2 in <wine-loader> (+0x7bc746e1) (0x0196f738)
  4 0x7bc74662 in <wine-loader> (+0x7bc74661) (0x0196f758)
  5 0x7bc7bf2a in <wine-loader> (+0x7bc7bf29) (0x0196ff98)
  6 0x91c3ced9 (0x0196ffc8)
  7 0x91c406de (0x0196ffec)
0x4a82f842: -- no code accessible --
Modules:
Module Address Debug info Name (40 modules)
ELF       0-82001000 Stabs           <wine-loader>
PE  400000-  8f6000 Deferred        opengen
PE 10000000-1003b000 Deferred        opengenglx
PE 401d0000-401d4000 Deferred        version
PE 40590000-40594000 Deferred        advapi32
PE 40710000-40713000 Deferred        winemp3
PE 40790000-40798000 Deferred        winspool
PE 407d0000-407d9000 Deferred        msacm32
PE 42390000-4239a000 Deferred        mpr
PE 423e0000-423e4000 Deferred        imm32
PE 42510000-4254a000 Deferred        user32
PE 42680000-42686000 Deferred        gdi32
PE 42770000-42778000 Deferred        shlwapi
PE 44110000-441a3000 Deferred        comdlg32
PE 44210000-44367000 Deferred        shell32
PE 44470000-4449e000 Deferred        comctl32
PE 445b0000-445b8000 Deferred        ole32
PE 44710000-44714000 Deferred        rpcrt4
PE 447b0000-447b8000 Deferred        oleaut32
PE 44900000-44904000 Deferred        gdiplus
PE 449a0000-449a4000 Deferred        ddraw
PE 44a30000-44a34000 Deferred        wined3d
PE 44bd0000-44c41000 Deferred        winmm
PE 44c90000-44ca7000 Deferred        wininet
PE 44da0000-44da4000 Deferred        winex11
PE 44f70000-44f74000 Deferred        uxtheme
PE 450f0000-450f5000 Deferred        localspl
PE 45110000-45113000 Deferred        spoolss
PE 475e0000-475e6000 Deferred        windowscodecs
PE 477a0000-477a6000 Deferred        mciqtz32
PE 48210000-48213000 Deferred        usp10
PE 486e0000-486e6000 Deferred        devenum
PE 49260000-49263000 Deferred        avicap32
PE 49280000-49283000 Deferred        midimap
PE 496e0000-496e4000 Deferred        dsound
PE 49740000-49744000 Deferred        mmdevapi
PE 49780000-49783000 Deferred        winecoreaudio
PE 4aab0000-4aab3000 Deferred        msacm32
PE 7b810000-7b867000 Deferred        kernel32
PE 7bc10000-7bc14000 Deferred        ntdll
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\\OpenGen.exe
00000038   15
00000037    0 <==
00000025    0
00000024    0
00000009    0
0000000e services.exe
00000020    0
0000001f    0
00000015    0
00000010    0
0000000f    0
00000012 winedevice.exe
0000001d    0
0000001a    0
00000014    0
00000013    0
0000001b plugplay.exe
00000021    0
0000001e    0
0000001c    0
00000022 explorer.exe
00000023    0
System information:
    Wine build: wine-1.4
    Platform: i386
    Host system: Darwin
    Host version: 11.4.2

Edited by JChurchill

loggod Tuesday 23 April 2013 at 19:38
loggodAnonymous

Hi, i've found your post and as i am also a PG enthusiast i would like to post you an alternative if you doesn't know it allready, there is a browser based variant of PG:
http://openpanzer.net/

>Unfortunately, it seems to me there is no way to run Open General with wine in a playable manner. It is simple NOT stable and sound also doesn't work with wine. That said, noone seems to care for such an old(school) game and therefore it seems noone tries to get it to run propperly with wine.

I hope the posted link helps
loggod
Ronin DUSETTE Tuesday 23 April 2013 at 19:45
Ronin DUSETTE
Admin

Im downloading it right now, and Im going to see if I can get it to work, and if so, I will write a script for it. Ill answer back in a little while after i spend some time with it.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Ronin DUSETTE Tuesday 23 April 2013 at 20:06
Ronin DUSETTE
Admin

It works fine, but the script will take some time to get right. The problem is, that its just a self-extracting .exe. So, you can extract it anywhere, and unless everyone extracts it to the same spot in their virtual drive, its going to be hard to create a shortcut automatically for it.

All I did, was create a new virtual drive with these specs:

32-bit
Windows XP (in Wine Configuration)
wine version 1.4.1

Then, I ran the .exe in the virtual drive from the Miscellaneous tab, which will open up a box asking you where you want to extract it to. Extract it to the wineprefix folder in the PlayOnMac folder (I dont own a mac, so I dont know).

Once its been extracted, you can run a .exe from that virtual drive. The one you want is OpenGen.exe. It will be located wherever you extracted it.

It loads and plays, but I only tested it for a few minutes.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
loggod Tuesday 23 April 2013 at 22:33
loggodAnonymous

hmm that sounds promissing. But i had to convert the tileset used by this game to *.png files via shell commands to get rid of the all white drawn maps (http://bugs.winehq.org/show_bug.cgi?id=31462) according to this thread: http://www.panzercentral.com/forum/viewtopic.php?p=703901#p703901
Didn't you had to do that ?

Besides that, the game starts, runs with absolute no sound and allways segfaults after a few turns played. -- i read somewhere that you'll have to set wingestreamer.dll to native to overcome the sound issue, but for me it didn't worked. The game is still quiet and the crashes remain.

Would be nice to finaly play it on linux though. Glad to see that you took a look into it :-)

 loggod

Edited by loggod

Ronin DUSETTE Tuesday 23 April 2013 at 22:38
Ronin DUSETTE
Admin

Mine didnt do that. I didnt have to do any of that stuff, although, my speakers were off, and I neglected to check the sound.

There has to be a better, and native, Linux version of this type of game. haha.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Ronin DUSETTE Tuesday 23 April 2013 at 22:39
Ronin DUSETTE
Admin

I found this, which is what you suggested. This would probably be a better alternative, instead of wading through all sorts of patches to run an old game that has a Linux native variant.

http://www.linuxconsulting.ro/openpanzer/

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
You are here: Index > PlayOnMac > Open General