Skip to content

Commit

Permalink
imported version 0.92
Browse files Browse the repository at this point in the history
  • Loading branch information
jdratlif committed Aug 26, 2019
1 parent 55a375f commit 03e478a
Show file tree
Hide file tree
Showing 14 changed files with 1,421 additions and 549 deletions.
1,315 changes: 859 additions & 456 deletions DialogBlocks/mpg.pjd

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = "Metroid Password Generator"
PROJECT_NUMBER = 0.91
PROJECT_NUMBER = 0.92
OUTPUT_DIRECTORY = apidocs
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
Expand Down
8 changes: 4 additions & 4 deletions Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@
<string>????</string>

<key>CFBundleVersion</key>
<string>0.91</string>
<string>0.92</string>

<key>CFBundleShortVersionString</key>
<string>0.91</string>
<string>0.92</string>

<key>CFBundleGetInfoString</key>
<string>mpg 0.91, (C) 2005 John Ratliff</string>
<string>mpg 0.92, (C) 2005 John Ratliff</string>

<key>CFBundleLongVersionString</key>
<string>0.91, (C) 2005 John Ratliff</string>
<string>0.92, (C) 2005 John Ratliff</string>

<key>NSHumanReadableCopyright</key>
<string>Copyright 2005 John Ratliff</string>
Expand Down
2 changes: 1 addition & 1 deletion TODO
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- maybe add fake keystrokes to go right/left on password entry
- can't think of anything... suggestions welcome...

