Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - [Coding competition 2013] SMS FMV Demonstration by trap15

Reply to topic

Rate this entry!

1 (poor) 0% 0%
2 0% 0%
3 0% 0%
4 7% 7%
5 28% 28%
6 35% 35%
7 21% 21%
8 7% 7%
9 (excellent) 0% 0%
This poll has expired.
Author Message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14744
  • Location: London
Reply with quote
[Coding competition 2013] SMS FMV Demonstration by trap15
Post Posted: Thu Mar 21, 2013 11:36 pm
Last edited by Maxim on Fri Mar 29, 2013 2:39 pm; edited 1 time in total
http://www.smspower.org/Homebrew/SMSFMVDemonstration-SMS

Quote
Runs at 60 FPS.
Each pixel is 4x4 on-screen pixels.
4x2 pixels are supported, but buggy.
Change HEIGHT2X in the Makefile and top.S to 1 to enable.
Input data is command based.
Supports pause button.
Could support music, but I am not a musician...

PCX sequences created with these horrifying one-liners (ImageMagick required):
For 4x4:
convert pns.gif -coalesce -resize 85x48! -gravity Center -crop 64x48+0+0 \
+repage -level 62%,100%,1.0 +dither -colors 16 ./pns/pns48_%d.pcx
For 4x2:
convert pns.gif -coalesce -resize 85x96! -gravity Center -crop 64x96+0+0 \
+repage -level 62%,100%,1.0 +dither -colors 16 ./pns/pns96_%d.pcx

Image 0 also has a tendency to get saved as not 8BPP, in which case you will
need to convert it.

The converter is current set to optimize for speed. Change OPTIMIZE_METH to
optimize for size if you'd like. The difference is relatively minor, so it's
typically best to leave it at speed.

The 4x2 version does not seem to work in Mednafen due to the enormous size of
the ROM it seems (it works fine with 64 banks), but works in Meka just fine.


  View user's profile Send private message Visit poster's website
  • Joined: 25 Feb 2006
  • Posts: 874
  • Location: Belo Horizonte, MG, Brazil
Reply with quote
Post Posted: Fri Mar 29, 2013 2:35 pm
Nice techinical achievement.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14744
  • Location: London
Reply with quote
Post Posted: Fri Mar 29, 2013 3:04 pm
The source material is a bit weird, it seems to come out using rather fewer colours than I'd expect sometimes, it seems a bit glitchy (jumpy) but the technical idea behind it (multiple nametables for pixel splitting, halving the number of tiles needed) is very clever. Given the framerate I can't help thinking some compression could be added - possibly with the encoder judging the cycles per frame - to allow it to be a bit longer.

See also haroldoop's FMV experiments here:

http://www.smspower.org/forums/viewtopic.php?t=13923
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!