ENTERPRISE KLUB
2021. október 2., 1055 Budapest, Nyugati tér 9. 14-19 óráig
Belépés kizárólag klubtagok részére! (Klubkártyával vagy előfizetéssel!)
Welcome, Guest. Please login or register.


Author Topic: PC -> EP képkonverzió (Read 243685 times)

Offline endi

  • EP addict
  • *
  • Posts: 7305
  • Country: hu
  • grafikus, játékfejlesztõ, programozás, scifi, tudományok, vallás
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 46.0.2490.80 Chrome 46.0.2490.80
    • View Profile
    • Honlapom
Re: PC -> EP képkonverzió
« Reply #510 on: 2015.November.08. 17:16:00 »
na ez érdekes, 2 szín mód, interlace

a mellékelt .com meg a szokásos attr

(az eredeti képet nem én csináltam)
Vigyázat! Szektás vagyok! :)

Offline endi

  • EP addict
  • *
  • Posts: 7305
  • Country: hu
  • grafikus, játékfejlesztõ, programozás, scifi, tudományok, vallás
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 46.0.2490.86 Chrome 46.0.2490.86
    • View Profile
    • Honlapom
Re: PC -> EP képkonverzió
« Reply #511 on: 2015.December.03. 19:37:59 »
konvertáltam pár képet a híres mobilos játékból, hát, annyira jók nem lettek, talán túl finomat a színárnyalatok az eredetin
de azért érdemes megnézni
Vigyázat! Szektás vagyok! :)

Offline geco

  • EP addict
  • *
  • Posts: 6288
  • Country: hu
  • OS:
  • Linux Linux
  • Browser:
  • Firefox 38.0 Firefox 38.0
    • View Profile
Re: PC -> EP képkonverzió
« Reply #512 on: 2015.December.03. 20:40:27 »
igen, de kicsiben tök jól néznek ki :)

Offline ssr86

  • EP user
  • *
  • Posts: 359
  • Country: pl
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 42.0 Firefox 42.0
    • View Profile
Re: PC -> EP képkonverzió
« Reply #513 on: 2015.December.04. 07:25:27 »
@endi: Could you explain the video mode used for that pc game screen conversion? Is it "standard" attribute mode but with changing the attributes for every line of display? How much overhead (memory and cpu) is needed for this mode? Is it feasible for in-game (for actual gameplay) use?

Offline Zozosoft

  • EP addict
  • *
  • Posts: 14023
  • Country: hu
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 42.0 Firefox 42.0
    • View Profile
    • http://enterprise.iko.hu/
Re: PC -> EP képkonverzió
« Reply #514 on: 2015.December.04. 07:43:16 »
The best converted pictures using attribute mode:
-Enterprise attribute mode, not a Spectrum: separate attributes for each pixel line. Then attribute area are same memory size with the pixel area.
-Define new 0-7 colors in each pixel line. BIAS color are fixed for the whole screen (in a game BIAS colors recommended for using sprites)
-optionaly using interlace for 2x vertical resolution
-everithing done by the Nick, 0% Z80 used

My idea for a game: flipper, with about 2x screen size, vertical scrolling, and with nice background picture. I hope someone can do it!

Offline Povi

  • EP addict
  • *
  • Posts: 2094
  • Country: hu
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 42.0 Firefox 42.0
    • View Profile
    • http://povi.fw.hu
Re: PC -> EP képkonverzió
« Reply #515 on: 2015.December.04. 10:44:03 »
konvertáltam pár képet a híres mobilos játékból, hát, annyira jók nem lettek, talán túl finomat a színárnyalatok az eredetin
de azért érdemes megnézni
lehet, hogy dither nélkül jobb eredmény jönne ki
*** Speicherplatz zu klein

Offline IstvanV

  • EP addict
  • *
  • Posts: 4825
  • OS:
  • Linux Linux
  • Browser:
  • Firefox 39.0 Firefox 39.0
    • View Profile
Re: PC -> EP képkonverzió
« Reply #516 on: 2015.December.04. 13:33:25 »
Javíthat még a képen az interlace és a kontraszt növelése, de lehet próbálkozni 16 színű móddal és fix palettával is.

Ez a kép például így konvertálva interlace módban

Code: [Select]
epimgconv_sse2 -mode 16 -size 46 276 -quality 9 -scalemode 1 -outfmt 1 IMG_0082.jpg mv.pic -scale 1.24 1.24 -offset 8 -160 -palres 1 -dither 1 0.75 -ymin -0.5 -ymax 1.05
ilyen lett, de valószínűleg lehetne javítani rajta:



* IMG_0082.jpg (81.04 kB. 768x1024 - viewed 186 times.)
* 76deffef7d6083e6352e52cb901cd8fb.jpeg (244.36 kB. 1702x1000 - viewed 173 times.)
* Monument+Valley+v2.0.2+Unlocked.jpg (135.7 kB. 1360x904 - viewed 167 times.)
* screen1024x1024.jpeg (46.21 kB. 768x1024 - viewed 173 times.)
* Monument-Valley-1.jpg (76.68 kB. 675x900 - viewed 163 times.)
« Last Edit: 2015.December.04. 13:39:38 by IstvanV »

Offline ssr86

  • EP user
  • *
  • Posts: 359
  • Country: pl
  • OS:
  • Windows NT 6.2 Windows NT 6.2
  • Browser:
  • Chrome 46.0.2490.86 Chrome 46.0.2490.86
    • View Profile
Re: PC -> EP képkonverzió
« Reply #517 on: 2015.December.04. 15:20:59 »
hmmm...
could someone do a preview of how it would look on a real tv when there would be two screens with slighly different dither or colors and exchange them at every frame for the shown game screen? But for the not-interlaced version... I'm really curious..because it should "polish" the dither somewhat...although I wonder how much flicker it will produce...
Please;)

