From 96c0b6ebf57ae2abad0270f87c8682b9fe36f2f1 Mon Sep 17 00:00:00 2001
From: agent31750 <leo.lelievre@yahoo.fr>
Date: Fri, 3 May 2019 22:49:34 +0200
Subject: [PATCH] Add Call of Duty: Ghosts res pack by Atom

---
 Resolutions/CODGhosts_Resolution/rules.txt | 94 ++++++++++++++++++++++
 1 file changed, 94 insertions(+)
 create mode 100644 Resolutions/CODGhosts_Resolution/rules.txt

diff --git a/Resolutions/CODGhosts_Resolution/rules.txt b/Resolutions/CODGhosts_Resolution/rules.txt
new file mode 100644
index 00000000..6678607a
--- /dev/null
+++ b/Resolutions/CODGhosts_Resolution/rules.txt
@@ -0,0 +1,94 @@
+[Definition]
+titleIds = 0005000010146800,0005000010156100,0005000010157900
+name = Resolution
+path = "Call of Duty: Ghosts/Graphics/Resolution"
+description = Changes the game's resolution.
+version = 3
+
+[Preset]
+name = 1280x720 (Default)
+$width = 1280
+$height = 720
+$gameWidth = 1280
+$gameHeight = 720
+
+# Performance
+
+[Preset]
+name = 320x180
+$width = 320
+$height = 180
+$gameWidth = 1280
+$gameHeight = 720
+
+[Preset]
+name = 640x360
+$width = 640
+$height = 360
+$gameWidth = 1280
+$gameHeight = 720
+
+[Preset]
+name = 960x540
+$width = 960
+$height = 540
+$gameWidth = 1280
+$gameHeight = 720
+
+# Common HD Resolutions
+
+[Preset]
+name = 1600x900
+$width = 1600
+$height = 900
+$gameWidth = 1280
+$gameHeight = 720
+
+[Preset]
+name = 1920x1080
+$width = 1920
+$height = 1080
+$gameWidth = 1280
+$gameHeight = 720
+
+[Preset]
+name = 2560x1440
+$width = 2560
+$height = 1440
+$gameWidth = 1280
+$gameHeight = 720
+
+[Preset]
+name = 3200x1800
+$width = 3200
+$height = 1800
+$gameWidth = 1280
+$gameHeight = 720
+
+[Preset]
+name = 3840x2160
+$width = 3840
+$height = 2160
+$gameWidth = 1280
+$gameHeight = 720
+
+[Preset]
+name = 5120x2880
+$width = 5120
+$height = 2880
+$gameWidth = 1280
+$gameHeight = 720
+
+[TextureRedefine]
+width = 1280
+height = 720
+formats = 0x0000001a,0x00000011
+overwriteWidth = ($width/$gameWidth) * 1280
+overwriteHeight = ($height/$gameHeight) * 720
+
+[TextureRedefine]
+width = 864
+height = 720
+formats = 0x0000001a,0x00000011,0x0000041a
+overwriteWidth = ($width/$gameWidth) * 864
+overwriteHeight = ($height/$gameHeight) * 720
\ No newline at end of file