mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2025-01-11 01:09:08 +01:00
Add One Piece to build script
This commit is contained in:
parent
2eb4360922
commit
4026ecaabd
@ -1,31 +0,0 @@
|
||||
[Definition]
|
||||
titleIds = 0005000010175c00,0005000010175d00
|
||||
name = "ONE PIECE Unlimited World Red - 5120x2880"
|
||||
|
||||
|
||||
version = 2
|
||||
|
||||
[TextureRedefine] # tv
|
||||
|
||||
width = 1280
|
||||
|
||||
height = 720
|
||||
|
||||
|
||||
overwriteWidth = 5120
|
||||
overwriteHeight = 2880
|
||||
|
||||
[TextureRedefine] # half-res alpha
|
||||
|
||||
width = 640
|
||||
height = 360
|
||||
|
||||
overwriteWidth = 2560
|
||||
overwriteHeight = 1440
|
||||
|
||||
[TextureRedefine] # gamepad
|
||||
width = 854
|
||||
height = 480
|
||||
|
||||
#overwriteWidth = 2562
|
||||
#overwriteHeight = 1440
|
@ -1,31 +0,0 @@
|
||||
[Definition]
|
||||
titleIds = 0005000010175c00,0005000010175d00
|
||||
name = "ONE PIECE Unlimited World Red - 7680x4320"
|
||||
|
||||
|
||||
version = 2
|
||||
|
||||
[TextureRedefine] # tv
|
||||
|
||||
width = 1280
|
||||
|
||||
height = 720
|
||||
|
||||
|
||||
overwriteWidth = 7680
|
||||
overwriteHeight = 4320
|
||||
|
||||
[TextureRedefine] # half-res alpha
|
||||
|
||||
width = 640
|
||||
height = 360
|
||||
|
||||
overwriteWidth = 3840
|
||||
overwriteHeight = 2160
|
||||
|
||||
[TextureRedefine] # gamepad
|
||||
width = 854
|
||||
height = 480
|
||||
|
||||
#overwriteWidth = 2562
|
||||
#overwriteHeight = 1440
|
@ -1,31 +0,0 @@
|
||||
[Definition]
|
||||
titleIds = 0005000010175c00,0005000010175d00
|
||||
name = "ONE PIECE Unlimited World Red - 10240x5760"
|
||||
|
||||
|
||||
version = 2
|
||||
|
||||
[TextureRedefine] # tv
|
||||
|
||||
width = 1280
|
||||
|
||||
height = 720
|
||||
|
||||
|
||||
overwriteWidth = 10240
|
||||
overwriteHeight = 5760
|
||||
|
||||
[TextureRedefine] # half-res alpha
|
||||
|
||||
width = 640
|
||||
height = 360
|
||||
|
||||
overwriteWidth = 5120
|
||||
overwriteHeight = 2880
|
||||
|
||||
[TextureRedefine] # gamepad
|
||||
width = 854
|
||||
height = 480
|
||||
|
||||
#overwriteWidth = 2562
|
||||
#overwriteHeight = 1440
|
@ -1,18 +0,0 @@
|
||||
[Definition]
|
||||
titleIds = 0005000010175c00,0005000010175d00
|
||||
name = "One Piece: Unlimited World Red - 1920x1080"
|
||||
version = 2
|
||||
|
||||
[TextureRedefine] # tv
|
||||
width = 1280
|
||||
height = 720
|
||||
tileModesExcluded = 0x001 # FMV fix: place forceTextureUpdate = true under [Graphics] in game profile when using cemuhook 0.4.2.0+
|
||||
overwriteWidth = 1920
|
||||
overwriteHeight = 1080
|
||||
|
||||
[TextureRedefine] # gamepad
|
||||
width = 854
|
||||
height = 480
|
||||
|
||||
#overwriteWidth = 1920
|
||||
#overwriteHeight = 1080
|
@ -1,18 +0,0 @@
|
||||
[Definition]
|
||||
titleIds = 0005000010175c00,0005000010175d00
|
||||
name = "One Piece: Unlimited World Red - 2560x1440"
|
||||
version = 2
|
||||
|
||||
[TextureRedefine] # tv
|
||||
width = 1280
|
||||
height = 720
|
||||
tileModesExcluded = 0x001 # FMV fix: place forceTextureUpdate = true under [Graphics] in game profile when using cemuhook 0.4.2.0+
|
||||
overwriteWidth = 2560
|
||||
overwriteHeight = 1440
|
||||
|
||||
[TextureRedefine] # gamepad
|
||||
width = 854
|
||||
height = 480
|
||||
|
||||
#overwriteWidth = 1920
|
||||
#overwriteHeight = 1080
|
@ -1,18 +0,0 @@
|
||||
[Definition]
|
||||
titleIds = 0005000010175c00,0005000010175d00
|
||||
name = "One Piece: Unlimited World Red - 3200x1800"
|
||||
version = 2
|
||||
|
||||
[TextureRedefine] # tv
|
||||
width = 1280
|
||||
height = 720
|
||||
tileModesExcluded = 0x001 # FMV fix: place forceTextureUpdate = true under [Graphics] in game profile when using cemuhook 0.4.2.0+
|
||||
overwriteWidth = 3200
|
||||
overwriteHeight = 1800
|
||||
|
||||
[TextureRedefine] # gamepad
|
||||
width = 854
|
||||
height = 480
|
||||
|
||||
#overwriteWidth = 1920
|
||||
#overwriteHeight = 1080
|
@ -1,18 +0,0 @@
|
||||
[Definition]
|
||||
titleIds = 0005000010175c00,0005000010175d00
|
||||
name = "One Piece: Unlimited World Red - 3840x2160"
|
||||
version = 2
|
||||
|
||||
[TextureRedefine] # tv
|
||||
width = 1280
|
||||
height = 720
|
||||
tileModesExcluded = 0x001 # FMV fix: place forceTextureUpdate = true under [Graphics] in game profile when using cemuhook 0.4.2.0+
|
||||
overwriteWidth = 3840
|
||||
overwriteHeight = 2160
|
||||
|
||||
[TextureRedefine] # gamepad
|
||||
width = 854
|
||||
height = 480
|
||||
|
||||
#overwriteWidth = 1920
|
||||
#overwriteHeight = 1080
|
31
Source/OnePiece/rules.txt
Normal file
31
Source/OnePiece/rules.txt
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
include 'Source/functions.php';
|
||||
$fullWidth = $argv[1];
|
||||
$fullHeight = $argv[2];
|
||||
$scaleFactorX = $fullWidth / 1280.0;
|
||||
$scaleFactorY = $fullHeight / 720.0;
|
||||
|
||||
$title = get_title($fullWidth, $fullHeight);
|
||||
?>
|
||||
[Definition]
|
||||
titleIds = 0005000010175C00,0005000010175D00
|
||||
name = "ONE PIECE Unlimited World Red - <?=$title?>"
|
||||
version = 2
|
||||
|
||||
[TextureRedefine] # tv
|
||||
width = 1280
|
||||
height = 720
|
||||
overwriteWidth = <?=round($scaleFactorX*1280)?>
|
||||
overwriteHeight = <?=round($scaleFactorY*720)?>
|
||||
|
||||
[TextureRedefine] # half-res alpha
|
||||
width = 640
|
||||
height = 360
|
||||
overwriteWidth = <?=round($scaleFactorX*640)?>
|
||||
overwriteHeight = <?=round($scaleFactorY*360)?>
|
||||
|
||||
[TextureRedefine] # gamepad
|
||||
width = 854
|
||||
height = 480
|
||||
#overwriteWidth = <?=round($scaleFactorX*1280)?>
|
||||
#overwriteHeight = <?=round($scaleFactorY*720)?>
|
1
build.sh
1
build.sh
@ -109,6 +109,7 @@ std_respack "MarioKart8" "${res16by9[@]/$just720p}" "${res21by9[@]}"
|
||||
std_respack "MarioTennis" "${res16by9[@]/$just720p}"
|
||||
std_respack "MightyNumber9" "${res16by9[@]/$just720p}"
|
||||
std_respack "NintendoLand" "${res16by9[@]/$just720p}"
|
||||
std_respack "OnePiece" "${res16by9[@]/$just720p}"
|
||||
std_respack "PokkenTournament" "${res16by9[@]/$just720p}"
|
||||
std_respack "SonicLostWorld" "${res16by9[@]/$just720p}" "${res21by9[@]}"
|
||||
std_respack "Splatoon" "${res16by9[@]/$just720p}" "${res21by9[@]}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user