Pagina 1 di 2
[Wine] Grand Theft Auto 2
Inviato: venerdì 18 gennaio 2008, 18:50
da Caf-Pow
Ho installato GTA 2 con wine, è filato tutto liscio, ma se lo avvio ha una lentezza mostruosa... per navigare nel menù iniziale devo tenere premuti i tasti della tastiera per qualche secondo.... e il gioco va lentissimo... ma l'audio si sente correttamente.
ho installato anche gli ultimi driver ati ma ho avuto solo un minimo miglioramento, ho anche impostato una risoluzione minore e diverse compatibilità ma niente...
Aiuto! :-[
Re: [Wine] Grand Theft Auto 2
Inviato: venerdì 18 gennaio 2008, 18:52
da V
hai provato a guardare qualche tips specifico per l'applicazione in questione nel database di wine?
hai guardato la guida alla configurazione di wine nel wiki?
ciao
Re: [Wine] Grand Theft Auto 2
Inviato: venerdì 18 gennaio 2008, 19:28
da Caf-Pow
Ho seguito questo wiki ma niente da fare...
Codice: Seleziona tutto
Game running slowly?
by Samuel on Friday November 3rd 2006, 14:08
If GTA2 runs very slowly on your computer you're probably running XWindows in 24 or 32-bit mode. GTA2 supports 16-bit modes only so if this is the case then the entire screen contents has to be converted from 16 to 24/32 bit each time the screen is drawn.
This can be fixed by using Glide and a Glide->OpenGL wrapper such as OpenGLide. Download it here: prdownloads.sourceforge.net/openglide/OpenGLide_009a3.zip?download
Unpack the file into the system32 directory (usually ~/.wine/drive_c/windows/system32 ).
Finally, GTA must be reconfigured to use Glide. Type this in a terminal:
cat > gta_fix.reg
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\DMA Design Ltd\GTA2\Screen]
"bit_depth"=dword:00000020
"curr_dll_id"=dword:00000002
"device"=dword:00000002
"max_frame_rate"=dword:00000001
"min_frame_rate"=dword:00000000
"renderdevice"=dword:00000000
"rendername"="3dfx.dll"
"special_recognition"=dword:00000000
"start_mode"=dword:00000001
"tripple_buffer"=dword:00000000
"videodevice"=dword:00000001
"videoname"="dmaglide.dll"
(Press Ctrl-D)
wine regedit /S gta_fix.reg
Then start GTA using in desktop mode:
wine explorer /desktop=x,640x500 gta2
There will be some "garbage" at the top of the screen and the pictures in the menu will go away, but it makes the game run a lot faster and smoother than when playing in Direct3D mode.
[post new] [reply to this]
Re: [Wine] Grand Theft Auto 2
Inviato: venerdì 18 gennaio 2008, 19:37
da V
lo sto scaricando appena lo ho provo ad installarlo e vediamo di risolvere la cosa
PS per tutti coloro che volessero GTA 2 gratuitamente lo si può scaricare dal sito della Rockstar!
vi dò il link magari a qualcuno interessa!
http://rockstargames.com/classics/
Edit:
i server da cui scarico probabilmente sono intasati

và molto piano il download

Re: [Wine] Grand Theft Auto 2
Inviato: venerdì 18 gennaio 2008, 20:04
da Caf-Pow
Grazie

Re: [Wine] Grand Theft Auto 2
Inviato: venerdì 18 gennaio 2008, 22:46
da SmakoR
Io lo avevo scaricato...peccato sia solo in inglese...
Re: [Wine] Grand Theft Auto 2
Inviato: venerdì 18 gennaio 2008, 23:32
da Caf-Pow
si trovano anche selle patch per aggiungere le lingue (yes)
Non so fino a che punto sono legali, ma essendo il programma diventato free credo non ci siano problemi...
la patch la trovi
qui
Sei riuscito a farlo andare?
Re: [Wine] Grand Theft Auto 2
Inviato: sabato 19 gennaio 2008, 0:22
da V
da non credere ha appena finito il download domani appena riesco lo installo e vedo

nel caso mi passa di mente mandami un pm :P
Re: [Wine] Grand Theft Auto 2
Inviato: sabato 19 gennaio 2008, 1:00
da Caf-Pow
fa con calma
mi chiedevo se si può forzare in qualche modo xorg o i driver ati a partire a 16 bit... così il gioco non dovrebbe avere problemi.... ma il risultato sul desktop... boh :'(
Re: [Wine] Grand Theft Auto 2
Inviato: sabato 19 gennaio 2008, 10:15
da DEHUMANIZED
hai provato ad aggiungere -opengl nel comando ?
io (nella mia + totale ignoranza ) quando ho fps bassi in un gioco faccio così e risolvo sempre eheh

