Another World Source Code Review | So Long, and Thanks for All the Fish
https://www.andreafortuna.org/2016/05/24/another-world-source-code-review/
april 2019 ‧ IFTTT Pocket ‧ open in karakeep
Karakeep has no AI summary for this page yet. summarize now
Dedicated to the nerds grown in the 90s </figure> Recently i have read an interesting article by Fabien Sanglard about a milestone of videogames: “Another World”. I spent two weeks reading and reverse engineering further the source code of Another World(“Out Of This World” in North America). I based my work on Gregory Montoir’s “binary to C++” initial reverse engineering from the DOS executable. I was amazed to discover an elegant system based on a virtual machine interpreting bytecode in realtime and generating fullscreen vectorial cinematic in order to produce one of the best game of all time. All this shipping on a 1.44MB floppy disk and running within 600KB of RAM: Not bad for 1991 ! Sanglard has made a complete review of the sourcecode of the game, and has discovered some interesting facts. For example: This was possible partly because the binary was small (20KB). Why so small ? Because ANOTHER.EXE was not the game itself but just a virtual machine: - Hosting bytecode. - Providing system calls. The bytecode performs all the game logic with its own opcodes but uses syscalls for “heavy” stuff like drawing, playing music, sound and managing assets. To implement only the virtual machine for the target OS reduced the effort and the game was broadly ported to more than a dozen platforms ANOTHER.EXE architecture Fabien has also created his own version of “Another World Virtual Machine”: In the code on github you can see how every opcode have been implemented. All of them are pretty easy to understand except for the renditions ones. The trick is that the polygon segment source where the vertices should be read is embedded with the opcode id. Additional material for nostalgic nerd [embed]https://www.youtube.com/watch?v=Zgkf6wooDmw[/embed] Links The full article The sourcecode of “Another World Virtual Machine” on GitHub
*bookmark *download *tobuy *tofollow 2d 360 3d abandonware actionscript air algorithm android api app apple appstore arcade arduino art article asm audio automation backlight backup berlin bitcoin blipfm blipster blog bluetooth book bookmark bootcamp brasil bug c c# c++ carro casa chiptune cocoa cocoa-touch code collection component controller css database debug demoscene design deutschland dev diy doc dos dosbox dotnet download electronics emu emudev emulator example famicom feedbin fix flash flex forum freeware gadget game gameboy gamedev germany git GoogleReader hack hacks hardware home home-automation homebrew howto htpc http IFTTT image imported inspiration ios ipad iphone iso itunes jailbreak japan java javascript lcd lib library linux mac mame math mce mediacenter megadrive midi mod mp3 mpd music mythtv nas nes objective-c opengl opensource osx pc piracy plex plugin Pocket ps2 ps3 pvr raspberrypi recipe remote repro resource retrogaming retropc rgb roms rubyonrails saopaulo sdk shmups shop shopping sms snes software soundblaster source star svn swift synology synth terminal tips tool toread torrent travel tutorial twitter ubuntu ui uitableview unix unlock veralite viagem vista vpn vps walkthrough warez web2.0 webservices wii windows wishlist wordpress xbmc xbox xcode xna z80