Commit Graph

850 Commits

Author SHA1 Message Date
adelikat e3e52ed305 Delete the LuaWindow winform since it is an unfinished outdated design (we use LuaConsole) 2012-10-29 12:33:06 +00:00
adelikat c35310faf8 Movies - when switching from record to play, write movie to disk 2012-10-29 00:40:26 +00:00
phillip.grimsrud 2329521de3 TAStudio fixes:
1: Fixed ListView double-click to run forward to the selected frame.
2: Added systems to a switch statement so that the virtual pads track with the log.
3: Fixed the ListView highlighting for the current frame.
2012-10-26 05:27:27 +00:00
adelikat 50b6a36661 Hex Editor - fix so that you can only highlight using left click (fixes the ability to highlight multiple addresses and use the context menu) 2012-10-15 00:56:47 +00:00
adelikat ec47305e4a another bot test 2012-10-13 21:53:28 +00:00
goyuken 37a916f779 fix registerbefore\registerafter drawing memory leak?? 2012-10-12 15:05:06 +00:00
adelikat ab761066e9 Lua - rehook up emu.registerbefore() and emu.registerafter(), but they have memory leaks, don't use them yet 2012-10-12 14:33:54 +00:00
adelikat adeca3fd25 TAStudio - implement Genesis virtual pad 2012-10-12 14:22:52 +00:00
jxq2000 16d12e8548 Autocomplete box now positions correctly, even with scrolling and different font face/size.
Still isn't very functional, nor does it move as you scroll after it appears.
2012-10-09 00:17:48 +00:00
adelikat 0dfbfb592f Re-hook up Load Config, menu item got disabled at some point. Trace logger - update number of instructions when clear button is clicked, show OSD message when saving to disk 2012-10-08 00:27:21 +00:00
adelikat 822c079011 Revert fix to emu.registerbefore/after functions because thee fix was leaking memory 2012-10-06 21:01:21 +00:00
adelikat f8a962294a Lua - fix memory leaks 2012-10-06 18:39:38 +00:00
adelikat b8070bc92f Lua - fix emu.registerbefore() and emu.registerafter() 2012-10-06 16:13:45 +00:00
adelikat 1c17f8dbed Lua Drawing - fix so that multiple scripts can draw at once 2012-10-06 14:36:02 +00:00
adelikat e7112a9a5d Make the Lua Function List dialog modeless 2012-10-06 13:09:45 +00:00
goyuken ab3377184a RamWatch: fix bug where the "Value" column showed previous and not current 2012-10-04 21:01:58 +00:00
adelikat 3c3ec0f307 Trace Logger - misc cleanup - tab orders, good initial position of the maximum lines config pop up 2012-10-02 03:16:28 +00:00
zeromus f815cb5c62 tracelogger-use \r\n 2012-09-30 18:49:16 +00:00
adelikat 9d1289d8d5 Trace Logger - log to file has a textbox and browse button. Implement the Save menu item (saves what is currently logged to the window) 2012-09-30 18:37:59 +00:00
adelikat 68de3b48b7 Add a Log path option to path config, and have Trace Logger user it 2012-09-30 16:50:00 +00:00
adelikat 960d6771c8 Trace Logger - Ctrl+C on the instruction list now works 2012-09-30 15:33:54 +00:00
adelikat 75c8739fb8 Trace Logger - log to file option, currently writes to Watch Filepath + GameName .txt with no option to change it 2012-09-30 14:52:36 +00:00
adelikat 247cef6835 Trace Logger - log to the window only up to the maximum number of lines, ability to set max lines, save window position option, show status and instruction count on window, don't autoload trace logger if core doesn't have it available, close trace logger if switching to a non-traceable core 2012-09-30 13:38:37 +00:00
adelikat 2d90368864 Trace Logger - UI changes, fix clear button crash 2012-09-30 04:28:06 +00:00
adelikat 427864841d Trace Logger - basic logging fixed 2012-09-30 03:49:53 +00:00
adelikat e865790086 Trace Logger - Hook up autoload 2012-09-30 03:09:41 +00:00
adelikat e964dfb1df Trace Logging hooked up for NES core, trace logger tool doesn't display rows for some reason 2012-09-30 02:37:00 +00:00
adelikat 96b282ca96 Trace Logger - haz icon 2012-09-30 01:08:15 +00:00
adelikat 52b8161b39 Start a Trace Logger, currently only NES has the right hooks, but it crashes when used 2012-09-30 00:53:08 +00:00
adelikat 486d621657 Status bar icons - actually hide conditional status bar icons when not relevant 2012-09-29 22:37:34 +00:00
adelikat 0e09a071cf Hex Editor - allow drag highlighting with the mouse 2012-09-29 21:13:11 +00:00
adelikat a9cb3f65e8 TASTudio - middle clicking pauses/unpauses the emulator 2012-09-29 20:54:56 +00:00
adelikat 92411aae7c Add SNES Graphics config to the Toolbox dialog 2012-09-29 16:25:28 +00:00
adelikat 4c3571a938 Cheats - add "Values as Hex" menu item, when turned off, allows value and compare to be decimal instead of hex 2012-09-29 14:03:32 +00:00
adelikat ed832036c1 Lua - Implement mainmemory.readbyterange() 2012-09-29 01:57:25 +00:00
adelikat 8fce215f95 Hex Editor - fix typing values with the numberpad 2012-09-28 17:24:44 +00:00
adelikat 65a4f5010a Hex Editor - fix copy/pasting multiple highlighted addresses 2012-09-28 16:18:13 +00:00
pasky1382 72b1e1222a Minor edit: Renamed the boolean so that it makes more sense. 2012-09-26 04:30:35 +00:00
pasky1382 8b3e54b397 Added Megaman X Hitbox viewer lua script.
Fixed Hex Editor's FindNext/FindPrev functions.  FindNext/FindPrev now accept an additional argument (bool) that tells them to wrap around once.  Fixed a bug where if the matched address was the 1st byte of the array it was ignored.
2012-09-26 04:25:45 +00:00
adelikat 6a2e17f143 Hex Editor - don't show 0 length Memory domains (prevents showing SNES CARTRAM in situations it doesn't exist and thus crashing the hex editor) 2012-09-26 03:30:19 +00:00
adelikat 1a4962b8c8 Fix Hex boxes in various dialogs to allow ctrl+C/A/V, such as game genie, cheats, ram watch/search, etc 2012-09-26 02:46:13 +00:00
adelikat d5fc8f1c89 Hex Editor - fix Ctrl+C and Ctrl+A in the hex find box 2012-09-26 02:30:28 +00:00
adelikat 80b73cab98 Hex Editor - pressing enter in the find box = click the find next button 2012-09-23 23:20:30 +00:00
adelikat c2bef262b9 Cheats - fixed column display, on and domain were reversed (domain names were being displayed in the on column). Also centered the On column text 2012-09-23 20:45:47 +00:00
adelikat 608dbf6316 Lua - implement nes.addgamegenie() and nes.removegamegenie() 2012-09-23 20:28:51 +00:00
adelikat 5d4703f71f If changing the status of a cheat in Cheats,Hex Editor, Ram Watch, Ram Search, update the other dialogs too if they are open 2012-09-23 15:37:25 +00:00
adelikat 943f1aed66 Ram Watch - show shortcut keys on context menu items that have shortcut keys 2012-09-23 15:24:06 +00:00
adelikat efbeac59b5 Ram Watch - add conditional Unfreeze All context menu item, allow unfreeze on multiple highlighted frozen addresses 2012-09-23 15:19:58 +00:00
adelikat c3c3fd6c20 Ram Search - add Unfreeze All context menu item, conditional upon there being at least one cheat in the system. Also, show an OSD message when removing all cheats 2012-09-23 15:09:29 +00:00
adelikat 076b1e9508 Ram Search - if highlighting multiple frozen addresses, show the unfreeze option in the context menu, redraw on freeze/unfreeze to update the coloring of the row(s) 2012-09-23 14:51:54 +00:00
andres.delikat 4bb0b87830 Ram Search - fix greater than previous value search 2012-09-21 13:32:09 +00:00
zeromus ec91ebc84e fix quirks in hex editor scrolling 2012-09-21 06:33:57 +00:00
adelikat a9bd436b23 Ram Search/Ram Watch - when selecting "View in Hex Editor" pass the memory domain to the Hex Editor 2012-09-19 00:52:40 +00:00
rolanmen1 f173aee3f4 LuaImplementation: forms.setproperty now works on int, double and bool properties. Added try catch to avoid crashes with these functions. 2012-09-17 19:55:11 +00:00
adelikat 3644acd173 Cheats - hide game genie button/menu item on load, not just on restart 2012-09-17 01:13:17 +00:00
goyuken 6cdecc2b15 remove GB from exclusion list for cheat editor, as it is fully working
still todo: converter for game genie\game shark
2012-09-16 18:10:28 +00:00
adelikat 32ca8fba61 SNES - hook up power cycle to mnemonics for recording & input display, TAStudio - hook up the power button on virtual pad 2012-09-16 17:39:57 +00:00
adelikat 77564c6daa TAStudio - change Reset button to Power on Gameboy Virtualpad, implement conditional Hard Reset menu item (dependent on the core implementing the power button) 2012-09-16 16:52:30 +00:00
adelikat f9b99b61bf TAStudio - oops, fix exception on gb virtualpads from the earlier commit 2012-09-16 02:15:43 +00:00
adelikat ff0d5126f0 TAStudio - SNES Virtual Pads 2012-09-15 19:21:06 +00:00
adelikat 61a1556f69 TAStudio - add GB virtual pad 2012-09-15 18:31:12 +00:00
adelikat dd64c9d1c9 Hex Editor - on restart don't reset the domain to domain 0 (unless the selected domain doesn't exist, such as in a core change) 2012-09-15 15:13:40 +00:00
adelikat 4a1c1be9ac Ram Watch - context menu for hide/show domain column 2012-09-15 14:53:34 +00:00
adelikat 84cfa9c546 Ram Watch - menu item to hide domain column (still needs context menu item too) 2012-09-15 14:35:13 +00:00
adelikat a075f21af6 Implemented autohold for autofire keys 2012-09-15 13:11:29 +00:00
andres.delikat faed5ba5f7 1) Autohold and Autohold Clear hotkeys, same functionality as in FCEUX and other emulators (hold the autohold hotkey then press the controller buttons you want held)
2) Ram Poke - fix poking of signed/hex values, set the signed value to the value of the address on load, other misc fixes regarding signed
3) Hex Editor - add Poke to menu/context menu and Ctrl+P hotkey
2012-09-14 21:31:00 +00:00
adelikat 39b891c824 Lua Writer - when file is saved it is a recent lua file not a recent watch file! 2012-09-14 01:26:38 +00:00
adelikat 5c5b290c75 Ram Watch/Search - fix loading of watch files 2012-09-14 00:30:29 +00:00
adelikat 3959b5f4fc Lua Writer - don't crash when attempting to save (save & save as), also a new script = flag changes 2012-09-13 23:07:34 +00:00
adelikat 64cac4c1a2 Cheats - if NES core - show a game genie menu item and tool bar button (Loads the Game Genie encoder/decoder) 2012-09-13 03:10:53 +00:00
adelikat 3e3748f87b Ram Poke - on load and signed type change, display the value in the value box accordingly 2012-09-13 02:59:32 +00:00
adelikat 24649e49e7 Ram Poke - make Value the default highlighted textbox, Ram Search - show shortcut keys of context menu items that have them 2012-09-13 02:47:16 +00:00
adelikat 00a003f292 Hex Editor - fix alignment of column headers in 2 & 4 byte views 2012-09-13 00:52:16 +00:00
adelikat 99ace126d2 Fix Ram Poke dialog 2012-09-13 00:49:58 +00:00
adelikat 7be2ea0946 Cheats - fix emulator freeze with bad config files 2012-09-11 03:25:39 +00:00
adelikat 2fd67585b0 Hex Editor - fix restart, addresses now update 2012-09-11 00:21:50 +00:00
adelikat eaa212fef7 Hex Editor - fix 6 digit domains (note that 8 digit will still fail should we have any) 2012-09-11 00:17:54 +00:00
adelikat 95cb43329b Hex Editor - remove a variable and references to it that is obsolete since I revamped the drawing, it was causing the highlighting to be off on anything other than 4 digit addresses. Partially fixes messed up hex editor in 6 digit domains such as SNES ram 2012-09-10 23:52:42 +00:00
adelikat 75a1cd9e4a Ram Watch/Search - Save and Load the domain of each watch into .wch files (still maintains backwards compatibility with old bizhawk .wch files as well as .wch files from other emulators 2012-09-10 03:11:06 +00:00
adelikat 4df5293974 Hex Editor - pass domain on the Add to Ram Watch feature 2012-09-10 02:39:56 +00:00
adelikat acae69dc91 Ram Watch - Implement Domain column 2012-09-10 02:37:44 +00:00
adelikat 5adb7fcc91 Ram Watch - fix ability to watch multiple domains at once, New/Edit/Duplicate watch dialog - allow pasting into address box, reformat address box on blur 2012-09-10 02:03:24 +00:00
beirich 90d1d12086 gen: fix some vram corruption issues
general: fix some build warnings
2012-09-09 21:15:20 +00:00
adelikat 64419fa501 Hex Editor - fix inability to paste into find box when in hex mode 2012-09-09 04:11:51 +00:00
beirich e8de0327d2 Remove the 2 dead gameboy cores 2012-09-09 01:31:30 +00:00
andres.delikat 71e07d0493 add a null check that could potentially crash the emulator in the HowMany() function I wrote for path and watch functions. No functional change probably. Also clean up the organization of this method 2012-09-04 20:40:39 +00:00
zeromus dd6d0a47e1 hexeditor-print "0x100000 addresses" instead of "1048576 addresses" 2012-09-04 17:26:27 +00:00
adelikat 2de8e3c346 Ram Watch/Search/Poke - use Watch objects internal domain value, this commit doesn't add functionatility yet (may have even broke something), but will lead to eventually being able to watch multiple domains at once, and some ram search optimizations 2012-09-04 00:33:47 +00:00
adelikat 2cd7af1c4c Ram Poke - use a nullable int, -99999999 is now a valid poke/readable number! 2012-09-03 23:45:41 +00:00
adelikat 1f454af2c3 Refactoring of Watch object and related tools, add domain into Watch object. No functionality changes in this commit 2012-09-03 23:42:00 +00:00
adelikat 632127fe0a NES - don't record lag frame status into movies, it is not necessary for TAStudio anymore 2012-09-03 21:38:11 +00:00
adelikat 80012d29c6 TAStudio - store whether or not a frame was a lag frame along with the state for green zoning, show lag frames in red based on this flag rather than something recorded into the movie file, also fixed a bug I introduced in the last commit 2012-09-03 21:28:10 +00:00
adelikat 1b20175a81 Movies - final round of refactoring, also removed all code relating to the StopOnFrame variable. The fast foraward button on TAStudio now loses some functionality, but the code that did it needed an overhaul 2012-09-03 20:17:57 +00:00
adelikat 8f408737da Movie refactoring - round 2 2012-09-03 19:42:53 +00:00
adelikat 27f4663125 Movies - round 1 of code cleanup (no functional changes) 2012-09-03 15:05:09 +00:00
adelikat eae73accf3 Hex Editor - text option in Find Box, this feature converts text to its byte codes and searches that byte array 2012-09-03 01:17:03 +00:00
adelikat ad162b614f Hex Editor - implement text area highlighting 2012-09-03 00:49:59 +00:00
adelikat 2e19451b0f Hex Editor - implement Save, and Save ROM file menu options 2012-09-02 23:12:00 +00:00
adelikat 86f3394be0 Hex Editor - support archived roms for the Rom File domain 2012-09-02 22:45:06 +00:00
adelikat 4031fd8324 Hex Editor - preliminary support for a ROM File memory domain (regardless of platform). Loads the actual contents of the ROM file into the Hex Editor. Note: this is the file, edits would have no effect on gameplay until the game is reloaded. Currently does not work with ROMs in archives, and needs some specifical menu items and tweaks. 2012-09-02 19:22:51 +00:00