Commit Graph

265 Commits

Author SHA1 Message Date
andres.delikat 9b496b872f Hex Editor - fix drawing in the event of addresses > 4 digits 2011-03-07 04:51:41 +00:00
andres.delikat e913d5e0cb Hex Editor - implement big/little endian toggling 2011-03-07 04:40:51 +00:00
andres.delikat 80d84888df Hex Editor - implement viewing in 1 or 2 byte (todo: 4 byte) 2011-03-07 04:31:58 +00:00
andres.delikat 5ae14bc55d Memory Viewer - more code refactoring in preparation for multiple byte sizes. Hex Editor - make default window size = 1 page of memory 2011-03-07 03:33:25 +00:00
andres.delikat 4658ee0f18 Hex editor/Memory Viewer - More code refactoring 2011-03-07 03:23:05 +00:00
andres.delikat a60eda1ede MemoryViewer - fix so that it never attempts to display an address greater than the memory domain. Also check in memoryviewer.resx 2011-03-07 03:15:16 +00:00
andres.delikat e2a22c4f27 MemoryViewer - lots of fix ups 2011-03-07 03:04:50 +00:00
andres.delikat 1ccb2a002e Hex Editor - refactor so scrollbar & paint logic are part of the MemoryViewer custom control. Still a few bugs like no border or text display 2011-03-07 02:47:13 +00:00
andres.delikat ff48a8c5ef Hex editor - reset scrollbar & refresh memory viewer when selecting a new domain. Only read memory for the visible portion 2011-03-07 01:24:57 +00:00
andres.delikat 3ec1ed128d Hex editor - refresh on scroll bar changed & dialog resize 2011-03-07 01:05:54 +00:00
andres.delikat 2bf6f959cf Hex Editor - fix vertical scrollbar logic 2011-03-07 00:33:53 +00:00
andres.delikat c5a7e43331 Hex Editor - vertical scrollbar 2011-03-06 23:55:10 +00:00
andres.delikat 3a3e3ca46a Fix so peekbyte reads the correct addresses! 2011-03-06 23:34:34 +00:00
andres.delikat 976e6830c6 Hex Editor - addresses in a left column 2011-03-06 23:18:47 +00:00
andres.delikat 463e875b93 Hex Editor - all address displayed now, and a header row added, and font is fixed width 2011-03-06 22:57:58 +00:00
andres.delikat a8474b0a17 Hex Editor - reduce flickering by creating a custom control for the memory viewer and setting useful flags 2011-03-06 21:41:41 +00:00
andres.delikat 4986f04214 Hex Editor - misc fixes 2011-03-06 20:07:37 +00:00
andres.delikat c8a6da7e67 Progress on Hex Editor. 16 addresses are displayed in the dialog!! 2011-03-06 19:25:37 +00:00
andres.delikat 54b408f875 Hex Editor - autoload feature 2011-03-06 18:55:32 +00:00
andres.delikat de0660c204 Hex Editor - lots of misc stuff like resizing, saving window size/position, creating and hooking up public functions to the multiclient & such 2011-03-06 15:25:21 +00:00
andres.delikat 06e7e30d6d The beginnings of a Hex Editor tool 2011-03-06 15:03:17 +00:00
andres.delikat 733fb228b6 Ram Search - make 4 the minimum number of digits for an address, because I said so 2011-03-05 03:47:32 +00:00
andres.delikat a36f39f993 Misc small cleanups 2011-03-04 16:18:06 +00:00
andres.delikat a5dc7e90b3 Checking in some movie class progress. Basic file saving done. Progress on file loading. 2011-02-25 19:49:29 +00:00
andres.delikat 3173d3b16d Ram Watch - put column options into context menu 2011-02-25 17:26:19 +00:00
andres.delikat 0eb140fc33 Ram Watch - Move Up or down moves the highlighted indexes correctly 2011-02-25 16:57:25 +00:00
andres.delikat f0378a8313 Ram Search - Refactor saving of config settings, fix remembering of window location & size, and fix anchoring of output label 2011-02-25 02:50:57 +00:00
andres.delikat 04bee5f950 Fix crash on saving config if ram watch is closed. Refactor some config saving stuff 2011-02-25 02:45:22 +00:00
andres.delikat 94ed90cc9d Ram Watch - save column width settings to config 2011-02-25 02:36:52 +00:00
andres.delikat f912e9976a Ram Watch - option for the Previous column to show change from previous, rather than previous value (and save setting in config) 2011-02-24 16:51:31 +00:00
andres.delikat a1234fb428 Ram Watch - save column display options in config 2011-02-24 16:34:41 +00:00
andres.delikat b8966c4566 Ram Watch - option to show a Previous value column (off by default) 2011-02-24 16:17:46 +00:00
andres.delikat 92289c0e34 Ram Watch - option to toggle showing the change counts column 2011-02-24 15:29:32 +00:00
andres.delikat c2fec29463 Fix so that RamWatch & RamSearch update values is not running in the frame loop when they aren't open 2011-02-24 14:39:23 +00:00
andres.delikat f38c452da0 Ram Poke - more text box tweaks 2011-02-24 14:03:35 +00:00
andres.delikat 98643b0599 Ram Poke - better input validation on text boxes 2011-02-24 13:46:49 +00:00
andres.delikat de39858cb9 Ram Watch - clear change counts menu+shortcut+toolstrip 2011-02-24 05:20:07 +00:00
andres.delikat de3a14ae07 Ram Watch - change counts column 2011-02-24 04:56:24 +00:00
andres.delikat 24cf08dfce Ram Search - hook up AskSave() to dialog closing routines, and make File -> Close() use close() not hide() 2011-02-24 04:15:15 +00:00
andres.delikat c1d99ae03e Move Hotkey dialog files to config folder, change tab stops in the General tab to be in the correct order 2011-02-24 01:52:54 +00:00
andres.delikat ea44cfb893 Hotkey Mapping - remove tab stops on non-input widgets, and a few other minor tweaks 2011-02-23 21:41:42 +00:00
andres.delikat 2de903182d Ram Search - the addresses number of digits are based on the Domain size 2011-02-23 17:50:09 +00:00
andres.delikat f7198ae966 Ram Search - Memory domain select 2011-02-23 16:22:41 +00:00
andres.delikat b8202bfb45 Ram Search - a couple small fixes 2011-02-23 14:17:24 +00:00
andres.delikat c7553397d7 Ram Search - small dialog cleanups, start a context menu 2011-02-23 05:32:52 +00:00
andres.delikat 31941a6c56 Ram Search - tighter control over the specific value box, limit max length dynamically based on Data Type & Size, use Int64 to parse to avoid crashes related to int 32 overflow 2011-02-23 05:20:45 +00:00
andres.delikat bb5988d1b7 Ram Search - specific values can be negative if signed Data Type is selected 2011-02-23 05:00:15 +00:00
andres.delikat 3983c585f9 Ram Search - allow specific value to have hexadecimal values if Hex Data type is selected 2011-02-23 04:50:54 +00:00
andres.delikat 56cb9d59f7 Ram Search - menu item + toolstrip - Copy Value to Prev 2011-02-23 04:30:50 +00:00
andres.delikat 7d5a0a8ba1 Ram Search - option to always exclude Ram Watch list from new searches 2011-02-23 04:16:39 +00:00
andres.delikat 74dd0d08a7 Ram Search - exclude Ram Watch list function (toolstrip button & menu item) 2011-02-23 04:09:29 +00:00
andres.delikat d6b79b37df Ram Search - Trucnate from File toolstrip button 2011-02-23 03:46:24 +00:00
andres.delikat 4c733ea2ac Ram Search - fix graying out of Undo menu item, fix SaveUndo() so that it creates a copy of the searchList rather than being a reference to it 2011-02-23 03:35:13 +00:00
andres.delikat 4160f520cc Ram Search - Fix so that last address of memory domain is included in search (off by 1). Ram Search & Ram Watch - don't say "saved" message if user cancels the SaveFile Dialog box 2011-02-23 03:09:00 +00:00
andres.delikat 3922b6477a Ram Search - Truncate from file implemented 2011-02-22 21:03:02 +00:00
andres.delikat 741f2192a8 Ram Search - start new search if a new rom is loaded 2011-02-22 20:17:27 +00:00
andres.delikat 2c74d8f421 Ram Search - fix from list background color being all pink at the start of a new search, hooked preview mode to changing of Compare To radios 2011-02-22 20:05:46 +00:00
andres.delikat 4bc3587ca7 Ram Search - better implementation of input validation on text boxes. Do preview as user types into the boxes 2011-02-22 19:49:22 +00:00
andres.delikat 776a314eb8 Ram Watch - scrap the previous as last change feature in favor of a Previous as original value option 2011-02-22 18:54:59 +00:00
andres.delikat 9816a04a4f Ram Search - Implemented previous search based on the previous value being since last search. Also fixed preview feature, it was previewing the opposite result. 2011-02-22 17:27:38 +00:00
andres.delikat f81c352691 oops, clear out weeded out list before generating it again! 2011-02-22 16:34:21 +00:00
andres.delikat 69f3197277 Ram Search - Implement preview mode toggle option, and hook up DoPreview() to UpdateValues() (if auto-search is not on) 2011-02-22 16:06:28 +00:00
andres.delikat d0b99ce07a Ram Search - Hook up preview to radio dial changes, also better input validation on text boxes 2011-02-22 15:33:28 +00:00
andres.delikat 2498342849 Ram Search - DoPreview() function implemented (but not hooked up) 2011-02-22 14:55:18 +00:00
andres.delikat ae11756cf0 Ground work for defining previous value, and some other fix ups 2011-02-21 18:03:19 +00:00
andres.delikat f6e1ed2ec4 Ram Search - more small fix ups 2011-02-21 17:43:31 +00:00
andres.delikat fb59d962ce Lots of fixe ups to Ram Search 2011-02-21 17:29:47 +00:00
andres.delikat e801e31f40 Ram Search - implement check mis-aligned option 2011-02-21 16:23:56 +00:00
andres.delikat 13eace7d50 Ram Search - Remove Save Changes related code that was imported from Ram Watch. Due to the nature of this dialog, that is not a useful feature. 2011-02-21 15:56:25 +00:00
andres.delikat 5e2932f8e2 Very small change to Ram Watch dialog 2011-02-21 15:34:15 +00:00
andres.delikat 879f76d703 Implement PokeAddress on the Watch class, refactor Ram Poke to use this method. DWord poke implemented now. 2011-02-21 15:23:30 +00:00
andres.delikat 89eb17a468 Ram Poke - input validation on Address & Value boxes 2011-02-21 14:45:18 +00:00
andres.delikat 7c512a3f7e Ram Watch - New Watch - input validation on Address box 2011-02-21 14:36:19 +00:00
andres.delikat f15d16c513 Add PeekAddress() to the watch object. Ram Search & Ram Watch refactored to use the object method instead. DWord view implemented as a result. A display bug in Ram Watch 2 byte fixed. 2011-02-21 14:23:57 +00:00
andres.delikat 1d2d5ff39e Ram Search - File handling functions. Open/Saves to the same .wch files as Ram Watch 2011-02-21 04:22:54 +00:00
andres.delikat 5e2e965963 Ram Search - implement auto-search 2011-02-21 03:32:35 +00:00
andres.delikat d2e499a3fc Ram Search - update values does 2 byte 2011-02-21 03:14:03 +00:00
andres.delikat c46c80e094 Ram Search - Attempt some input validation on the Leave event on all text boxes 2011-02-21 03:05:12 +00:00
andres.delikat 94fd588191 Ram Search - text box cleanup - slight repositioning & sizing, make addressbox only uppercase, limit length, and focus & select all when the appropriate radio dial is selected by the user 2011-02-21 02:35:47 +00:00
andres.delikat 67dac99408 Ram Search - implement Previous value searching, but currently the definition of previous value is previous frame 2011-02-21 01:06:58 +00:00
andres.delikat ee30625994 Ram Search - remove Modulus comparison since I deem it useless. Also made auto-search into a checkbox button style that turns red when on 2011-02-21 00:50:37 +00:00
andres.delikat 64a957c3ea Ram Search - display previous value column plus some code cleanup 2011-02-21 00:38:31 +00:00
andres.delikat 7135d89459 Ram Search - implement Search by Specific value 2011-02-21 00:19:15 +00:00
andres.delikat 6b30736230 Ram Search - selecting a datatype updates the display of the values 2011-02-21 00:00:33 +00:00
andres.delikat d9ebc40aae Ram Search - StartNewSearch works with 2-byte value selected 2011-02-20 23:54:58 +00:00
andres.delikat dc61f89e20 Ram Search - implement data type, endian, and data size selections and ground work for integrating them into the start new search, and search functions 2011-02-20 23:15:28 +00:00
andres.delikat da31963df5 Ram Search - implement searching by number of changes 2011-02-20 23:01:43 +00:00
andres.delikat 738c633096 Ram Search - double clicking an address sends it to Ram Watch 2011-02-20 20:57:00 +00:00
andres.delikat 4ff2e24804 Ram Search - implemented Diff By Specific Address (yeah, that one is really pointless, but might as well) 2011-02-20 20:50:41 +00:00
andres.delikat 9c625df425 Ram Search - misc fix ups 2011-02-20 20:37:50 +00:00
kylethomson 7430a35806 More lua functions. 2011-02-20 20:14:55 +00:00
andres.delikat 5172f9e397 Ram Search - if invalid specific address entered by user, don't do the search anyway! Also, highlight the invalid data for the user. 2011-02-20 20:12:17 +00:00
andres.delikat 86f3538800 Ram Search - Searching based on Equal to Address implemented 2011-02-20 20:05:48 +00:00
andres.delikat aabc34c6c9 Ram Search - display values column based on Data Type menu selection 2011-02-20 19:31:25 +00:00
andres.delikat 06eb9888ca Ram Search - refix autoload 2011-02-20 19:21:56 +00:00
kylethomson 0bcfa70dd4 DarkKobold attacks!
Excellent move! 
The Metal Slime's Hit points have been reduced by 10.