Re: [Wine] Grand Theft Auto 2
Inviato: sabato 19 gennaio 2008, 13:04
da Caf-Pow
ma il gioco non credo le supporti le opengl.... ???
proverò... ma per quanto ho capito è dovuto alla grafica 16 bit del gioco che cozza con quella 24 bit di Linux >:(
Non ho risolto nulla :-\
ecco l'output
Codice: Seleziona tutto
wine gta2.exe -opengl
fixme:win:EnumDisplayDevicesW ((null),0,0x34f778,0x00000000), stub!
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x12b8d0)->((nil),00000008)
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x12b8d0)->((nil),00000008)
fixme:d3d:IWineD3DDeviceImpl_Release (0x12bb50) Device released with resources still bound, acceptable but unexpected
fixme:d3d:dumpResources Leftover resource 0x120dc8 with type 1,WINED3DRTYPE_SURFACE
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x12e248)->((nil),00000008)
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x12e248)->((nil),00000008)
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x12e248)->(0x20024,00000051)
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
fixme:d3d:state_subpixel Render state WINED3DRS_SUBPIXEL not implemented yet
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x12e248)->(0x20024,00000008)
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x12e248)->((nil),00000008)
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x26a5a80)->(0x20024,00000051)
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
fixme:d3d:state_subpixel Render state WINED3DRS_SUBPIXEL not implemented yet
Re: [Wine] Grand Theft Auto 2
Inviato: sabato 19 gennaio 2008, 16:40
da domi84
Interessante...lo voglio provare anch'io...
Re: [Wine] Grand Theft Auto 2
Inviato: sabato 19 gennaio 2008, 17:22
da Caf-Pow
Mi son ricordato che la versione free di gta2 è stata modificata per renderla compatibile con windows xp...
Quindi ho provato ad aggiornare le dll delle directx come scritto sul wiki, ma mi da una serie di errori...
Codice: Seleziona tutto
wine DXSETUP.exefixme:mscoree:GetCORVersion (0x7c7ce2f4, 600, 0x7c7ce2e0): semi-stub!
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
err:setupapi:do_file_copyW Unsupported style(s) 0x144
Ora se provo ad avviare gta2 con wine neanche apre la schermata iniziale e crasha...
Codice: Seleziona tutto
wine gta2.exe
fixme:win:EnumDisplayDevicesW ((null),0,0x34f778,0x00000000), stub!
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x12ce88)->((nil),00000008)
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x12ce88)->((nil),00000008)
fixme:d3d:IWineD3DDeviceImpl_Release (0x12d108) Device released with resources still bound, acceptable but unexpected
fixme:d3d:dumpResources Leftover resource 0x122380 with type 1,WINED3DRTYPE_SURFACE
err:d3d:IWineD3DDeviceImpl_Release Context array not freed!
wine: Unhandled page fault on read access to 0x7c5cd308 at address 0x7b852226 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x7c5cd308 in 32-bit code (0x7b852226).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:7b852226 ESP:0034ee54 EBP:0034eebc EFLAGS:00210202( - 00 - -RI1)
EAX:00000001 EBX:7b8b0888 ECX:ffffffff EDX:7c5cd308
ESI:00000000 EDI:00000073
Stack dump:
0x0034ee54: 00000073 7ecfb860 7ece0764 0034ef20
0x0034ee64: 7ecb4317 00010026 7ece0764 b7e25e7e
0x0034ee74: 7eca929d 00000000 00000000 00000001
0x0034ee84: 00000001 0034eec8 7b88c920 7ecfb860
0x0034ee94: b7f21764 7bc8c4e0 0034eedc 7bc32761
0x0034eea4: 7bc8c4e0 00000000 7ece0764 7b8b0888
Backtrace:
=>1 0x7b852226 __wine_emulate_instruction+0x66(rec=0x34f2b8, context=0x34efec) [/build/buildd/wine-0.9.46/dlls/kernel32/instr.c:453] in kernel32 (0x0034eebc)
2 0x7b853554 INSTR_vectored_handler+0x64(ptrs=0x34ef34) [/build/buildd/wine-0.9.46/dlls/kernel32/instr.c:889] in kernel32 (0x0034eedc)
3 0x7bc39693 raise_exception+0x133(rec=0x34f2b8, context=0x34efec, first_chance=<is not available>) [/build/buildd/wine-0.9.46/dlls/ntdll/exception.c:236] in ntdll (0x0034ef4c)
4 0x7bc39b29 __regs_RtlRaiseException+0x29(rec=0x34f2b8, context=0x34efec) [/build/buildd/wine-0.9.46/dlls/ntdll/exception.c:389] in ntdll (0x0034efbc)
5 0x7bc628dc raise_segv_exception+0x3c(rec=<register ESI not in topmost frame>, context=<register EDI not in topmost frame>) [/build/buildd/wine-0.9.46/dlls/ntdll/signal_i386.c:1030] in ntdll (0x0034efdc)
6 0xdeadbabe (0x0034f33c)
7 0x7ecbc5be call_window_proc+0x6e(hwnd=<register EDI not in topmost frame>, msg=0x1c, wp=0x1, lp=0x0, result=0x34f8ec, arg=0x7c5cd308) [/build/buildd/wine-0.9.46/dlls/user32/winproc.c:468] in user32 (0x0034f37c)
8 0x7ecc08fb WINPROC_CallProcWtoA+0x18b(callback=0x7ecbc550, hwnd=0x20024, msg=<register EDI not in topmost frame>, wParam=0x1, lParam=0x0, result=0x34f8ec, arg=0x7c5cd308) [/build/buildd/wine-0.9.46/dlls/user32/winproc.c:1280] in user32 (0x0034f84c)
9 0x7ecc1d2b WINPROC_call_window+0x15b(hwnd=<register ESI not in topmost frame>, msg=0x1c, wParam=0x1, lParam=0x0, result=0x34f8ec, unicode=0x1, mapping=0x12cef4) [/build/buildd/wine-0.9.46/dlls/user32/winproc.c:2213] in user32 (0x0034f88c)
10 0x7ec886ac call_window_proc+0xdc(hwnd=<register ESI not in topmost frame>, msg=0x1c, wparam=0x1, lparam=0x0, unicode=0x1, same_thread=0x1, mapping=0x12cef4) [/build/buildd/wine-0.9.46/dlls/user32/message.c:1615] in user32 (0x0034f8fc)
11 0x7ec8c3e2 send_message+0x222(info=<register EDI not in topmost frame>, res_ptr=0x34f998, unicode=<register ESI not in topmost frame>) [/build/buildd/wine-0.9.46/dlls/user32/message.c:2449] in user32 (0x0034f95c)
12 0x7ec8c85a SendMessageW+0x4a(hwnd=0x20024, msg=0x1c, wparam=0x1, lparam=0x0) [/build/buildd/wine-0.9.46/dlls/user32/message.c:2572] in user32 (0x0034f99c)
13 0x7ec695db set_active_window+0x42b(hwnd=0x10026, prev=0x0, mouse=0x0, focus=0x1) [/build/buildd/wine-0.9.46/dlls/user32/focus.c:145] in user32 (0x0034fa6c)
14 0x7ec699f7 set_foreground_window+0x87(hwnd=<register ESI not in topmost frame>, mouse=0x0) [/build/buildd/wine-0.9.46/dlls/user32/focus.c:208] in user32 (0x0034fb0c)
15 0x7ec69ad7 SetForegroundWindow+0x47(hwnd=<register ESI not in topmost frame>) [/build/buildd/wine-0.9.46/dlls/user32/focus.c:304] in user32 (0x0034fb3c)
16 0x7ecba6d3 USER_SetWindowPos+0xc73(winpos=0x34fca4) [/build/buildd/wine-0.9.46/dlls/user32/winpos.c:1628] in user32 (0x0034fc5c)
17 0x7ecbac72 SetWindowPos+0xa2(hwnd=<is not available>, hwndInsertAfter=<register EDI not in topmost frame>, x=0x0, y=0x0, cx=0x0, cy=0x0, flags=0x43) [/build/buildd/wine-0.9.46/dlls/user32/winpos.c:1679] in user32 (0x0034fccc)
18 0x7e633d27 X11DRV_ShowWindow+0x137(hwnd=0x10026, cmd=<register EDI not in topmost frame>) [/build/buildd/wine-0.9.46/dlls/winex11.drv/winpos.c:696] in winex11 (0x0034fd2c)
19 0x7ecb8b80 ShowWindow+0x50(hwnd=<register ESI not in topmost frame>, cmd=<register EDI not in topmost frame>) [/build/buildd/wine-0.9.46/dlls/user32/winpos.c:903] in user32 (0x0034fd5c)
20 0x004d1329 in gta2 (+0xd1329) (0x00000000)
0x7b852226 __wine_emulate_instruction+0x66 [/build/buildd/wine-0.9.46/dlls/kernel32/instr.c:453] in kernel32: movzbl 0x0(%esi,%edx,1),%eax
Unable to open file '/build/buildd/wine-0.9.46/dlls/kernel32/instr.c'
Modules:
Module Address Debug info Name (86 modules)
PE 400000- 678000 Export gta2
PE 10000000-10032000 Deferred binkw32
PE 21000000-21056000 Deferred mss32
ELF 7b800000-7b929000 Dwarf kernel32<elf>
\-PE 7b820000-7b929000 \ kernel32
ELF 7bc00000-7bca0000 Dwarf ntdll<elf>
\-PE 7bc10000-7bca0000 \ ntdll
ELF 7bf00000-7bf03000 Deferred <wine-loader>
ELF 7c4d8000-7c5b8000 Deferred wined3d<elf>
\-PE 7c4f0000-7c5b8000 \ wined3d
ELF 7c5e6000-7c60d000 Deferred dmusic<elf>
\-PE 7c5f0000-7c60d000 \ dmusic
ELF 7c6bb000-7c6ed000 Deferred uxtheme<elf>
\-PE 7c6c0000-7c6ed000 \ uxtheme
ELF 7c6ed000-7c702000 Deferred midimap<elf>
\-PE 7c6f0000-7c702000 \ midimap
ELF 7c702000-7c729000 Deferred msacm32<elf>
\-PE 7c710000-7c729000 \ msacm32
ELF 7c729000-7c741000 Deferred msacm32<elf>
\-PE 7c730000-7c741000 \ msacm32
ELF 7c741000-7c77b000 Deferred wineoss<elf>
\-PE 7c750000-7c77b000 \ wineoss
ELF 7c77b000-7c784000 Deferred libxcursor.so.1
ELF 7c784000-7c7a1000 Deferred imm32<elf>
\-PE 7c790000-7c7a1000 \ imm32
ELF 7c7a1000-7c7a9000 Deferred libxrender.so.1
ELF 7d203000-7d20c000 Deferred librt.so.1
ELF 7d20c000-7e415000 Deferred fglrx_dri.so
ELF 7e415000-7e420000 Deferred libgcc_s.so.1
ELF 7e420000-7e49c000 Deferred libgl.so.1
ELF 7e49c000-7e4a1000 Deferred libxdmcp.so.6
ELF 7e4a1000-7e4a4000 Deferred libxau.so.6
ELF 7e4a4000-7e595000 Deferred libx11.so.6
ELF 7e595000-7e5a3000 Deferred libxext.so.6
ELF 7e5a3000-7e5a8000 Deferred libxxf86vm.so.1
ELF 7e5a8000-7e5c0000 Deferred libice.so.6
ELF 7e5c0000-7e5c8000 Deferred libsm.so.6
ELF 7e5ca000-7e5cf000 Deferred libxfixes.so.3
ELF 7e5cf000-7e5d5000 Deferred libxrandr.so.2
ELF 7e5d7000-7e662000 Dwarf winex11<elf>
\-PE 7e5f0000-7e662000 \ winex11
ELF 7e6ea000-7e70a000 Deferred libexpat.so.1
ELF 7e70a000-7e735000 Deferred libfontconfig.so.1
ELF 7e735000-7e74a000 Deferred libz.so.1
ELF 7e74a000-7e7ba000 Deferred libfreetype.so.6
ELF 7e7ba000-7e878000 Deferred comctl32<elf>
\-PE 7e7c0000-7e878000 \ comctl32
ELF 7e878000-7e8d1000 Deferred shlwapi<elf>
\-PE 7e890000-7e8d1000 \ shlwapi
ELF 7e8d1000-7e9d4000 Deferred shell32<elf>
\-PE 7e8e0000-7e9d4000 \ shell32
ELF 7e9d4000-7e9e8000 Deferred lz32<elf>
\-PE 7e9e0000-7e9e8000 \ lz32
ELF 7e9e8000-7ea02000 Deferred version<elf>
\-PE 7e9f0000-7ea02000 \ version
ELF 7ea02000-7ea36000 Deferred dplayx<elf>
\-PE 7ea10000-7ea36000 \ dplayx
ELF 7ea36000-7eac4000 Deferred winmm<elf>
\-PE 7ea40000-7eac4000 \ winmm
ELF 7eac4000-7ead7000 Deferred libresolv.so.2
ELF 7eae6000-7eb04000 Deferred iphlpapi<elf>
\-PE 7eaf0000-7eb04000 \ iphlpapi
ELF 7eb04000-7eb5d000 Deferred rpcrt4<elf>
\-PE 7eb10000-7eb5d000 \ rpcrt4
ELF 7eb5d000-7ebf8000 Deferred gdi32<elf>
\-PE 7eb70000-7ebf8000 \ gdi32
ELF 7ebf8000-7ed36000 Dwarf user32<elf>
\-PE 7ec10000-7ed36000 \ user32
ELF 7ed36000-7ed7f000 Deferred advapi32<elf>
\-PE 7ed40000-7ed7f000 \ advapi32
ELF 7ed7f000-7ee20000 Deferred ole32<elf>
\-PE 7ed90000-7ee20000 \ ole32
ELF 7ee3b000-7ee71000 Deferred dinput<elf>
\-PE 7ee40000-7ee71000 \ dinput
ELF 7ee71000-7ee8a000 Deferred dinput8<elf>
\-PE 7ee80000-7ee8a000 \ dinput8
ELF 7efa9000-7efb4000 Deferred libnss_files.so.2
ELF 7efb4000-7efcc000 Deferred libnsl.so.1
ELF 7efcc000-7eff1000 Deferred libm.so.6
ELF 7eff6000-7f000000 Deferred libnss_nis.so.2
ELF b7ca2000-b7cab000 Deferred libnss_compat.so.2
ELF b7cac000-b7cb0000 Deferred libdl.so.2
ELF b7cb0000-b7dfa000 Deferred libc.so.6
ELF b7dfa000-b7e12000 Deferred libpthread.so.0
ELF b7e21000-b7f35000 Deferred libwine.so.1
ELF b7f37000-b7f53000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
0000000a
0000000c 0
0000000b 0
00000008 (D) C:\Programmi\Rockstar Games\GTA2\gta2.exe
00000009 0 <==
ozne@ozne-desktop:~/.wine/drive_c/Programmi/Rockstar Games/GTA2$
Che ho combinato? (rotfl)
Re: [Wine] Grand Theft Auto 2
Inviato: sabato 19 gennaio 2008, 17:52
da V
stesso errore a me :P sto cercando di capire se è un problema della versione free :P
Re: [Wine] Grand Theft Auto 2
Inviato: sabato 19 gennaio 2008, 18:14
da Caf-Pow
ma è normale che l'aggiornamento delle directx mi dia quegli errori?
ho anche inserito le chiavi di registro..
Re: [Wine] Grand Theft Auto 2
Inviato: sabato 19 gennaio 2008, 18:16
da V
potrebbe essere "normale" (non giusto ma normale).
controlla che ti abbia aggiunto le DX nella cartella system32 al massimo :P
ciao
Re: [Wine] Grand Theft Auto 2
Inviato: sabato 19 gennaio 2008, 18:43
da Caf-Pow
In system32 ho trovato le d3dx9 dalla d3dx9_24.dll alla d3dx9_35.dll
non so se ne servono altre..
il registro l'ho impostato così
Codice: Seleziona tutto
"DirectDrawRenderer"="opengl"
"OffscreenRenderingMode"="blackbuffer"
"UseGLSL"="enable"
"VideoMemorySize"="256"
Re: [Wine] Grand Theft Auto 2
Inviato: sabato 19 gennaio 2008, 18:58
da V
le dx le hai installate
il problema qui deve essere della versione free di GTA

