Menu

Ghost Recon

games
2005-06-17
2013-03-11
  • Alexander Th. Kloss

    I'd be interested to run the good old game Ghost Recon (including mods Desert Strike, Island Thunder, HX5 and networking) on linux. Any chances?

    ATM I only get

    ALSA lib control.c:739:(snd_ctl_open_noupdate) Invalid CTL plug:hw:0

    on startup. With OSS instead of ALSA, it doesn't output anything.

    Greetings, LX

     
    • Alexander Th. Kloss

      The "not outputting anything" seems to be due to the CD copy protection. Using a NoCD patch resolves this, but now I get an exception error:

      fixme:debug_buffer:RtlCreateQueryDebugBuffer (0, 0): stub
      fixme:debug_buffer:RtlCreateQueryDebugBuffer (96, 0): returning 0x77c2a7f8
      fixme:debug_buffer:RtlQueryProcessDebugInformation (8, 1, 0x77c2a7f8): stub
      fixme:debug_buffer:RtlDestroyQueryDebugBuffer (0x77c2a7f8): stub
      wine: Unhandled exception (thread 0009), starting debugger...

      and a window showing:
      Unhandled page fault on read access to 0x78183999 at address 0x0040511b. Do you wish to debug it ? YES|NO

      Choosing "NO" stops the whole thing, while "YES" only outputs a lot of cryptic data...

      Greetings, LX

       
    • oliver stieber

      oliver stieber - 2005-06-17

      can you do please run the game with the following.

      WINEDEBUG=trace+relay,seh wine ghostrecon.exe > ghostrecon.log

      and then
      tail -n 2000 ghostrecon.log | gzip ghostrecon.log > ghostrecon.log.gz

      and then post ghostrecon.log.gz

      WINEDEBUG=trace+relay
      tells wine to report all the function calls made be the application
      +seh
      tells wine to report the point at which the error ocured.

      hopefully with the log I can identify what happened just before the error ocured, and therefore what caused the error,

       
      • Alexander Th. Kloss

        Hello, Oliver!

        The demo runs, though enemies and comrades are somewhat color-screwed... not to forget it is awfully slow, as if not accelerated at all, though dri is available (see screenshot at
        http://www.students.uni-marburg.de/~Klossa/grdemo-wine0.9.png\)

        Tweaking the graphics settings (smooth persons, compress textures etc) doesn't change a thing. With lowest settings, it is almost playable.

        Keep up the great work!

         
    • oliver stieber

      oliver stieber - 2005-06-22

      Ghost recon is a DirectX 8 game,
      Ok, I've found a couple of bugs that have been fixed in DirectX 9 but not DirectX 8 that let Ghost recon demo run properly.

      I'll include the fixes in the next patch.... sometime this week I hope.

       
    • Alexander Th. Kloss

      Latest Test with wine-20050930 and got the following error:

      wine: Unhandled exception (thread 003a), starting debugger...
      WineDbg starting on pid 0x44
      Unhandled exception: page fault on read access to 0x40431ba0 in 32-bit code (0x4018e8a0).
      In 32 bit mode.
      Register dump:
      CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:0000
      EIP:4018e8a0 ESP:4084f00c EBP:4084f01c EFLAGS:00210287(   - 00      RISP1C)
      EAX:40450000 EBX:401baf0c ECX:40340000 EDX:00110000
      ESI:40431ba0 EDI:00006710
      Stack dump:
      0x4084f00c:  40429450 401baf0c 00002038 40429450
      0x4084f01c:  4084f038 4018eb46 40340000 4042b490
      0x4084f02c:  00006710 40429450 00002038 4084f068
      0x4084f03c:  4018f9b0 40340000 40429450 00002038
      0x4084f04c:  40429458 00000000 40340000 40340000
      0x4084f05c:  404da938 00002034 4084f0b0 4084f080
      Backtrace:
      =>1 0x4018e8a0 in ntdll (+0xe8a0) (0x4084f01c)
        2 0x4018eb46 in ntdll (+0xeb46) (0x4084f038)
        3 0x4018f9b0 RtlAllocateHeap in ntdll (0x4084f068)
        4 0x404935ed HeapAlloc in kernel32 (0x4084f080)
        5 0x4048e23a FindFirstFileExW in kernel32 (0x4084f0e8)
        6 0x4048e808 FindFirstFileExA in kernel32 (0x4084f364)
        7 0x4048e78e FindFirstFileA in kernel32 (0x4084f388)
        8 0x0051b6b0 in grdemo (+0x11b6b0) (0x4a134490)
        9 0x007dbfcc in grdemo (+0x3dbfcc) (0x007ef7c8)
        10 0x00725f80 in grdemo (+0x325f80) (0x00725c30)
      0x4018e8a0: testb       $0x1,0x0(%esi)
      Modules:
      Module  Address                 Debug info      Name (82 modules)
      PE      0x00400000-00911000     Export          grdemo
      ELF     0x40000000-40019000     Deferred        ld-linux.so.2
      ELF     0x4002d000-40047000     Deferred        libwine.so.1
      ELF     0x40048000-4015f000     Deferred        libc.so.6
      ELF     0x4015f000-40163000     Deferred        libdl.so.2
      ELF     0x40163000-401ca000     Export          ntdll<elf>
        \-PE  0x40180000-401ca000     \&nbsp;              ntdll
      ELF     0x401de000-402d3000     Deferred        libwine_unicode.so.1
      ELF     0x402d3000-402f6000     Deferred        libm.so.6
      ELF     0x4030a000-40313000     Deferred        libnss_compat.so.2
      ELF     0x40313000-40329000     Deferred        libnsl.so.1
      ELF     0x40329000-40333000     Deferred        libnss_nis.so.2
      ELF     0x40333000-4033d000     Deferred        libnss_files.so.2
      ELF     0x40450000-4053a000     Export          kernel32<elf>
        \-PE  0x40470000-4053a000     \&nbsp;              kernel32
      ELF     0x40850000-40957000     Deferred        user32<elf>
        \-PE  0x40870000-40957000     \&nbsp;              user32
      ELF     0x40957000-409d5000     Deferred        gdi32<elf>
        \-PE  0x40970000-409d5000     \&nbsp;              gdi32
      ELF     0x409d5000-40a09000     Deferred        advapi32<elf>
        \-PE  0x409e0000-40a09000     \&nbsp;              advapi32
      ELF     0x40a09000-40a3f000     Deferred        dbghelp<elf>
        \-PE  0x40a10000-40a3f000     \&nbsp;              dbghelp
      ELF     0x40a3f000-40a53000     Deferred        psapi<elf>
        \-PE  0x40a50000-40a53000     \&nbsp;              psapi
      ELF     0x40a53000-40a89000     Deferred        dsound<elf>
        \-PE  0x40a60000-40a89000     \&nbsp;              dsound
      ELF     0x40a89000-40afe000     Deferred        winmm<elf>
        \-PE  0x40aa0000-40afe000     \&nbsp;              winmm
      ELF     0x40afe000-40b6c000     Deferred        ole32<elf>
        \-PE  0x40b10000-40b6c000     \&nbsp;              ole32
      ELF     0x40b6c000-40ba4000     Deferred        rpcrt4<elf>
        \-PE  0x40b80000-40ba4000     \&nbsp;              rpcrt4
      ELF     0x40ba4000-40bc0000     Deferred        iphlpapi<elf>
        \-PE  0x40bb0000-40bc0000     \&nbsp;              iphlpapi
      ELF     0x40bc0000-40bd4000     Deferred        dinput8<elf>
        \-PE  0x40bd0000-40bd4000     \&nbsp;              dinput8
      ELF     0x40bd4000-40c08000     Deferred        dinput<elf>
        \-PE  0x40bf0000-40c08000     \&nbsp;              dinput
      ELF     0x40c08000-40c23000     Deferred        wsock32<elf>
        \-PE  0x40c10000-40c23000     \&nbsp;              wsock32
      ELF     0x40c23000-40c48000     Deferred        ws2_32<elf>
        \-PE  0x40c30000-40c48000     \&nbsp;              ws2_32
      ELF     0x40c48000-40c8a000     Deferred        d3d8<elf>
        \-PE  0x40c60000-40c8a000     \&nbsp;              d3d8
      ELF     0x40c9e000-40ca7000     Deferred        libsm.so.6
      ELF     0x40ca7000-40cbf000     Deferred        libice.so.6
      ELF     0x40cbf000-40cc5000     Deferred        libxxf86dga.so.1
      ELF     0x40cc5000-40cca000     Deferred        libxxf86vm.so.1
      ELF     0x40cca000-40cd8000     Deferred        libxext.so.6
      ELF     0x40cd8000-40da3000     Deferred        libx11.so.6
      ELF     0x40da3000-40e0f000     Deferred        libgl.so.1
      ELF     0x40e0f000-40e8c000     Deferred        libglu.so.1
      ELF     0x40e8c000-40edf000     Deferred        libpthread.so.0
      ELF     0x40f99000-40fa2000     Deferred        libgcc_s.so.1
      ELF     0x40fa2000-40fe8000     Deferred        wined3d<elf>
        \-PE  0x40fb0000-40fe8000     \&nbsp;              wined3d
      ELF     0x40ffc000-4106e000     Deferred        libfreetype.so.6
      ELF     0x4106e000-4107f000     Deferred        libz.so.1
      ELF     0x41093000-410ba000     Deferred        libfontconfig.so.1
      ELF     0x410ba000-410da000     Deferred        libexpat.so.0
      ELF     0x410da000-41149000     Deferred        winex11.drv<elf>
        \-PE  0x410f0000-41149000     \&nbsp;              winex11.drv
      ELF     0x41149000-4131d000     Deferred        r200_dri.so
      ELF     0x49a80000-49a83000     Deferred        xlcdef.so.2
      ELF     0x49a83000-49aa0000     Deferred        ximcp.so.2
      ELF     0x49aa0000-49aba000     Deferred        imm32<elf>
        \-PE  0x49ab0000-49aba000     \&nbsp;              imm32
      ELF     0x49ac6000-49aca000     Deferred        iso8859-1.so
      ELF     0x49ade000-49ae7000     Deferred        libxcursor.so.1.0.2
      ELF     0x49ae7000-49aef000     Deferred        libxrender.so.1
      ELF     0x49b33000-49b6a000     Deferred        wineoss.drv<elf>
        \-PE  0x49b40000-49b6a000     \&nbsp;              wineoss.drv
      ELF     0x49b6a000-49b81000     Deferred        msacm.drv<elf>
        \-PE  0x49b70000-49b81000     \&nbsp;              msacm.drv
      ELF     0x49b81000-49b9f000     Deferred        msacm32<elf>
        \-PE  0x49b90000-49b9f000     \&nbsp;              msacm32
      ELF     0x49cb0000-49cc5000     Deferred        midimap<elf>
        \-PE  0x49cc0000-49cc5000     \&nbsp;              midimap
      ELF     0x4ad61000-4adb9000     Deferred        msvcrt<elf>
        \-PE  0x4ad70000-4adb9000     \&nbsp;              msvcrt
      ELF     0x7bf00000-7bf07000     Deferred        <wine-loader>
      Threads:
      process  tid      prio (all id:s are in hex)
      00000044 (D) C:\Programme\Red Storm Entertainment\Ghost Recon Demo\GRDemo.exe
              00000015    0
              0000003a    0 <==
      0000000e
              00000016    0
              00000013    0
              00000012    0
              00000011    0
              00000010    0
              0000000f    0
      WineDbg terminated on pid 0x44

      Using the demo (I deleted the full game due to discspace issues). If the demo runs smoothly, I can test the game and all available mods.

      Greetings, LX

       
    • oliver stieber

      oliver stieber - 2005-11-06

      I've put together a new patch for d3d8 that should fix the color problems.

      https://sourceforge.net/project/shownotes.php?release_id=368929

       
      • Alexander Th. Kloss

        Sorry, but the so-called color correction doesn't work properly, as you can see at this screen shot:

        http://www.students.uni-marburg.de/~Klossa/grdemo-color-correction.png

        Tweaking the graphics settings doesn't help.

        Thx for your great work.
        LX

         
        • oliver stieber

          oliver stieber - 2005-11-07

          I've raised a wine bug to track this problem..
          http://bugs.winehq.org/show_bug.cgi?id=3779

          There's a screen shot I've taken with the new patch and everything seems to be ok colourwise. Can you try changing the settings so that shadows are disabled?

           
    • Alexander Th. Kloss

      I already tried to apply the patch to the cvs version I checked out with -D 2005-11-05 (of course I disabled the shadows and set everything in gfx to low) which resulted in the last screenshot - maybe the versions we checked out from cvs are somehow different... could you send me a package of your code or a patch from 0.9 (which is available as tgz) or should I rather wait until the next official release until I test the full version (including mods)?

      Thx in advance!

      Greetings, LX

       
    • Alexander Th. Kloss

      Great work! Many kudos to the master of directx in wine!

      I'll dig out my originals to test the mods and networking until end of next week, promised.

      Greetings, LX

       
    • Alexander Th. Kloss

      When trying the full version (as stated above), I have the following issues:

      - cd check fails (workaround: nocd-patch)
      - intro video doesn't work properly - no picture, lots of audio buffer underruns (workaround: delete all videos)
      - mouse jumps erratically to the corners - not even startable.

      Greetings, LX

       

Log in to post a comment.