adelikat
8b06a39ef9
Lua Text - start a very rough auto-complete box
2012-07-23 02:24:48 +00:00
adelikat
6379aafbae
Lua Writer - start syntax color config dialog and font config, neither do anything yet
2012-07-23 01:32:41 +00:00
adelikat
973aa8f9ae
Lua Writer - better color of library names, anchoring
2012-07-23 01:10:31 +00:00
adelikat
a8753021cc
Lua Writer - syntax highlighting for bizhawk lua library functions
2012-07-23 01:02:04 +00:00
adelikat
f9c764f5e5
oops, previous commit didn't compile
2012-07-22 22:26:43 +00:00
adelikat
09fb9c88f4
Lua Writer - implement saving and fix so that the text only redraws when it needs to.
2012-07-22 22:24:02 +00:00
rolanmen1
0eba6e53e4
LuaWriter. Added coloring symbols, it won't color if the symbol is part of a comment or a string. Also made (") and (') to not color when it's part of a comment.
...
Config.cs. Added SymbolColor, wich by default is black.
2012-07-22 22:16:44 +00:00
adelikat
75bed1f242
Lua Console - open selected file in lua writer dialog, implement drag & drop on lua writer (but fails because it doesn't allow drop on the edit box itself)
2012-07-22 20:25:53 +00:00
adelikat
a380319973
Lua Console - remove hacky lua writer button. Set edit button to open the writer on interim builds only
2012-07-22 19:59:33 +00:00
adelikat
e56de584e3
Lua Writer - faster drawing
2012-07-22 19:54:40 +00:00
rolanmen1
21344b7bc4
LuaWriter. Re-structured coloring Strings.
2012-07-22 04:22:18 +00:00
rolanmen1
f775c081f1
Config.cs: Added 3 variables that will be used for the colors of LuaWriter.
...
LuaWriter: Made it use the values of the variables in Config.cs. Made (") and (') colors the whole line if they are not closed. Now colors the word elseif.
2012-07-21 19:29:45 +00:00
rolanmen1
1616cc7eb9
LuaWriter. Prevented some exceptions.
2012-07-21 04:17:49 +00:00
rolanmen1
9bca1b198d
LuaWriter. Fixed error that prevented coloring multiple strings in the text. Also made that Reserved Words will only color if there are no letters or numbers next to them.
2012-07-20 22:50:28 +00:00
rolanmen1
1a45b82d64
LuaWriter. Now colors Strings. TODO: Allow to color multiple Strings in the same line.
2012-07-20 22:02:14 +00:00
rolanmen1
6f295fe0c8
LuaWriter. Now colors Multi-Line Comments.
2012-07-20 05:36:33 +00:00
rolanmen1
48b24703a3
LuaWriter. Now colors single line comments to green.
2012-07-19 21:20:23 +00:00
rolanmen1
4b3971a997
LuaWriter. It will now color black unmatches in the text. Also fixed a bug that randomly selects a small block of text.
2012-07-19 19:58:27 +00:00
adelikat
7cb69f4826
Hook up LuaWriter to a new & hacky toolstrip icon for now
2012-07-19 04:19:24 +00:00
adelikat
fb841bc764
check in luawriter winform files, needs to be hooked up
2012-07-19 00:19:47 +00:00
andres.delikat
45227b1b11
Lua - Lua Function List - column sorting (including descending)
2012-07-12 02:03:46 +00:00
andres.delikat
4aaeabb568
Lua - much improved lua function list including return type and parameters
2012-07-12 00:57:09 +00:00
andres.delikat
3a73f8a427
Lua - backend for more thorough self documenting, lua function list dialog has the same functionality as before but is primed for a better UI
2012-07-11 15:03:51 +00:00
andres.delikat
9da0cd3553
Lua - forms.textbox() add field to optionally set the textbox to signed, unsigned, or hex values
2012-07-10 23:09:06 +00:00
andres.delikat
827e2150d7
Lua - implement forms.button(), and the basic backend for calling lua functions on events from user generated controls
2012-07-10 20:23:19 +00:00
zeromus
3a8fe7c464
lua-fix crashes when scripts terminate
2012-07-10 19:40:35 +00:00
andres.delikat
ec9cf60d6d
Lua - start forms creation library, implement forms.create(), forms.destroy(), and forms.destroyall(). Still TODO: make the forms do something! Also added console.log as an alias to console.output
2012-07-10 19:04:35 +00:00
andres.delikat
ca9c27113f
"Never be asked to save changes" config menu item
2012-07-10 17:22:23 +00:00
andres.delikat
0791a713a4
Hex editor - remove a todo that is no longer valid
2012-07-09 18:41:59 +00:00
brandman211
a127e2e4f2
Diff => Difference in the View submenu on Ram Watch.
2012-07-05 19:10:12 +00:00
adelikat
11312699e4
Ram Watch - fix sorting of prev & diff columns based on last change definition
2012-07-05 03:34:05 +00:00
adelikat
d65bd2bb0c
Ram Watch - better default column widths and fix restore default settings column widths. Fix reseting of Prev column when changing prev definitions
2012-07-05 03:21:39 +00:00
adelikat
af9690baec
Ram Watch - center diff column
2012-07-05 03:11:33 +00:00
adelikat
a1ff6164ec
Ram Watch - make new column compatible with old config files
2012-07-05 03:05:23 +00:00
adelikat
b0b7478b40
Ram Watch - on load, check if Diff should be displayed. Implement prev value options - last frame, and last change (Diff adjust accordingly as well)
2012-07-05 01:58:33 +00:00
adelikat
a8e3ffa624
Ram Watch - implement Diff column
2012-07-04 23:11:17 +00:00
adelikat
14f7aab89e
Hex Editor - fix a bug where shift clicking the first address does not highlight properly.
2012-07-04 21:25:34 +00:00
phillip.grimsrud
8bc250e7dd
1. Added Atari 2600 to COMMANDS dictionary.
...
2. Added Atari 2600 case when updating virtual pads.
2012-06-30 01:23:02 +00:00
adelikat
690fb786a5
Hex Editor - move "nibble" display to a readable place (broken from the header speed optimization)
2012-06-25 03:21:54 +00:00
adelikat
5f3f6547aa
Hex Editor - on find next/prev focus Hex Editor rather than find box
2012-06-25 03:13:02 +00:00
adelikat
7291a8ab0f
Hex Editor - ability to increment/decrement frozen addresses. Big Endian and wrapping logic for Increment/Decrementing 2 byte values
2012-06-25 03:10:04 +00:00
adelikat
4d91471bab
Record movie dialog - use filesystem safe name of game when choosing a default name. Fix regression that made default filename not populate in the savefile dialog.
2012-06-25 00:06:07 +00:00
adelikat
d59b1e82c7
As usual, I forgot to check in new winform files
2012-06-24 03:45:56 +00:00
adelikat
2d4c6acc04
Hex Editor - implement shift logic to Home/End keys
2012-06-23 21:09:20 +00:00
adelikat
0d40a40ea4
Hex Editor - add shift highlighting logic to up,down,left,right,pageup,pagedown keys, add multi-highlight logic to tab and shift+tab. Still todo: several other keys.
2012-06-23 20:48:17 +00:00
adelikat
12e674973d
Hex Editor - implement a find box with Find Prev/Next functions. Also make find highlight all values in the search string when finding a vlue, add Find Next/Prev menu items with hotkeys.
2012-06-23 18:45:01 +00:00
zeromus
d302db48b7
remove tahomas from the gui--shouldve been unset (use defaults)
2012-06-20 22:29:00 +00:00
zeromus
a5df44f1a7
why is segoe ui 9 used in the hex editor instead of tahoma 8.25 like everything else ? not anymore
2012-06-20 22:22:33 +00:00
adelikat
980e23b419
Hex Editor - better window size
2012-06-20 01:01:18 +00:00
adelikat
985af6f34c
Hex Editor - Find - implement multi-select
2012-06-19 23:44:36 +00:00
adelikat
11de294bf5
Hex Editor - implement multi-highlight, make freeze/unfreeze, add to ram watch, and copy use all highlighted addresses. Add Copy & Paste to context menu
2012-06-19 02:42:07 +00:00
adelikat
6bfb4be61c
Hex Editor - fix scroll wheel scrolling broken on last Hex Editor commit
2012-06-19 01:33:32 +00:00
brandman211
cd6cf72195
"Prev Value as change" and "Display Watches On Screen" now restored by "Restore Default Settings" in Ram Watch.
2012-06-19 00:27:57 +00:00
adelikat
640269318c
Hex Editor - another tiny speedup by moving something outside the values generation function
2012-06-18 03:39:21 +00:00
adelikat
b4c10f2e15
Hex Editor - several fps speed up - only draw left column of addresses when needed instead of every frame
2012-06-18 03:34:14 +00:00
phillip.grimsrud
a6ced95e07
1. Fixed tastudio memory leak. This was accomplished by dropping the oldest saved stats after hitting a size limit (1 GB).
...
2. Changed StopOnEnd to StopOnFrame. This expands the functionality so that you can tell the emulator to run and then stop at a predetermined point.
3. Expanded the functionality of RewindToFrame to handle more cases. Now you can go back or even forward to a frame and it handles the execution and greenzone appropriately.
4. Due to the change in structure some code was changed to check the index of the first and last saved states in the greenzone rather than relying on the size of the saved state list.
5. Changed the list of saved states in the movie log from a list of byte[] to a list of structures (the structure has an int for the index and byte[] for the state).
6. Saved an init state in the movie log. This is used to go back to the beginning if the beginning of the movie is no longer in the list of saved states.
7. Expanded the AddState and SetFrameAt logic in the movie log to account for the fact that the size of the saved state list is now capped.
8. Fixed a bug in the log interpretation for SMS.
9. Fixed a bug in the sms virtual controller, buttons 1 and 2 were hooked to the wrong objects.
10. Fixed the tastudio listview to show lag as pink.
2012-06-18 01:36:38 +00:00
adelikat
bcef8e62d7
Hex Editor - fix bug where highlighting highlights the row above, was broken by my last Hex Editor commit
2012-06-16 23:11:43 +00:00
brandman211
713a016704
"Previous Value" and "Change Counts" options moved to a new View submenu for Ram Watch.
2012-06-14 00:00:53 +00:00
pasky1382
eea900a99f
Added color option to the new address header in the hex editor.
2012-06-13 02:44:19 +00:00
adelikat
ac96d4cc4a
Hex Editor - draw header only as needed rather than every frame, 1-2 fps speedup
2012-06-13 02:18:34 +00:00
adelikat
f7d66d4924
Hex Editor - prevent sound stutter when opening Color config dialog
2012-06-13 00:21:11 +00:00
pasky1382
48e2f8c7dd
Added Highlight, Freeze, and Freeze Highlight color options in the hex editor. Cleaned out the custom color code from HexEditor.cs
2012-06-12 03:50:25 +00:00
adelikat
36aed5008e
Ram Watch - when adding a new address, set previous = value
2012-06-12 00:31:22 +00:00
brandman211
160694a0d4
Set up Watch.cs for Diff.
2012-06-12 00:13:02 +00:00
zeromus
34dd2812f6
fix lua memory leak (maybe affected today, but the leak is from may 6) and revert some virtuallistview changes which break more things than they fix. it seems .net's listview just happens to blow up internally constantly when its in virtual mode and recover from the exceptions.
2012-06-11 04:20:13 +00:00
adelikat
da1aebe1ac
Hex Editor - some minor code cleanup including putting highlight colors in the config file for eventually adding to the color picker
2012-06-10 23:34:37 +00:00
zeromus
c7925d986c
delete display manager threading. fix gdi+ leaks in lua code. add abstracted OSD drawing "blitter" system for sysdrawing/d3d dual compatibility and framework for future use for faster lua drawing.
2012-06-10 23:27:30 +00:00
adelikat
2574789564
Hex Editor - color picker not modal, move "nibble" display lower to not clash with underline
2012-06-10 22:54:41 +00:00
pasky1382
7ef1151b99
Added a 'Custom Colors' Dialog for the Hex editor tool.
2012-06-10 22:43:43 +00:00
brandman211
7d23581764
Set lastchange to Value in Watch's explicit value constructor to match the change to prev.
2012-06-10 19:33:11 +00:00
adelikat
a2a98415bf
Ram Watch - show initial value of a watch when it is initially added (from adding it or loading a file). Fixes issue 74
2012-06-10 17:45:20 +00:00
adelikat
81198cc89f
Hex Editor - add a save as binary option (in addition to the text option)
2012-06-10 17:28:38 +00:00
adelikat
bac863aa70
Hex Editor - add Copy/Paste functions
2012-06-10 16:34:35 +00:00
brandman211
646a6c1c58
-Fixed my GetMnemonic crash fix. It's "Null Controller", not "NULL Controller".
...
-Made it so that each new search zeroes out the change count.
--This prevents all non-zero items from starting out with 1 change.
--A similar fix needs to be applied to Ram Watch (Filing issue...).
-Allowed changing data size, endian, and unaligned address setting in the middle of the search and maintaining valid values, fixing Issue 72 (The last open Ram Search issue until my "Difference" idea is hopefully accepted).
--Unlike my previous model, this does not align unaligned addresses; all it does is change the size / endian and PeekAddress.
--It does remove unaligned addresses, however, if you have it set to.
--This version converts System Bus instantly whereas the previous version stopped responding.
2012-06-10 04:32:25 +00:00
adelikat
3451d3391e
Refactor readword/dword similarly to Ram Search
2012-06-09 22:56:08 +00:00
adelikat
e025ca99bf
Hex Editor - Find - start searching from highlighted value so that multiple find calls go to the next value. Show highlighted value in input box by default.
2012-06-09 22:45:24 +00:00
brandman211
2580489986
Refactored previous parameter in CompareTo and ComparePrevious from strings to enums.
2012-06-09 22:10:39 +00:00
adelikat
b2c9171b90
Hex Editor - Find option, allows you to enter a series of hex values and search ram for this combination
2012-06-09 22:04:09 +00:00
adelikat
c0d5437ff4
Ram Watch - revert "fix" to watch count display, make watch list count update in appropriate places, don't count separators in watch count, fix cosmetically be showing "watch" instead of "watches" when there is 1 address
2012-06-09 21:57:00 +00:00
brandman211
376ffd3ba4
-Refactored what zeromus wanted me to and nothing more.
...
-The number of watches in Ram Watch is now updated in UpdateValues instead of LoadWatchFile, meaning that it's updated every time items are added / removed.
--Also noticed that separators count as watches. Filter these out and exclude them from the count, adelikat?
2012-06-09 21:43:02 +00:00
adelikat
14b5a4204b
Ram Search - specific value box - only show hex in uppercase
2012-06-09 16:37:03 +00:00
adelikat
0eae1a07fc
Watches - cleanup PeekAddress() some
2012-06-09 14:18:28 +00:00
zeromus
1fbf9940c9
make peek/poke word/dword make some semblance of sense
2012-06-09 08:44:27 +00:00
brandman211
1c5a5a5ac3
Seemingly fixed the casting problem.
...
-UGLY REDUNDANT UGLY REDUNT UGLY REDUNDANT (Especially for DoSpecificValue() and DoPreviousValue()).
-I tested every possible scenario for the aforementioned abomination and it seems to work.
-I applied SignedVal and UnsignedVal to the comparison functions for sorting, the ToString functions, and specific value and previous weedings. I don't think there's any other places where this is an issue.
TODO:
-Try my mid-search data size conversion code again.
--Use it on System Bus and see if it is as slow (Not Responding) as it was previously now that 3 lists have been removed.
--Try allowing unaligned addresses and see if that makes any difference.
-Convince adelikat that moving "Prev value as change" to its own data item and column ("Differences" seems more appropriate) is the only sensible way.
-Maybe move all of the previous definitions from Ram Search to Ram Watch (With the exception of "Since last Search" of course.
-Perhaps allow the viewing / hiding of more columns on Ram Watch / Search.
2012-06-09 08:29:31 +00:00
brandman211
06d4017b07
Unsigned / signed conversion for the Specific Value now works for word / dword.
...
-Well, dword is broken in general because of casting, which will hopefully be fixed soon...
2012-06-09 06:52:04 +00:00
brandman211
720193b50f
-Cleared the sorted column whenever the previous definition, data size, data type, or endian changes because these options might place the values out of order.
...
--Well, data size and endian don't, but they will once these changes take effect in the middle of a search.
-Previous can now be defined as the last change, fixing the enhancement shown in Issue 73 (Ram Watch equivalent might come later).
-Fixed unsigned sort.
2012-06-09 06:40:11 +00:00
adelikat
f02d28fb38
Ram Search/Watch, Hex Editor - improve some code efficiency, tiny speedups if any
2012-06-09 05:34:01 +00:00
brandman211
3b54bd268a
-Useful refactoring!
...
--prevList, undoPrevList, and redoPrevList removed. All of the definitions for previous are now stored in separate data items.
---Should yield small speed increases.
---Makes it easier to port these definitions to Ram Watch eventually.
---Auto-aligns data, making it impossible for issues, such as the original values not aligning with the correct values because the prevList wasn't recreated, impossible.
---Makes it possible for the field to automatically update when the definition is changed (Implemented).
--Value/PrevToString() now use the same code.
--Reduces redundancy.
---This was a problem as PrevToString wasn't taking into account the data type, whereas Value was. This is now fixed.
-Watch now stores the data for the "last change" previous definition. Now I just have to set up the option in the GUI.
2012-06-09 01:56:56 +00:00
brandman211
eefb41f0b3
-Added message saying that the data type has been converted when you change the data type.
...
-Moved the "Included mis-aligned" box to data size where it should be.
2012-06-08 18:59:20 +00:00
brandman211
e5972f1368
Fixed Issue 44. I created two new lists, undoPrevList and redoPrevList which are updated / restored in the same places as their counterparts with prevList instead of searchList.
2012-06-08 06:23:33 +00:00
brandman211
3aaf57802c
Fixed Issue 43. In hindsight, the problem was very obvious: "Since last frame" uses searchList while the other options use prevList, and only the former ever got sorted!
2012-06-08 05:15:07 +00:00
brandman211
4a6fed75d9
ConvertListDataType now converts all of the lists.
2012-06-08 02:25:24 +00:00
brandman211
67a9f86c78
-Fixed GetSpecificValue(), which means that signed searching works now.
...
-Upon changing data type, the contents of the specific value box converts accordingly.
2012-06-07 23:17:22 +00:00
brandman211
38d22b8549
Exlude => Exclude. >_<
2012-06-07 20:24:29 +00:00
brandman211
5a678f96d8
Fixed Issue 69 by properly chucking the invalid lines out of watch files instead of trying to get out of range substrings and parsing non-numbers as integers. Also, as the newly stored SystemID has yet to be accounted for in any way, I made the parser skip those lines. Not sure if there's something Ram Watch should do with this data as it seems like the SystemID is more accurately defined by the core currently running.
2012-06-07 18:41:39 +00:00
phillip.grimsrud
cb4c45eb70
1. Upgraded insert and delete functions in tastudio to support multiple selection.
...
2. Fixed issues with the light blue current frame pointer in tastudio
3. Removed a totally useless index that was being kept seperately in the movie log.
4. Moved the tastudio update after the check to see if the rest of the saved state list is valid.
5. Changed some function/variable names related to the movie log for clarity.
2012-06-07 04:47:54 +00:00
adelikat
93b266838c
Add drag & drop for lua and luases files to main window. Allow multiple lua script drop to console and main window
2012-06-07 03:41:45 +00:00
adelikat
c8d07a5078
Ram Watch/Search - add System ID to .wch files
2012-06-07 03:16:25 +00:00
phillip.grimsrud
c7db5fd543
1. Fixed an issue that prevented going into the movie finished state properly.
...
2. Relegated a memory leak to tastudio.
2012-06-03 04:04:13 +00:00
adelikat
8ca6b24614
Cheats, Lua, Ram Search/Watch - flag changes when adding a separator, default to SaveAs if saving a new file, allow Save in menu item in this scenario
2012-06-02 22:06:00 +00:00
adelikat
393dd9dcfe
Ram Watch/Search, Hex Editor - set endian based on the endianness of the memory domain by default
2012-06-02 21:48:09 +00:00
adelikat
0a0c4b43ae
Hex Editor - add Go to Address to the context menu
2012-06-02 21:18:21 +00:00
adelikat
a74fbb84fe
Fix Ram Poke for Ram Watch/Search dialogs
2012-06-02 21:07:29 +00:00
adelikat
6578371bca
Hex Editor - remove poke context menu item, since there is no need for it, just type in the values!
2012-06-02 18:49:06 +00:00
adelikat
2e5547806d
Ram Search - add View In Hex Editor menu item to the context menu
2012-06-02 14:38:35 +00:00
phillip.grimsrud
d6479e5613
These changes are TAStudio related.
...
1. Added a list of save states to the movie log.
2. Added corresponding support functions for the save states.
3. Added double click to the list view to load a previous frame.
4. Added a context menu to the list view with insert and delete.
5. Fixed some issues with the green zone of valid state history.
6. Fixed an input bug that I had unwittingly created, as well as issues with the nes log format.
2012-06-01 05:49:26 +00:00
phillip.grimsrud
bf325ec082
Fixed TAStudio read-only mode button to change the movie mode instead of changing the read-only flag which has a different meaning.
2012-05-28 01:50:16 +00:00
phillip.grimsrud
fc0ec832ae
These changes are for TAStudio upgrades. If I've broken other stuff please yell at me.
...
1. Hooked up Fast Forward, Fast Forward to End
2. Made a placeholder for Turbo Fast Forward.
3. Fixed rewind to not stomp on the previous frame with new input.
4. Fixed rewind to stop at the beginning of the movie instead of freaking out.
5. TAStudio now shows data from the most recent frame.
6. CommitFrame is called even if not recording so played back frames also show up in TAStudio.
7. Play mode only stops at the end of the movie if you tell it to. Your emulator normally continues to play with no input after the end of the movie.
8. TAStudio is now updated after a rewind (even though the rewind doesn't play a new frame).
9. Split the tools update into before and after updates.
10. Going into read-only mode adjusts the movie mode.
11. Implemented New, Open, Save, and Save As for TAStudio.
12. Fixed an issue where frames past the end of the log would default to the input from the last frame of the log.
13. Fixed a problem where you couldn't rewind to frame 0.
14. Fixed a scrolling issue in the TAStudio list view.
15. Fixed an issue with the TAStudio virtual NES controller not matching up with the log.
16. Fixed an issue where the NES reset button would get held in when rewinding.
17. Added/Modified a couple of button graphics.
2012-05-28 00:44:27 +00:00
adelikat
b08d338761
Gameboy - make debugger useful by connecting it to the multiclient events
2012-05-19 13:33:45 +00:00
brandman211
7ab8fe087a
Fixed drop down labels in RAM Watch and Search.
2012-05-12 07:07:34 +00:00
zeromus
857d0a5b39
voila, "emu" resolution lua drawing, hacked in place of the native resolution drawing because rolanmen1 decided to destroy my surface management paradigms (i can tell because the earth is scorched with spaces instead of tabs)
2012-05-06 07:09:04 +00:00
Rolanmen1
9b9a8546a5
Deleted the ClearDisplaySurface functions. If you just need to clear the graphics, call gui_ClearGraphics function in LuaImplementation.
2012-05-01 15:15:19 +00:00
Rolanmen1
2799d55f4a
Now gui.drawNew and gui.drawFinish doesn't need to be invoked via Lua Scripts. However they are invoked every frame. Basically, this means that graphics are drawn and cleaned every frame. So, if you Pause/Stop a script, the graphics gets cleaned right away.
2012-05-01 14:43:17 +00:00
adelikat
54d1c873df
Fix when guitext gets cleared, reduces most of the flickering and inconsistencies with ram watch on screen and lua gui.text, fix punchoutstats lua script
2012-04-30 01:14:23 +00:00
adelikat
25c2e45da8
movies - use Global.Game.System not Global.Emulator.SystemId for the System header when recording a new movie
2012-04-29 14:18:10 +00:00
adelikat
5e91cc2a7e
TAStudio - clear holds menu item & context menu item, clears all buttons pressed on the virtual pads
2012-04-29 13:25:35 +00:00
rolanmen1
3bcaa8f2e6
gui.clearGraphics implemented. This will allow the user to clear the graphics whenever he wants. I also created a function ClearDisplaySurface that is used to clear the graphics whenever the user stops a scripts.
2012-04-27 20:15:07 +00:00
Rolanmen1
f637f5f400
gui.text now has a line color parameter.
2012-04-24 15:23:56 +00:00
rolanmen1
cefc803425
gui.text now accepts BackgroundColor parameter. I didn't had enough time to check stuff, so i will check more deeply some other time.
2012-04-24 03:57:23 +00:00
adelikat
8711c49819
Cheats - on screen message when Disable All Cheats is performed.
2012-04-21 22:42:32 +00:00
adelikat
3bae8da0b6
Adjustment to height settings of osd messages, code clean up in movie.cs
2012-04-16 12:17:25 +00:00
zeromus
35fbe354c1
add threaded display manager to allow heavy OSD/compositing/filtering to happen on another thread. add a lua layer accessible via GDI+ which can be automatically composited and the simplest possible demo of it. add some filtering infrastructure and a hq2x filter set ported to c# but need to work on a minimal selector gui before its usable. separate OSD from RenderPanel so that gdi+ presentation mode now gets full OSD support. the OSD is now a little uglier because its drawn entirely differently and could use some finetuning
2012-04-16 08:18:41 +00:00
adelikat
87fa6d5f17
Hex Editor - Context menu - fix "Add to Ram Watch" hotkey display to be Ctrl+W (was left as A)
2012-04-06 02:04:00 +00:00
adelikat
59f92b4c81
TAStudio - atari virtualpads
2012-04-01 18:53:06 +00:00
adelikat
ab2e804300
Change default movie extension to .bkm
2012-03-31 00:38:39 +00:00
brandman211
4240c119b6
Fixed Issue 14, which mentioned that in TAStudio, frame numbers of more than 5 digits don't display properly by default. I fixed this by increasing the width of the Frame column as much as I could without making the section horizontally scroll. This accommodates for 6 digits.
2012-03-30 14:24:40 +00:00
Rolanmen1
e0d98c8a7f
Fixed: * if a lua script errors it stops, but you can't toggle it back because you can't resume a non-suspended script
2012-03-29 20:22:49 +00:00
andres.delikat
ca7d5d9131
Lua Console - add online documentation link to the Lua Function wiki
2012-03-28 20:49:58 +00:00
adelikat
71396ad4b7
Lua - sort the functions in the lua function list (both in the console dialog, and console.luafunctionslist())
2012-03-28 12:26:43 +00:00
rolanmen1
3e84fc9936
Lua - Implemented movie.getinput()
...
NOTE: There may be uknown errors.
2012-03-27 15:45:50 +00:00
rolanmen1
5e25b15100
Lua Console - Save Menu Option Now Enables Even When There's No Session Loaded
...
ListView Refreshes When Loading A Session From Recent
When Clicking On New Lua Session Option, It Now Cleans The CurrentLuaSession String. This Will Prevent Some Unwanted Results When Saving A Session.
2012-03-27 13:54:29 +00:00
rolanmen1
5337fb2213
Lua Console Now Saves And Loads Sessions With Separators
2012-03-27 13:31:30 +00:00
brandman211
9ff5f10a70
Resolving Issue 13. Easy fix; just needed to check if the string was empty before doing substring operations on it.
2012-03-27 07:48:05 +00:00
zeromus
46a638ee96
fix bug in lua coroutines which made error propagation get mixed up and possibly result in a bunch of other subtle bugs
2012-03-27 07:25:36 +00:00
rolanmen1
36c4dee7b8
Show Errors On Lua In The Output Box More Accurately
2012-03-27 03:34:21 +00:00
adelikat
f145d8e655
Cheat Window, Ram Watc, Lua Console - fix exception when clicking Move Up on the first item in the list.
2012-03-26 23:38:29 +00:00
adelikat
602ee06ffc
Lua Cosnole - output message at bottom of dialog to show if changes have occured and saved messages (same as other tool dialogs such as ram watch). Better minimize size parameters of dialog.
2012-03-26 23:31:21 +00:00
rolanmen1
908a9a11c5
Lua Console - Save Session Menu Option Should Now Enable/Disable Correctly. Also Added The Condition That There Should Be At Least One Script To Be Able To Save.
2012-03-26 13:46:28 +00:00
rolanmen1
e2e3ee3301
Loading A Script With Errors Via Load Lua File Now Disables And Shows Error In Output Box. Toggling On A Script With Errors Disables Itself Right Away.
2012-03-26 08:52:06 +00:00
adelikat
7daf318134
gui.text() - add a 5th parameters "anchor" that will anchor the text to top, left, bottom, or right. Same functionality as the message config anchor option.
2012-03-26 02:58:24 +00:00
adelikat
f72fce15fd
Lua Console - fix anchoring properties
2012-03-26 01:41:39 +00:00
rolanmen1
5283b4c06c
Avoid Crashing After Trying To Delete A Script With Errors.
2012-03-25 15:34:09 +00:00
rolanmen1
35f42b94f3
Dragging A Lua Session Now Works. Script Errors From Dragging Sessions Now Appears In The Output Box.
2012-03-25 14:51:35 +00:00
rolanmen1
75c0a9f7d3
Script Errors Now Appears In OutputBox.
2012-03-25 09:47:31 +00:00
Rolanmen1
e9e988a83e
When Loading An Script With An Error, BizHawk Won't Crash. For Some Reason I Couldn't Show The Script Error In The OutputBox.
2012-03-24 21:55:37 +00:00
Rolanmen1
d0afec182f
Pause/Resuming Scripts Have Been Implemented
2012-03-24 18:59:24 +00:00
rolanmen1
d0995970fc
User Can't Toggle, Edit Nor Pause Or Resume To Separators. Edit Buttons Now Opens Multiple Scripts Instead Of The First Selected.
2012-03-24 13:25:19 +00:00
rolanmen1
87f9ace0d9
Added Resume/Pause Script Option Everwhere It Should Be And Also Added Pause Icon To All Of Them.
2012-03-24 12:43:11 +00:00
rolanmen1
661565cf3e
Added Pause Property To Scripts, Menu Option To Pause/Resume Scripts, Enabled And Paused Scripts Change It's Background To Red (May need to change this). Label Above ListView Shows How Many Scripts Are Paused. Need To Add Pause Icon To The Menu Option.
2012-03-24 10:53:26 +00:00
zeromus
5f39ba5bbd
add emu.yield, which when used allows a script to run while emulation is paused and interact with the gui/main window in realtime
2012-03-23 23:03:39 +00:00
zeromus
aaf92e0e25
how did that happen
2012-03-23 19:48:45 +00:00
zeromus
bc3e8606a2
refactor lua scripts to be more flexible
2012-03-23 19:44:47 +00:00
zeromus
0372969f13
change lua to use lua coroutines for multiple scripts instead of .net threads
2012-03-23 18:24:29 +00:00
rolanmen1
dcaf724dae
Fixed A Bug When Saving A Session That Prevented Them To Be Loaded Correctly.
2012-03-21 12:51:52 +00:00
andres.delikat
bb7e320f92
Lua Console - when opening a duplicate lua script, don't turn script on if the disable lua script on load option is checked
2012-03-20 21:44:34 +00:00
rolanmen1
652fea7392
If User Opens A Script That Is Currently On The Session, It Will Toggle It On.
...
If User Deletes The Script From The Session, It Will Stop.
Script Counter Now Updates On More Circumstances.
2012-03-20 15:31:06 +00:00
andres.delikat
da634a45f1
Lua Console - autoload session
2012-03-19 16:49:47 +00:00
andres.delikat
33383b533b
Lua Console - option to disable scripts on load
2012-03-19 16:19:31 +00:00
andres.delikat
adda412369
Lua Console - track changes on Move Up / Down
2012-03-19 15:33:38 +00:00
andres.delikat
40b057a474
Lua Console - drag & drop .txt files
2012-03-19 15:26:05 +00:00
andres.delikat
9f6420b2bc
Lua Console - Open Script - add a *.txt option in the openfile dialog
2012-03-19 15:23:08 +00:00
zeromus
d0354fd1fe
fix lua poop
2012-03-17 23:40:30 +00:00
adelikat
338f4230f1
Lua Console - logic for hiding/disabling menu items
2012-03-17 23:16:11 +00:00
adelikat
300f68e8b7
Lua Console - implementing changes tracking and asking to save changes
2012-03-17 22:23:52 +00:00
adelikat
97f32bde91
Lua Console - implement recent session
2012-03-17 21:59:56 +00:00
adelikat
44ba1c2594
Lua Console - implement Save Session and Save Session As
2012-03-17 21:31:48 +00:00
adelikat
c3aeda2d54
Lua Console - clear output window on New Session
2012-03-17 12:19:30 +00:00
adelikat
1380cccd7a
Lua Console - output window - context menu with a clear option
2012-03-17 12:14:59 +00:00
adelikat
dac438ec02
Lua Console - Better dialog for lua functions list, stop and start sound on calling list
2012-03-17 02:18:09 +00:00
Rolanmen1
a8df8116e6
Toggling Lua Scripts By Double Clicking Now Works
2012-03-13 22:39:07 +00:00
Rolanmen1
ff21856389
Toogling Scripts From The Toogle Button And Menu Option Works, Double Clicking Doesn't
2012-03-13 22:08:17 +00:00
adelikat
635ae613a4
Ram Watch - when drawing watches on screen, use alert font for frozen addresses
2012-03-11 00:50:06 +00:00
adelikat
7e38f4a940
Hex Editor - move Add to Ram Watch to Ctrl+W instead of A! A is a hex value that should be able to be typed in
2012-03-10 02:31:34 +00:00
adelikat
88424ca2b7
Fix a few warnings
2012-03-09 20:38:44 +00:00
adelikat
c7ec2aed6c
NES Nametableviewer - Screenshot to clipboard option
2012-03-09 19:07:16 +00:00
taotao54321
3017dacdf1
SetMemoryDomain() called StartNewSearch(), so fixed it
...
It broke LoadSearchFile()
2012-03-09 18:50:26 +00:00
taotao54321
9716387b2f
HexEditor: set defaultWidth/Height at loading, not in constructor
2012-03-09 17:14:39 +00:00
taotao54321
389693e6f4
HexEditor: member Width, Height hide the original property Width, Height. So renamed to Width_, Height_
2012-03-09 16:37:55 +00:00
taotao54321
0e2341b37f
Sometimes HexEditor forgot the settings, so fixed it
...
And refactored loading/saving settings
2012-03-09 16:13:40 +00:00
adelikat
2dd03cbf03
Hex Editor - dynamically add unfreeze option to the menu item as well.
2012-03-09 01:50:39 +00:00
adelikat
502e395be0
Hex Editor - some hotkeys - A for Add to Ram Watch, Del for unfreeze, Shift+Del for unfreeze all
2012-03-09 01:43:52 +00:00
adelikat
5376186eb0
Hex Editor - Context menu - if address if frozen, show an unfreeze menu item instead of freeze
2012-03-09 01:33:55 +00:00
adelikat
f0de9366ec
Hex Editor - space bar toggles an address as frozen/unfrozen
2012-03-09 01:24:46 +00:00
adelikat
f48de28581
Hex Editor - + and - buttons now increment/decrement the value of a selected address (added context menu items as well)
2012-03-08 18:33:57 +00:00
adelikat
bd7c9e3309
Lua Console - implemented open lua script toolstrip icon
2012-03-05 14:27:29 +00:00
zeromus
dec7183e73
fix bug in ramwatch signed value printing, and probably unsigned 32bit value printing as well
2012-03-04 21:46:54 +00:00
brandman211
91ea63c09e
-Made the errorMsg in ImportFile display.
...
--Moved the command message in ImportText to this.
-Converted ImportVBM to use a MnemonicsGenerator.
--This should work, but I can't test as I still don't know for sure as the import fails and displays "Not a valid VBM platform type."
--I iterated through the buttons using a list and left-shifting. I applied this method to ConvertMMV, which works.
TODO:
-Comment MovieImport.cs.
-Fix the exception that is thrown for Gameboy games.
-Get ImportVBM to actually work, scanning through the input to see if it seems sane.
-Figure out why pressing Pause on GameGear results in a "P" instead of a "p", and whether or not this is a factor in runs syncing.
2012-02-24 04:44:40 +00:00
andres.delikat
8e241067e6
Lua - hook up savestate library and implement saveslot() and loadslot() methods
2012-02-03 12:18:27 +00:00
kylethomson
ca1114311c
Kill the lua thread as part of closing.
2012-01-29 03:22:05 +00:00
andres.delikat
c7cc0ee203
lua - implement memory.getcurrentmemorydomain(), memory.getmemorydomainlist(), memory.usememorydomain()
2012-01-28 22:30:04 +00:00
andres.delikat
2e0ac111ab
Proper checking if lua is running when doing thread waiting/set
2012-01-28 22:00:51 +00:00
andres.delikat
0082876510
LuaConsole - protect WriteToOutputWindow() and ClearOutputWindow() in case lua console is closed when called. Close the lua object on LuaConsole close (fixes some crashes).
2012-01-28 21:51:01 +00:00
andres.delikat
7ac7f335f9
send FromCuePath a default CueBinPref object to make it compile. Todo: feed it a correct value??
2012-01-22 23:56:49 +00:00
kylethomson
16ec704e41
Added Frameadvance with threading. Can't test, because CueFromPath is broken.
2012-01-22 23:44:53 +00:00
andres.delikat
abf0698e43
oops
2012-01-22 23:07:50 +00:00
andres.delikat
d4260e22b1
Lua Console - hook up recent lua menu items, and start lua session file loading
2012-01-22 23:03:43 +00:00
andres.delikat
defbe971c4
Lua - open/close rom, open tool dialogs, fix memory_readbyte to read from a selected memory domain instead of hardcoded main memory (with main memory as the default), small fix ups to lua console
2012-01-22 22:42:40 +00:00
andres.delikat
78cc4d5cae
Lua - started a client library for functions that control the multiclient. Added client.openramwatch() as a proof of concept.
2012-01-22 22:20:09 +00:00
andres.delikat
48c651cfc7
Lua Console - lua functions list menu item. Lua - console.clear, console.getluafunctionslist, emu.getsystemid
2012-01-22 03:14:31 +00:00
andres.delikat
95a769aa0c
Lua console - minor gui fixups
2012-01-21 20:38:43 +00:00