Publishing Double Switch

Part 1 of this blog: Deconstructing Double Switch.

Part 2 of this blog: Recreating Double Switch.

Part 3 of this blog: Composing Double Switch.

Related post: Project NEMO And the Unfortunate Demise of FMV Games.

Page Divider

Having had to play the game a few times myself to figure out some timings and work out the order of a few clips, it became obvious the game has a random element to it. Each time you play the Thugs and Intruders are different. However, it appears the rooms and entry times stay the same. This gives the player a chance to remember the structure of the game, although the video elements and trigger points differ and therefore could affect the perfect run. The final video below shows every thug and every intruder (repeated several times, as they are in the game too), with both trap and non-trap versions. I hope you like the final version. It took some blood, sweat and tears.

Screen Shot 2015-08-01 at 23.51.36

Page Divider

The hope of creating such a video was to re-ignite interest in the game. I’d love to get involved with any re-release or porting, although I’m not in any way a programmer. But financially I’d love to support such a thing, should it become an Indiegogo or Kickstarter campaign.

As a quick example of how a DVD version of the game could work, I created this video. Hopefully it sparks some ideas.

The concept was great. The footage was great. The storyline and script were great. Finally, after a weeks worth of trials and tribulations, the fully rendered video is here. It shows every clip in the correct sequence in the game. It shows every occurrence of a Thug or Intruder, each with a trap and non-trap version. It didn’t come without a run of issues on my part. Missing clips, incorrect storyline order, unknown edit render errors.

Finally, I give you… Double Switch.

Page Divider

Part 1 of this blog: Deconstructing Double Switch.

Part 2 of this blog: Recreating Double Switch.

Part 3 of this blog: Composing Double Switch.

Related post: Project NEMO And the Unfortunate Demise of FMV Games.

Recreating Double Switch

Part 1 of this blog: Deconstructing Double Switch.

Part 3 of this blog: Composing Double Switch.

Part 4 of this blog: Publishing Double Switch.

Related post: Project NEMO And the Unfortunate Demise of FMV Games

This entry is documenting my sudden re-addiction to the Digital Pictures game Double Switch, and an attempt to help port it to other platforms using only the data from my original Sega CD copy. NOTE: I’m in no way capable of coding anything myself!

Page Divider

The easiest part of all this so far has been the video decoding. It’s time consuming, but easy enough. Since the converted AVI videos were created with out-of-sync audio, I went down the route of saving separate files. I’ve estimated that I’ve exported probably over 50’000 PNG frames which have then been re-sequenced and a separate WAV audio file applied before being re-saved with the same file name. This file still also includes the on-screen data as captured by the SCAT video software, so every newly created file is also being run though Handbrake video software to crop off the bottom and eliminate the unwanted data, and also shrinking down the video file from a 10mb AVI to 2mb MP4.

side-by-side

Analysing the file names has led me to the following conclusions; ALEX, BAND, BAS, BRU, GRADS, LOB and STOR are obviously the individual rooms of Alex‘s room, the band room, the basement, Brutus‘s room, the Graduates room, the lobby and basement storage.

File containing EST are establishing scenes, showing a character in their room not doing anything other than distracting you, and taking you away from other rooms that require traps to be set.

EF files are Eddie giving you a “screw up again…” warning, or a Fail and game over.

HF are the Handyman giving a fail before game over.

Files starting with 1, 2 or 3 indicate the storyline as Chapter 1, Chapter 2 or Chapter 3 of the game.

Files containing a 1, 2 or 3 elsewhere denote the order of clips.

The letter “T” indicates a clip containing a Thug who can be trapped.

The letter “I” indicates an Intruder dressed in green who can be trapped.

Therefore for example, ALEXT3_SGA is a trap scene in Alex’s room with the third bad guy in a black suit.

Easy!

Four other clips are self explanatory; Digital Pictures Logo, Easter Egg, Game Over and End Credits.

Page Divider

There’s a handful of things I’ve discovered along the way that I’ve had to keep an eye on. The Digital Pictures logo is 15fps, whereas everything else appears to be 12fps. This caught me out when I was trying to rebuild Image Sequences and the audio didn’t fit.

But more interesting, I noticed that any file on the Sega CD depicting the “ALEX” room is actually flopped in the game. What I mean by that is that it was shot on-set in-camera one way (and encoded and written to every disc that way), but when you actually play the game, every “ALEX” video clip is flipped the other way round. See the image below for perhaps a better representation of what I mean:

