Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[N64] Better resolutions #645

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
# Clone latest copy of repository
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Zip all packs
Expand All @@ -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") ;
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
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: graphicPacks.zip
path: "graphicPacks.zip"
98 changes: 33 additions & 65 deletions Resolutions/VCN64_Resolution/rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,114 +10,82 @@ name = 1920x1080 (Default)
$width = 1920
$height = 1080
$gameWidth = 1920
$gameHeight = 1088
$GPgameWidth = 864
$GPgameHeight = 480
$VCPgameWidth = 640

N64 Resolutions----------------------------------

[Preset]
name = ~~~Original N64 Resolutions~~~ (4:3)
$width = 853
$height = 480
$gameWidth = 1920
$gameHeight = 1088
$gameHeight = 1080
$GPgameWidth = 864
$GPgameHeight = 480
$VCPgameWidth = 640

[Preset]
name = 640x480 (Original N64) (480i)
$width = 853
name = 640x480 (Original N64) (4:3)
$width = 640
$height = 480
$gameWidth = 1920
$gameHeight = 1088
$gameHeight = 1080
$GPgameWidth = 864
$GPgameHeight = 480
$VCPgameWidth = 640

[Preset]
name = 960x720 (720i)
name = 1280x720 (HD)
$width = 1280
$height = 720
$gameWidth = 1920
$gameHeight = 1088
$gameHeight = 1080
$GPgameWidth = 864
$GPgameHeight = 480
$VCPgameWidth = 640

[Preset]
name = 1280x960 2x
$width = 1707
$height = 960
$gameWidth = 1920
$gameHeight = 1088
$GPgameWidth = 864
$GPgameHeight = 480
$VCPgameWidth = 640

[Preset]
name = 1536x1152 (1080i)
$width = 2048
$height = 1152
name = 1920x1080 (Full HD)
$width = 1920
$height = 1080
$gameWidth = 1920
$gameHeight = 1088
$gameHeight = 1080
$GPgameWidth = 864
$GPgameHeight = 480
$VCPgameWidth = 640

[Preset]
name = 1920x1440 3x (1440i)
name = 2560x1440 (2K)
$width = 2560
$height = 1440
$gameWidth = 1920
$gameHeight = 1088
$gameWidth = 2560
$gameHeight = 1440
$GPgameWidth = 864
$GPgameHeight = 480
$VCPgameWidth = 640

[Preset]
name = 2048x1536
$width = 2731
$height = 1536
$gameWidth = 1920
$gameHeight = 1088
name = 3840x2160 (4K)
$width = 3840
$height = 2160
$gameWidth = 3840
$gameHeight = 2160
$GPgameWidth = 864
$GPgameHeight = 480
$VCPgameWidth = 640

[Preset]
name = 2560x1920 (1800i)
$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
name = 5120x2880 (5K)
$width = 5120
$height = 2880
$gameWidth = 5120
$gameHeight = 2880
$GPgameWidth = 864
$GPgameHeight = 480
$VCPgameWidth = 640

[Preset]
name = 3840x2880 6x (4k)
$width = 5120
$height = 2880
$gameWidth = 1920
$gameHeight = 1088
name = 7680x4320 (8K)
$width = 7680
$height = 4320
$gameWidth = 7680
$gameHeight = 4320
$GPgameWidth = 864
$GPgameHeight = 480
$VCPgameWidth = 640

#Game Viewports-------------------------------------------
# Game Viewports

[TextureRedefine]
width = 1280
Expand All @@ -140,7 +108,7 @@ formats = 0x01a
overwriteWidth = ($width/960) * 960
overwriteHeight = ($height/720) * 720

#TV Viewports---------------------------------------------
# TV Viewports

[TextureRedefine]
width = 1920
Expand All @@ -156,7 +124,7 @@ formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 1920
overwriteHeight = ($height/$gameHeight) * 1088

#Gamepad Viewports-----------------------------------------
# Gamepad Viewports

[TextureRedefine]
width = 864
Expand All @@ -172,5 +140,5 @@ formats = 0x01a
overwriteWidth = ($width/$GPgameWidth) * 854
overwriteHeight = ($height/$GPgameHeight) * 480

#VC Menu-------------------------------------------------
#please add it here if you figure out how to scale the menu seperate, so it can look good at low res
# VC Menu
# Please add it here if you figure out how to scale the menu seperate, so it can look good at low res