Blade Runner Reverse Engineering Blog [Check it out]

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

Post Reply
BaliosEX
Posts: 5
Joined: Wed Feb 12, 2014 11:57 pm

Blade Runner Reverse Engineering Blog [Check it out]

Post by BaliosEX »

I started a blog about reverse engineering Blade Runner here: http://westwoodbladerunner.blogspot.ca. I started decoding BLADE.EXE from WinMain and have put my findings in a psuedo code file named BLADE.CPP. I'm currently near the end of the DirectDraw initialization.

Buckle up, should be a fun ride. :D
digitall
ScummVM Developer
Posts: 1177
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall »

Good luck. See also https://github.com/madmoose/replicant which may be of help.
User avatar
Longcat
Posts: 1061
Joined: Sat Sep 23, 2006 3:15 pm

Post by Longcat »

I hope you finish this!
One of my favorite games :)
Ray McCoy without jagged edges would be a dream ...

Good luck!
BaliosEX
Posts: 5
Joined: Wed Feb 12, 2014 11:57 pm

Post by BaliosEX »

Thanks. I have seen Madmoose's Replicant project. I plan to incorporate my code into his project. :D
User avatar
sev
ScummVM Lead
Posts: 2304
Joined: Wed Sep 21, 2005 1:06 pm
Contact:

Post by sev »

So, just like many one-man projects with complexity like this, it died at a very early stage...


Eugene
User avatar
Longcat
Posts: 1061
Joined: Sat Sep 23, 2006 3:15 pm

Post by Longcat »

Yeah, looked promising, but I was checking regularly for updates and they stopped a long time ago.

Pity. I love Blade Runner.
BaliosEX
Posts: 5
Joined: Wed Feb 12, 2014 11:57 pm

Post by BaliosEX »

With a one-person operation distractions are costly to progress and I get preoccupied easily. When I have free time I would rather decode Blade Runner than update the blog, but then again, the blog should be updated more frequently just in case I get hit by a bus :lol:

A progress report will be posted to the blog in the next couple of days.

Well, I gotta keep it going full-steam so I can finish by year's end :shock:
User avatar
Longcat
Posts: 1061
Joined: Sat Sep 23, 2006 3:15 pm

Post by Longcat »

Glad to hear it :D

Looking forward to an update, good luck!
User avatar
Longcat
Posts: 1061
Joined: Sat Sep 23, 2006 3:15 pm

Post by Longcat »

Cool to see there are some updates, keep it going!
User avatar
md5
ScummVM Developer
Posts: 2250
Joined: Thu Nov 03, 2005 9:31 pm
Location: Athens, Greece

Post by md5 »

Great work! :)

I don't understand your reasoning for using ResidualVM for Blade Runner... you won't get any better quality in the in-game models with a hardware renderer.

Westwood used voxel graphics with the Blade Runner models. Essentially, these are models projected into a 3D space. Imagine creating a car out of lego blocks, like this:
http://www.bilderzucht.de/blog/wp-conte ... terial.jpg

These are voxels. There are algorithms to make them look a bit better using antialiasing techniques, but IMHO don't expect anything really noticeable.

Check this wikipedia article:

http://en.wikipedia.org/wiki/Blade_Runn ... evelopment
...on voxels (pixels with width, height and depth)...

Instead of just having one voxel, dozens of rotating voxels were used in the shape and depth of the actual polygon model data, making it true real-time 3D without requiring 3D hardware. In layman's terms, it was piecing together flat "picture panels", and then rotating and positioning them in 3D-space, thereby giving the illusion of a 3D object
Here's an explanation on what voxel graphics are:
http://en.wikipedia.org/wiki/Voxel

And here's a comparison between voxels and vertices:
http://www.gamersnexus.net/gg/762-voxel ... s-in-games

So, IMHO, there won't be much benefit with the usage of the 3D functions of ResidualVM in this game.
zmally
Posts: 5
Joined: Sun Jul 05, 2009 6:08 pm
Location: Hull, UK

Post by zmally »

Is this project still going ahead?
User avatar
md5
ScummVM Developer
Posts: 2250
Joined: Thu Nov 03, 2005 9:31 pm
Location: Athens, Greece

Post by md5 »

There's a WIP ScummVM game engine here, too:

https://github.com/madmoose/scummvm/commits/bladerunner
Post Reply