Just a little project I've been working on

https://github.com/Helios-vmg/cppred/

It's a complete reimplementation in C++ of Pokemon gen. 1 (the original was written in Assembly).
Currently only the opening sequence and the introduction up to just before entering the level are implemented. I just finished the audio system a few days ago (it was a major PITA).

Obligatory link to previous work: https://github.com/pret/pokered
That's a complete disassembly of the Red and Blue ROMs with comments and variable names. Amazing effort from those guys. That work represents at least 2/3 of the work required for this project.

EDIT: I forgot to mention the key bindings.
Arrows: D-pad
Z: A
X: B
A: Start
S: Select
Escape: show menu with various options
Last edited on
Wow! What a fun project! Can you link to a gif of what you have so far?
There's a Windows build available in the releases section of the project page, and build instructions for other systems.
Afraid I've only got osx at the moment, running the build script errors, I'm not sure it's worth either of our time to debug, but I'd love to see what you have so far!

34 warnings and 10 errors generated.
make[2]: *** [CMakeFiles/code_generation.dir/generate_moves.cpp.o] Error 1
34 warnings and 10 errors generated.
make[2]: *** [CMakeFiles/code_generation.dir/utility.cpp.o] Error 1
62 warnings and 11 errors generated.
make[2]: *** [CMakeFiles/code_generation.dir/generate_text.cpp.o] Error 1
make[1]: *** [CMakeFiles/code_generation.dir/all] Error 2
make: *** [all] Error 2
build_unix.sh: line 18: ../code_generation/code_generation: No such file or directory
-- The C compiler identification is AppleClang 9.0.0.9000038
-- The CXX compiler identification is AppleClang 9.0.0.9000038
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2")
-- Checking for one of the modules 'sdl2'
CMake Error at /usr/local/Cellar/cmake/3.9.5/share/cmake/Modules/FindPkgConfig.cmake:640 (message):
  None of the required 'sdl2' found
Call Stack (most recent call first):
  CMakeLists.txt:9 (PKG_SEARCH_MODULE)
Let's continue this in a PM.
Topic archived. No new replies allowed.