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

Página 9/14
2 | 3 | 4 | 5 | 6 | 7 | 8 | | 10 | 11 | 12 | 13 | 14

Por ericb59

Paladin (875)

Imagen del ericb59

15-04-2019, 19:43

ok. Thank you Grauw

Por LeandroCorreia

Paladin (944)

Imagen del LeandroCorreia

17-04-2019, 01:12

About SCREEN 4, it's just like SCREEN 2, but with pallete selection allowed? How many colors, 15 or 16?

Por ericb59

Paladin (875)

Imagen del ericb59

17-04-2019, 22:11

Hello LeandroCorreia

I worked on a C port of your converter. The application is almost finished, I will post the code very soon.

I noticed that your MSX1 palette used in your code, might not be totally right.
I use the one from this website, and I get better results especially on skin tones.
https://paulwratt.github.io/programmers-palettes/HW-MSX/HW-M...

The example image below is not very blatant, but on other images with more red / yellow colors, it's obvious.

Result with your palette
From left to Right : Original picture -> Converted Picture -> Picture shown in openMSX

Result with new palette
From left to Right : Original picture -> Converted Picture -> Picture shown in openMSX

(The 2 conversions were made with same parameters)

EDIT : Open pictures in new window to see details

Por MsxKun

Paladin (924)

Imagen del MsxKun

17-04-2019, 22:22

LeandroCorreia wrote:

About SCREEN 4, it's just like SCREEN 2, but with pallete selection allowed? How many colors, 15 or 16?

Mostly. 16 colors of your choice between 512. And you can use 26 lines of tiles if you want. And.. also if you want, only one common tileset instead of 3. Like the "used to be named mixed mode in SC2" that wasn't too compatible. But on SC4 it is.

Por DamnedAngel

Master (143)

Imagen del DamnedAngel

17-04-2019, 22:36

Hi ericb59,

Just as a feedback, I am a deutan colorblind and my perception is:
1) the details in blue are more pleasing and defined to me with the new palette, at least for this particular image;
2) the skin colors in the converted picture (not the emulated screenshot) with the original palette are clearly more accurate than with the new one. The colors in the converted picture with the new palette seems washed away; BUT
3) I see little difference in the overall result in the skin colors of the emulated scene. I think the new palette allowed for a better contrast with the strips of the cloth and better handling of artifacts - at least for this image.

Thanks both of you for working in such tools. They will help a lot the creation of resources for new games in the future!

Por Manuel

Ascended (15821)

Imagen del Manuel

17-04-2019, 22:48

Be careful on which hardware you view the picture. The palettes differ between different versions of the VDP and also on the video board in the machine. openMSX tries to emulate this (if it is known). Try different machines.

Por ARTRAG

Enlighted (6278)

Imagen del ARTRAG

17-04-2019, 23:28

LeandroCorreia wrote:

About SCREEN 4, it's just like SCREEN 2, but with pallete selection allowed? How many colors, 15 or 16?

You can define all 16 colors, included color 0, among 512 colors, but you need to set the TP bit in R#8 first
http://rs.gr8bit.ru/Documentation/V9938-programmers-guide.pdf
Without setting TP, the palette registers will not affect color 0

Por ericb59

Paladin (875)

Imagen del ericb59

18-04-2019, 07:30

Another sample
With Same parameters.
Old palette

new palette

OpenMSX is running a Philips 8250

But beyond the colors, the screening/Dithering is different, with less ugly squares with new palette.

Por MsxKun

Paladin (924)

Imagen del MsxKun

18-04-2019, 16:10

ericb59 wrote:

Another sample.

My question is... name of the model? Tongue

Por ericb59

Paladin (875)

Imagen del ericb59

19-04-2019, 17:39

Hi,

I converted the latest version of Leandro's program to C, and I added few things....
Several palettes are usable, MSX Palettes, but also Commodore C64, Spectrum, Game Boy and Black and White.

The ability to compare up to 8 versions of an image converted with different parameters without having to restart the program, directly in the image display window.

The source code and manual are available here:
https://github.com/ericb59/graphxconv

An executable for MacOS is available in the bin Folder.

Sorry I do not have Windows sessions at the moment where I can compile a PC version, but you can do it ...
You just need to add the SDL2.0 library to your compilation.

Compare multiple version

Shown on OpenMSX

Black & White version Screen 2 Shown on OpenMSX

Página 9/14
2 | 3 | 4 | 5 | 6 | 7 | 8 | | 10 | 11 | 12 | 13 | 14