ho chiesto ad un amico di provare e gli dà il nostro stesso errore , adesso sto per uscire quando ho un briciolo di tempo faccio qualche ricerca

Re: [Wine] Grand Theft Auto 2
Inviato: sabato 19 gennaio 2008, 19:11
da Caf-Pow
intanto mi faccio una cultura sui tuoi wiki
edit
provo a far funzionare san andreas
edit
installato, parte, ma è ingiocabile, troppo lento, anche con le impostazioni al minimo
edit
la scheda con i driver ati sembra funzionare correttamente...
Codice: Seleziona tutto
fgl_glxgears
Using GLX_SGIX_pbuffer
295 frames in 5.0 seconds = 59.000 FPS
416 frames in 5.0 seconds = 83.200 FPS
424 frames in 5.0 seconds = 84.800 FPS
424 frames in 5.0 seconds = 84.800 FPS
423 frames in 5.0 seconds = 84.600 FPS
410 frames in 5.0 seconds = 82.000 FPS
414 frames in 5.0 seconds = 82.800 FPS
e la demo di Cold Ware che ho instlato va alla grande, ma è naturalmente nativo Linux :P
Se non riesco a farlo partire decentemente apro un topic... :'(
Re: [Wine] Grand Theft Auto 2
Inviato: domenica 20 gennaio 2008, 1:42
da V
sono bassi gli fps

molto bassi io ho circa 12 volte i tuoi fps

che scheda video hai?
se hai ATI hai installato gli ultimissimi driver? (per wine sono indicati visto che hanno aiglx o come si chiama

)
ciao!