|
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.
|
Functions that generate a password given its raw data in input. More...
Functions | |
| string | _GeneratePassword (unsigned char GameMode, unsigned char Level, unsigned char Speed, unsigned int Score, unsigned short Time, unsigned char PlayerName[], unsigned short FrameCount) |
| string | _GenerateRandomPassword () |
Functions that generate a password given its raw data in input.
| string _GeneratePassword | ( | unsigned char | GameMode, |
| unsigned char | Level, | ||
| unsigned char | Speed, | ||
| unsigned int | Score, | ||
| unsigned short | Time, | ||
| unsigned char | PlayerName[], | ||
| unsigned short | FrameCount ) |
Generates a password given the parameters in input.
Data must be validated before calling this function as it can also be used to generate passwords containing invalid data, however expected data from each parameter is illustrated below.
| [in] | GameMode | Desired game mode (0 - Classic, 1 - Score Attack, 2 - Marathon). |
| [in] | Level | Desired virus/game level (if the game mode is "Classic" it contains the virus level, otherwise 0 - Easy, 1 - Normal, 2 - Hard). |
| [in] | Speed | Desired speed (0 - Low, 1 - Medium, 2 - High). |
| [in] | Score | Desired score (final score without the last digit as it's always 0, assuming a score from 0 to 9999990, this parameter can assume values from from 0 to 999999). |
| [in] | Time | Desired time (time when the game ended, expressed in tenths of second ranging from 0 to 59999, it represents the in-game time from 0'00.0 to 99'59.9 including tenths of a second not shown in-game). |
| [in] | PlayerName | Desired player name (name of the player, 4 letters and it uses a special in-game encoding even for symbols). |
| [in] | FrameCount | Desired frame count (total amount of frames passed since the game started modulo 1024, used to add randomness in the password). |
| string _GenerateRandomPassword | ( | ) |
Generates a random password.