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: 2514
Joined: Tue May 13, 2014 11:06 am

Movie Player

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

Re: Movie Player

Post by 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 268418 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 268418 times

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 2514
Joined: Tue May 13, 2014 11:06 am

Re: Movie Player

Post by 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 268417 times
Here is how it works on a binary level:
binary.jpg
binary.jpg (74.77 KiB) Viewed 192538 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: 2514
Joined: Tue May 13, 2014 11:06 am

Re: Movie Player

Post by 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 268414 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 268414 times

Danielv123
Inserter
Inserter
Posts: 42
Joined: Sun Jan 03, 2016 10:28 am

Re: Movie Player

Post by Danielv123 » Sun Nov 20, 2016 10:43 am

This is all well and good, but... Songname?

User avatar
Smarty
Global Moderator
Global Moderator
Posts: 815
Joined: Sat Oct 04, 2014 5:00 pm

Re: Movie Player

Post by Smarty » Sun Nov 20, 2016 11:21 am

holy.. but... but..

That is amazing!

Acarin
Long Handed Inserter
Long Handed Inserter
Posts: 94
Joined: Thu Sep 01, 2016 3:58 pm

Re: Movie Player

Post by Acarin » Sun Nov 20, 2016 12:34 pm

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

Re: Movie Player

Post by 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

Necriptos
Inserter
Inserter
Posts: 20
Joined: Fri Nov 14, 2014 1:19 pm

Re: Movie Player

Post by Necriptos » Sun Nov 20, 2016 2:00 pm

holy hell how on earth

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

Re: Movie Player

Post by jasa_m » Sun Nov 20, 2016 5:18 pm

amazing!!

User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 1964
Joined: Sat Mar 12, 2016 4:19 pm

Re: Movie Player

Post by steinio » Sun Nov 20, 2016 5:21 pm

How can i watch the Netflix Series? :)
Image[url=steam://friends/add/'.76561198315557255.']Image[/url]
Transport Belt Repair Man
My little mods: Link | My favourite mods: Bob's Mods | Angel's Mods | Yuoki Railway Core | EvoGUI | Logistic Train Network
Factorio Cheat Sheet by Denis Zholob

View unread Posts

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

Re: Movie Player

Post by 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.

Axios
Burner Inserter
Burner Inserter
Posts: 16
Joined: Fri Nov 11, 2016 9:21 am

Re: Movie Player

Post by Axios » Mon Nov 21, 2016 12:20 am

Amazing! Congratulations!

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

Re: Movie Player

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

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

Re: Movie Player

Post by JJosh » Mon Nov 21, 2016 3:44 am

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

Re: Movie Player

Post by 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

GosuGian
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Nov 21, 2016 11:04 am

Re: Movie Player

Post by GosuGian » Mon Nov 21, 2016 11:06 am

Holyshit!
MIND = BLOWN

Zeblote
Filter Inserter
Filter Inserter
Posts: 972
Joined: Fri Oct 31, 2014 11:55 am

Re: Movie Player

Post by Zeblote » Mon Nov 21, 2016 1:28 pm

60000 views in 1 day ...?

aober93
Filter Inserter
Filter Inserter
Posts: 444
Joined: Tue Aug 30, 2016 9:07 pm

Re: Movie Player

Post by aober93 » Mon Nov 21, 2016 3:09 pm

yeas got news coverage lol

Rahjital
Filter Inserter
Filter Inserter
Posts: 435
Joined: Thu May 29, 2014 10:44 am

Re: Movie Player

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

Post Reply

Return to “Combinator Creations”