DS_flop

On the left is the SCAT video decode. On the right is the in-game footage. Curious!

It’s only the “ALEX” room that is affected. I imagine this to be something unforeseen during the shoot but when they came to the game edit, it made sense to flip the image around and make it look like the doors and windows were on the left side of the room and therefore logically it makes sense for the layout of The Edward Arms to have a room on one side, mirrored by a different room on the other. If you look closely enough you may very well spot Corey Haim holding items in his right hand in one room, but holds them in his left hand in Alex’s room. The suited bad guys have their handkerchiefs in their right breast pocket in the Alex room, but their proper  left breast pocket everywhere else. Alex’s room number is 321, as seen on the door in only THREE clips. It’s flipped in the game, but due to the degradation of the video clip you’d unlikely notice anyway.

Page Divider

FUN FACT: A similar “flopping” technique was done by James Cameron in the movie Terminator 2, when the canal truck chasing John Connor crashes through the bridge wall and plummets into the canal below. Actor Robert patrick wore a reversed police uniform and sat at a mock driving rig in the passenger seat, with the real driver hidden behind black tarp in the drivers seat. When the image was flipped it looked like Patrick was driving! Eddie Furlong also wore a reversed Public Enemy t-shirt so they could flip the image in the edit and have everything look correct.

I’ve written more about Terminator 2 in this blog post: Trailer Forensics: Terminator 2.

James Cameron took this a step further when filming Titanic by building one entire side of the ship, however every piece of text was written backwards and they flopped it in the edit. I even own a reversed prop piece; Jacks 3rd Class Boarding Passes as won in the card game! But I digress…

Page Divider

Another puzzle was discovered when I was putting the video clips in order to play them all  at the same time like a real CCTV system (see video at the end of the blog). Not all of the clips go in sequence. For example, Thug files numbered 1-4 followed by intruders numbered 1-4 in Alex’s room (ALEXT1, ALEXT2, ALEXT3, ALEXT4, ALEXI1, ALEXI2, ALEXI3, ALEXI4). Going through the file names whilst watching back a recorded version of the whole gameplay showed that the file names mostly appeared to be going in sequence. But there are a couple that don’t go in that order. Occasionally it’s 2, 4, 3 1. This is because there is a degree of randomisation in the game. Each time you play it bad guys appear in the same rooms at roughly the same time. but the clips that are played are random.

Page Divider

So I exported every single frame and every audio clip, and recompiled every clip to make a much more manageable MP4 version. I’ll keep the first batch edits with the original encoded data on, as I suspect in the future this data will correlate to the timeline in some way and will help in reconstructing the game. Another thing of note here is that not all the clips have a corresponding timecode on the data, so it’s not always going to be dead accurate on which clip goes where.

I’m certainly no games coder. I’m a Studio Director! So in the spirit of my line of work, here’s a sneak peek of what I envisage the final conversion could look like.

My idea would be fairly simple in principle; all the cameras play out in the sequence they normally would in real time, and by clicking on a CCTV screen at the right time you flag for the trap to be triggered. If you trigger the trap, the video plays up till the diversion point whereby the ‘trap’ version plays. If you don’t click the camera, the video clip continues to play out the non-trap sequence. Too many non-trap sequences and you fail. Likewise, perhaps a double-click on a camera showing the Code Numbers to allow Eddie to escape the basement indicates you’ve registered the number and therefore don’t fail either…

Who knows. At this stage, everything is speculation. I’m just editing a fancy video!

Now obviously in the game there are 7 areas, and I’ve only included 6 screens. Due to the fact Eddie is stuck in the basement for the majority of it and we don’t really see him, I’ve made the bottom-left screen both the basement and the storage area. So far I haven’t come across two clips that should play at the same time.

I’ve also scoured YouTube for “longplay” clips showing people playing the entire game in one sitting, so I can figure out which video clips are playing at which time. For the purpose of sound (which I didn’t really play with in the above video, but obviously needs work) it may be likely that some of the clips will move backwards or forwards along the timeline so as not to have spoken words clash on different cameras. Some sound may be dipped so it’s still audible, but it not being required for the purpose of the storyline.

For now, I’m marching on ahead with converting the videos. And when I get time I’ll put together a sequence spreadsheet with all the clips in the correct order and the aforementioned divergent points.

Page Divider

Part 1 of this blog: Deconstructing Double Switch.

Part 3 of this blog: Composing Double Switch.

