Page 1 of 4

### Movie Player

Posted: Sun Nov 20, 2016 10:10 am
I built a full color movie player. See it in action:

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 (323.65 KiB) Viewed 249655 times

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

display-decoder-memory.jpg (116.95 KiB) Viewed 249655 times

### Re: Movie Player

Posted: Sun Nov 20, 2016 10:13 am
Display

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

color-signals.gif (320.95 KiB) Viewed 249651 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 (432.86 KiB) Viewed 249651 times

### Re: Movie Player

Posted: 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 (312.06 KiB) Viewed 249650 times

Here is how it works on a binary level:

binary.jpg (74.77 KiB) Viewed 173771 times

Encoder

I published my encoder script on GitHub: https://github.com/DaveMcW/factorio-movie-maker

### Re: Movie Player

Posted: 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 (297.89 KiB) Viewed 249647 times

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

performance.jpg (454.06 KiB) Viewed 249647 times

### Re: Movie Player

Posted: Sun Nov 20, 2016 10:43 am
This is all well and good, but... Songname?

### Re: Movie Player

Posted: Sun Nov 20, 2016 11:21 am
holy.. but... but..

That is amazing!

### Re: Movie Player

Posted: Sun Nov 20, 2016 12:34 pm
Dave, you never cease to amaze me with your Factorio skills. That is... Extremely impressive

### Re: Movie Player

Posted: 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

### Re: Movie Player

Posted: Sun Nov 20, 2016 2:00 pm
holy hell how on earth

### Re: Movie Player

Posted: Sun Nov 20, 2016 5:18 pm
amazing!!

### Re: Movie Player

Posted: Sun Nov 20, 2016 5:21 pm
How can i watch the Netflix Series?

### Re: Movie Player

Posted: 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.

### Re: Movie Player

Posted: Mon Nov 21, 2016 12:20 am
Amazing! Congratulations!

### Re: Movie Player

Posted: Mon Nov 21, 2016 12:39 am
Factorio might get an AO rating now.

really impressive. holy cow.

### Re: Movie Player

Posted: Mon Nov 21, 2016 3:44 am
But before we talk about the circuit network, we have to talk about parallel universes.

### Re: Movie Player

Posted: Mon Nov 21, 2016 10:16 am
http://www.gamestar.de/spiele/factorio/ ... 05606.html

Hope you understand german

### Re: Movie Player

Posted: Mon Nov 21, 2016 11:06 am
Holyshit!
MIND = BLOWN

### Re: Movie Player

Posted: Mon Nov 21, 2016 1:28 pm
60000 views in 1 day ...?

### Re: Movie Player

Posted: Mon Nov 21, 2016 3:09 pm
yeas got news coverage lol

### Re: Movie Player

Posted: 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!