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.
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3716
Joined: Tue May 13, 2014 11:06 am
Contact:

Movie Player

Post by DaveMcW »

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 441783 times
Each section has 3 parts: display, decoder, and memory.
display-decoder-memory.jpg
display-decoder-memory.jpg (116.95 KiB) Viewed 441783 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: 3716
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Movie Player

Post by DaveMcW »

Display

I use this combinator design to fit many color signals on one wire.
color-signals.gif
color-signals.gif (320.95 KiB) Viewed 441779 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 441779 times
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3716
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Movie Player

Post by DaveMcW »

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 441778 times
Here is how it works on a binary level:
binary.jpg
binary.jpg (74.77 KiB) Viewed 365899 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: 3716
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Movie Player

Post by DaveMcW »

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 441775 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 441775 times
Danielv123
Inserter
Inserter
Posts: 48
Joined: Sun Jan 03, 2016 10:28 am
Contact:

Re: Movie Player

Post by Danielv123 »

This is all well and good, but... Songname?
User avatar
Smarty
Global Moderator
Global Moderator
Posts: 816
Joined: Sat Oct 04, 2014 5:00 pm
Contact:

Re: Movie Player

Post by Smarty »

holy.. but... but..

That is amazing!
Acarin
Long Handed Inserter
Long Handed Inserter
Posts: 94
Joined: Thu Sep 01, 2016 3:58 pm
Contact:

Re: Movie Player

Post by Acarin »

Dave, you never cease to amaze me with your Factorio skills. That is... Extremely impressive :-)
Grimakar
Fast Inserter
Fast Inserter
Posts: 106
Joined: Sun Mar 06, 2016 12:19 pm
Contact:

Re: Movie Player

Post by Grimakar »

You really should put this save to the Performance optimization - post your saves Thread. This really makes my computer burn :D
User avatar
Necriptos
Inserter
Inserter
Posts: 24
Joined: Fri Nov 14, 2014 1:19 pm
Contact:

Re: Movie Player

Post by Necriptos »

holy hell how on earth
jasa_m
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Dec 30, 2014 1:10 am
Contact:

Re: Movie Player

Post by jasa_m »

amazing!!
User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2638
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: Movie Player

Post by steinio »

How can i watch the Netflix Series? :)
Image

Transport Belt Repair Man

View unread Posts
RichPL
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Aug 26, 2016 4:34 pm
Contact:

Re: Movie Player

Post by RichPL »

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.
Axios
Inserter
Inserter
Posts: 27
Joined: Fri Nov 11, 2016 9:21 am
Contact:

Re: Movie Player

Post by Axios »

Amazing! Congratulations!
User avatar
impetus maximus
Smart Inserter
Smart Inserter
Posts: 1299
Joined: Sat Aug 20, 2016 10:07 pm
Contact:

Re: Movie Player

Post by impetus maximus »

Factorio might get an AO rating now. :lol:

really impressive. holy cow.
JJosh
Burner Inserter
Burner Inserter
Posts: 12
Joined: Sun Feb 01, 2015 6:47 am
Contact:

Re: Movie Player

Post by JJosh »

But before we talk about the circuit network, we have to talk about parallel universes.
Grimakar
Fast Inserter
Fast Inserter
Posts: 106
Joined: Sun Mar 06, 2016 12:19 pm
Contact:

Re: Movie Player

Post by Grimakar »

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

Hope you understand german :D
GosuGian
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Nov 21, 2016 11:04 am
Contact:

Re: Movie Player

Post by GosuGian »

Holyshit!
MIND = BLOWN
Zeblote
Filter Inserter
Filter Inserter
Posts: 973
Joined: Fri Oct 31, 2014 11:55 am
Contact:

Re: Movie Player

Post by Zeblote »

60000 views in 1 day ...?
aober93
Filter Inserter
Filter Inserter
Posts: 453
Joined: Tue Aug 30, 2016 9:07 pm
Contact:

Re: Movie Player

Post by aober93 »

yeas got news coverage lol
Rahjital
Filter Inserter
Filter Inserter
Posts: 435
Joined: Thu May 29, 2014 10:44 am
Contact:

Re: Movie Player

Post by Rahjital »

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!
Post Reply

Return to “Combinator Creations”