From 9ab4925c4600606b1c4ad429929cf85f3f7e7bc3 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Fri, 16 Dec 2016 21:30:10 -0300 Subject: Update graphics modes --- .../scripts/load/graphics/s-ppux_5c7x-0x_mode0.lua | 327 ++++++++++++--------- .../scripts/load/graphics/s-ppux_5c7x-0x_mode1.lua | 244 ++++++++------- .../scripts/load/graphics/s-ppux_5c7x-0x_mode2.lua | 185 +++++++----- .../scripts/load/graphics/s-ppux_5c7x-0x_mode3.lua | 185 +++++++----- .../scripts/load/graphics/s-ppux_5c7x-0x_mode4.lua | 185 +++++++----- 5 files changed, 644 insertions(+), 482 deletions(-) diff --git a/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode0.lua b/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode0.lua index eed4925..d01855c 100644 --- a/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode0.lua +++ b/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode0.lua @@ -1,6 +1,6 @@ return { - screen = { - default = { + screen = { + ntsc = { width = 256, height = 224, fps = 29.97, @@ -9,7 +9,7 @@ return { y = 0, }, }, - pal = { + pal = { width = 256, height = 240, fps = 25, @@ -19,165 +19,210 @@ return { }, }, }, - colors = { - '15bpp', - limit = '8bpp', + colours = { + total = '15bpp', + limit = 256, + background = true, transparent = 'averaging', }, - mesh = false, - api = false, - shader = { - false, - fragment = false, + meshes = false, + shaders = { + api = false, + version = false, + fragment = false, + vectex = false, + geometry = false, + tessellation = false, }, - physic = false, - sprite = { - true, - colors = '4bpp', - limits = { - true, - screen = 128, - line = 34, + physic = false, + sprites = { + onScreen = 128, + onLine = 34, + palettes = { + specify = true, + free = { + colours = 3, + keys = 1, + }, + transform = { + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, }, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - small = { + sizes = { + { width = 8, height = 8, }, - default = { + { width = 16, height = 16, }, - big = { + { width = 32, height = 32, }, - huge = { + { width = 64, height = 64, }, }, }, - tile = { - layers = 4, - { - colors = '2bpp', - specifyColors = false, - moveIndividual = false, - independent = false, - mirror = true, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 32, - height = 32, - }, - big = { - width = 64, - height = 64, - }, - bigW = { - width = 64, - height = 32, - }, - bigH = { - width = 32, - height = 64, - }, + tiles = { + layers = { + { + independent = false, + palettes = { + specify = false, + free = { + colours = 3, + keys = 1, + }, + }, + mirror = true, + transform = { + individual = false, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 32, + height = 32, + }, + { + width = 64, + height = 64, + }, + { + width = 64, + height = 32, + }, + { + width = 32, + height = 64, + }, + }, + map = false, }, - }, - { - colors = '2bpp', - specifyColors = false, - moveIndividual = false, - independent = false, - mirror = true, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 32, - height = 32, - }, - big = { - width = 64, - height = 64, - }, - bigW = { - width = 64, - height = 32, - }, - bigH = { - width = 32, - height = 64, - }, + { + independent = false, + palettes = { + specify = false, + free = { + colours = 3, + keys = 1, + }, + }, + mirror = true, + transform = { + individual = false, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 32, + height = 32, + }, + { + width = 64, + height = 64, + }, + { + width = 64, + height = 32, + }, + { + width = 32, + height = 64, + }, + }, + map = false, }, - }, - { - colors = '2bpp', - specifyColors = false, - moveIndividual = false, - independent = false, - mirror = true, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 32, - height = 32, - }, - big = { - width = 64, - height = 64, - }, - bigW = { - width = 64, - height = 32, - }, - bigH = { - width = 32, - height = 64, - }, + { + independent = false, + palettes = { + specify = false, + free = { + colours = 3, + keys = 1, + }, + }, + mirror = true, + transform = { + individual = false, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 32, + height = 32, + }, + { + width = 64, + height = 64, + }, + { + width = 64, + height = 32, + }, + { + width = 32, + height = 64, + }, + }, + map = false, }, - }, - { - colors = '2bpp', - specifyColors = false, - moveIndividual = true, - independent = false, - mirror = true, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 32, - height = 32, - }, - big = { - width = 64, - height = 64, - }, - bigW = { - width = 64, - height = 32, - }, - bigH = { - width = 32, - height = 64, - }, + { + independent = false, + palettes = { + specify = false, + free = { + colours = 3, + keys = 1, + }, + }, + mirror = true, + transform = { + individual = true, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 32, + height = 32, + }, + { + width = 64, + height = 64, + }, + { + width = 64, + height = 32, + }, + { + width = 32, + height = 64, + }, + }, + map = false, }, }, }, diff --git a/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode1.lua b/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode1.lua index bb663ba..0a7d32c 100644 --- a/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode1.lua +++ b/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode1.lua @@ -1,6 +1,6 @@ return { - screen = { - default = { + screen = { + ntsc = { width = 256, height = 224, fps = 29.97, @@ -9,7 +9,7 @@ return { y = 0, }, }, - pal = { + pal = { width = 256, height = 240, fps = 25, @@ -19,136 +19,172 @@ return { }, }, }, - colors = { - '15bpp', - limit = '8bpp', + colours = { + total = '15bpp', + limit = 256, + background = true, transparent = 'averaging', }, - mesh = false, - api = false, - shader = { - false, - fragment = false, + meshes = false, + shaders = { + api = false, + version = false, + fragment = false, + vectex = false, + geometry = false, + tessellation = false, }, - physic = false, - sprite = { - true, - colors = '4bpp', - limits = { - true, - screen = 128, - line = 34, + physic = false, + sprites = { + onScreen = 128, + onLine = 34, + palettes = { + specify = true, + free = { + colours = 3, + keys = 1, + }, + transform = { + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, }, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - small = { + sizes = { + { width = 8, height = 8, }, - default = { + { width = 16, height = 16, }, - big = { + { width = 32, height = 32, }, - huge = { + { width = 64, height = 64, }, }, }, - tile = { - layers = 3, - { - colors = '4bpp', - specifyColors = false, - moveIndividual = false, - independent = false, - mirror = true, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 32, - height = 32, - }, - big = { - width = 64, - height = 64, + tiles = { + layers = { + { + independent = false, + palettes = { + specify = false, + free = { + colours = 15, + keys = 1, + }, }, - bigW = { - width = 64, - height = 32, + mirror = true, + transform = { + individual = false, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, }, - bigH = { - width = 32, - height = 64, + sizes = { + { + width = 32, + height = 32, + }, + { + width = 64, + height = 64, + }, + { + width = 64, + height = 32, + }, + { + width = 32, + height = 64, + }, }, + map = false, }, - }, - { - colors = '4bpp', - specifyColors = false, - moveIndividual = false, - independent = false, - mirror = true, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 32, - height = 32, + { + independent = false, + palettes = { + specify = false, + free = { + colours = 15, + keys = 1, + }, }, - big = { - width = 64, - height = 64, + mirror = true, + transform = { + individual = false, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, }, - bigW = { - width = 64, - height = 32, - }, - bigH = { - width = 32, - height = 64, + sizes = { + { + width = 32, + height = 32, + }, + { + width = 64, + height = 64, + }, + { + width = 64, + height = 32, + }, + { + width = 32, + height = 64, + }, }, + map = false, }, - }, - { - colors = '2bpp', - specifyColors = false, - moveIndividual = true, - independent = false, - mirror = true, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 32, - height = 32, - }, - big = { - width = 64, - height = 64, + { + independent = false, + palettes = { + specify = false, + free = { + colours = 3, + keys = 1, + }, }, - bigW = { - width = 64, - height = 32, + mirror = true, + transform = { + individual = true, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, }, - bigH = { - width = 32, - height = 64, + sizes = { + { + width = 32, + height = 32, + }, + { + width = 64, + height = 64, + }, + { + width = 64, + height = 32, + }, + { + width = 32, + height = 64, + }, }, + map = false, }, }, }, diff --git a/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode2.lua b/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode2.lua index 7e5db81..71efa5d 100644 --- a/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode2.lua +++ b/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode2.lua @@ -1,6 +1,6 @@ return { - screen = { - default = { + screen = { + ntsc = { width = 256, height = 224, fps = 29.97, @@ -9,7 +9,7 @@ return { y = 0, }, }, - pal = { + pal = { width = 256, height = 240, fps = 25, @@ -19,107 +19,134 @@ return { }, }, }, - colors = { - '15bpp', - limit = '8bpp', + colours = { + total = '15bpp', + limit = 256, + background = true, transparent = 'averaging', }, - mesh = false, - api = false, - shader = { - false, - fragment = false, + meshes = false, + shaders = { + api = false, + version = false, + fragment = false, + vectex = false, + geometry = false, + tessellation = false, }, - physic = false, - sprite = { - true, - colors = '4bpp', - limits = { - true, - screen = 128, - line = 34, + physic = false, + sprites = { + onScreen = 128, + onLine = 34, + palettes = { + specify = true, + free = { + colours = 3, + keys = 1, + }, + transform = { + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, }, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - small = { + sizes = { + { width = 8, height = 8, }, - default = { + { width = 16, height = 16, }, - big = { + { width = 32, height = 32, }, - huge = { + { width = 64, height = 64, }, }, }, - tile = { - layers = 2, - { - colors = '4bpp', - specifyColors = false, - moveIndividual = true, - independent = false, - mirror = true, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 32, - height = 32, - }, - big = { - width = 64, - height = 64, + tiles = { + layers = { + { + independent = false, + palettes = { + specify = false, + free = { + colours = 15, + keys = 1, + }, }, - bigW = { - width = 64, - height = 32, + mirror = true, + transform = { + individual = true, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, }, - bigH = { - width = 32, - height = 64, + sizes = { + { + width = 32, + height = 32, + }, + { + width = 64, + height = 64, + }, + { + width = 64, + height = 32, + }, + { + width = 32, + height = 64, + }, }, + map = false, }, - }, - { - colors = '4bpp', - specifyColors = false, - moveIndividual = true, - independent = false, - mirror = true, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 32, - height = 32, - }, - big = { - width = 64, - height = 64, + { + independent = false, + palettes = { + specify = false, + free = { + colours = 15, + keys = 1, + }, }, - bigW = { - width = 64, - height = 32, + mirror = true, + transform = { + individual = true, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, }, - bigH = { - width = 32, - height = 64, + sizes = { + { + width = 32, + height = 32, + }, + { + width = 64, + height = 64, + }, + { + width = 64, + height = 32, + }, + { + width = 32, + height = 64, + }, }, + map = false, }, }, }, diff --git a/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode3.lua b/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode3.lua index bf94157..f892245 100644 --- a/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode3.lua +++ b/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode3.lua @@ -1,6 +1,6 @@ return { - screen = { - default = { + screen = { + ntsc = { width = 256, height = 224, fps = 29.97, @@ -9,7 +9,7 @@ return { y = 0, }, }, - pal = { + pal = { width = 256, height = 240, fps = 25, @@ -19,107 +19,134 @@ return { }, }, }, - colors = { - '15bpp', - limit = '8bpp', + colours = { + total = '15bpp', + limit = 256, + background = true, transparent = 'averaging', }, - mesh = false, - api = false, - shader = { - false, - fragment = false, + meshes = false, + shaders = { + api = false, + version = false, + fragment = false, + vectex = false, + geometry = false, + tessellation = false, }, - physic = false, - sprite = { - true, - colors = '4bpp', - limits = { - true, - screen = 128, - line = 34, + physic = false, + sprites = { + onScreen = 128, + onLine = 34, + palettes = { + specify = true, + free = { + colours = 3, + keys = 1, + }, + transform = { + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, }, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - small = { + sizes = { + { width = 8, height = 8, }, - default = { + { width = 16, height = 16, }, - big = { + { width = 32, height = 32, }, - huge = { + { width = 64, height = 64, }, }, }, - tile = { - layers = 2, - { - colors = '8bpp', - specifyColors = '443ppp', - moveIndividual = true, - independent = false, - mirror = true, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 32, - height = 32, - }, - big = { - width = 64, - height = 64, + tiles = { + layers = { + { + independent = false, + palettes = { + specify = '443ppp', + free = { + colours = 255, + keys = 1, + }, }, - bigW = { - width = 64, - height = 32, + mirror = true, + transform = { + individual = true, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, }, - bigH = { - width = 32, - height = 64, + sizes = { + { + width = 32, + height = 32, + }, + { + width = 64, + height = 64, + }, + { + width = 64, + height = 32, + }, + { + width = 32, + height = 64, + }, }, + map = false, }, - }, - { - colors = '4bpp', - specifyColors = false, - moveIndividual = false, - independent = false, - mirror = true, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 32, - height = 32, - }, - big = { - width = 64, - height = 64, + { + independent = false, + palettes = { + specify = false, + free = { + colours = 15, + keys = 1, + }, }, - bigW = { - width = 64, - height = 32, + mirror = true, + transform = { + individual = false, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, }, - bigH = { - width = 32, - height = 64, + sizes = { + { + width = 32, + height = 32, + }, + { + width = 64, + height = 64, + }, + { + width = 64, + height = 32, + }, + { + width = 32, + height = 64, + }, }, + map = false, }, }, }, diff --git a/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode4.lua b/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode4.lua index b8c436a..bdbe5e3 100644 --- a/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode4.lua +++ b/src/hardware_data/scripts/load/graphics/s-ppux_5c7x-0x_mode4.lua @@ -1,6 +1,6 @@ return { - screen = { - default = { + screen = { + ntsc = { width = 256, height = 224, fps = 29.97, @@ -9,7 +9,7 @@ return { y = 0, }, }, - pal = { + pal = { width = 256, height = 240, fps = 25, @@ -19,107 +19,134 @@ return { }, }, }, - colors = { - '15bpp', - limit = '8bpp', + colours = { + total = '15bpp', + limit = 256, + background = true, transparent = 'averaging', }, - mesh = false, - api = false, - shader = { - false, - fragment = false, + meshes = false, + shaders = { + api = false, + version = false, + fragment = false, + vectex = false, + geometry = false, + tessellation = false, }, - physic = false, - sprite = { - true, - colors = '4bpp', - limits = { - true, - screen = 128, - line = 34, + physic = false, + sprites = { + onScreen = 128, + onLine = 34, + palettes = { + specify = true, + free = { + colours = 3, + keys = 1, + }, + transform = { + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, }, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - small = { + sizes = { + { width = 8, height = 8, }, - default = { + { width = 16, height = 16, }, - big = { + { width = 32, height = 32, }, - huge = { + { width = 64, height = 64, }, }, }, - tile = { - layers = 2, - { - colors = '8bpp', - specifyColors = true, - moveIndividual = true, - independent = false, - mirror = true, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 32, - height = 32, - }, - big = { - width = 64, - height = 64, + tiles = { + layers = { + { + independent = false, + palettes = { + specify = 'true', + free = { + colours = 255, + keys = 1, + }, }, - bigW = { - width = 64, - height = 32, + mirror = true, + transform = { + individual = true, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, }, - bigH = { - width = 32, - height = 64, + sizes = { + { + width = 32, + height = 32, + }, + { + width = 64, + height = 64, + }, + { + width = 64, + height = 32, + }, + { + width = 32, + height = 64, + }, }, + map = false, }, - }, - { - colors = '2bpp', - specifyColors = false, - moveIndividual = false, - independent = false, - mirror = true, - rotate = false, - scale = false, - shear = false, - affine = false, - size = { - default = { - width = 32, - height = 32, - }, - big = { - width = 64, - height = 64, + { + independent = false, + palettes = { + specify = false, + free = { + colours = 3, + keys = 1, + }, }, - bigW = { - width = 64, - height = 32, + mirror = true, + transform = { + individual = false, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, }, - bigH = { - width = 32, - height = 64, + sizes = { + { + width = 32, + height = 32, + }, + { + width = 64, + height = 64, + }, + { + width = 64, + height = 32, + }, + { + width = 32, + height = 64, + }, }, + map = false, }, }, }, -- cgit v1.2.3-54-g00ecf