From e1dd026dfc6de060bc5a951531e528d67fb32788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?coadde=20=5BM=C3=A1rcio=20Alexandre=20Silva=20Delgado=5D?= Date: Tue, 6 Dec 2016 03:37:57 -0300 Subject: Fix s-ppux_5c7x-0x modes --- .../scripts/load/gpu/s-ppux_5c7x-0x_mode11.lua | 2 +- .../scripts/load/gpu/s-ppux_5c7x-0x_mode12.lua | 149 +++++++++++++++++++++ 2 files changed, 150 insertions(+), 1 deletion(-) create mode 100644 src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/s-ppux_5c7x-0x_mode12.lua diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/s-ppux_5c7x-0x_mode11.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/s-ppux_5c7x-0x_mode11.lua index 555d010..6f20ef3 100644 --- a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/s-ppux_5c7x-0x_mode11.lua +++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/s-ppux_5c7x-0x_mode11.lua @@ -23,7 +23,7 @@ return { '15bpp', transparent = 'averaging', }, - mesh = true, + mesh = false, api = false, shader = { false, diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/s-ppux_5c7x-0x_mode12.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/s-ppux_5c7x-0x_mode12.lua new file mode 100644 index 0000000..555d010 --- /dev/null +++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/gpu/s-ppux_5c7x-0x_mode12.lua @@ -0,0 +1,149 @@ +return { + screen = { + default = { + width = 256, + height = 224, + fps = 29.97, + origin = { + x = 0, + y = 0, + }, + }, + pal = { + width = 256, + height = 240, + fps = 25, + origin = { + x = 0, + y = 0, + }, + }, + }, + colors = { + '15bpp', + transparent = 'averaging', + }, + mesh = true, + api = false, + shader = { + false, + fragment = false, + }, + physic = false, + sprite = { + true, + colors = '4bpp', + limits = { + true, + screen = 128, + line = 34, + }, + rotate = true, + scale = true, + shear = true, + affine = true, + size = { + small = { + width = 8, + height = 8, + }, + default = { + width = 16, + height = 16, + }, + big = { + width = 32, + height = 32, + }, + huge = { + width = 64, + height = 64, + }, + }, + }, + tile = { + layer = { + { + colors = '4bpp', + specifyColors = false, + moveIndividual = false, + rotate = true, + scale = true, + shear = true, + affine = true, + size = { + default = { + width = 32, + height = 32, + }, + big = { + width = 64, + height = 64, + }, + bigW = { + width = 64, + height = 32, + }, + bigH = { + width = 32, + height = 64, + }, + }, + }, + { + colors = '4bpp', + specifyColors = false, + moveIndividual = false, + rotate = true, + scale = true, + shear = true, + affine = true, + size = { + default = { + width = 32, + height = 32, + }, + big = { + width = 64, + height = 64, + }, + bigW = { + width = 64, + height = 32, + }, + bigH = { + width = 32, + height = 64, + }, + }, + }, + { + colors = '2bpp', + specifyColors = false, + moveIndividual = true, + rotate = true, + scale = true, + shear = true, + affine = true, + size = { + default = { + width = 32, + height = 32, + }, + big = { + width = 64, + height = 64, + }, + bigW = { + width = 64, + height = 32, + }, + bigH = { + width = 32, + height = 64, + }, + }, + }, + }, + }, +} -- cgit v1.2.3