Reverse engineered game code

The place for codemasters or beginners to talk about programming any language for the Spectrum.
Post Reply
Ralf
Rick Dangerous
Posts: 2279
Joined: Mon Nov 13, 2017 11:59 am
Location: Poland

Re: Reverse engineered game code

Post by Ralf »

Probably a daft question, is reverse engineered different from disassembled?
Well, different people may have different definitions.

Personally I would agree with RMartins that reverse engineering is a bit more than just disassembling. It's disassembling + documenting.

Actually disassembling may be entirely automatic - your input is binary file and your output is text file with assembler commands, labels like L32768 and not a single comment. Adding meaningful labels and comments makes it something more than just disassembly.
User avatar
dpt
Drutt
Posts: 17
Joined: Mon Nov 13, 2017 2:08 pm
Location: Glasgow, Scotland
Contact:

Re: Reverse engineered game code

Post by dpt »

I discovered a Head Over Heels disassembly the other week on github which I'd not previously spotted: https://github.com/simon-frankau/head-over-heels
User avatar
RMartins
Manic Miner
Posts: 776
Joined: Thu Nov 16, 2017 3:26 pm

Re: Reverse engineered game code

Post by RMartins »

Does any one know of a reverse engineered version of Space Harrier ?
User avatar
dpt
Drutt
Posts: 17
Joined: Mon Nov 13, 2017 2:08 pm
Location: Glasgow, Scotland
Contact:

Re: Reverse engineered game code

Post by dpt »

Closest I can offer is "Cannonball": the reconstructed OutRun engine: https://github.com/djyt/cannonball/wiki
User avatar
RMartins
Manic Miner
Posts: 776
Joined: Thu Nov 16, 2017 3:26 pm

Re: Reverse engineered game code

Post by RMartins »

Doesn't seem identical, although I agree the implementation of the floor could be considered similar.
Nomad
Manic Miner
Posts: 600
Joined: Thu Dec 28, 2017 12:38 pm

Re: Reverse engineered game code

Post by Nomad »

I find the annotated disassembly listings really useful, far more so than the books on assembly in making a game. While the books are necessary for looking up things like processor specs, timings - of a technical nature. And of course the basics. Its the games themselves where the practical applications are found. Being able to see how various creators did what they did is great.

The games I wish that would get this treatment are in no particular order...

The Forest - , its a mix of basic and assembly. How they managed to get the game space in the spectrum always made me scratch my head, especially considering it was a mix of basic and assembly (well according to infoseek).

[youtube]http://www.youtube.com/watch?v=xpyLanR7lG4[/youtube]

Mailstrom - while the game was a grind, I always wondered how they got the scrolling to work like they did and all the various menus.

[youtube]http://www.youtube.com/watch?v=I1ZvACJsR0E[/youtube]

saboteur - I loved that game back in the day, to be able to poke around inside and figure out how it worked its 'magic' would be really something.

[youtube]http://www.youtube.com/watch?v=U2Mq2TMkm8o[/youtube]
User avatar
Rorthron
Dynamite Dan
Posts: 1644
Joined: Sun Nov 12, 2017 10:35 pm

Re: Reverse engineered game code

Post by Rorthron »

Luny has disassembled Pyjamarama here:

http://www.luny.co.uk/index.php?page=90
Post Reply