History of decaf-emu in screenshots - Part 1

Both Brett and I use this screenshot upload service called puu.sh, turns out it's a great way to track the history of your life. Here's what we have of decaf over the years.

2015-05-18 19:58:18 decaf-emu (or wiiu-emu as it was known back then) started as a simple file loader for the Wii U .rpx files

2015-05-19 00:53:56 The day after that first screenshot we have the first ever commit:

Initial commit. Can load WiiU compressed .ELF files into memory with symbols & relocations.


2015-05-20 18:03:19 Looks like we have the beginnings of a PPC interpreter going on here.

2015-05-24 22:05:59 My first HLE functions!

2015-06-29 05:19:16 First run of the JIT against a real game.

2015-07-03 12:47:49 Looks like we have a reasonable amount of functions implemented at this point - in this screenshot we can see memory allocation and file system usage. Followed by a crash!

2015-07-08 17:14:01 We are now 2 months in and from this screenshot you can see we already have our first fiber based thread scheduler and quite a few coreinit functions implemented (and I presume a pretty solid PPC interpreter if we are getting this far).

2015-07-27 14:33:30 The humble beginnings of a latte shader decompiler.

2015-10-12 14:39:15 Seems like we figured out how texture storage "works" (we are yet to have many problems with the peculiarities of GPU texture swizzling!).

2015-10-13 22:01:33 And shader storage...

2015-10-13 23:05:11 Which means... our first rendering! This is from the system application Amiibo Settings.

2015-10-20 04:59:13 Testing the accuracy of your CPU emulation for all edge cases is quite important!

2015-10-28 20:15:53 This was the first game running in the emulator, if you look hard enough you might be able to tell this is actually NES Remix. Looks like we've switched to the name decaf here.

2015-10-28 21:55:21 Now that looks more like it...!

2015-10-29 00:47:18 Figuring out registers was fun...

2015-10-29 02:36:29 Progress in emulation is not always forwards.

2015-10-30 02:49:55 So we're now 5 months in and we have something which looks like a game! Awesome! Except it's totally wrong and we're going to redo all the graphics from scratch again, great!

2015-11-11 22:25:39 In November we decided to move to using PM4 for encoding our GPU instructions just as the real Wii U does. PM4 is the data format that the AMD gpu uses to communicate with the graphics drivers running on the CPU.

Start fleshing out this whole pm4 / gx2 / driver stuff. https://github.com/decaf-emu/decaf-emu/commit/a868521c2ffcc9248bde44f056dfa740fb93c58f

2015-11-23 15:35:27 Untiling / unswizzling was non-trivial to figure out! Please excuse my mouse cursor.

2015-11-23 17-51-38 Once we started gaining some interest from the outside world we decided to switch to OpenGL in an attempt to attract Linux developers to the project. So we're back to being unable to render Amiibo Settings correctly.

2015-11-24 18:47:35 Trying to figure out why nothing is working by using the NVIDIA debug tools.

2015-11-26 17:38:37 It didn't take that long to get back to where we were before with the old DX12 renderer. But now we were using OpenGL with our much more accurate PM4 pipeline for feeding commands to the GPU instead of a custom format!

2015-11-26 23:30:50 It wasn't perfect though.

2015-12-02 15:34:24 With the Wii U we were fortunate enough to have games compiled with full function symbols which made some things easier to reverse!

2015-12-12 16:07:43 One step backwards..

2015-12-19 14:13:30 But two steps forward! A second game running in the emulator, I believe this is one of the Mario games.

2015-12-20 15:18:28 Oh yeah it's Super Mario 3D World.

So it's about 7 months after we started, we've made some progress, but it's a long time to work on stuff without any playable results and we're a bit burnt out so we both took a break.

Part 2