Graphic conversion for any 256x192 into MSX1 graphics (Source code in Blitz Basic).

Page 11/11
4 | 5 | 6 | 7 | 8 | 9 | 10 |

By LeandroCorreia

Paladin (935)

LeandroCorreia's picture

20-04-2019, 03:03

I assume that for an MSX FMV, it would be needed a PC program that would analyse the blocks with least color variation to replace them with 8x8 blocks of a single color, or maybe a pattern of 2x2 dither. Also it would need to flag the blocks more variation between frames in order to change only these. Theoretically, it could work, problem is to make it work in reality. Am I dreaming too high if I imagine a 256 Kbytes ROM in which most of the space would be used for an intro like this (with a lower framerate, of course) ?

https://www.youtube.com/watch?v=e85ealdPxb0

By hit9918

Prophet (2844)

hit9918's picture

20-04-2019, 03:23

a code to put the MSX2 to MSX1 palette:

1 screen 1 : color 15,1,1
2 on error goto 300 : rem MSX1 does skip by error
100 color = (0 ,0,0,0)
110 color = (1 ,0,0,0)
120 color = (2 ,2,5,2)
130 color = (3 ,3,6,3)
140 color = (4 ,2,2,6)
150 color = (5 ,3,3,7)
160 color = (6 ,5,3,3)
170 color = (7 ,3,6,7)
180 color = (8 ,6,3,3)
190 color = (9 ,7,4,4)
200 color = (10,5,5,2)
210 color = (11,6,6,3)
220 color = (12,2,4,2)
230 color = (13,5,3,5)
240 color = (14,6,6,6)
250 color = (15,7,7,7)
300 rem ------------------
310 ?:?
320 for i = 0 to 15 : vpoke base(6)+16+i,i+i*16 : next
330 for i = 0 to 15 : vpoke base(5)+i,i*8+128 : next

By Sepulep

Supporter (15)

Sepulep's picture

25-04-2019, 22:11

here is an optimized version of MsxKun's python script also usable as GIMP plugin (and standalone)

By LeandroCorreia

Paladin (935)

LeandroCorreia's picture

28-04-2019, 01:44

Sepulep wrote:

here is an optimized version of MsxKun's python script also usable as GIMP plugin (and standalone)

That's great! :)

By Sepulep

Supporter (15)

Sepulep's picture

30-04-2019, 11:51

I have added some features to the GIMP plugin: you can correct for pixel aspect ratio, and there is the option to do the scaling seperately. Also the conversion is parallelized.

By Sepulep

Supporter (15)

Sepulep's picture

01-05-2019, 20:54

+ support for transparency and an sc2 file loader plugin implemented

By MsxKun

Paladin (892)

MsxKun's picture

02-05-2019, 20:47

Sepulep wrote:

here is an optimized version of MsxKun's python script also usable as GIMP plugin (and standalone)

Nice :D I'll check when I have some time/mood to see whose optimizations. It will help me to improve my python, that is not much :) Also, the way how to make it as plugin GIMP will be useful! Thx.

Page 11/11
4 | 5 | 6 | 7 | 8 | 9 | 10 |
My MSX profile