[N64] Better resolutions

This commit is contained in:
Xphalnos 2024-10-02 19:56:50 +02:00
parent c713d33f14
commit a8183f187a
2 changed files with 38 additions and 70 deletions

View File

@ -22,7 +22,7 @@ jobs:
steps: steps:
# Clone latest copy of repository # Clone latest copy of repository
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v1 uses: actions/checkout@v4
with: with:
fetch-depth: 1 fetch-depth: 1
- name: Zip all packs - name: Zip all packs
@ -44,7 +44,7 @@ jobs:
RELEASE_ID=$(curl -X POST -H 'Content-Type:application/json' -H "Authorization: Bearer $GITHUB_TOKEN" "https://api.github.com/repos/$GITHUB_REPOSITORY/releases" -d "@releaseBody.json" | jq -r ".id") ; RELEASE_ID=$(curl -X POST -H 'Content-Type:application/json' -H "Authorization: Bearer $GITHUB_TOKEN" "https://api.github.com/repos/$GITHUB_REPOSITORY/releases" -d "@releaseBody.json" | jq -r ".id") ;
curl -X POST -H 'Content-Type:application/json' -H "Authorization: Bearer $GITHUB_TOKEN" "https://uploads.github.com/repos/$GITHUB_REPOSITORY/releases/$RELEASE_ID/assets?name=graphicPacks$RELEASE_NUMBER.zip" --upload-file "graphicPacks.zip" curl -X POST -H 'Content-Type:application/json' -H "Authorization: Bearer $GITHUB_TOKEN" "https://uploads.github.com/repos/$GITHUB_REPOSITORY/releases/$RELEASE_ID/assets?name=graphicPacks$RELEASE_NUMBER.zip" --upload-file "graphicPacks.zip"
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v4
with: with:
name: graphicPacks.zip name: graphicPacks.zip
path: "graphicPacks.zip" path: "graphicPacks.zip"

View File