Related post: Project NEMO And the Unfortunate Demise of FMV Games

Vietnam: The Long Unknown – What’s in the Bag(s)?

So what the heck does one take with them for a month long motorbike trip through Vietnam? This post could partially help with the answer…

Vietnam trip bags

I’m not good with packing. I tend to cram in completely unnecessary things and forget the essentials. Somehow vital items get carefully wrapped and packed away in a choreography of rolling and folding, yet my phone charger and toothbrush sit idly by the side. With this in mind I took it upon myself to pack the rucksack today, with the hope I’d learn from past mistakes and know exactly what I was and was not taking with me. Yes, the flight is 3 weeks away, but I like to plan early!

Firstly, initially I was only taking the rucksack. The decision to take a smaller bag became necessary as the helmet I had already bought for the trip was coming on as hand luggage, and not going in the hold of an aircraft where it’d get bashed and smashed to smithereens. There are some forums out there that suggested I wear the helmet as I board the plane, although in this day and age I doubt that’d go down well with… well, anyone. So a second bag was decided upon, which would allow me to carry daily things on the trip too, like food and water, or easy-access items such as my Canon camera. Obviously whilst riding I’ll be wearing the helmet, and when we’ve stopped the helmet will be carried with us or stowed in a hotel room.

Page Divider

So what’s in the bag(s)?

Small bag:

Open face helmet, goggles (came with the helmet!), iPad, Canon 550D, 11-16mm Tokina lens, 18-135 Canon lens, 50mm Canon lens, 8mm fish-eye lens, 3x 16GB SD cards, 2x Canon batteries, GoPro Hero3, GoPro cable, 8x GoPro mounts, GoPro links, GoPro waterproof case, GoPro helmet extension arm, iPhone cable, headphones. Oh, and 8x screws… I’ll explain later!

Big bag:

Waterproof jacket and trousers, spare jeans, tennis shoes, 2x pairs of shorts, 4x socks and pants, 4x t-shirts, 1x casual shirt, deodorant, toothpaste, toothbrush, DJI Phantom 2 Vision+ quadcopter (yes, really!), quadcopter controller, 2x Phantom batteries, Phantom charger, towel, anti-malaria tablets, bug spray, H4N Zoom microphone, pocket radio, 3.5mm audio cables.

What does all this cover?

The clothing options cover me for the travelling to and from Vietnam, riding a motorbike in both wet and dry conditions, and extras if we try the nightlife. The Canon 550D and lenses covers me for both photography and any video documenting. The GoPro and all the accessories cover the video aspect of us (“Clarence” and I) on the bikes. The DJI Phantom 2 Vision+ quadcopter is, quite simply, a radical piece of kit to shoot video from the air and provide awesome shots of us on the bikes. Totally unnecessary and overboard, but wicked nonetheless.

What’s with the microphone and cables?

Well, we’re not making a piece-to-camera documentary of our travels. However, I do have somewhat of an idea in mind for a video. Of course I’ll want to share a kick-ass video with you when this trip is all over. So the mic will record wild-track (essentially a few minutes of ambient sound of a particular area for the edit process), as well as recorded sound of the bikes, etc. I also have an idea to start and end the video as if a radio is being tuned in, so the pocket radio and cables will allow me to scroll through several frequencies and capture real-life radio in Vietnam and use that sample for the video. The items are small enough to be inconsequential to the weight of the rucksack anyway.

Page Divider

Security is another thing that I’ve been concerned with. Clearly neither “Clarence” or I want to be kidnapped, robbed or to ride off a cliff and never be found. With me being a geek, I’ve set up some measures to help us along the way.

Firstly, both bags have a bluetooth tracking device installed. There’s also one on my keys, and I’ll likely stick one on the bike (for a giggle). These TrackR StickR devices communicate with an App on my iPhone, and keep regular track of where the items are. If any go missing, I can use the App to see their last known locations, and hone in on them. The devices also communicate two-way, so by pressing a button on the bluetooth device (which is no bigger than a pound coin) the iPhone rings. Or I can press a button on the App, and the TrackR rings. Fingers crossed these items work as they should and nothing goes missing.

One major benefit to the TrackR App is that if I do lose an item, and someone else is running the App, and they are in close proximity to a missing device, their App (without pairing) will update the last known location on my map. So something hundreds of miles away could still be found, thanks to another TrackR user and their “Crowd GPS” function.

stickr

