- Calculating MD5 in Gtk GUI rom properties dialogue now works.
- Gtk GUI open rom filter now has .z64, .v64, and .n64 extensions.
- Rom file decompression handled at single point (as opposed to
2-3) to prevent duplication of code and make adding 7zip support easier.
- General code cleanup, renaming / comments, etc.
Testing done:
- Tested .zipped (singe and multifile archives), .gzipped, and
uncompressed .z64 amd .v64 roms.
- Cleaned up Gtk GUI emulation menu.
- Added accelerator group for non-meta accelerators so the don't
interfere with entries (like the filter)
- Added savestate_get_filename() helper function.
- Changing the savestate in the Gtk GUI is relayed to the user via the
statusbar.
-Renamed menu to "Current save slot"
-When save slot menu is opened, gui checks the current save slot and makes sure the selected slot in the menu matches it.
-Removed "Default" slot option and replaced with slot 0. Slot 0 is the default on mupen64plus startup.
-Removed Cheat menu and replaced it with "Cheats..." menu item in the Options menu.
-Modified alert_message and confirm_message so they handle line wrap of the message internally, so now it's no longer necessary to insert newline chars into strings passed to alert_message and confirm_message.
-added list_find_node utility function to util.c.
-added utility functions to create/delete cheat structures for use by the gui.
as it caused two Gtk resize handles to be drawn on the
main window. Left in framework for multiple status bars
in case we actually want to use this in the future.
-Also removed gui code that tries to change the name of the pause toolbar item to either "Pause" or "Resume". I think most users understand that the pause key will also unpause. Plus the name can get out of sync due to the many alternative ways to pause/continue emulation (lirc, keyboard shortcut, mapped controller button).
THIS PATCH IS PRELIMINARY AND DOES NOT WORK.
It also needs some major cleanup and most plugins are not yet compiling. Going to need any help I can get here, but I'll be working on it.
-Removed "Remove All" button from rom browser config tab. There wasn't a stock gtk button for remove all and it didn't really seem necessary since you can select all of the directories and then click the "Remove" button.
-Removed unnecessary callback functions for about dialog, made about dialog not resizable.
-Added file filters to load dialogs for a more polished file chooser.
-Removed chdir to the config dir (~/.mupen64plus) from setPaths function. This was a hack to get around the fact that plugins were looking in the current working dir for config files. I've since fixed that issue, so the chdir is no longer necessary. Plus, the chdir was causing the file chooser dialogs to default to ~/.mupen64plus, which could be confusing to a user.
-Separated LIRC functions into new lirc.c file so they can be used in gui or nogui build.
-Added pause/continue functionality to LIRC.
-Made it so LIRC commands work while emulation is paused.
-Added wiki page on how to setup LIRC for Mupen64Plus.
-Fixed minor bug with g_EmulationRunning (it was being set to 1 during stopEmulation).