Skip to content
Example of how to use Swift 3 in order to read a Doom WAD file
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
SwiftWadReader.xcodeproj
SwiftWadReader
README.md
screenshot.png

README.md

Swift WAD Reader

This is a simple example to showcase how to use the new Data type in Swift 3 to read binary data from a file into the correct structures in memory.

There's an accompagniying blog post on appventure.me. The will read an Doom WAD file and parse it in order to display a couple of the items (Lumps, in Doom parlance). If you don't have a Doom WAD file handy, the app can download one for you automatically.

Here's a screenshot.

image

Have fun

You can find me on Twitter as @terhechte

You can’t perform that action at this time.