20 changes: 10 additions & 10 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for mpg 0.91.
# Generated by GNU Autoconf 2.59 for mpg 0.92.
#
# Report bugs to <[email protected]>.
#
Expand Down Expand Up @@ -269,8 +269,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='mpg'
PACKAGE_TARNAME='mpg'
PACKAGE_VERSION='0.91'
PACKAGE_STRING='mpg 0.91'
PACKAGE_VERSION='0.92'
PACKAGE_STRING='mpg 0.92'
PACKAGE_BUGREPORT='[email protected]'

ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os WINDOWS_TRUE WINDOWS_FALSE CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE WX_CONFIG_PATH WX_CPPFLAGS WX_CFLAGS WX_CXXFLAGS WX_CFLAGS_ONLY WX_CXXFLAGS_ONLY WX_LIBS WX_LIBS_STATIC WX_VERSION WX_INCLUDES LIBOBJS LTLIBOBJS'
Expand Down Expand Up @@ -738,7 +738,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures mpg 0.91 to adapt to many kinds of systems.
\`configure' configures mpg 0.92 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -804,7 +804,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of mpg 0.91:";;
short | recursive ) echo "Configuration of mpg 0.92:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -930,7 +930,7 @@ fi
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
mpg configure 0.91
mpg configure 0.92
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
Expand All @@ -944,7 +944,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by mpg $as_me 0.91, which was
It was created by mpg $as_me 0.92, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -1593,7 +1593,7 @@ fi
# Define the identity of the package.
PACKAGE='mpg'
VERSION='0.91'
VERSION='0.92'
cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -3262,7 +3262,7 @@ _ASBOX
} >&5
cat >&5 <<_CSEOF
This file was extended by mpg $as_me 0.91, which was
This file was extended by mpg $as_me 0.92, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -3325,7 +3325,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
mpg config.status 0.91
mpg config.status 0.92
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dnl Initialize autoconf
AC_INIT([mpg], [0.91], [[email protected]])
AC_INIT([mpg], [0.92], [[email protected]])

dnl require autoconf >= 2.59
AC_PREREQ([2.59])
Expand Down
66 changes: 57 additions & 9 deletions docs/mpg.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--------------------------------------------------------------------------------
| Metroid Password Generator 0.91
| Metroid Password Generator 0.92
| Copyright (C) 2005 emuWorks http://games.technoplaza.net/
| by John Ratliff [ webmaster AT technoplaza DOT net ]
--------------------------------------------------------------------------------
Expand All @@ -22,7 +22,9 @@
- 3.6.3 Reset
- 3.6.4 The Ending Submenu
- 3.6.5 The Give Submenu
- 3.6.6 The Checksum Submenu
- 3.7 The Game Menu
- 3.8 The Custom Password Text Control
- 4.0 Known Bugs and Issues
- 5.0 Release History
- 6.0 Contacting the Author
Expand All @@ -47,7 +49,7 @@
Generator (metpass - Metroid Password Checksum Generator), respectively?

First, neither of their programs work on anything but Windows, and I like
programs that work on Windows, Linux, and Mac OS-X, which my program does.
programs that work on Windows, Linux, and Mac OS X, which my program does.

Second, neither of their programs has what I would consider a great GUI
layout. SnoBro never released any refinements to his GUI, so you have to hunt
Expand Down Expand Up @@ -103,7 +105,7 @@
--------------------------------------------------------------------------------

If you are not using a binary distribution (Binaries are provided for Windows,
Linux GTK+ 2.0, and Mac OS-X), then you will need to compile the source. Or
Linux GTK+ 2.0, and Mac OS X), then you will need to compile the source. Or
maybe you just want to. In either case, it should be fairly simple. First,
the prerequisites:

Expand Down Expand Up @@ -476,7 +478,7 @@
| 3.6.5 The Give Submenu
--------------------------------------------------------------------------------

The final piece of the Password menu is another submenu. The Give submenu is
The next piece of the Password menu is another submenu. The Give submenu is
here to give you all of something in a certain category. The categories are
items, missile containers, energy tanks, red & yellow doors, statues,
zebetites, bosses, and missile count.
Expand All @@ -494,6 +496,28 @@
both bosses are dead, then you can have 255. Kraid and Ridley are worth 75 a
piece. Each missile container is another 5, of which there are 21 containers.

--------------------------------------------------------------------------------
| 3.6.6 The Checksum Submenu
--------------------------------------------------------------------------------

If you have read the section 3.5 Checksum Fixing, you know that the last two
characters are generally all that you need to leave alone to get a working
password. You also know that the second to last (or 23rd if counting forward)
character can be adjusted to give 16 possible shift values. Rather than
memorizing these, you can use the checksum submenu to adjust the password for
you.

Each item on the Checksum submenu will take a value from the list of 16,
change the 23rd character to it, and then decode the password with the new
shift value.

Why is this handy? Because many passwords you form from strings of words will
be invalid. They could have the reset bit set, or an invalid start location.
This menu makes it easy to switch to a new shift value to see if you get a
valid password with the new shift value.

If none of the 16 are valid though, you'll have to change the 22nd character.

--------------------------------------------------------------------------------
| 3.7 The Game Menu
--------------------------------------------------------------------------------
Expand All @@ -505,6 +529,25 @@
The selection defaults to NTSC since it is what I use. If you have a PAL
version of Metroid, you can change it using the menu to see what real times
correspond to what game ticks.

--------------------------------------------------------------------------------
| 3.8 The Custom Password Text Control
--------------------------------------------------------------------------------

If you have used SnoBro's password generator MetCode, you have probably used
his password text control. It is very nice because it keeps spaces between
the segments of the password to make things more readable.

Starting in version 0.92, mpg has this now, too. It's not the same as
SnoBro's, but it has equivalent functionality.

When you enter password values now, the control will skip over the separating
spaces. It also works with the left and right arrows, delete and backspace,
and pasting.

You can paste passwords (or parts of passwords) into the control by selecting
the position you want to paste at and pressing Ctrl-V on Windows and Linux,
and Command-V on Mac OS X.

--------------------------------------------------------------------------------
| 4.0 Known Bugs and Issues
Expand All @@ -514,11 +557,11 @@

There are a few issues to be aware of.

In Mac, the text boxes seem to be scrolled past the end of the text. This can
make them look like they aren't responding to input or even that they have
any. Just click on the text control and press the left arrow till you reach
the beginning. The text is there. The two affected controls are the game time,
and the password text.
In Mac OS X, the text boxes seem to be scrolled past the end of the text. This
can make them look like they aren't responding to input or even that they have
any. Just click on the text control and press HOME or drag the mouse or use
the left arrow till you reach the beginning. The text is there. The two
affected controls are the game time, and the password text.

In Linux using wxGTK, the display takes up significantly more space than it
does on Windows. It will fit on an 800x600 display if you hide any top and
Expand All @@ -535,6 +578,11 @@
| 5.0 Release History
--------------------------------------------------------------------------------

Version 0.92 - Friday, September 30, 2005
- Added Custom Password Control
- Added Checksum Shift Submenu to Password Menu
- Changed Menu Accelerators to Accomodate new Checksum Shift Submenu

Version 0.91 - Thursday, September 29, 2005
- Fixed readme regarding invalid game tick conversions
- Added real time label next to game ticks
Expand Down
3 changes: 2 additions & 1 deletion source/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ mpg_SOURCES = AppConstants.hh \
exceptions/InvalidPasswordException.hh \
model/Password.cc model/Password.hh \
view/MPGFrame.cc view/MPGFrame.hh \
view/PasswordPanel.cc view/PasswordPanel.hh
view/PasswordPanel.cc view/PasswordPanel.hh \
view/PasswordTextCtrl.cc view/PasswordTextCtrl.hh

nodist_mpg_SOURCES = res/mpg.cc

Expand Down
15 changes: 12 additions & 3 deletions source/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,16 @@ am__mpg_SOURCES_DIST = AppConstants.hh MPGApp.cc MPGApp.hh \
exceptions/InvalidPasswordException.cc \
exceptions/InvalidPasswordException.hh model/Password.cc \
model/Password.hh view/MPGFrame.cc view/MPGFrame.hh \
view/PasswordPanel.cc view/PasswordPanel.hh res/windows.rc
view/PasswordPanel.cc view/PasswordPanel.hh \
view/PasswordTextCtrl.cc view/PasswordTextCtrl.hh \
res/windows.rc
am__dirstamp = $(am__leading_dot)dirstamp
@WINDOWS_TRUE@am__objects_1 = res/windows.$(OBJEXT)
am_mpg_OBJECTS = MPGApp.$(OBJEXT) \
exceptions/InvalidPasswordException.$(OBJEXT) \
model/Password.$(OBJEXT) view/MPGFrame.$(OBJEXT) \
view/PasswordPanel.$(OBJEXT) $(am__objects_1)
view/PasswordPanel.$(OBJEXT) view/PasswordTextCtrl.$(OBJEXT) \
$(am__objects_1)
nodist_mpg_OBJECTS = res/mpg.$(OBJEXT)
mpg_OBJECTS = $(am_mpg_OBJECTS) $(nodist_mpg_OBJECTS)
mpg_LDADD = $(LDADD)
Expand Down Expand Up @@ -179,7 +182,9 @@ mpg_SOURCES = AppConstants.hh MPGApp.cc MPGApp.hh \
exceptions/InvalidPasswordException.cc \
exceptions/InvalidPasswordException.hh model/Password.cc \
model/Password.hh view/MPGFrame.cc view/MPGFrame.hh \
view/PasswordPanel.cc view/PasswordPanel.hh $(am__append_1)
view/PasswordPanel.cc view/PasswordPanel.hh \
view/PasswordTextCtrl.cc view/PasswordTextCtrl.hh \
$(am__append_1)
nodist_mpg_SOURCES = res/mpg.cc
all: all-am

Expand Down Expand Up @@ -264,6 +269,8 @@ view/MPGFrame.$(OBJEXT): view/$(am__dirstamp) \
view/$(DEPDIR)/$(am__dirstamp)
view/PasswordPanel.$(OBJEXT): view/$(am__dirstamp) \
view/$(DEPDIR)/$(am__dirstamp)
view/PasswordTextCtrl.$(OBJEXT): view/$(am__dirstamp) \
view/$(DEPDIR)/$(am__dirstamp)
res/$(am__dirstamp):
@$(mkdir_p) res
@: > res/$(am__dirstamp)
Expand All @@ -285,6 +292,7 @@ mostlyclean-compile:
-rm -f res/windows.$(OBJEXT)
-rm -f view/MPGFrame.$(OBJEXT)
-rm -f view/PasswordPanel.$(OBJEXT)
-rm -f view/PasswordTextCtrl.$(OBJEXT)

distclean-compile:
-rm -f *.tab.c
Expand All @@ -295,6 +303,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@res/$(DEPDIR)/mpg.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@view/$(DEPDIR)/MPGFrame.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@view/$(DEPDIR)/PasswordPanel.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@view/$(DEPDIR)/PasswordTextCtrl.Po@am__quote@

.cc.o:
@am__fastdepCXX_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`; \
Expand Down
Loading

0 comments on commit 03e478a

Please sign in to comment.