Offline Zozosoft

  • EP addict
  • *
  • Posts: 14023
  • Country: hu
  • OS:
  • Windows XP Windows XP
  • Browser:
  • Firefox 42.0 Firefox 42.0
    • View Profile
    • http://enterprise.iko.hu/
Re: PC -> EP képkonverzió
« Reply #518 on: 2015.December.04. 15:31:59 »
On real tv:
14244-0

Do you have a SD interface? On a .VHD (with lot of EP programs) you can found many converted image packs, can you try it on your real machine and tv.

Offline ssr86

  • EP user
  • *
  • Posts: 359
  • Country: pl
  • OS:
  • Windows NT 6.2 Windows NT 6.2
  • Browser:
  • Chrome 46.0.2490.86 Chrome 46.0.2490.86
    • View Profile
Re: PC -> EP képkonverzió
« Reply #519 on: 2015.December.04. 15:39:57 »
On real tv:
(Attachment Link)

Do you have a SD interface? On a .VHD (with lot of EP programs) you can found many converted image packs, can you try it on your real machine and tv.
I've just tried an epslideshow. Still curious what it would look with some flicker techniques... Are the images in the slideshow (puppies, parrots) in interlace or normal because I can't tell. Also what is the reason for the way the images load or get shown? Is it because of some compression or it's a limitation of the uses video mode?

EDIT:
watching the slideshow makes me think that you could do an adventure game with this mode (maybe not scumm-like - more like the text adventures but with a mouse ui).
Maybe something like rise of the dragon: https://www.youtube.com/watch?v=FKpkkQH6ZT4 . Or one of many japanese visual novels (snatcher, policenauts or the ero-ones;P)... - that kind of games

EDIT: so this mode is: up to 16 different colors per line, but only 2 colors per 8x1, yes?
« Last Edit: 2015.December.04. 15:51:48 by ssr86 »

Offline geco

  • EP addict
  • *
  • Posts: 6288
  • Country: hu
  • OS:
  • Linux Linux
  • Browser:
  • Firefox 38.0 Firefox 38.0
    • View Profile
Re: PC -> EP képkonverzió
« Reply #520 on: 2015.December.04. 15:58:24 »
You se strange screen during loading, because of the behaviour of attribute screen, 1st Attribute memory filled, and after bitmap memory. If you switch off the screen before loading, and turn on after loading you do not see this "effect"

Offline IstvanV

  • EP addict
  • *
  • Posts: 4825
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 42.0 Firefox 42.0
    • View Profile
Re: PC -> EP képkonverzió
« Reply #521 on: 2015.December.04. 17:28:13 »
hmmm...
could someone do a preview of how it would look on a real tv when there would be two screens with slighly different dither or colors and exchange them at every frame for the shown game screen? But for the not-interlaced version... I'm really curious..because it should "polish" the dither somewhat...although I wonder how much flicker it will produce...
Please;)

If you have a monitor that supports 100 Hz or 50 Hz refresh rate, then it can also be tested with the emulator. Some LCD monitors do not advertise 50 Hz minimum refresh rate, but can actually still be forced to display it without problems. Setting double buffered video mode in the emulator, it will show the picture correctly with the flicker.

Another solution to display interlaced images on the emulator with 50 Hz flicker is to use the "resample to monitor refresh rate" mode. However, this does add some temporal blur, which smooths the flickering.

Alternatively, one can also speed up the emulation so that the refresh rate becomes 60 Hz, which is supported by all LCD monitors, and then use double buffered video mode. This can be done by setting the emulation speed to 120% (loading a text format configuration file that contains the line vm.speedPercentage 120), or by increasing the NICK frequency in the configuration from 889846 to 1068750 characters per second.

Quote
EDIT: so this mode is: up to 16 different colors per line, but only 2 colors per 8x1, yes?

Yes, but only 8 of the 16 colors can be set separately for each line, the rest are defined by the BIAS value for the entire screen, and these colors are generally used less by the converter (because no matter what BIAS it chooses, there will likely be some not very useful colors on the palette).
« Last Edit: 2015.December.04. 17:33:10 by IstvanV »

Offline IstvanV

  • EP addict
  • *
  • Posts: 4825
  • OS:
  • Linux Linux
  • Browser:
  • Firefox 39.0 Firefox 39.0
    • View Profile
Re: PC -> EP képkonverzió
« Reply #522 on: 2015.December.04. 20:50:11 »
Egy másik kép konvertálva:

epimgconv_sse2 -mode 16 -size 46 276 -quality 9 -scalemode 1 -outfmt 1 Monument-Valley-1.jpg mv2.pic -scale 1.4 1.4 -offset -8 0 -palres 1 -dither 1 0.5 -ymin -0.4 -ymax 1.0 -bias 31


Offline Ep128

  • EP addict
  • *
  • Posts: 1750
  • Country: hu
  • OS:
  • Windows Vista/Server 2008 Windows Vista/Server 2008
  • Browser:
  • Firefox 42.0 Firefox 42.0
    • View Profile
    • Honlapom
Re: PC -> EP képkonverzió
« Reply #523 on: 2015.December.04. 23:37:11 »
Nagyon jó lett! :-)

Offline geco

  • EP addict
  • *
  • Posts: 6288
  • Country: hu
  • OS:
  • Linux Linux
  • Browser:
  • Firefox 38.0 Firefox 38.0
    • View Profile
Re: PC -> EP képkonverzió
« Reply #524 on: 2015.December.05. 08:48:57 »
Ez igen, jobb lett, mint a másik :)