Secondly, I’ve installed an app on my iPhone called FollowMee. This App runs in the background and updates my location to a server online. If there’s no internet connection is records the GPS data anyway and uploads it whenever it gets the chance. It’s also clever in that it doesn’t run the battery flat with unnecessary uploads as it only updates if the location has changed, and by the specified update times I choose (anything from every minute to every 12 hours).

The benefit of this App is that our friends and family can keep track of our location by checking out my blog, where an embedded Live Map will track us in realtime. They don’t need to download some “Friends” app, nor do I have to give them any log-in details or get them to register on a special website. It’s hassle-free with a link I can email them which takes me to a secure and private map, or I can choose to embed the map anywhere I like (in this case, my travel blog!).

The App can also show where we’ve been, by keeping the last 24hrs worth of GPS logging data visible on the map. If we go missing, at least you’ll know roughly where we went missing! There’s no subscription fee for this service, just the £1.89 price of the App. There is also a free version, but that doesn’t keep the 7-day history.

They also have the ability to store 45 days or 90 days worth of location data, although you’d need to pay for this separately (a very reasonable $5 and $10 per YEAR respectively).

The App works on iOS, Android, Windows phones, Blackberry and the Amazon Kindle Fire.

blog_map

Of course all of this security depends on having an internet connection. I’ve spoken with my phone provider and they’ve unlocked my phone so it can be used anywhere in the world, and on any network. This means when I get to Vietnam I can switch out my UK SIM card with a pre-paid Vietnamese SIM card, pre-loaded with data and calls. I’m reliably informed there will be full coverage along the way, even if it drops to 2G/EDGE. It should be enough to keep us connected to the internet, and our locations known.

As a back-up, I’ve also installed an App called myTracks, which can either record your GPS location 24/7 or be set to short-record anything from 1min-24hrs. The App can then export/email the data and be used to trace a route at a later date. Both Apps will run for the duration of the trip. This App doesn’t upload our location, but stores the data locally.

Page Divider

Now, back to this helicopter… I appreciate that not everybody thinks of taking a remote control helicopter with them on holiday, but the opportunity to get amazing tracking and aerial shots is too good to miss. Yes, my friends and I have joked that I could start a war, should anyone decide that my drone is some sort of threat and it a) gets blown out of the sky, or b) it gets blown out of the sky and I get arrested. Either way, it’s packed.

So what’s with the 8x screws? Well, the only way I could fit the DJI Phantom into my rucksack was to remove the lower landing legs. All the cables stayed intact, but with the screws removed it means the legs can be folded over and out of the way. Otherwise the biggest and bulkiest thing in the rucksack is the quadcopter!

DJI-Phantom-2-Vision-Plus-Image-550x300

Social Experiment: “Can’t Live Without…”

Can you name one or two items that you own in which you can categorically say

“this is one of the best things I’ve ever bought!”

or

“I can’t live without this!”

I’ve listed here three things I consider to be my best purchases, and their reasons for it:

  • MacBook Pro. Ultra fast, does everything I need, it’s never let me down. Not once.
  • Canon 550D First proper Digital SLR camera I ever bought, easy to use, fantastic images. Always works.
  • Coffee Machine, It’s paid for itself (v Costa/Starbucks!), instant drink, costs a fraction against retail coffee!

Page Divider

This is an experiment, to compile feedback from Social Media (Facebook, Twitter, email, etc) regarding things that you folks consider to be their favourite or best items or belongings.

So far, what’s interesting is the lack of things I expected to be said, such as mobile phones, TVs or games consoles. Not one person has said one of these things! What does that say about trustworthiness and the reliability of those items?

Leave a message below, and I’ll update the list depending on the comments left!

Page Divider

UPDATE: Some answers given (besides your friends and family!) as follows:

  • Audi A3. Been a dream to drive since I bought it. No problems ever.
  • GoPro HERO3. Battery sucks, but for its size, it packs a punch!
  • Nutri Bullet. Kitchen blender that does soup, smoothies, ice cream. Fast and good for you.
  • Sony PSP. Totally out of date, but hacked to play games off a 32GB Memory Card, 20+ games for kids car journeys.
  • Blue Yeti Microphone. IT IS one of the best things I’ve ever bought!
  • SoundMAGIC E10M in-ear headphones. Really comfortable. Excellent frequency response. In-line iPhone control.
  • Laptop. Use it to communicate with friends, research, purchase items online, read e-books, code websites, watch TV