xenia-project / game-compatibility

https://xenia.jp
BSD 3-Clause "New" or "Revised" License
468 stars 145 forks source link

545407F2 - Grand Theft Auto IV #427

Open theoldsport opened 8 years ago

theoldsport commented 8 years ago

Marketplace

Tested on https://github.com/xenia-project/xenia/commit/720f8b0dc2e40bcd308c5ce5b2202930fab7d17f

Issues:

Video-->https://youtu.be/92Qz3Uy5shA

Intro FMVs and loading screens have minimal or no graphical issues. As of @DrChat's commit https://github.com/xenia-project/xenia/commit/720f8b0dc2e40bcd308c5ce5b2202930fab7d17f, however, 3D scenes are no longer drawn (go figure, eh?). It is possible to play the game for a brief period before Xenia hangs. If you're quick enough, you can drive Roman's car into the river, just like old times.

Log:

Log file

Screenshot(s):

Running on https://github.com/xenia-project/xenia/commit/ea7bad1035d4f9c6719336d55c0a024d7e1a726f lkoad wow perfect woah

Labels:

state-gameplay, gpu-corrupt-drawing

TAMPIM commented 8 years ago

Just sound for me

Grima04 commented 7 years ago

I tried it with the DR Chat build 1.0.499. It seems that Grand Theft Auto IV isn't working anymore with Xenia. I tried it on my PC and the intro was fine with OpenGL and Vulkan. But as soon as it got to the part of the loading screen displaying "The Cousins Bellic" Xenia crashed with OpenGL and Vulkan. Only one time I could hear the text of the first scene for 2 seconds saying "Daddy's back you *** - " and then it crashed. The screen was black during these 2 seconds. My specs are: Zotac GeForce GTX 970; i7 4790k @ 4.5 GHz and 16 GB DDR 3 RAM 1600 MHz. Perhaps someone else with another setup can get it to run.

D1SMBD1D commented 7 years ago

@Grima04 it doesn't go ingame since benvanik/xenia@720f8b0 as stated in the op

MattKackles commented 7 years ago

I bet a lot more would render now, if the crashing issue is resolved.

Grima04 commented 7 years ago

Yes, You are right. I mean it even loaded light spots, some 3D models and even water at a time where Red Dead Redemption displayed absolutely nothing but a menu. It would have surely improved a lot. Perhaps everything would be rendered more or less properly now like Midnight Club Los Angeles.

Other than that the label should be changed to intro. It still says gameplay.

Sleepy93 commented 7 years ago

Update:

After the intro game starting the mission and xenia crash.

GPU:

Unimplemented:

!> 00000028 NtQueryInformationFile(XFileSectorInformation) unimplemented

Unsupported:

w> 00000004 Unsupported EDRAM format k_2_10_10_10_FLOAT used

Tested:

On (https://github.com/benvanik/xenia/commit/eecc9d0aea1a0c841d9ddfa0d182c22a10ea4f86)

Log:

gta4.txt

Labels:

Parovozik commented 6 years ago

Tested on https://github.com/xenia-project/xenia/pull/789 Go Ingame, but very broken graphics and memory leak trouble. Performance is very well

Video

(https://www.youtube.com/watch?v=Hw7CIuxRv7Q)

Screenshot

xenia gta4 mp4_snapshot_03 04_ 2017 10 01_22 00 52

Labels

gpu-corrupt-drawing gpu-missing-drawing state-gameplay

Parovozik commented 6 years ago

Tested on (https://github.com/benvanik/xenia/commit/2a52156edf4ecc02d9083c31d495e0a927d26438) + (https://github.com/benvanik/xenia/issues/779) + (https://github.com/benvanik/xenia/issues/742)

Log (clear master build):

GTA4.log

Issues:

Memory Leak and black screen space on 3D. Status - ingame. Here 2 screens - 1st clear master, 2nd with fix on DemandResolve for Texturecache.cc

Screenshots:

bandicam 2018-03-02 00-33-43-002 bandicam 2018-03-02 00-33-43-612

FitterSpace commented 5 years ago

Grand Theft Auto IV goes in-game in Xenia 131525e4 (DirectX 12). I completed the first mission without any glaring issues. There are some graphical flaws and missing sounds, but the general gameplay is normal. The log file I've uploaded is from the 2nd time I booted up the game, so the 20 minutes of gameplay in my first video unfortunately doesn't have a log file since I forgot to copy it.

I closed the emulator when the game auto-saved after the first mission. When I ran the game the 2nd time, it started a new game automatically and there were no autosaves present. I don't know if this is a thing GTA IV does or if it's a Xenia issue, but I thought I would mention it anyway just incase.

image

Video 1 (no log) : https://youtu.be/zegYGaxma3A Video 2 (with log) : https://youtu.be/uNzTirNijlA

The quiet sound is not a problem with the video. It's an emulator issue.

xenia log.zip

MarioSonic2987 commented 5 years ago

With https://github.com/xenia-project/xenia/commit/25cc189e99cde24f955482a8fe66a7c8849161f8, this game has almost perfect graphics. With ROV, there's no shadow under cars.

RTV/DSV: image ROV: image

reditec commented 4 years ago

I was using build d4a5a578 on an i5-8400 and a RTX 2070 with 16GB of RAM. Framerate is somewhat stable at 25 for me. so it's kinda playable.

I have a couple lags. I used DX12, have no idea how to switch to Vulcan tho. Prologue: When driving the car, the sound looped an engine-turned-on-without-acceleration type of sound at a low level and all dialogue and all other sounds were inaudible. When I reached Nicos appartement, it didn't load the next cutscene, but the camera froze. The game still progressed (day started and other cars drove by). After pressing 'ü' on my keyboard (didn't use a controller, german keyboard), the game finally loaded the next cutscene in the appartement.

During the first intro cutscene, the loading music was still audible (even tho it's not supposed there) and the game skipped a couple frames every few seconds.

image

reditec commented 4 years ago

Vulkan messes with the font...

D3D12:

d3d12

Vulkan: vulkan

Vulkan doesn't show any rendered graphics after the loading screen. It just reports: Graphics device lost. Same build.

Still didn't figure out how to toggle ROV.

illusion0001 commented 4 years ago

Timing related issues fixed in https://github.com/xenia-project/xenia/commit/922f1f220a2712eb1a705daea2cd4a380408fa18

anishchandra24 commented 3 years ago

tested on version: 9a74df491ffd0189ddd26bc2030e0eae6a775f4e its laggy, but thats probably cuz my specs are mid range. Cutscenes work, but lag, gameplay works, but also lags. While driving the car sound loops, so its not an actual car driving, more like the car starting to drive but looped. radio works, saving works but when paused, i went to load and the game said there were no save files present on the hard drive. everything is fine, i wouldnt say it can be completed because of the lag, idk if anyone can tolerate it. https://www.youtube.com/watch?v=3Iya9xo3L2c (video) xenia.zip state-gameplay as far as ive seen, there are no corrupt drawings.

ico-ne commented 2 years ago

Performance-wise, the game runs decently at 4k60fps, with frame dips in certain areas. The game crashes very often, seemingly at random and pretty much every five minutes or less.

The game does have an issue in cutscenes where there is a line that goes vertically across the screen on the left. This only happens with a resolution_scale higher than 1x. Here's a video: https://www.youtube.com/watch?v=OAKzjRjdkLA

I've also attached a log for a crash that happened just after I loaded into the game.

Specs: 5600x 3080 FE

Log xenia.zip

betelopson commented 1 year ago

Canary_experimental@1eb61aa9a CPU: 3600 GPU: 6600 (@PCI-E 3.0 x8) I've modified these settings: max_queued_frames = 3 (no more audio delay) draw_resolution_scale_x = 2 (I don't see difference) draw_resolution_scale_y = 2 (x3 also does not change on anything) GPU = "vulkan" (nothing matters than this setting, super important for my setup) postprocess_scaling_and_sharpening = "fsr" (I'm not sure that I need this at all.)

Pro:

Con:

IMO: I'm almost done with the main story, I'm sure I'll finish it and I can finish it. I didn't anticipate that this hardware is enough for this emulator. Furthermore, I want to check it with the newer version for a full play through.

fluddsskark commented 9 months ago

Canary_experimental@1eb61aa9a CPU: 3600 GPU: 6600 (@PCI-E 3.0 x8) I've modified these settings: max_queued_frames = 3 (no more audio delay) draw_resolution_scale_x = 2 (I don't see difference) draw_resolution_scale_y = 2 (x3 also does not change on anything) GPU = "vulkan" (nothing matters than this setting, super important for my setup) postprocess_scaling_and_sharpening = "fsr" (I'm not sure that I need this at all.)

Pro:

* runs perfectly and so much fun and difficult this version, lol

Con:

* these transparencies are incorrect:
  ![gta_4_canary_1](https://private-user-images.githubusercontent.com/6606491/239916095-cc986528-3aec-4ef6-a24c-6975a8e89611.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDE4NjQ2ODgsIm5iZiI6MTcwMTg2NDM4OCwicGF0aCI6Ii82NjA2NDkxLzIzOTkxNjA5NS1jYzk4NjUyOC0zYWVjLTRlZjYtYTI0Yy02OTc1YThlODk2MTEuanBnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQUlXTkpZQVg0Q1NWRUg1M0ElMkYyMDIzMTIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyMzEyMDZUMTIwNjI4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjJjNGQ3NmFhN2E5MjU5OTgyNTIzMTA2MTcwYWUzMDYyY2E1NTc4Y2MzODQ2ZTEyYmE0NDNjY2Y1NGE2NDU5OSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.9QTRqa3vsANE4VmlONT78XazFpv8-f3PqUwxQutlbuk) (trees and fences)

* dx12 freezes the emulator (newer version froze on save screen, but I think it was just a fluke.),

* Scaling does not work (not in newer version or just because Vulkan).

IMO: I'm almost done with the main story, I'm sure I'll finish it and I can finish it. I didn't anticipate that this hardware is enough for this emulator. Furthermore, I want to check it with the newer version for a full play through.

How did the playthrough go? Also, I am trying out GTAIV in xenia-canary and it always spews out graphics device lost error

Iordan-Iulian-Bogdan commented 4 months ago

canary_experimental@0fcdc12cb

Getting some strange audio issues, noticeable with the radio stations especially. It's kind of hard to explain but something is not right with left/right channel separation, like one channel is ever so slightly out sync with the other one.

If you switch between radio stations for a couple of seconds it sounds fine but then you can tell something changes and doesn't sound quite right.

germansassone commented 3 days ago

I am impressed of the work you have done with this game, It looks so well, It runs better than the pc version, It is huge what you have done, I aplaude you all guys, you deserve that more people tells you something good

This is the only thing wrong I saw: I'm getting this error every 10 minutes: graphics device lost probably due to an internal error. If It weren't for that, the game runs VERY well.

fluddsskark commented 3 days ago

Please try this out in Linux, with Wine-GE in Bottles. It works insanely well and the "graphics device lost" issue is not omnipresent in Linux for some reason.

Vulkan is laggy, but DX12 works well

Faze15 commented 2 days ago

Completed full game with 1440p mode and i would say it's playable. The only issue is the game from time to time crashed with "graphics device lost probably due to an internal error"(personally not often). Also game "features" infamous heli bug(present on xbox one/s/x), the only fix for this is lock to 30fps in framelimiter of emulator and enable vsync. Plus the game is way better and smoother than pc port, even with dxvk and fusion fix you would get some random freezes, stuttering, but with 360 version the game plays like it should. 1 2