Thou hast done well in defeating the Metal Slime
2011-02-20 19:18:27 +00:00
kylethomson 005138b453 More cleanup of input Config 2011-02-20 15:25:00 +00:00
kylethomson 3cf44657c1 Need to have instances in Controller types if no defaults.
Also added more HotKeys
2011-02-20 06:52:39 +00:00
andres.delikat 172a48f8a1 Ram Search - Start the groundwork for the search button 2011-02-20 04:54:41 +00:00
andres.delikat f8b5055f53 Ram Search - refix Undo, and implement clear change counts 2011-02-20 04:04:12 +00:00
andres.delikat 8192860072 Ram Search - remove lovely pink backgrounds 2011-02-20 03:52:19 +00:00
andres.delikat a17c0270c2 Ram Watch - refix background color on separators 2011-02-20 03:50:08 +00:00
kylethomson 643efb2caa This disable everything but Tab, but its the only way I found to stop from Tabbing away. Need help. 2011-02-20 03:39:47 +00:00
andres.delikat 4c04596224 Ram Watch - refix display stuff to work with VirtualListView 2011-02-20 03:36:31 +00:00
kylethomson 9747e41feb Added more hotkeys 2011-02-20 03:24:37 +00:00
andres.delikat 2b4fd12d0a Ram Search - refix some things that got reverted in the virtualListView commit 2011-02-20 03:14:48 +00:00
kylethomson 1a00047b7e In the immortal word of Homer Simpson. "DOH!" 2011-02-20 03:02:44 +00:00
zeromus df48afbc46 i guess you have to use ItemCount and not VirtualListSize. oops! 2011-02-20 02:33:39 +00:00
andres.delikat 3aeae6e771 Ram Watch - attempt to use virtuallist instead of listview 2011-02-20 01:41:58 +00:00
zeromus b7edf19c5b zeromus uses the sandglass of regression! 2011-02-20 01:35:58 +00:00
kylethomson 3d49a8c5a7 Adding C# lua projects to BizHawk. One refuses to compile. 2011-02-20 01:27:16 +00:00
zeromus 6b35d45594 demo other VLV features 2011-02-20 01:27:22 +00:00
andres.delikat ab50252e68 Ram Search - use .Refresh() instead of .Update() 2011-02-20 01:14:17 +00:00
zeromus b72c1b6827 says who 2011-02-20 01:04:58 +00:00
zeromus f623285cab add address 2011-02-20 01:03:37 +00:00
zeromus 298a0a5c2f redraw listview each frame, maybe 2011-02-20 00:56:43 +00:00
zeromus b0005e19aa but it wont build until i check this in due to some kind of MemDomainLabel not being checked in 2011-02-20 00:50:32 +00:00
zeromus 210f77bc64 2011-02-20 00:49:24 +00:00
andres.delikat 431c94cbb5 Ram Search - attempt to use the virtuallistview object 2011-02-20 00:42:01 +00:00
andres.delikat c6c422c96a Ram Search - implement change count display 2011-02-20 00:38:31 +00:00
kylethomson 9db8f58cb4 Lua window added. Only can browse for script, at the moment. 2011-02-19 22:42:35 +00:00
andres.delikat 3e22f03e32 Ram Search - On start new search, make current & prev identical, clear previous search list, and undo list 2011-02-19 21:08:47 +00:00
andres.delikat 18d39a5082 Add prev and changecount members to the Watch object so that Ram Search can use them. They can have interesting applications in Ram Watch as well 2011-02-19 21:03:31 +00:00
andres.delikat 5c78391252 Ram Search - more efficient implementation of Undo 2011-02-19 20:37:12 +00:00
andres.delikat 1be99bcd68 Ram Search - implement undo 2011-02-19 20:29:07 +00:00
andres.delikat c8b6713367 Ram Search - fix remove addresses to handle multiple removals correctly, and make DisplaySearches always update the address total 2011-02-19 20:15:02 +00:00
andres.delikat 6f781ad474 Ram Search - dialog tweaking 2011-02-19 17:35:44 +00:00
andres.delikat fa112c8f5f Ram Search - Watch function sends all highlighted addresses to Ram Watch (instead of just the first one). Implemented the RemoveAddresses function 2011-02-19 16:57:54 +00:00
andres.delikat de76607101 Implement Poke Address, and Add to RamWatch 2011-02-19 13:32:03 +00:00
andres.delikat 5281526ec6 Ram Search - display systemID & memory domain 2011-02-19 13:17:11 +00:00
andres.delikat 98a51b3290 Ram Search UpdateValues() hooked up to GameTick() enjoy the awesome slowness! 2011-02-19 02:38:27 +00:00
andres.delikat 28d01b57ef Ram Search - start new search list works 2011-02-19 01:47:45 +00:00
andres.delikat d4bf84ed2c Ram Search - some progress 2011-02-19 00:37:43 +00:00
andres.delikat 2913e8167a Ram Search - hooking up some windows stuff like saving window size position 2011-02-18 19:53:41 +00:00
andres.delikat 03d891cdf8 Allow Ram Search to open Ram Watch, fix so that calling those dialogs from the main menu doesn't create a new dialog if it is already open. 2011-02-18 18:42:28 +00:00
andres.delikat 0fafc2eb0e Ram Poke - Signed int input validation 2011-02-18 16:18:47 +00:00
andres.delikat 686279e7b2 Lots of progress on Ram Poke 2011-02-18 15:36:41 +00:00
andres.delikat b8ed9b01cb Ram Watch - Fix crash on removing multiple highlighted items 2011-02-18 07:20:16 +00:00
andres.delikat d8772ebf9d Ram Watch - Drag & Drop .wch files 2011-02-18 07:02:33 +00:00
andres.delikat 05ac3119ba Ram Watch - double clicking a listview item opens the edit watch dialog 2011-02-18 06:49:19 +00:00
andres.delikat d884070b37 Ram Watch - Code cleanup 2011-02-18 06:41:58 +00:00
andres.delikat d09e89d879 Ram Watch - fix duplicate watch so that it responds to the user changing settings in the edit watch dialog 2011-02-18 06:32:26 +00:00
andres.delikat 9077371aa0 Ram Watch - add context menu to listview object 2011-02-18 06:29:22 +00:00
andres.delikat 79a95ba061 Ram Watch - make Edit/Remove/Duplicate menu items enabled only if a listview item is selected 2011-02-18 06:09:36 +00:00
andres.delikat 2f3f0e01cf RamWatch - Edit watch dialog now makes it clear that the address is a hex value 2011-02-18 06:01:22 +00:00
andres.delikat 5a0d477dba Ram Watch - directly editing an address in the list view validates user input, and if a valid hex number, will pull up an edit watch dialog 2011-02-18 05:52:09 +00:00
andres.delikat b2e7319275 Ram Watch - attempt to validate when a user types an address directly into the list view. Also, added a static InputValidate class that will contain various input validation functions to use on text boxes & such. 2011-02-18 03:48:42 +00:00
andres.delikat 2d1ab6900d Add Ram Poke to the main menu 2011-02-18 02:55:41 +00:00
andres.delikat 4d57bf7150 Ram Watch - implement signed vs unsigned values 2011-02-18 02:48:17 +00:00
andres.delikat 271c55c854 RamWatch - implement 2 byte (big & little endian) value display 2011-02-18 02:44:02 +00:00