update Ep3 lobby banner instructions

This commit is contained in:
Martin Michelsen
2024-03-06 09:53:48 -08:00
parent 0aedfcc17f
commit 0db0a55e6b
+9 -6
View File
@@ -590,12 +590,15 @@
// Episode 3 lobby banners. Currently only images are supported.
// Image files are expected to be in .bmp, .ppm, .gvm, or .gvm.prs format,
// and should be placed in the system/ep3/banners directory. Image sizes must
// be a multiple of 4 pixels in both dimensions, must be no larger than
// 0x37000 bytes when encoded as a GVM file (newserv will do this encoding
// internally if it's not a .gvm or .gvm.prs file), and must compress to no
// larger than 0x3800 bytes. newserv will fail on startup if any of these
// constraints aren't satisfied.
// and should be placed in the system/ep3/banners directory. Images are
// subject to a lot of restrictions due to GC hardware limitations:
// - The image must be square.
// - The image dimensions must be a power of 2 (e.g. 128x128 or 256x256)
// - The image data must be no larger than 0x37000 bytes when encoded as a
// GVM file (newserv will do this encoding internally if it's not a .gvm
// or .gvm.prs file already)
// - The GVM file must compress to no larger than 0x3800 bytes
// newserv will fail on startup if the data size constraints aren't satisfied.
// Banners are specified as lists of [type, where, filename]. type should be
// 1 for image files. where is a bitmask specifying where in the lobby the
// banner should appear; the bits are: