Movie Player

This board is to show, discuss and archive useful combinator- and logic-creations.
Smart triggering, counters and sensors, useful circuitry, switching as an art :), computers.
Please provide if possible always a blueprint of your creation.

Movie Player

Postby DaveMcW » Sun Nov 20, 2016 10:10 am

I built a full color movie player. See it in action:

Image

Or download the save: sandstorm.zip


It has a 178x100 display, and 34MB of memory. In theory it could run at 60 FPS, in practice it runs at 1 FPS in Factorio 0.14.

I designed the movie player in 10 sections, then built them all from the same blueprint.

10-sections.jpg
10-sections.jpg (323.65 KiB) Viewed 149555 times

Each section has 3 parts: display, decoder, and memory.

display-decoder-memory.jpg
display-decoder-memory.jpg (116.95 KiB) Viewed 149555 times
Last edited by DaveMcW on Sun Nov 20, 2016 10:24 am, edited 1 time in total.
User avatar
DaveMcW
Smart Inserter
Smart Inserter
 
Posts: 1910
Joined: Tue May 13, 2014 11:06 am

Re: Movie Player

Postby DaveMcW » Sun Nov 20, 2016 10:13 am

Display

I use this combinator design to fit many color signals on one wire.

color-signals.gif
color-signals.gif (320.95 KiB) Viewed 149551 times

The processing time is O(n^2) where n is the number of signals the wire. So I split the signals between 5 wires to improve performance. Three wires can run along a column of combinators, and the other two hop along lamps to reach the distant combinators. The wire diagram looks like this. (They are really all green wires.)

wire-diagram.jpg
wire-diagram.jpg (432.86 KiB) Viewed 149551 times
User avatar
DaveMcW
Smart Inserter
Smart Inserter
 
Posts: 1910
Joined: Tue May 13, 2014 11:06 am

Re: Movie Player

Postby DaveMcW » Sun Nov 20, 2016 10:15 am

Decoder

The decoder takes 5x 30-bit signals as input, and produces 50x 3-bit colors as output.

decoder.jpg
decoder.jpg (312.06 KiB) Viewed 149550 times

Here is how it works on a binary level:

binary.jpg
binary.jpg (74.77 KiB) Viewed 73671 times

Encoder

I published my encoder script on GitHub: https://github.com/DaveMcW/factorio-movie-maker
Last edited by DaveMcW on Wed Nov 23, 2016 9:33 am, edited 3 times in total.
User avatar
DaveMcW
Smart Inserter
Smart Inserter
 
Posts: 1910
Joined: Tue May 13, 2014 11:06 am

Re: Movie Player

Postby DaveMcW » Sun Nov 20, 2016 10:17 am

Memory

The memory uses a simple lookup scheme, with a frame select signal on the green wire and 180 data signals on the red wire.

memory.jpg
memory.jpg (297.89 KiB) Viewed 149547 times

This decider combinator setup has poor performance when used with a high number of signals. Here are my performance stats:

performance.jpg
performance.jpg (454.06 KiB) Viewed 149547 times
User avatar
DaveMcW
Smart Inserter
Smart Inserter
 
Posts: 1910
Joined: Tue May 13, 2014 11:06 am

Re: Movie Player

Postby Danielv123 » Sun Nov 20, 2016 10:43 am

This is all well and good, but... Songname?
Danielv123
Inserter
Inserter
 
Posts: 38
Joined: Sun Jan 03, 2016 10:28 am

Re: Movie Player

Postby Smarty » Sun Nov 20, 2016 11:21 am

holy.. but... but..

That is amazing!
User avatar
Smarty
Global Moderator
Global Moderator
 
Posts: 748
Joined: Sat Oct 04, 2014 5:00 pm
Location: My house

Re: Movie Player

Postby Acarin » Sun Nov 20, 2016 12:34 pm

Dave, you never cease to amaze me with your Factorio skills. That is... Extremely impressive :-)
Acarin
Long Handed Inserter
Long Handed Inserter
 
Posts: 91
Joined: Thu Sep 01, 2016 3:58 pm
Location: Leeds, W Yorkshire, UK

Re: Movie Player

Postby Grimakar » Sun Nov 20, 2016 1:23 pm

You really should put this save to the Performance optimization - post your saves Thread. This really makes my computer burn :D
Grimakar
Fast Inserter
Fast Inserter
 
Posts: 106
Joined: Sun Mar 06, 2016 12:19 pm

Re: Movie Player

Postby Necriptos » Sun Nov 20, 2016 2:00 pm

holy hell how on earth
Necriptos
Burner Inserter
Burner Inserter
 
Posts: 10
Joined: Fri Nov 14, 2014 1:19 pm

Re: Movie Player

Postby jasa_m » Sun Nov 20, 2016 5:18 pm

amazing!!
jasa_m
Manual Inserter
Manual Inserter
 
Posts: 3
Joined: Tue Dec 30, 2014 1:10 am

Re: Movie Player

Postby steinio » Sun Nov 20, 2016 5:21 pm

How can i watch the Netflix Series? :)
ImageImage
Transport Belt Repair Man
My little mods: Link | My favourite mods: Bob's Mods | Angel's Mods | EvoGUI | Uranium Power | Yuoki Railway Core |

View unread Posts
steinio
Smart Inserter
Smart Inserter
 
Posts: 1108
Joined: Sat Mar 12, 2016 4:19 pm

Re: Movie Player

Postby RichPL » Sun Nov 20, 2016 11:00 pm

I'm out....

srs tho.

I consider myself not too un-smart, heck sometimes I get a little swell of pride when I do something moderately clever. But this, this blows my freekin' mind.
RichPL
Manual Inserter
Manual Inserter
 
Posts: 2
Joined: Fri Aug 26, 2016 4:34 pm

Re: Movie Player

Postby Axios » Mon Nov 21, 2016 12:20 am

Amazing! Congratulations!
Axios
Burner Inserter
Burner Inserter
 
Posts: 13
Joined: Fri Nov 11, 2016 9:21 am
Location: Italy

Re: Movie Player

Postby impetus maximus » Mon Nov 21, 2016 12:39 am

Factorio might get an AO rating now. :lol:

really impressive. holy cow.
recruiting east coast/mid west US players with mics (mumble) for private Co-Op 0.14.* server.
PM if interested.
User avatar
impetus maximus
Filter Inserter
Filter Inserter
 
Posts: 473
Joined: Sat Aug 20, 2016 10:07 pm

Re: Movie Player

Postby JJosh » Mon Nov 21, 2016 3:44 am

But before we talk about the circuit network, we have to talk about parallel universes.
JJosh
Burner Inserter
Burner Inserter
 
Posts: 11
Joined: Sun Feb 01, 2015 6:47 am

Re: Movie Player

Postby Grimakar » Mon Nov 21, 2016 10:16 am

Hey Dave, you made it. The Gamestar is writing about you^^
http://www.gamestar.de/spiele/factorio/ ... 05606.html

Hope you understand german :D
Grimakar
Fast Inserter
Fast Inserter
 
Posts: 106
Joined: Sun Mar 06, 2016 12:19 pm

Re: Movie Player

Postby GosuGian » Mon Nov 21, 2016 11:06 am

Holyshit!
MIND = BLOWN
GosuGian
Manual Inserter
Manual Inserter
 
Posts: 1
Joined: Mon Nov 21, 2016 11:04 am

Re: Movie Player

Postby Zeblote » Mon Nov 21, 2016 1:28 pm

60000 views in 1 day ...?
Zeblote
Filter Inserter
Filter Inserter
 
Posts: 864
Joined: Fri Oct 31, 2014 11:55 am

Re: Movie Player

Postby aober93 » Mon Nov 21, 2016 3:09 pm

yeas got news coverage lol
aober93
Filter Inserter
Filter Inserter
 
Posts: 295
Joined: Tue Aug 30, 2016 9:07 pm

Re: Movie Player

Postby Rahjital » Mon Nov 21, 2016 4:53 pm

Holy crap, 34 megabytes of memory! With that you could store the entirety of Doom 1 and 2 and still have 8MB to spare. That's seriously impressive!
Rahjital
Filter Inserter
Filter Inserter
 
Posts: 433
Joined: Thu May 29, 2014 10:44 am

Next

Return to Combinator Creations

Who is online

Users browsing this forum: No registered users and 1 guest