nolibgs_hello_worlds/hello_bs
2021-07-21 14:57:00 +02:00
..
bs Add hello_bs example 2021-07-21 14:57:00 +02:00
hello_bs.c Add hello_bs example 2021-07-21 14:57:00 +02:00
isoconfig.xml Add hello_bs example 2021-07-21 14:57:00 +02:00
Makefile Add hello_bs example 2021-07-21 14:57:00 +02:00
README.md Add hello_bs example 2021-07-21 14:57:00 +02:00
system.cnf Add hello_bs example 2021-07-21 14:57:00 +02:00

Loading a BS still image

You need mkpsxiso in your $PATH to generate a PSX disk image.

Compile

make all

Clean directory

make cleansub

Converting a still image to BS

MC32 can convert these formats to BS : TIM, RGB, YUV.

Image > TIM with img2tim

Convert your image to a 24bpp TIM with img2tim:

img2tim -bpp 24 -o bs.tim bs.png

Then use MC32 as instructed below.

Image > RGB ppm with imagemagick

You can convert any image to PPM, then change the file's extension to .rgb, and convert it with MC32.

mogrify -format ppm image.xxx

TIM/RGB > BS conversion

Use the MC32 tool conversion tool to import the image, specifying the right dimensions, and convert to bs with those settings :

Note that a BS image must have a width and height that is a multiple of 16

Input: RGB, Output: bs
MDEC version : 2
Custom: Size in sectors or (2048 * sector number) bytes, Variable frame size

MC32 bs conversion

Sources & Refs

img2tim : https://github.com/Lameguy64/img2tim
MC32 : http://psx.arthus.net/tools/pimp-psx.zip

mdecnote : http://psx.arthus.net/sdk/Psy-Q/DOCS/TECHNOTE/mdecnote.pdf