Skip to content

Commit

Permalink
Set all 0x0 overwrites to 1x1
Browse files Browse the repository at this point in the history
Prevents any undefined behavior caused by these packs

Why is WWHD timed by 2 for everything except for main resolution?
  • Loading branch information
ActualMandM committed Sep 1, 2018
1 parent 8c4537b commit 28b1e7d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Modifications/SuperSmashBros_NoBoxingRingScreen/rules.txt
Expand Up @@ -6,5 +6,5 @@ version = 2
[TextureRedefine] # boxing ring screen
width = 220
height = 124
overwriteWidth = 0
overwriteHeight = 0
overwriteWidth = 1
overwriteHeight = 1
4 changes: 2 additions & 2 deletions Source/WindWakerHD/rules.txt
Expand Up @@ -71,5 +71,5 @@ overwriteHeight = <?=round($scaleFactorY*33*2)?>
width = 1024
height = 1024
formats = 0x005
overwriteWidth = <?=round($scaleFactorY)*2048?>
overwriteHeight = <?=round($scaleFactorY)*2048?>
overwriteWidth = <?=round($scaleFactorY)*1024?>
overwriteHeight = <?=round($scaleFactorY)*1024?>
4 changes: 2 additions & 2 deletions Workaround/SuperSmashBros_PixelMess/rules.txt
Expand Up @@ -9,5 +9,5 @@ width = 640
height = 360
formats = 0x00a
#overwriteFormat = 0x81c # Might cause an error, but seems to work. Might not work on AMD.
overwriteWidth = 0
overwriteHeight = 0
overwriteWidth = 1
overwriteHeight = 1
4 changes: 2 additions & 2 deletions Workaround/XenobladeX_AMDGCN4/rules.txt
Expand Up @@ -7,5 +7,5 @@ version = 2
[TextureRedefine]
width = 320
height = 180
overwriteWidth = 0
overwriteHeight = 0
overwriteWidth = 1
overwriteHeight = 1

2 comments on commit 28b1e7d

@getdls
Copy link
Collaborator

@getdls getdls commented on 28b1e7d Sep 1, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is WWHD timed by 2 for everything except for main resolution?

Fixes light bleeding around point light sources, improves over bloom haloing, heat haze jaggies, fixes shadow blobs since we can't scale distant/dynamic shadows separately
edit note if you change the scaling you need to update the shaders as well, or shadows will look bad.

@ActualMandM
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright

Please sign in to comment.