The Crayon Factory is one part virtual crayon factory tour, one part blue-collar worker simulator, and one part coloring book (both in-game and through a bundled physical book).
Development Files#
|
|
To do: |
Download The Crayon Factory Development Files File: CrayonFactoryCDi DevPrograms.zip (161 KB) (info) |
Present in all known versions of The Crayon Factory is a folder named .debugDir, which contains 14 files meant for developing and debugging the game with a CD-i development kit or OS-9 compatible computer. The contents of the files are, in rough alphabetical order:
- cdi_b: An almost blank file that just has a header at the beginning.
- cdi_crayon.stb: Contains a data array and a list of the code's function headers. The location of this file is quite unusual, as other CD-i games with .stb files put them in the disc's main directory.
- cdi_crayonDebug: A debugging version of the used file cdi_crayon, with additional code and strings meant for a debugging mode.
- cdi_crayonDebug.config: A debugging version of the used file cdi_crayon.config. The only difference between the two are a few changed bytes.
- cdi_crayonDebug.dbg: Contains various file paths and config settings for the CD-i authoring tool Balboa.
- cdi_crayonDebug.stb: A debugging version of the aforementioned file cdi_crayon.stb. The array is completely different, while the list had some debugging functions added. See below for an exact list.
- cdi_plana, cdi_planb0, cdi_planb1, cdi_planb3, and cdi_planb4: These five files' contents are nearly identical to cdi_b's. Strangely, there is no cdi_planb2 file.
- r256: Ditto, but this file contains an extra string, RBF Ram. This is in reference to the OS-9 RBF File System, which the CD-i only utilized in models with a built-in floppy disk drive.
- ram: A "volatile" RAM disk containing random bits of data, as well as the hidden Robert Doggett credit/message present in older versions of OS-9 software.
- rbf: Another RBF-related file, which contains data for an unknown reason or purpose.
cdi_crayonDebug.stb#
The following functions are exclusive to cdi_crayon.stb's debugging variant, cdi_crayonDebug.stb:
startState
debugFlag
interlaceFlag
poFileNameCount
po
fot
efxDebug
efxProj
st_mgr_string
st_type_string
st_head_ptr
st_tail_ptr
st_start_ptr
st_end_ptr
st_print
st_mem_ptr
st_mem_size
stat_mgr_mask
stat_typ_mask
usage
StrToLab
MemPrintStatus
Dump
LDM
DebugDisplayStateName
play_bumper
abort_bumper
bump_setup_dcp
bump_build_pcb
bump_build_pcl
bump_get_cmem
bump_ret_cmem
parse_options
parse_file_options
examine_arg
print_options
CheckKeyInit
KeyHit
SimPlayErrorCB
CheckKey
DebugKey
ShowMemMap
getblkmap
GetEfxProj
GetEfxName
CfPrintCrayonInfo
CFDebugStoryColor
CFDebugGetColor
ve_close
ve_close_mem
ve_remove
ve_remove_sys
debug_dispatch
st_init_status
st_close_status
st_record_status
st_print_rec
vsync_remove_videnv
bp_char2str
bp_dump_cur_event
bp_get_ticks
ssig
pt_rel
puts
fputs
printf
fprintf
sprintf
scanf
fscanf
sscanf
fwrite
getc
ungetc
getw
putc
putw
_tidyup
fclose
fflush
_flsbuf
_setbase
setbuf
ftell
atof
strtod
chdir
chxdir