I wanted to get gen5 trainer randomization done in this branch, but Zig changed since then, so I want the syntax updated into master as soon as possible.
In this PR we do:
Refactor nds code into multiple files in an nds folder.
Loading NARC files into ram (including handling #15)
Writing NARC back to disk
Notes:
On Windows, writing back to disk is really slow. I'm guessing this is because of my file access write patterns. Let's see if we can find a way to profile Zig programs on Windows to find the bottleneck (I guess this requires llvm6).
I wanted to get gen5 trainer randomization done in this branch, but Zig changed since then, so I want the syntax updated into master as soon as possible.
In this PR we do:
Notes: On Windows, writing back to disk is really slow. I'm guessing this is because of my file access write patterns. Let's see if we can find a way to profile Zig programs on Windows to find the bottleneck (I guess this requires llvm6).