Dr. Mario 64 Password Tool Version 1.1
A command-line tool written in C++ that allows to generate and decode the passwords of Dr. Mario 64.
Loading...
Searching...
No Matches
PasswordDecode.h File Reference

PasswordDecode.cpp's header file. More...

Go to the source code of this file.

Functions

bool _DecodePassword (const char Password[], unsigned char &GameMode, unsigned char &Level, unsigned char &Speed, unsigned int &Score, unsigned short &Time, unsigned char PlayerName[], unsigned short &FrameCount)

Detailed Description

PasswordDecode.cpp's header file.

Author
WaluigiBSOD

Function Documentation

◆ _DecodePassword()

bool _DecodePassword ( const char Password[],
unsigned char & GameMode,
unsigned char & Level,
unsigned char & Speed,
unsigned int & Score,
unsigned short & Time,
unsigned char PlayerName[],
unsigned short & FrameCount )

Decodes the password given in input.

More information on valid in-game data that can be found in the documentation of _GeneratePassword().

Parameters
[in]PasswordThe password to decode.
[out]GameModeDecoded game mode.
[out]LevelDecoded virus/game level.
[out]SpeedDecoded speed.
[out]ScoreDecoded score.
[out]TimeDecoded time.
[out]PlayerNameDecoded player name.
[out]FrameCountDecoded frame count.
Returns
True if the decoded checksum matches the embedded one, otherwise false.
Author
WaluigiBSOD