Skip to content

badabum007/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

 
 
 

Contributors

Languages

  • C 99.9%
  • Makefile 0.1%