Skip to content

Conversation

@refractionpcsx2
Copy link
Member

@refractionpcsx2 refractionpcsx2 commented Jun 4, 2025

Description of Changes

Makes improvements to the hardware level moving between targets, namely between colour and depth targets.

Also added fixes for moving and invalidating/translating inside block offsets.

Rationale behind Changes

While not always 100% correct, in most cases they copy with the respective formats so the swizzling is correct, so we can get away with it, and this fixes a bunch of behaviours.

Block offsets were also not working correctly which caused issues in some transfers/invalidation, which has also been fixed by this PR.

Suggested Testing Steps

Test the games listed below with screenshots, but also just check the following as they showed differences is numbers only, but be sure nothing broke:

Armored Core 2 & 3, Astro Boy, Baldurs Gate DA 1 & 2, Critical Velocity (watch out for seizures during videos), Dark Chronicle/Dark Cloud 2, Devil May Cry, Dog's Life, FIFA 2002, Flower Sun and Rain, Ghost in the Shell, Gradius V, Hokuto no Ken, Justice League Heroes, Kenran Butousai, Warship Gunner 2, Sakura Taisen/Wars games, Star Wars Racer (vs master, might be broken anyway), Street Fighter 3 3rd Strike, Thrilleville, Transformers The Game, True Crime NYC, Ultraman Fighting Evolution 2.

Also check the Baldur's Gate games and Total Immersion Racing for the block offset fix.

Did you use AI to help find, test, or implement this issue or feature?

No.

Fixes #3988 shadows for Kunoichi/Nightshade and removes the need for a CRC for the Sakura Wars games.
Fixes #12785 Star Trek Shattered Universe rendering.

Kunoichi:

Master:
image

PR:
image

Star Trek - Shattered Universe:

Master:
image

PR:
image

Bonus:
Kenran Butousai when upscaled: Ignore the speed, that's just because of how I was taking the screenshots, it'll be faster if anything.

Master:
image

PR:
image

Software for reference:
image

Baldur's Gate Dark Aliiance:
Master:
image
PR:
image

@refractionpcsx2 refractionpcsx2 changed the title GS/HW: Improvements to HW moving (C <->Z) GS/HW: Improvements to HW moving (C<->Z) Jun 4, 2025
@refractionpcsx2 refractionpcsx2 force-pushed the gs_hwmoveimprovements branch 2 times, most recently from d7f3256 to bce1f1a Compare June 5, 2025 00:46
@ghost
Copy link

ghost commented Jun 5, 2025

Tested Resident Evil 4, Sly 3, Jackie Chan Adventures, Ape Escape 3, Rule of Rose, Okami, Jak 3, and Ratatouille. No regressions found.

@F0bes
Copy link
Member

F0bes commented Jun 5, 2025

Went though a dump run on metal and can confirm

  • Kurogane no Houkou has had shadows fixed
  • Kunoichi has had shadows fixed
  • No other dumps have had visible regressions

@refractionpcsx2
Copy link
Member Author

Thanks for the tests folks :)

@refractionpcsx2 refractionpcsx2 force-pushed the gs_hwmoveimprovements branch from e10f8da to 49f299a Compare June 6, 2025 23:27
@lightningterror lightningterror added this to the Release 2.4 milestone Jun 7, 2025
@refractionpcsx2
Copy link
Member Author

Closing as this got merged in with #12794

@refractionpcsx2 refractionpcsx2 deleted the gs_hwmoveimprovements branch June 8, 2025 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Star Trek Shattered Universe: Odd graphics in a certain mission using Hardware Mode [BUG] Nightshade (Kunoichi) Shadows

5 participants