@ -10,114 +10,82 @@ name = 1920x1080 (Default)
$width = 1920 $width = 1920
$height = 1080 $height = 1080
$gameWidth = 1920 $gameWidth = 1920
$gameHeight = 1088 $gameHeight = 1080
$GPgameWidth = 864 $GPgameWidth = 864
$GPgameHeight = 480 $GPgameHeight = 480
$VCPgameWidth = 640 $VCPgameWidth = 640
N64 Resolutions----------------------------------
[Preset] [Preset]
name = ~~~Original N64 Resolutions~~~ (4:3) name = 640x480 (Original N64) (4:3)
$width = 853 $width = 640
$height = 480 $height = 480
$gameWidth = 1920 $gameWidth = 1920
$gameHeight = 1088 $gameHeight = 1080
$GPgameWidth = 864 $GPgameWidth = 864
$GPgameHeight = 480 $GPgameHeight = 480
$VCPgameWidth = 640 $VCPgameWidth = 640
[Preset] [Preset]
name = 640x480 (Original N64) (480i) name = 1280x720 (HD)
$width = 853
$height = 480
$gameWidth = 1920
$gameHeight = 1088
$GPgameWidth = 864
$GPgameHeight = 480
$VCPgameWidth = 640
[Preset]
name = 960x720 (720i)
$width = 1280 $width = 1280
$height = 720 $height = 720
$gameWidth = 1920 $gameWidth = 1920
$gameHeight = 1088 $gameHeight = 1080
$GPgameWidth = 864 $GPgameWidth = 864
$GPgameHeight = 480 $GPgameHeight = 480
$VCPgameWidth = 640 $VCPgameWidth = 640
[Preset] [Preset]
name = 1280x960 2x name = 1920x1080 (Full HD)
$width = 1707 $width = 1920
$height = 960 $height = 1080
$gameWidth = 1920 $gameWidth = 1920
$gameHeight = 1088 $gameHeight = 1080
$GPgameWidth = 864 $GPgameWidth = 864
$GPgameHeight = 480 $GPgameHeight = 480
$VCPgameWidth = 640 $VCPgameWidth = 640
[Preset] [Preset]
name = 1536x1152 (1080i) name = 2560x1440 (2K)
$width = 2048
$height = 1152
$gameWidth = 1920
$gameHeight = 1088
$GPgameWidth = 864
$GPgameHeight = 480
$VCPgameWidth = 640
[Preset]
name = 1920x1440 3x (1440i)
$width = 2560 $width = 2560
$height = 1440 $height = 1440
$gameWidth = 1920 $gameWidth = 2560
$gameHeight = 1088 $gameHeight = 1440
$GPgameWidth = 864 $GPgameWidth = 864
$GPgameHeight = 480 $GPgameHeight = 480
$VCPgameWidth = 640 $VCPgameWidth = 640
[Preset] [Preset]
name = 2048x1536 name = 3840x2160 (4K)
$width = 2731 $width = 3840
$height = 1536 $height = 2160
$gameWidth = 1920 $gameWidth = 3840
$gameHeight = 1088 $gameHeight = 2160
$GPgameWidth = 864 $GPgameWidth = 864
$GPgameHeight = 480 $GPgameHeight = 480
$VCPgameWidth = 640 $VCPgameWidth = 640
[Preset] [Preset]
name = 2560x1920 (1800i) name = 5120x2880 (5K)
$width = 3413
$height = 1920
$gameWidth = 1920
$gameHeight = 1088
$GPgameWidth = 864
$GPgameHeight = 480
$VCPgameWidth = 640
[Preset]
name = 3200x2400 5x
$width = 4267
$height = 2400
$gameWidth = 1920
$gameHeight = 1088
$GPgameWidth = 864
$GPgameHeight = 480
$VCPgameWidth = 640
[Preset]
name = 3840x2880 6x (4k)
$width = 5120 $width = 5120
$height = 2880 $height = 2880
$gameWidth = 1920 $gameWidth = 5120
$gameHeight = 1088 $gameHeight = 2880
$GPgameWidth = 864 $GPgameWidth = 864
$GPgameHeight = 480 $GPgameHeight = 480
$VCPgameWidth = 640 $VCPgameWidth = 640
#Game Viewports------------------------------------------- [Preset]
name = 7680x4320 (8K)
$width = 7680
$height = 4320
$gameWidth = 7680
$gameHeight = 4320
$GPgameWidth = 864
$GPgameHeight = 480
$VCPgameWidth = 640
# Game Viewports
[TextureRedefine] [TextureRedefine]
width = 1280 width = 1280
@ -140,7 +108,7 @@ formats = 0x01a
overwriteWidth = ($width/960) * 960 overwriteWidth = ($width/960) * 960
overwriteHeight = ($height/720) * 720 overwriteHeight = ($height/720) * 720
#TV Viewports--------------------------------------------- # TV Viewports
[TextureRedefine] [TextureRedefine]
width = 1920 width = 1920
@ -156,7 +124,7 @@ formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 1920 overwriteWidth = ($width/$gameWidth) * 1920
overwriteHeight = ($height/$gameHeight) * 1088 overwriteHeight = ($height/$gameHeight) * 1088
#Gamepad Viewports----------------------------------------- # Gamepad Viewports
[TextureRedefine] [TextureRedefine]
width = 864 width = 864
@ -172,5 +140,5 @@ formats = 0x01a
overwriteWidth = ($width/$GPgameWidth) * 854 overwriteWidth = ($width/$GPgameWidth) * 854
overwriteHeight = ($height/$GPgameHeight) * 480 overwriteHeight = ($height/$GPgameHeight) * 480
#VC Menu------------------------------------------------- # VC Menu
#please add it here if you figure out how to scale the menu seperate, so it can look good at low res # Please add it here if you figure out how to scale the menu seperate, so it can look good at low res