younotesunreadstarredadd url

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 2019IFTTT Pocketopen in karakeep

by Andrea Fortuna ‧ published 2016.05.24 ‧ saved copy from 2026.03.02

Karakeep has no AI summary for this page yet. summarize now

page description:

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
screenshot of the page

« back to bookmarks

top tags     all tags251020manage

*bookmark *download *tobuy *tofollow 2d 360 3d 3g abandonware actionscript air airplay algorithm android animation api app apple appstore arcade arduino art article asm audio automation backlight backup berlin bitcoin blipfm blipster blog bluetooth book bookmark bootcamp brasil brazil bug buildapc business c c# c++ carro casa chiptune cliq cocoa cocoa-touch code collection component controller cooking crt css database debug demoscene design deutschland dev diy dns doc dos dosbox dotnet download electronics emu emudev emulator engine example famicom feedbin fix flash flex fluorine forum framework freeware gadget game gameboy gameboy-pocket gamedev games germany git google googlemaps GoogleReader gsm guide hack hacks hamburg hardware home home-automation homeassistant homebrew honda howto html htpc http IFTTT image imported indie inspiration insteon ios ipad iphone iso itunes jailbreak japan java javascript job lcd lib library linux live localization mac mame math mce media mediacenter megadrive memory-management midi mod movie mp3 mpd music mythtv nas nes network objective-c opengl opensource osx pc pcb piracy plex plugin Pocket project ps1 ps2 ps3 ps4 pvr python raspberrypi recalbox recipe region remote repro resource restaurante retrogaming retrograming retropc retropie rgb roms rubyonrails saopaulo scart scumm sdk security seedbox server shmups shop shopping sim sms snes software sound soundblaster source spotify sqlite star svn swift sync synology synth tax terminal three20 tips tool toread torrent tracker travel tutorial twitter ubuntu ui uitableview unix unlock usa veralite viagem video vista vpn vps walkthrough warez web2.0 webservices wifi wii wiiu windows wishlist wordpress xbmc xbox xcode xml xna youtube z-wave z80