Skip to content

antonstakhouski/lode_decode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lode_decode
===========

Original LODE RUNNER level decoder.

Compile:

gcc decode.c -o decode

Run to decode the desired level:

./decode loderun.dat 14

Output should look like this:

     00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#00 ......├─┤......... E ............───......... E ───├─┤............├─┤───... o
#01 ...───├─┤.........───├─┤───.........───......───...├─┤───.........├─┤...───├─┤
#02 ───...├─┤......───...├─┤...───............───......├─┤...───......├─┤......├─┤
#03  o ...├─┤...───......├─┤......───......───.........├─┤......─── o ├─┤...───├─┤
#04 ......├─┤───......───├─┤.........──────............├─┤ o ......───├─┤......├─┤
#05 ├─┤───.........───...├─┤───......──────......───...├─┤──────────────────......
#06 ├─┤...───.........───├─┤......─── o ...───.........├─┤......───.........├─┤...
#07 ├─┤───...───.........├─┤ o ──────├─┤......───......├─┤...............───├─┤...
#08 ├─┤...───...───......├─┤──────...├─┤.........───...├─┤............───...├─┤...
#09 ├─┤───... o ...─── E ├─┤───......├─┤...───......───├─┤───......───......├─┤...
#10 ├─┤...───├─┤......───............├─┤.........───.........───............├─┤...
#11 ├─┤───...├─┤.........───.........├─┤......───...───.........───.........├─┤...
#12 ├─┤...───├─┤...───......───......├─┤ o ───.........───.........───......├─┤...
#13 ├─┤───...├─┤...............───...├─┤───...───...... o ───.........───...├─┤ o
#14 ├─┤...───├─┤......───.........───├─┤...............───...───...───...───├─┤───
#15 .........├─┤............... o ............... o  P .....................├─┤...

Run to decode the desired level in raw mode (encoded with bare numbers):

./decode loderun.dat 14 raw

Output should look like this:

26 16
00 00 03 00 00 00 06 00 00 00 00 07 00 00 00 06 07 03 00 00 00 00 03 07 00 04
00 07 03 00 00 00 07 03 07 00 00 00 07 00 00 07 00 03 07 00 00 00 03 00 07 03
07 00 03 00 00 07 00 03 00 07 00 00 00 00 07 00 00 03 00 07 00 00 03 00 00 03
04 00 03 00 07 00 00 03 00 00 07 00 00 07 00 00 00 03 00 00 07 04 03 00 07 03
00 00 03 07 00 00 07 03 00 00 00 07 07 00 00 00 00 03 04 00 00 07 03 00 00 03
03 07 00 00 00 07 00 03 07 00 00 07 07 00 00 07 00 03 07 07 07 07 07 07 00 00
03 00 07 00 00 00 07 03 00 00 07 04 00 07 00 00 00 03 00 00 07 00 00 00 03 00
03 07 00 07 00 00 00 03 04 07 07 03 00 00 07 00 00 03 00 00 00 00 00 07 03 00
03 00 07 00 07 00 00 03 07 07 00 03 00 00 00 07 00 03 00 00 00 00 07 00 03 00
03 07 00 04 00 07 06 03 07 00 00 03 00 07 00 00 07 03 07 00 00 07 00 00 03 00
03 00 07 03 00 00 07 00 00 00 00 03 00 00 00 07 00 00 00 07 00 00 00 00 03 00
03 07 00 03 00 00 00 07 00 00 00 03 00 00 07 00 07 00 00 00 07 00 00 00 03 00
03 00 07 03 00 07 00 00 07 00 00 03 04 07 00 00 00 07 00 00 00 07 00 00 03 00
03 07 00 03 00 00 00 00 00 07 00 03 07 00 07 00 00 04 07 00 00 00 07 00 03 04
03 00 07 03 00 00 07 00 00 00 07 03 00 00 00 00 00 07 00 07 00 07 00 07 03 07
00 00 00 03 00 00 00 00 00 04 00 00 00 00 00 04 05 00 00 00 00 00 00 00 03 00

About

Original LODE RUNNER level decoder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.9%
  • Makefile 0.1%