Pages: 1
Posted on 05-15-20, 12:47 pm in NSMB C++ Repository (rev. 8 by Overblade on 01-16-21, 12:37 am)
Newcomer


Karma: 235
Posts: 2/8
Since: 04-18-20
Hello everyone!

Today I want to announce the Public NSMB C++ reference on Github. I've created it to aid anybody making code hacks in C++/ASM. The repository contains C++ header files with many functions and variables you can include in your project.

Every part of the game gets its own header file, and each header file is associated with one or multiple memory regions. This is because original files were compiled together, although rare exceptions exist. Every header-assigned memory region is fully decoded and documented so that no unknown fields/variables/functions/classes are left. Also, everything is documented as precise and short as possible to give the user the necessary understanding of what a particular object/function/variable does.

As of now, some parts of the game are fully documented and defined in their respective header file. This includes:

- Fonts + Textbox
- Heap (Memory)
- Math
- Sound
- Vector / Util
- ARM7

Additionally, the following parts are in progress:

- Models (needs just reorganization)
- Actors (ActorBase/Actor/Base2?)
- Camera

In conjunction with headers, symbols for every function/variable in these headers are defined in symbols.x.
In case you find an error in the repo, please feel free to post it so we'll fix it as soon as possible.

If you want to contribute to the project, make a post and select a memory section from sections.txt you want to document. Note that the regions aren't fixed so it may be the case a certain engine is split in half (such as sounds) or using a smaller section (in which case we split the current known sections).
Please make sure to follow the guidelines from guidelines.md to keep everything consistent. You can also look at existing header files to see a documentation in practice. For general classes look especially at Font.h, for namespaces at Sounds.h and utility stuff with helper functions at Vector.h/Util.h.

Also, big thanks to  TheGameratorT and Ed_IT since without them this wouldn't have been possible in that amount of time.
We're thankful for every contributor, every creator is credited in sections.txt (and here too).

If you have any questions, feel free to ask them.
Link: https://github.com/TheGameratorT/NSMB-ASMReference
Posted on 07-07-20, 01:38 pm in Streamed Music In NSMBDS! (Nitro WAV)
Newcomer


Karma: 235
Posts: 3/8
Since: 04-18-20
Finally we reached the point where everyone can use streamed music with ease. This is such a great achievement for the community.
Not to mention the effort and testing that was required to move this project towards release.

Now you can proudly claim that you've enabled many people to use a feature requested for a long time ;)
Posted on 07-12-20, 05:10 pm in Logo, Box Art and Icon Shop!
Newcomer


Karma: 235
Posts: 4/8
Since: 04-18-20
Really like your offer, would really appreciate if you can make one for my new mini hack named Newest Super Pingas Royale Bros Deluxe: Dr Robotnik's Intense Adventure. Should look something like the NSMB2 logo including an image of Pingas. Thx in advance!
Posted on 07-17-20, 11:13 am in NSMB C++ Repository
Newcomer


Karma: 235
Posts: 5/8
Since: 04-18-20
Small update: Together with Ed_IT we were able to get all ARM7 symbols. This has never been done before on any official NDS game.

That's why from now on symbols.x is split into symbols9.x and symbols7.x to prevent compilation issues between the ARM7 and ARM9. The workspace will be migrated soon to accomodate the requirements of the new patcher.
Pages: 1