Skip to content

JakeSteam/junkbot-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Junkbot

This project extracts all of Junkbot's source code and assets for preservation purposes. Previously, it was all buried within a 20+ year old Adobe Director project.

Note that the .ls files are written in "Lingo" (Adobe Director), not "LINGO" (mathematical modelling), or "LiveScript" (JS).

Project structure

Files

The /files/ directory contains all extracted scripts (.ls), images (.bmp), sounds (.wav / .mp3), Flash animations (.swf), and text (.txt).

To try and keep a bit of structure, scripts are organised according to their "cast" (group) in the original project (e.g. editor, or sound), and with their script type (cast_ / behavior_ / movie_ / parent_) as a prefix.

A few interesting areas to highlight:

And a few asset bugs:

And just some assets I like:

Reference

The /reference/ directory contains a few useful files:

  • director_reference.pdf: Adobe's official 1,426 page guide to Director programming (in Lingo). Whilst this is useful for specific function definitions, Lingo itself is pretty readable if you know other languages.
  • junkbot2_13g_asp.dcr: The original Junkbot game, taken from an Archive.org backup.
  • junkbot2_13g_asp.dir: The .dcr file decompiled (guide).

Modified assets

SWA sound files

Some sound files were originally .SWA, which can't easily be played. Luckily, this format is just .MP3 with extra data, so renaming to .MP3 made them playable. Thanks, "hp3" from 2004!

1-bit Bitmaps

A few bitmaps were exported with a bit depth of 1 (e.g. black and white). These didn't work properly on modern OS, so have been converted to a bit depth of 8.

The affected files are the 9 "cursor" files inside Internal.

Utilities