Tuesday, May 25, 2010

IGPX Restored

Good news: the winning/losing image files for the IGPX microseries were recovered thanks to the efforts of an anonymous (unless he wants to be mentioned) person.




Check out the now-complete version of IGPX @ Toonami: Lost Data.

Thursday, May 20, 2010

Toonami Reactor 2.5 Widescreen


(Now with 50% less resizing!)

After some work, Reactor 2.5 now has a "widescreen" layout.  This should work well considering that YouTube standard definition video is far larger than the original Reactor's tiny streaming content.  The Reactor and navigation panes were moved to the bottom half of the screen to accommodate the change. 

In addition, Toonami promos should now play between episodes of series.  More than that and they risk annoying the viewer.  The promos are randomly selected, so they won't necessarily match any particular time period of Toonami.  There are also "Intro" and "Later" bumpers that activate at the beginning and end of a playlist.

See the Toonami Reactor 2.5 Widescreen version.

Or proceed to the 'old' version of Toonami Reactor.

Wednesday, May 19, 2010

Accident #1

I think I accidentally deleted someone's comment.  It was whoever mentioned "wee".

Wednesday, May 12, 2010

He-Man Games

Oddly, the only games produced for He-Man and the Masters of the Universe were made for the Toonami UK website.  The only He-Man-related item on the U.S. Toonami website was a "Map of Eternia".  Part of that is in the Wayback Machine, but it is mostly broken.

The Courage of Adam @ Toonami: Lost Data
(It would be easier if you could ride the tiger.)

The Courage of Adam:  Race back and forth as Skeletor tries to hit Adam with energy bolts.  Tranform into He-Man and use the shield to reflect lightning ("purple") blasts. 

Lair of the Slime Mutant @ Toonami: Lost Data
(Stupid bug-monsters.)

Lair of the Slime Mutant is quite a bit more fun than Courage, but is fantastically difficult.  Jump platforms and try to kill beasts as they cheat and hit you no matter what.

Saturday, May 8, 2010

fsed.sh

After downloading the Toonami Reactor web files from the Internet Archive, I needed to strip out all the Wayback Machine code/markers.  The Wayback Machine added JavaScript code to rewrite HTML links thus maintaining "temporal integrity".  These needed to be removed for Reactor 2.5 to function properly.  Removing them manually would be too time consuming and frustrating.  The application Cygwin provided access to many tools such as sed that allow for bulk replacement of text.  However, sed (or this version on least) can only replace text on a single line.  The solution was to write a custom bash script to replace newline characters ('\n') with the bell character ('\a') and switch back after removing the offending text.  See code:

#!/bin/bash
# fsed.sh
# Name: File sed
# Replaces all newlines with the bell (\a), performs sed,
# then switches back.

regex=$1;
# Shift the argument array, to move the regex value. 
shift
for i in $*
do
  cat $i | tr "\n" "\a" | sed "$regex" | tr "\a" "\n" > $i;
done

Called like this: >fsed.sh "/regex/replace/g" ./*.html
(Of course, this is designed to work on a mass of files.  And it's incredibly dangerous, what with rewriting files and such.  Use caution.)

It's possible there are other escape characters other than the bell that could be used, but it worked well enough at the time.