adelikat
597708765a
Lua canvas - use LuaMethodAttribute (if available) when registering canvas methods, also fix casing of a few methods for consistency, fixes #908
2017-07-10 14:59:05 -05:00
adelikat
9581ce6a93
rename LuaMethodAttributes to LuaMethodAttribute so as not to be a bad person
2017-07-10 14:02:08 -05:00
zeromus
0f686a0de1
* revert strict string checking behaviour from nlua Revision 10f4d0ce78a2a3cb9b727ac55c8705385f0ded7e (we dont want it, probably)
...
* do a better job porting old commits from bizhawk (should fix memory leaks, optional arguments)
2017-07-10 12:59:06 -05:00
adelikat
5781746251
Lua - use the proper Log method in some lua libraries
2017-07-10 11:24:32 -05:00
zeromus
3417453b43
use NLua+KopiLua instead of LuaInterface
2017-07-09 23:51:02 -05:00
adelikat
af3ab7c208
TraceLogger - Turn off core tracing when closing, TooManager - check for disposed tools before running NewUpdate(), fixes #911
2017-07-09 13:19:09 -05:00
zeromus
cc33617f74
fix crash in snes virtualpad when mouse is used
2017-07-09 11:40:55 -05:00
adelikat
f53624f336
tastudio greenzone settings - don't check for if 64 bit process
2017-07-09 09:39:36 -05:00
adelikat
9a5ae16c7d
remove the 32bit gpgx, and refactor things to only use the 64 bit version. keep 64bit stuff in a gpgx64 folder to avoid git auto-rename detection shenanigans
2017-07-09 09:21:03 -05:00
adelikat
a2a27fb634
Merge branch 'a26peripherals'
2017-06-30 08:36:49 -05:00
Trivial-Man
8a2056193d
LuaCanvas: Add SetLocation function
...
Allows the user to reset the location of the canvas window at will while a script is running
2017-06-29 20:16:02 -06:00
Trivial-Man
22200171e7
LuaCanvas: Include GetMouseX & Y functions
...
Gets the X and Y coordinates for the mouse cursor relative to the canvas
2017-06-29 20:07:21 -06:00
Trivial-Man
1a1ae98a2e
EmuLuaLibrary.Gui: update createcanvas
...
createcanvas now takes additional parameters that specify where the canvas window should be created
2017-06-29 20:03:18 -06:00
Trivial-Man
5900f9b1ec
LuaCanvas: add parameters for specifying location
...
Constructor now takes in arguments for setting the x and y coordinates of the canvas window
2017-06-29 20:01:31 -06:00
Trivial-Man
eb6676e0ba
EmuLuaLibrary.Forms: add more PictureBox functions
...
Adds the functions for getting the mouse x and y coordinates from PictureBox components.
2017-06-29 19:59:27 -06:00
Trivial-Man
fdc30ccd12
LuaPictureBox: Add GetMouse
...
A simple function that gets the point the mouse cursor is at relative to the LuaPictureBox's upper left corner
2017-06-29 19:52:40 -06:00
adelikat
aaaeb95a05
Atari 2600 - update paddle virtualpads with the new float ranges
2017-06-29 13:46:17 -05:00
adelikat
f5cb35a862
Atari 2600 - vritual pad and mnemonics for paddles
2017-06-28 14:27:15 -05:00
adelikat
d862ad8232
Atari 2600 - Virtual support for new controller configurations (Paddles just stubbed out), add Left and Rigth Difficulty toggle buttons to the console buttons section
2017-06-28 07:23:36 -05:00
adelikat
3d443b3e2f
Cheats - change button name from Game Genie to Code Converter. Cheat Code Converter - show a not supported message if user tries to enter a Game Genie code for SNES since we do not currently support that scenario
2017-06-27 21:06:36 -05:00
Trivial-Man
d3834fff49
Merge branch 'master' into master
2017-06-25 18:45:41 -06:00
Trivial-Man
2ddadeae24
Add PictureBox component and methods for drawing on it
2017-06-20 01:20:27 -06:00
Trivial-Man
b0e39406a6
Use LuaPictureBox functions in LuaCanvas
...
Also add in the missing error logs and correct some typos in LuaMethodAttributes.
2017-06-20 01:18:35 -06:00
Trivial-Man
089c487f26
Use LuaPictureBox for the LuaCanvas
2017-06-20 01:16:57 -06:00
Trivial-Man
28acb602ae
Create LuaPictureBox component
2017-06-20 01:12:13 -06:00
adelikat
4982af7521
Merge branch 'master' into waterbox2
...
# Conflicts:
# BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.ISaveRam.cs
2017-06-19 10:04:46 -05:00
adelikat
162e851468
Saturn - virtualpad support for Mission and Dual Mission
2017-06-18 16:05:46 -05:00
adelikat
5c71fc2e34
Saturn - Wheel - virtual pad support
2017-06-18 15:03:51 -05:00
adelikat
7e98cd6ec9
Saturn - mouse - make button names consistent with other cores, virtual pad support
2017-06-18 15:03:50 -05:00
adelikat
b22787fc44
Saturn - 3d pad - set mids for analog ranges, finish virtualpad support
2017-06-18 15:03:49 -05:00
zeromus
4e1decfa21
add LuaCanvas DrawArc missing from last luacanvas PR merge
2017-06-15 15:01:50 -05:00
Trivial-Man
eff9308bbf
Add drawing features
...
Brings canvas up to feature parity with LuaLibraryBase
2017-06-15 11:41:27 -06:00
nattthebear
1314912cf8
libsnes: Hack about a bit to make the graphics debugger function again. It probably crashes somewhere...
2017-06-13 17:55:07 -04:00
adelikat
97d7dd7f42
merging master into waterbox2 this one was messy may be regressions
2017-06-13 08:16:25 -05:00
adelikat
ac6b18c137
tastudio - change performance profile nag to a snes9x nag
2017-06-12 20:56:32 -05:00
alyosha-tas
3c46604f28
Add files via upload
2017-06-11 18:15:11 -04:00
adelikat
d18a512db8
Saturn - virtualpad support for 3d controller, however, analog stick needs some fixes to support the large analog range of the stick
2017-06-11 14:45:18 -05:00
adelikat
5406da7406
Saturn - start virtualpad support - multitap logic in place, only standard controllers currently
2017-06-11 09:36:01 -05:00
nattthebear
36be9e9fc7
snes: waterboxification phase 2
2017-06-10 14:16:25 -04:00
adelikat
e298863b3d
VB - virtual pad support, slight fix to button order on controller config
2017-06-06 11:38:43 -05:00
adelikat
b39c2dccf0
NGP - mnemonic for Option button, Virtualpad support
2017-06-06 11:07:16 -05:00
adelikat
87ce1086cb
snes9x - virtualpads
2017-06-04 19:44:25 -05:00
adelikat
95353188c7
Merge branch 'master' into waterbox2
2017-05-31 13:38:01 -05:00
adelikat
1164868063
GB config dialogs cleanup
2017-05-31 08:52:55 -05:00
nattthebear
f99a080e60
Merge remote-tracking branch 'origin/master' into waterbox2
...
# Conflicts:
# BizHawk.Client.EmuHawk/MainForm.Designer.cs
# BizHawk.Client.EmuHawk/MainForm.cs
2017-05-29 14:35:30 -04:00
feos
3ba4adb6bc
tastudio: finish moving column click edits to taseditor logic
2017-05-29 20:20:44 +03:00
adelikat
3c7707a6a0
lua - add gui.clearImageCache, also add a param to drawImage that can force it to not be cached if desired
2017-05-29 11:09:19 -05:00
nattthebear
7f2e06b0b5
clean things up and make gpgx fully (?) multi-instance correct
2017-05-28 13:46:08 -04:00
adelikat
4db328f7ad
Hex Editor - Find box - remember Hex vs Text radio selection
2017-05-28 10:13:34 -05:00
adelikat
f81f745fcc
Some luaconsole refactoring and moving more logic into LuaImp
2017-05-24 15:59:05 -05:00
adelikat
19dde8018a
InputRoll cleanups
2017-05-24 11:45:57 -05:00
adelikat
74b2cca967
more tastudio cleanups
2017-05-24 10:50:25 -05:00
adelikat
b03e224c5e
TAStudio cleanup
2017-05-24 10:49:35 -05:00
adelikat
50b5f4a1a9
Virtualpad misc cleanups
2017-05-24 09:07:03 -05:00
adelikat
47f2371953
Misc cleanups
2017-05-24 09:06:31 -05:00
adelikat
4d1dd215e6
Lua Console - temp fix to fix recent regression of lua scripts disappearing on reboot core
2017-05-24 08:30:30 -05:00
adelikat
770f27dfd4
Console lua library functions - check if LuaConsole is loaded on these calls. Currently the console should always be open if a script is being called but this is a preparation commit to eventually support running lua scripts without the lua console loaded
2017-05-23 13:05:36 -05:00
adelikat
4919fc5182
don't reference GlobalWin.LuaConsole in LuaConsole!
2017-05-23 13:04:28 -05:00
adelikat
facd845453
Lua Console - Move StartLuaDrawing() and EndLuaDrawing() to LuaImp since they exclusively LuaImp logic
2017-05-23 12:40:40 -05:00
adelikat
6196d81b5d
Move _luaList from LuaConsole to LuaImp
2017-05-22 16:47:27 -05:00
adelikat
8d91557f4e
cleanups in ToolManager
2017-05-22 14:23:14 -05:00
adelikat
a6414ff05c
Mainform cleanup round 2
2017-05-22 14:23:13 -05:00
adelikat
f89bcf4bfa
cleanup of Lua some related files
2017-05-19 11:05:21 -05:00
adelikat
31e68a38f9
Cleanup EmuHawk lua library code
2017-05-19 09:47:18 -05:00
adelikat
7f269d25df
Make lua library dependent services private
2017-05-19 08:58:23 -05:00
adelikat
0d4313af91
general Cheat code cleanup
2017-05-18 15:16:02 -05:00
adelikat
75affd8940
Lua console code cleanup
2017-05-18 14:53:03 -05:00
adelikat
4c48542b98
fix null reference exception when LuaSandbox attempts to use the Logger
2017-05-18 14:27:22 -05:00
adelikat
a9ba93fcf3
C64 virtual pad - fixing mapping of joypad B buttons
2017-05-13 16:45:18 -05:00
nattthebear
ebe789eed2
heh
2017-05-10 07:45:23 -04:00
zeromus
8bc067cbbe
lua: fix memory leak causing crash after a few dozen script loads/resets
2017-05-10 01:58:19 -05:00
adelikat
e839a1c163
Add lua canvas methods to documentation
2017-05-07 16:33:48 -05:00
adelikat
c33fbfddf4
Colecovision - virtualpad support for new controller options
2017-05-07 10:04:15 -05:00
zeromus
ac767a2acc
clarification to the saveram flushing system
2017-05-06 17:50:36 -05:00
J.D. Purcell
8b2b12585a
Mostly whitespace cleanup to reduce difference with mono-portable branch.
2017-05-02 23:09:50 -04:00
adelikat
698c6741ae
Refactor IEmulator and remove the IController property, instead pass it as a paramter to the FrameAdvance() method
2017-05-01 20:09:11 -05:00
adelikat
ded1c2d7b7
Break off BoardName from IEmulator into a separate IBoardInfo service
2017-04-30 21:01:54 -05:00
adelikat
20d2a7d198
Lua - tastudio onquery callbacks - attempt to better clarify the expected lua function that is taken as a parameter
2017-04-30 12:05:27 -05:00
adelikat
436a853c96
Fix typo - Scema -> Schema
2017-04-29 15:41:27 -05:00
adelikat
19f45dcc85
VirtualPads - PSX Multitap support
2017-04-29 14:57:27 -05:00
adelikat
ba4af238b7
VirtualPads - PSX NeGcon support, also slider controls now support vertical orientation
2017-04-29 14:47:51 -05:00
adelikat
f6f967a723
VirtualPad - start PSX NeGcon support
2017-04-27 16:52:50 -05:00
adelikat
a20e01ab69
Remove the obsolete MemoryDomain.FromByteArray() method
2017-04-24 13:55:20 -05:00
adelikat
a86ad73ade
Comment out some temporarily short-circuited code to remove some warnings
2017-04-24 12:59:24 -05:00
adelikat
cc5ff74689
Fix debugger throwing exceptions on opened on a core that does not implement IDisassemblable
2017-04-23 11:42:26 -05:00
adelikat
30aa86cd7e
Intellivision - more cleanup
2017-04-23 11:10:26 -05:00
feos
8dcf9fb61a
tastudio: tweak editing selection by clicking column header
...
instead of reverting every button state, apply the reverted state of the first selected frame to all the selection
2017-04-23 14:47:10 +03:00
adelikat
1184e8ed05
lua - implement tastudio.getselection(), tastudio.insertframes(), tastudio.deleteframes()
2017-04-22 20:50:03 -05:00
adelikat
76f77390ca
SNES - virtual pad support for all the controller types and combinations
2017-04-22 11:55:21 -05:00
adelikat
e3ae4b1410
LibsnesCore reformating round 2 - sort out private fields vs pulbic properties
2017-04-19 12:19:16 -05:00
adelikat
8f3d1613a0
misc code cleanups in ram watch tool files
2017-04-19 07:50:25 -05:00
alyosha-tas
88348f03fa
Genesis game genie code fix here as well
...
other half of fix to #777
2017-04-18 07:14:18 -04:00
adelikat
28da1e215f
misc code formatting improvements in random files in EmuHawk
2017-04-17 15:23:31 -05:00
alyosha-tas
31ba7bc3dd
Update GenGameGenie.cs
...
Fix #777
2017-04-15 19:49:15 -04:00
J.D. Purcell
b53502eed8
Spaces -> tabs.
2017-04-15 16:37:30 -04:00
J.D. Purcell
ed3bf0e62b
Fix mixed line endings.
2017-04-15 15:53:02 -04:00
adelikat
1e05e8a29d
Virtual Pad - add tilt controls to GBA when mGBA is the core. Fixes #830
2017-04-13 13:06:12 -05:00
adelikat
e23dc983f0
Merge pull request #826 from lenalia/master
...
Added horizalign and vertalign to DrawText
2017-04-11 16:43:20 -05:00
adelikat
fc59710dab
some code cleanup, mostly introducing C#6isms, also add a customized resharper+stylecop settings file in case anyone is using resharper
2017-04-10 10:30:05 -05:00
J.D. Purcell
a786f73154
Fix some places using 'int' instead of IntPtr. ( #828 )
2017-04-08 18:36:29 -04:00
lenalia
117ce07aaf
Added horizalign and vertalign to DrawText
2017-04-04 21:20:33 -04:00
shanehoman
58e1b52369
expose MainForm.SaveRam() method to lua
2017-04-02 23:12:38 -07:00
feos
54320865c0
tastudio: don't update branches if no movie was loaded
2017-03-18 18:15:21 +03:00
feos
216c7ea487
tastudio screenshot popup: act more like taseditor in terms of time
...
only update opacity by 1/8th every 40ms. allows to skip fading in if mouse moves around at regular speed, and only pops up if deliberately hovering over the cell
also reduce magic numbers a bit
2017-03-18 18:14:23 +03:00
feos
1827f44fb8
tastudio: detach screenshot popup timer since it crashes
2017-03-18 17:18:36 +03:00
feos
e99b52342c
tastudio: bind autosave and screenshot popup timers to controls
...
also annihilate _saveBackgroundWorker
2017-03-17 21:55:43 +03:00
feos
a9cda4a21f
tastudio: dynamically resize usertext column
2017-03-15 21:46:46 +03:00
feos
2fa40bac04
tool positions: tolerate slight accidental offscreen by resetting to 0 instead of ignoring
...
todo: check bottomright offscreen too someday?
2017-03-15 19:49:32 +03:00
feos
4eaa04d412
tastudio: branch text edit popup follows mouse pointer
2017-03-15 19:24:27 +03:00
feos
6e99227c72
tastudio: Clone() for branches. fixes UserText cancellation
...
also cancel backup and osd message if text edit was canceled
2017-03-15 19:17:47 +03:00
feos
d254ad01d8
tastudio: add branch undo feature
...
the fact that it's separated from changelog is because there's no way to extend the latter, but *also* it's intended, as we want branches to be independent from changelog manipulations
todo: figure out branch text edits
2017-03-14 22:49:55 +03:00
feos
c6d1aad25f
tastudio: actually change branch screenshot bitmap
2017-03-14 22:15:20 +03:00
feos
868c02175c
some more topmosts and sound mutes
2017-03-14 22:13:51 +03:00
feos
a30b89039f
more topmost modal dialogs
2017-03-12 14:50:24 +03:00
feos
fed9380e33
tastudio: rewinding was turning rec mode off
2017-03-08 20:42:24 +03:00
feos
853432da26
tastudio lua: add recording mode functions
...
finally fixes #793
2017-03-08 19:56:44 +03:00
feos
a124fd72a1
tastudio: add jump to branch frame (aka read-only loading)
2017-03-08 19:32:09 +03:00
feos
31ccc9f413
tastudio: hide when going from branch 0 to header cell
2017-03-08 16:49:55 +03:00
feos
0ec0910207
tastudio: move screenshot popup to yet another control to allow fading
...
avoid false branch 0 hover when entering branch view from the top
todo: hide screenshot when moving upwards to header cell
2017-03-08 16:31:49 +03:00
zeromus
498b2b4dd9
hex editor: add import binary tool (quick and dirty way to effect .sav importing in many cases)
2017-03-01 15:06:58 -06:00
feos
5c91c2f98c
tastudio: allow exporting a named state
2017-02-24 21:58:41 +03:00
adelikat
5d4c8020c2
Delete more stuff
2017-02-22 10:12:14 -06:00
adelikat
f35717aae2
Remove yet more unused code
2017-02-22 10:11:08 -06:00
adelikat
7653b86f44
Remove some unused code
2017-02-22 10:09:44 -06:00
adelikat
c61d432fd6
Don't position tools to last saved position if that position is not visible on screen
2017-02-21 16:57:47 -06:00
feos
b5730bda3a
clarify lua doc
2017-02-19 11:56:17 +03:00
feos
03ea4f9126
tastudio: fix #806 part 2
2017-02-19 11:43:35 +03:00
feos
d19fcb62ab
tastudio: fix the first half of #806
2017-02-19 10:31:30 +03:00
feos
60d69db588
tastudio: stop crashing upon movie platform mismatch
...
make the error window topmost
2017-02-19 00:26:42 +03:00
zeromus
f458648fad
improve rewind in tastudio by leaving editmode intact but taking care not to clobber frames. take special pains to ensure that (reverse) frame progress vs smooth rewind semantics stay as expected.
2017-02-16 00:29:28 -06:00
feos
5bc643f1fd
tastudio: shrink the branch image like you should
2017-02-09 23:10:41 +03:00
feos
821baeb649
tastudio: captured state 0 was useless if movie conversion happened at frame>0
...
capture it after core reboot
2017-02-09 22:51:52 +03:00
adelikat
5277be6833
Ram Search - update the size and display type dropdowns on restart. Fixes #762
2017-02-07 18:54:58 -06:00
feos
230dcc2356
tastudio: make ToggleReadOnly() toggle read-only
...
this allows movie.getreadonly() return valid value
2017-02-07 19:03:46 +03:00
zeromus
ea2188dc46
make tastudio.setplayback correctly restore the recording flag after it finishes seeking from the greenzone to the target frame
2017-02-07 00:01:14 -06:00
feos
c739755e9b
tastudio: hide whatever starts with "Key " by default
...
ideally, there should be separate Keys menu items in SetUpToolStripColumns() as well, moving them to a separate dropdown and hiding/showing all at once
2017-02-05 15:20:05 +03:00
zeromus
d87a2b27a2
make lua's new tastudio.setplayback re-enable the record flag if it was set (the existing logic leaves it disabled I think as security against the GUI use case where users might stomp their video seeking while playing in record mode). future work: add lua control for the record mode flag
2017-02-05 04:20:07 -06:00
zeromus
539cdc29f3
add SetPlayback to tastudio lua library. Can't be 100% sure it works, but it seems to be working OK. it may hang everything up if you seek through a really long redzone.....
2017-02-04 21:40:29 -06:00
zeromus
a70e6e2fc4
fix #790 (Scroll wheel missing from input.getMouse())
2017-02-04 20:52:32 -06:00
adelikat
0480ea3f44
when toggling a script on, update on screen lua drawing stuff. On gui.clearGraphics() immediate update the screen
2017-02-04 15:54:04 -06:00
adelikat
3b197b8fdf
lua console - roll back commit that disposes scripts when closing the window, apparnetly luainterface doesn't want you to dispose of disposable things
2017-02-04 15:30:13 -06:00
adelikat
0c7cedd2ac
lua - tastudio.setmarker() - make marker message optional
2017-02-04 15:11:43 -06:00
feos
5d3435e6e6
tastudio: update caption as well
2017-02-04 23:36:17 +03:00
feos
ae15073180
tastudio: fix regular movie opening from tastudio
2017-02-04 22:33:52 +03:00
adelikat
3d805a3541
null check for previous commit
2017-02-04 10:45:32 -06:00
adelikat
923565c350
Lua console - dispose of scripts when closing the console window
2017-02-04 10:32:36 -06:00
feos
51f21691fd
tastudio: fix #788
2017-02-04 16:09:13 +03:00
adelikat
c050eaa8c7
lua console - fix the edit button to account for relative vs absolute pathing
2017-02-02 17:48:32 -06:00
feos
f860c5d8b1
tastudio: try to fix opening a bk2 directly
2017-02-01 20:41:15 +03:00
feos
7d469c08a8
tastudio: show bsnes performance mode warning
...
addresses #788
2017-01-31 00:00:09 +03:00
adelikat
4a7321b096
Ram watch - yet another tweak to restart logic, ugh
2017-01-29 20:21:47 -06:00
adelikat
dca03607be
Ram watch - another tweak to previous commit
2017-01-29 19:56:09 -06:00
adelikat
c5ff514760
Ram watch - fix logic when deciding whether to keep the current watch list when rebooting the core, the check was always failing
2017-01-29 19:32:52 -06:00
feos
37a44c2b17
tastudio: fix and tweak clipboard and selection display
2017-01-26 20:21:48 +03:00
zeromus
f7638e8352
"fix" client.bufferwidth and client.bufferheight .... I dont understand why they were doing what they were doing. It seems like such a simple thing, just return the dimensions of the core's videoprovider. Someone should rethink all these (and the surface names, and the padding names) and craft a complete, new design.
2017-01-26 00:54:44 -06:00
feos
d8d0c62adf
tastodio: completely redo branch screenshot popup just to avoid cropping
...
moved it to ToolTip, which feels like the proper way to do it
2017-01-22 17:46:54 +03:00
feos
74adace569
tastudio: file opener improvements
...
- fix opening and conversion of a regular movie
- fancy ofn filter, suggesting all available files first
2017-01-20 02:00:27 +03:00
feos
ae16703ffc
tastudio makers text popup:
...
- appears when double-clicking existing marker in tasview
- appears at cursor position when called from tasview (fancy)
this required adding optional position to ShowHawkDialog()
2017-01-19 23:24:41 +03:00
feos
17faf42b6e
tastudio: try to be a bit smarter with SelectedIndexChanged
...
forces SetSplicer() calls, but only at InputRoll's OnMouseDown, the rest is handled by tastudio
2017-01-19 21:55:18 +03:00
adelikat
44a1e691f3
Ram Search - show restored/removed messages when undoing/redoing, fixes #749
2017-01-14 20:00:55 -06:00
adelikat
9408c3fc1a
Hex Editor - Fix #761
2017-01-14 16:51:28 -06:00
feos
3548ec00dc
tastudio: use Emulator the same way branch control uses it
...
this fixes a bug that generated a whole stack of temp fixes over temp fixes, as well as the crash those were trying to prevent
2017-01-13 18:26:52 +03:00
feos
8f8cf53052
tastudio columns: restore call missing since commit 3ea3012aa7
...
seems to only be needed for importing bk2s, other scenarios setup columns on their own, differently
2017-01-07 19:48:04 +03:00
hegyak
5ccde9cc71
GameGenie codes are Word Sized, not Byte Sized.
2017-01-05 05:09:56 -08:00
hegyak
f80662ddb1
Change the name of the GameShark Converter to Cheat Code Converter
2017-01-04 18:05:14 -08:00
feos
8bae2a4648
tastudio: fix double-click on the empty area throwing an exception
2017-01-04 20:16:34 +03:00
alyosha-tas
c496674301
TASStudio revert design commit
2017-01-02 12:27:40 -05:00
feos
480bc5540f
tastudio: reload the tasmovie if it was loaded outside tastudio and then tastudio was opened
...
also go to current emulator frame in that case
todo: one isn't expected to change anything in the tasmovie while in regular mode, otherwise something might break. fceux opens taseditor if a read+write state is about to load in such conditions
2017-01-02 13:59:00 +03:00
Isotarge
ab1b1877e8
Lua: Implement forms.setdropdownitems()
2016-12-26 12:13:19 +10:30
hegyak
ebe011f43a
Reverse Byte and Word in tools/GameShark.cs
2016-12-22 05:15:40 -08:00
J.D. Purcell
b0141c516e
Multi-disk Bundler: Fix DPI scaling issues and improve control positioning.
2016-12-15 15:06:35 -05:00
alyosha-tas
0c3da629c8
Fix for exception in marker window
2016-12-13 22:37:06 -05:00
adelikat
8c57dd98f3
NESHawk - add IsFDS flag and use it in NesSchema instead of a check for BoardName == "FDS"
2016-12-13 15:24:53 -06:00
adelikat
5ff33e7569
Rename IController.Type to IController.Definition to more clearly describe the property
2016-12-12 12:30:32 -06:00
adelikat
b73a500d6b
Major sound provider refactor. Create a unified interface ISoundProvider, that is an IEmulator service and break it off of IEmulator. IAsyncSoundProvider was kept as a shim for now, for legacy cores that were inherintly async.
2016-12-11 11:15:00 -06:00
nattthebear
df4b38990f
GBAGPUView: Don't draw a sprite if its size + tile index combined make it go past the end of vram
2016-12-09 22:09:58 -05:00
adelikat
b7e616482d
Intellivision - movie mnemonics and virtual pads
2016-12-06 20:16:22 -06:00
adelikat
6889a72ba2
a bit more cleanup of MovieZone.cs
2016-12-06 11:10:50 -06:00
adelikat
d0e632ad9d
code cleanup in MovieZone.cs
2016-12-06 11:09:17 -06:00
adelikat
5c4b11d29b
MacroInput - use the Emulator RequiredService property instead of Global.Emulator
2016-12-06 11:03:15 -06:00
adelikat
9e2ec00160
MacroInput tool - some code cleanup
2016-12-06 11:01:47 -06:00
adelikat
ad41019a29
ToolBox use an IEmulator RequiredService instead of Global.Emulator
2016-12-06 10:44:37 -06:00
adelikat
b346f9e7c5
Some slight code cleanup in ToolBox.cs
2016-12-06 10:40:09 -06:00
adelikat
3bfce81eae
LuaConsole - have a RequiredService of IEmulator and pass it into the lua implementation instead of using Global.Emulator
2016-12-06 10:35:11 -06:00
adelikat
f1e528f68f
Virtual pads - pass the current core into schema objects instead of using Global.Emulator
2016-12-05 19:33:21 -06:00
adelikat
9ae3916166
Debugger - remove a usage of Global.Emulator and a TODO
2016-12-04 12:40:26 -06:00
adelikat
e99bc9ba41
use the Emulator property instead of Global.Emulator in some lua library files
2016-12-04 12:37:29 -06:00
adelikat
b11a76f739
MultidiskBundler - add a RequiredService of IEmulator and use that property instead of Global.Emulator
2016-12-04 12:34:37 -06:00
adelikat
5258f9385c
Tastudio - use the Emulator property not Global.Emulator, fix another CoreExension method
2016-12-04 12:30:51 -06:00
adelikat
546947041b
BasicBot - Remove unnecessary usage of Global.Emulator
2016-12-04 12:23:44 -06:00
adelikat
4ab2fadc93
Remove an unnecessary usage of Global.Emulator in Tastudio
2016-12-04 10:50:58 -06:00
adelikat
604ed74ff9
remove some usages of VideoProviderGlue by checking for VideoProvider availability before doing some dependent processes
2016-12-04 10:30:51 -06:00
adelikat
2f375388b5
Tastudio - refactor screenshot code to use a required dependency on VideoProvider instead of using Global.Emulator, also put it on the load event instead of the constructor
2016-12-04 09:20:22 -06:00
alyosha-tas
3be6c8917c
TAStudio fix default window size
...
Prevents marker and branch bozes from having zero size.
2016-12-03 09:36:35 -05:00
feos
3b117752cf
tastudio: refine autorestore again
2016-11-27 00:28:52 +03:00
feos
beb204bb4c
tastudio: when new seeking starts, kill the old one
2016-11-26 20:02:54 +03:00
feos
593433106b
tastudio: attempt to fix autorestore during analog editing
2016-11-26 19:49:26 +03:00
feos
2f0ccb99f1
tastudio: don't jump to greenzone end when entering analog edit mode
2016-11-26 16:35:14 +03:00
feos
f59ebfe126
tastudio: refactor restore logic again, fixes some more bugs
...
(_autoRestoreFrame completely replaced by LastPositionFrame)
2016-11-21 23:59:12 +03:00
feos
0e9e4cc034
tastudio: fix < button when seeking is paused
2016-11-21 21:19:53 +03:00
feos
ef8068daa4
Revert "tastudio: move LastPositionFrame to TasMovie, prepare for another revision"
...
This reverts commit eea49f1895
.
2016-11-21 20:03:56 +03:00
feos
eea49f1895
tastudio: move LastPositionFrame to TasMovie, prepare for another revision
2016-11-21 19:29:11 +03:00
feos
95dc2fd6b3
tastudio: move arrow keys logic to hotkeys
...
disallow sending Minus to MainForm
2016-11-20 23:26:13 +03:00
feos
acbdfbcec9
tastudio: make analog editing mode expandable along with selection
...
- apply the changes made using keys to all the analog edited cells
- clamp displayed value if needed the same the resulting value is clamped
2016-11-20 17:16:29 +03:00
adelikat
b7a6542fb6
Lua - gui.drawImage(), gui.drawImageRegion() - log an error if image can not be found, instead of throwing an exception
2016-11-19 14:10:17 -06:00
feos
a8dde12c1f
tastudio:
...
- set Float type to analog control columns
- set their size taking into account their MaxDigits
- stop displaying neutral analog values
input OSD:
- obtain real neutral analog value the given core uses and hide it, instead of hiding hardcoded zero
2016-11-19 19:31:04 +03:00
feos
3ea3012aa7
tastudio:
...
- properly setup autoloaded and normally loaded project columns
- actually call the callback that updates scrollbars and other stuff
2016-11-19 00:50:40 +03:00
feos
2a9bd175d8
tastudio: kill zombie denoteStatesWithBGColor and co. in InputRoll, having them in Settings is enough
2016-11-17 20:25:06 +03:00
feos
edf21b8bfe
fix tastudio crashes when:
...
- setting 0 space for disk states
- righclicking on selection if a bunch of selected frames contains the last frame
- cutting the last frame
2016-11-17 20:05:41 +03:00
adelikat
30f573729c
Use Count not Count()
2016-11-14 15:21:26 -06:00
feos
0b1245d769
tastudio: when loading another project, update column menus
...
todo: fix autoload
2016-11-14 22:39:58 +03:00
feos
52506433a2
tastudio: don't try to apply ClientSettings (columns) before SyncSettings (amount of players)
2016-11-14 20:13:08 +03:00
adelikat
889feeeeba
fix #414 by idiot-proofing the lua console command window, if emu.frameadvance() is called, log a warning instead of blowing up
2016-11-13 11:26:09 -06:00
adelikat
ddf23e4c3a
Lua console - use string.IsNullOrWhiteSpace when checking the command line box
2016-11-13 11:15:30 -06:00
feos
578b688d51
tastudio analog editing: Escape key cancels all changes
...
also prevent marker set from entering analog mode and releasing the LMB over the frame column (might happen after drag editing)
2016-11-13 16:42:24 +03:00
feos
dbc35224e6
tastudio analog editing:
...
- autorestore after every drag edited change
- increase the mouse move step to 4 from 3
2016-11-13 16:19:46 +03:00
adelikat
e73a66b07e
When ram watch is open with a file open, and loading another rom, only keep the ram watch file open if all the domains are compatible, else close it, addresses #285 . There is arguably not a black and white expectation in this scenario but I think this is marginally more expected than exceptions and erroneous watch values
2016-11-12 11:46:32 -06:00
adelikat
0213755d16
Cheats - when editing a cheat's domain, if the address is out of range, don't update, rather than create a separator, fixes #539
2016-11-12 09:00:36 -06:00
feos
175862a5f3
tastudio analog editing:
...
- mouse dragging during float edit mode updates the displayed value and fires restore on mouse up
- Enter key exits float edit mode after applying the dragged value, while Escape exits it after ignoring the dragged value (should Escape cancel all changes?)
- currently disabled switch to enter float edit mode by single click
2016-11-12 17:53:15 +03:00
feos
e2d5a1d390
tastudio analog editing: typing past max digits overwrites existing value
...
this required a new method in FloatRange class
2016-11-12 15:30:44 +03:00
adelikat
c27355169f
lua forms - run a checkbox click callback after the event not before, fixes #545
2016-11-11 10:03:13 -06:00
feos
60950f1148
tastudio paste: clipboard input would give an extra empty line after splicing for whatever reason. Iterate thorough one less line.
2016-11-10 00:29:14 +03:00
adelikat
36dcf53cc0
on specialized number boxes, select all text when reseting an empty box to a default value. This fixes #685
2016-11-09 10:19:49 -06:00
adelikat
ec502acd1d
Lua - make a call to DrawFinish() when closing the lua console. Fixes endless locked emu surface errors when opening it back up and loading a script that draws
2016-11-08 10:37:59 -06:00
feos
00d07b8602
tastudio: attempt to fix crash caused by seek progressbar
2016-10-29 16:58:09 +03:00
hegyak
f1ddafa6de
Add a check for clearing the Gameshark Tool's text boxes. And actually clear both.
2016-10-10 11:13:01 -07:00
feos
9714aa5cc9
tastudio:
...
- preserve branch text per update (unless default text has changed)
- remove redundant code from paste functions, rely on global clipboard fully with cut/copy too
2016-10-10 19:00:59 +03:00
feos
0a554a984f
tastudio: fix infinite pasting loop
2016-10-09 16:21:01 +03:00
feos
f52d8a526b
tastudio: global clipboard has preference over internal
2016-10-09 15:51:47 +03:00
adelikat
e281950902
Close a lua instance before creating a new one, fixes #455
2016-10-06 15:17:05 -05:00
adelikat
db194c8360
Basic Bot - Fix logic for determining the best attempt, no longer thinks every new attempt is better, I think this fixes #603
2016-10-06 12:03:32 -05:00
adelikat
4c140f676e
Basic Bot - change dropdown style to DropdownList to avoid empty and invalid choices. Fixes #602
2016-10-06 11:34:34 -05:00
adelikat
2d9fde1bed
Basic Bot - update Run button status when loading a bot file
2016-10-06 10:59:57 -05:00
adelikat
15c1fafa48
Hex Editor - when switching to a domain where highlighted addresses are out of range, clear the highlighted addresses, fixes #710
2016-10-06 09:35:50 -05:00
adelikat
ab0b78f143
Hex Editor - fix exception when pasting beyond the range of the domain, fixes #708
2016-10-05 19:59:46 -05:00
adelikat
3daad8d916
Hex Editor - fix a minor bug with displaying the selected address, fixes #709
2016-10-05 19:31:30 -05:00
feos
5ed5613826
tastudio: paste from OS clipboard if _tasClipboard is empty
2016-10-01 20:12:50 +03:00
feos
fc66ec1b02
Lua docs: fix #703
2016-09-29 18:09:58 +03:00
Kyle Howell
3d88f77ec6
Fixed TAStudio crash when deselecting "Show Player X". The horizontal scrollbar was not updated which caused an exception when scrolling to the right.
2016-09-25 16:55:34 -06:00
adelikat
3f191be372
Ram Search - Better event to tie toolbar enabling logic to for indices changing - fixes #629
2016-09-21 14:31:42 -04:00
adelikat
3bf11dbf68
Fix slow Ctrl+A on Ram Search and Ram Watch, fixes #630
2016-09-21 10:56:57 -04:00
adelikat
d954512214
Virtual Pads - Analog Sticks - check min and max range before setting the value. Fixes #686
2016-09-21 10:13:30 -04:00
feos
ef445c90c7
tastudio: fix a couple of crashes
2016-09-09 19:15:00 +03:00
feos
e5f2f53bde
tastudio: make sure we refresh when seeking is done
2016-09-09 18:48:23 +03:00
feos
634f11a202
tastudio: fix cursor dragging during seeking (by disabling it)
...
taseditor fashion
2016-09-09 18:46:05 +03:00
feos
7d1084bf98
tastudio: change internals of editing input during scrolling.
...
for now it only makes a single edit per click, since we only recalculate OnMouseDown if scrolling. this is required to get rid of scrolling recursion caused by various actions.
also ClearLeftMouseStates before saving dialog pops up
2016-09-08 22:22:33 +03:00
feos
ba895e3bad
tastudio:
...
- fix recursion in cell updates caused by clicking cursor column (fixes scrolling)
- display invalidated color consistently
n64: fix trace callback prototype
2016-09-04 12:03:12 +03:00
feos
d1ac02ebb3
tracer: more fixes to bugs found by actual usage
2016-08-31 21:24:09 +03:00
feos
5761b6b7ce
tastudio: GlobalWin.MainForm alias
...
almost 100 cases of usage is worth it
make "recent rom not found" window topmost
2016-08-29 14:33:12 -04:00
adelikat
11b4f5a5b1
Lua - fix #691 - When calling client.reboot_core we still want to re-inject dependencies to the lua libraries
2016-08-28 12:07:26 -04:00
feos
2b0dc82d16
tastudio: finally make < > buttons operate identically to advance/rewind hotkeys
2016-08-28 18:42:59 +03:00
feos
670501163b
tastudio:
...
- rewind hotkey works like wheelup+RMB
- < > buttons fire instantly but can't be held yet
- prettify cursor colors
2016-08-28 17:13:14 +03:00
feos
4f24682289
taseditor: fix LastPositionFrame resets
2016-08-28 15:34:18 +03:00
feos
0246c952eb
tastudio: complete overhaul of seek logic, replicating taseditor
...
todo: fix lastpositionframe dying if editing the same row twice with no autorestore, probably improve cursor color and rename old seek related vars
2016-08-28 01:08:43 +03:00
feos
ef47d9fbca
tracer: reboot on game close
...
more ^final^ tweaks
2016-08-22 21:57:18 +03:00
feos
54bd6b90fe
tastudio: < and > buttons behave as mouse wheel when seeking
2016-08-22 19:39:05 +03:00
feos
e379b0342e
probably final prettification for tracer
2016-08-21 23:52:42 +03:00
feos
3e7972ee9d
tracer:
...
- expose segment size to user
- fix logging to window and saving to file
2016-08-21 12:07:55 +03:00
feos
0b1d9c3c48
tracer: setup logfile segmentation
2016-08-18 23:02:57 +03:00
feos
76eaea3619
tracer unification for cores: spacing, headers, etc
2016-08-16 01:39:26 +03:00
feos
8e92c5fd17
gpgx: move to normal tracing method too
...
CallbackBasedTraceBuffer seems deprecated
2016-08-14 22:29:42 +03:00
feos
473b9e5f33
m64p tracer:
...
- shrink core's disasm string a bit
- nicely print registers (r0 and co-processors regs are dropped though)
- rebuild dll
2016-08-14 17:49:56 +03:00
zeromus
a7d2b8d7f7
* add a new IToolForm update mechanism which has extensible update points (so a tool can both pre- and post- update)
...
* make trace logging "core-pushes" model, to a sink installed by the frontend. This sink can go straight to the disk without wasting memory if that's what the Trace Logger tool has selected; or the Trace Logger will buffer it if it needs to. Formerly, we had a "core-pushes-to-buffer" and "client-pulls-once-per-frame" which necessarily caused huge buffers no matter what was going on.
2016-08-13 15:31:26 -05:00
feos
d5ac190bdc
m64p: don't freeze on breakpoint
...
debugger: indicate break hit
2016-08-13 16:26:10 +03:00
feos
640911db33
make gameshark image and icon properly transparent
2016-08-11 23:46:28 +03:00
parasyte
89403c72d8
Fix File->Save Log menu item in Trace Logger window
...
- Prevents an unhandled exception when saving a log from the window
(opposed to file)
2016-08-09 21:35:37 -07:00
parasyte
71c7edbb24
Add address mask setting for breakpoints
2016-08-08 04:37:39 -07:00
feos
ffc1e2f41a
tastudio: fix readonly hotkey on launch
2016-08-07 11:02:52 +03:00
feos
a2b55291b3
tastudio:
...
- movie end doesn't switch to record mode anymore. fix #586
- recording mode checkbox
- fix rec mode dying during fast rewind
todo:
- readonly hotkey doesn't work until we click the checkbox
- movie status icon doesn't show up if tastudio is autoloaded
2016-08-06 22:28:25 +03:00
feos
1e6b3bfbee
lua text: display trailing spaces
2016-08-06 15:45:07 +03:00
feos
f94b352765
tastudio:
...
- fix escape handling
- frame advance doesn't unpause emu when seek frame is reached
2016-08-04 19:42:42 +03:00
feos
b0893bdee8
tastudio: stop seeking when movie stops
2016-08-04 18:53:01 +03:00
feos
170681c3ad
tastudio: Recording mode
...
a bit inconsistent with how it switches to record right now
2016-08-03 22:29:27 +03:00
feos
e362ecdbbf
tastudio: insure against all sorts of silent corruption.
2016-08-02 20:05:31 +03:00
feos
2894bb908d
tastudio: stop copying nothing on Cut command.
2016-08-01 20:41:33 +03:00
feos
79badbbe63
tastudio: smarter column width
2016-07-27 21:06:13 +03:00
feos
9353b5afb1
tastudio:
...
- more columns hidden by default (psx)
- optimize width for those whose names are longer than 1 char
2016-07-26 20:46:15 +03:00
feos
7748c2f3a8
tastudio:
...
- show "fake analog" buttons too (fixes #672 )
- stop pausing when loading branches
mainform: moved some tools around in menu
2016-07-26 20:01:46 +03:00
Isotarge
e0ac148e76
Fix #669
...
- Fixes RAM Watch, RAM Search, and RAM Poke usability issue w/negative
numbers.
- Bonus fix for unhandled exception when entering . in to the specific
value box
2016-07-22 02:15:43 +09:30
Isotarge
41ff244e01
Poke: Ram -> RAM #669
2016-07-22 01:52:43 +09:30
Isotarge
5a20a520bd
Tools: Ram -> RAM #669
2016-07-22 01:32:54 +09:30
feos
b4a9123515
tastudio: fix editing while unpaused + left button held scenario.
...
now it replicates taseditor:
- editing input while unpaused, if autorestore is off, resumes emulation and ignores seek frame. if you keep holding the LMB, and follow cursor is on, it will keep scrolling, drawing and emulating
- editing input while unpaused, if autoresotre is on, fires autorestore and then just pauses on the seek frame
what's different from taseditor:
- with autorestore and follow cursor on, if you hold the button, and seek frame is below the view, it will keep scrolling down, drawing new input and emulating. taseditor does *not* follow cursor while seeking.
this all doesn't necessarily make sense, but we need people to figure out what is best for work.
2016-07-11 21:39:32 +03:00
adelikat
e9d257ce6d
PCE-CD virtual pads
2016-07-10 22:13:40 -04:00
feos
f23767ae6a
tastudio: properly set input while unpaused
...
replicates taseditor behavior: if autorestore is off, emulation resumes running, otherwise it pauses on it.
todo: fix this during left button held
2016-07-10 22:25:02 +03:00
feos
7c868e5996
tastudio: show user text instead of timestamp in branchview
...
allows using as instantly visible branch names
fix #646
2016-07-09 15:22:25 +03:00
hegyak
55fb72b6dc
Resolve Error 472 (Don't allow user to add more then 2 GB/GBC ROMs into the Bundler)
2016-06-26 13:44:55 -07:00
alyosha-tas
2eda1450bf
fix bounds of sprite and palette boxes
...
hopefully fixes the out of range errors
2016-06-25 20:51:13 -04:00
Hathor86
9a4dd89f7f
Fix polar coord when center is non-zero
...
The range is now used to compute right angle / ray value even if the
center is not 0,0
Tested for N64 and PSX, should probably work for every system :)
2016-06-14 19:31:54 +02:00
feos
2d2efba150
tastudio: option to do autorestore not only on mouseup.
...
doesn't affect rerecord counter
2016-06-13 18:29:29 +03:00
feos
1a11f34c13
tastudio: bind insert/delete/clone/clear.
2016-06-13 16:40:13 +03:00
feos
af4b3ec752
tastudio: bind autorestore, turboseek and followcursor.
2016-06-13 15:43:28 +03:00
feos
db32c201d4
tastudio: escape cancels seeking
2016-06-13 14:14:10 +03:00
feos
bade8f9217
tastudio: properly handle global rewind function (step'n'run)
...
not attaching it to playback buttons, because they're obsolete and because they kinda simulate holding anyway.
2016-06-13 13:17:21 +03:00
feos
346c4e56b3
tastudio autosave:
...
- switch to appropriate method for backups
- option to save backup per file save
- menu command to save backup
2016-06-12 16:41:27 +03:00
feos
3e02e271fc
tastudio: promote some links
...
bizbox: fix contributors link
2016-06-11 19:40:25 +03:00
feos
294654943b
tastudio: ignore seek frame if unpaused via hotkey or playback pause button
...
this replicates taseditor behavior
2016-06-11 17:38:53 +03:00
feos
32be07ce03
tastudio: don't record marker history edits to history
...
this generates a warning regarding "new is not required" for the functions I edited, dunno what to do with it
2016-06-11 12:48:11 +03:00
feos
559eacf95a
InputpPompt: allow multiline info
...
bk2 export for tastudio: stop endlessly appending extensions
tasstudio autosave:
- fix interval init on load
- 0 interval disables autosave
- canceling SaveAs doesn't kill the timer
- ability to append "backup" to filename allows saving to a separate file
-- don't let tasproject switch to the backup file (bit hacky)
2016-06-10 16:05:12 +03:00
zeromus
0cc27a226b
add auto-start and auto-save to CDL; fix toolbar to be ToolStripEx, so it doesnt suck
2016-05-07 10:10:37 -05:00
feos
53c7f4e5be
tastudio: ignore inputroll hotkeys and numeric branch hotkeys during float editing mode.
2016-05-07 15:05:07 +03:00
feos
408d0ae4d0
tastudio: attempt to make StateGap smarter.
...
it should rely on frames, not on state indexes. and we can only have states on frame numbers that are powers of 2.
doesn't work right on saving multiple times yet. need to cooperate with ExcludeStates() somehow.
2016-04-24 23:17:17 +03:00
feos
bc30e87921
tastudio: autosave feature.
...
supposedly safe saving indication (hourglass cursor and status bar report).
2016-04-24 13:48:49 +03:00
feos
28fe9bb888
tastudio: hide some more columns by default.
2016-04-23 21:42:02 +03:00
zeromus
676b5791f6
lua: add gui.DrawFinish() which will let you choose when to finish drawing; and add optional argument to gui.DrawNew which when set to false lets you keep it from being cleared.
2016-04-21 16:43:37 -05:00
zeromus
c069f8fe5c
dont tracelog to file every frame multiple times
2016-04-21 14:22:39 -05:00
zeromus
1a1a688b96
remove NeedsToPaint; client now repaints ~100fps while paused all the time. as it already did when input display was enabled. fixes #615.. probably
2016-04-20 12:17:41 -05:00
zeromus
5ed2e46982
add SRAM memdomain to vbanext
2016-04-18 20:44:30 -05:00
feos
fcbf4adbec
lua: remove bg color from gui.text function, since it's always a black halo.
2016-04-18 19:39:24 +03:00
feos
7fa99c7d13
tastudio: project savegap (finally!)
...
ScrollSpeed defaults to taseditor's
2016-04-17 23:29:25 +03:00
feos
dc18535b88
tastudio: use VisibleRows instead of SeekingCutoffInterval.
...
allow SelectedIndexChanged again, just not use it in tasview. can we comment out in designers like that?
2016-04-17 21:02:21 +03:00
feos
d7217df311
tastudio: stop using threaded project saver to ban all dialog manipulation.
...
should fix #596 and probably #580 .
todo: option to only save every nth frame.
2016-04-17 19:37:01 +03:00
feos
f0c18077d2
cutting too
2016-04-17 14:11:41 +03:00
feos
f5746a7b8f
tastudio: stop updating splicer after every new cell is appended.
...
quick fix to #597 .
fix crash when pasting input beyond movie length. todo: make input log append like PasteInsert does.
2016-04-17 13:52:58 +03:00
feos
de1f4112d8
tastudio: allow 2 more digits for FramesPrompt.
2016-04-17 12:37:22 +03:00
feos
c9b3dc184a
tastudio: fix #515 again.
2016-04-17 12:17:18 +03:00
zeromus
b82cc74a5d
possibly fix crash in GB GPU debugger on operating systems using the wrong language (untested)
2016-04-15 20:23:04 -05:00
nattthebear
111648cf98
Break a bunch of memory domain stuff with pointless refactoring
2016-04-13 19:50:06 -04:00
nattthebear
ec787d049d
NESHawk: support SNES controllers
2016-04-05 17:16:27 -04:00
zeromus
66683b16ed
replace "Ok" with "OK"
2016-03-26 21:50:33 -05:00
zeromus
9aceb512f0
fix automation of virtualpad analogsticks from movie playback
2016-03-21 16:13:49 -05:00
adelikat
234cc2e5d8
Get started on C64 support in the multi-disk bundler
2016-03-04 21:50:24 -05:00
Isotarge
822f571621
RAM Search: Fix unhandled exception
...
Fixes an unhandled exception when beginning to type a negative number
into the search box when display is set to float
2016-03-05 08:11:08 +10:30
feos
3c4771c76a
tracer: print header when switching to file while already enabled.
2016-02-28 23:01:22 +03:00
hegyak
4b38880af7
Added a function to Remove Lines for MultiDiskBundler.
2016-02-27 13:27:31 -08:00
feos
bfece077b2
debugger: really honestly only check registers once, in GenerateUI().
...
throws NotImplemented if can't set registers, InvalidOperation otherwise (since it deliberately tries an invalid operation just to check availability).
2016-02-27 21:30:14 +03:00
feos
26997dd32a
save tracer column widths.
2016-02-27 19:30:47 +03:00
feos
1f913ef4d9
debugger: don't update when unpaused. only update PC when we really need it.
2016-02-25 20:38:44 +03:00
adelikat
d70951c20b
TraceLogger - add an Open button when logging to file
2016-02-24 22:29:46 -05:00
adelikat
4e2c949990
Trace Logger - remove the clear button in favor of a menu item, add a context menu for the listview that corresponds to the edit menu
2016-02-24 22:08:56 -05:00
adelikat
eb7c72541f
Trace Logger - log the Tracer header at the beginning of the file when logging to file. Clear and start the file new when toggling the log button instead of forever appending the file
2016-02-24 21:57:26 -05:00
adelikat
52ef67a12f
TraceLogger - improve FastUpdate to still log but not update the screen. Cleanup and merge two similar function calls, slight change to form title
2016-02-24 20:56:16 -05:00
feos
8239c39213
debugger: Run button.
2016-02-24 22:17:48 +03:00
feos
997877c05b
debugger regs: format reg names on launch, smarter spacing.
2016-02-22 19:32:34 +03:00
feos
4cea5e6f5b
debugger: pad Address with 0, revert erroneous "fix" from last commit.
2016-02-22 19:16:05 +03:00
feos
f1deb41e2a
better check for callbacks availability in GenericDebugger.
2016-02-22 18:05:37 +03:00
adelikat
76626c3fd5
Debugger - throw and catch at most 1 exception per update if core can not set cpu registers
2016-02-22 08:43:15 -05:00
feos
7abac10164
genesis disasm/tracer: replace IR reg with raw bytes, drop separate PC reg.
2016-02-22 15:02:59 +03:00
zeromus
8db62b6f2c
make two listviews more consistent
2016-02-22 05:52:42 -06:00
feos
c41c24cd85
tracer: use .log extention (allows extension based user syntax highlight)
...
genesis disasm: prefix immediate values with #.
2016-02-22 14:18:46 +03:00
adelikat
f5e679fa0d
Refactor ITraceable to work on TraceInfo objects that separate Disassembly and Register information. Make Tracelogger two columns.
2016-02-21 17:34:42 -05:00
feos
5fc60810ae
tracer: if you grab a machine gun, you don't want it to start firing the instant you touch it.
2016-02-21 22:45:44 +03:00
feos
dfb0cf37d8
debugger: return address in hex when copying.
...
quicknes: uppercase numbers, since its mnemonics are uppercase too.
2016-02-21 18:45:09 +03:00
adelikat
ec45262611
Debugger - fix how Seek To determines the PC register
2016-02-21 07:49:22 -05:00
adelikat
fe22cb390b
Debugger - update when maximized
2016-02-21 07:46:45 -05:00
feos
0c32b48f29
debugger:
...
- don't post pc and raw bytes to genesis disasm string
- make some fonts monospace
- pad reg values properly
- give enough space for big reg names
2016-02-21 15:19:56 +03:00
feos
41845eb791
tastudio: don't allow saving while saving.
...
Fix #578 .
2016-02-20 15:27:41 +03:00
zeromus
2f50771494
fix ramwatch popup dialogs not referencing ramwatch as parent
2016-02-17 16:37:53 -06:00
adelikat
f410612c3c
GameShark tool - for nes, if no description is set, then use the code itself, probably should do this on other ones too but I didn't feel like going through all the various places to put that logic
2016-02-15 20:51:07 -05:00
adelikat
8dfcf8deec
Hex Editor - Find Box - fix behavior of the enter button
2016-02-15 20:13:12 -05:00
adelikat
185f5190a0
GameShark tool - better layout, anchoring, min size, and tab orders
2016-02-14 22:46:59 -05:00
adelikat
47d9432ad4
Lua - set file watchers on lua session autoload
2016-02-14 21:51:12 -05:00
Adam Sturge
58410e6d3c
Removed Cheats.Designer.cs.bak file
2016-02-14 13:52:35 -08:00
Adam Sturge
4a4b23ac84
Adjusted CheatEdit.cs to allow for new drop down
2016-02-14 13:50:23 -08:00
Adam Sturge
8ff86fe6c4
Fixed toolbar icon size
2016-02-14 11:39:18 -08:00
AdamSturge
cf76d99a52
Merge pull request #571 from TASVideos/feature/cheat-comparison-types
...
Feature/cheat comparison types
2016-02-10 18:58:25 -08:00
feos
435323489e
lua: gui.defaultPixelFont()
2016-02-10 20:06:45 +03:00
Adam Sturge
c82f70763e
Fixed bug where having no comparison type would throw exception
2016-02-09 20:33:44 -08:00
Adam Sturge
447d312a5c
Highlighting a cheat now updates the comparison type drop down to reflect the appropriate value
2016-02-08 21:06:13 -08:00
Adam Sturge
c59f1c1761
Comparison type can be set if and only if comparison field is non-empty
2016-02-08 20:56:11 -08:00
zeromus
1a123fa491
allow "#aarrggbb" as Color parameter to forms.setproperty. fixes #547
2016-02-08 02:33:58 -06:00
zeromus
89a4381d9d
add GB layer toggles
2016-02-08 02:18:24 -06:00
Adam Sturge
52c587d712
Save/Load cheats now accounts for comparison type column
2016-02-07 21:40:14 -08:00
Adam Sturge
992acd9e96
Added code to sort by comparison type. Added code to compare based on comparison type selected
2016-02-07 20:56:40 -08:00
adelikat
36b82c3563
Lua Console - add a button that installs auto-complete for all bizhawk's lua library to Sublime Text 2's lua syntax, still todo - notepad++
2016-02-07 08:27:57 -05:00
adelikat
907850ce02
Lua - fix exception when reloading a lua script with registered functions while the registered functions dialog is open
2016-02-06 14:22:56 -05:00
adelikat
487fce328b
Lua - add option to detect changes in scripts and automatically reload them. Have this option off by default for now. Also fix reloading of scripts which was recently broken.
2016-02-06 13:50:02 -05:00
Adam Sturge
f19333dd11
Prettied up display of comparison type in cheats table
2016-02-05 20:33:21 -08:00
Adam Sturge
092b5da974
restored [ConfigPerist].
2016-02-05 19:33:31 -08:00
adelikat
d0d5df44c9
Tastudio - create settings sooner, hopefully fixes null reference errors with the splitter controls
2016-02-05 21:57:40 -05:00
adelikat
7885934a1e
Add a global tools path in path config, have various tool related paths fallback to this tools folder, wire it up to hex editor .tbl files and basic bot .bot files. Change various tool paths to be . by default to point to the tools folder instead. Add tools folder to version control and builds
2016-02-05 20:46:18 -05:00
feos
ec3c862f4a
tastudio: account for loading files with "All Files" filter.
...
todo: input import.
2016-02-05 23:35:57 +03:00
feos
40b8a82034
tastudio:
...
- don't clear selection on Cut
- don't mindlessly unpause the emulator if autorestore is off and we're editing input via menu
2016-02-05 23:35:56 +03:00
Adam Sturge
c9dd10e8c0
Added comparison type column. Tied to debug issue where the column disappears from settings before being added to UI, couldn't figure it out without removing the [ConfigPersist] attribute from the Settings variable
2016-02-03 21:37:08 -08:00
hegyak
73e705f0f3
Added Multiline Cheat Code handling for all supported cores. Added GBA Slide code handling.
2016-02-03 14:01:57 -08:00
Adam Sturge
9959d61949
Added comparison type dropdown. Updated Cheat model to contain reference to comparison type
2016-02-02 20:32:46 -08:00
adelikat
8168031bed
Make TargetZoomFactor a per systemId setting
2016-01-31 21:05:08 -05:00
zeromus
5e89e563d0
overhaul lua sandboxing so that each lua script has its own sandbox. elaborate tracking of winform/event ownership to ensure that lua doesnt receive calls without going through the owner's sandbox. add win32-specific speed hacks for currdir set/get at higher speed. There may be bugs in this commit, but I think we're on the right track now.
2016-01-31 19:54:55 -06:00
adelikat
30c7b32bc1
Lua Console - when a lua exception occurs we also want to update the script status icons
2016-01-31 19:02:02 -05:00
adelikat
0ff2db5c8d
Lua - ResumeScripts - loop through only running scripts, to avoid sandbox calls for non-running scripts
2016-01-31 14:31:29 -05:00
adelikat
51e12040d1
Ram Watch - fix logic that determines whether to show Freeze or Unfreeze in the context menu
2016-01-31 11:55:00 -05:00
adelikat
9cb0072f0f
Ram Search - also fix leadings zeros in the Difference box
2016-01-31 09:15:17 -05:00
zeromus
42c0b62261
fix some lua currdir bugs, but its all broken, dont pay any attention to it
2016-01-31 03:18:34 -06:00
zeromus
da865e28b8
try sandboxing currenty directory harder
2016-01-31 02:40:48 -06:00
adelikat
0013646db5
Rip out obsolete notion of a WatchList domain, change ram watch menu item to Default Domain, who's functionality is simply to decide the default domain used when adding a new watch, also add some Visual Studio designer shenanigans for a previous commit I made that broke it
2016-01-30 22:17:31 -05:00
adelikat
5ddd9e097b
clean up some warnings
2016-01-30 21:28:49 -05:00
adelikat
aaf4d39b58
Ram Watch/Search - misc code cleanup
2016-01-30 21:21:17 -05:00
adelikat
6f75ef6dba
Move another function to ToolFormBase
2016-01-30 21:07:03 -05:00
adelikat
894a9c2318
Rework ToolHelpers from a static object to ToolFormBase that inherits form and have a lot of tools inherit it, in hopes of moving a lot of copy pasta into a base class, move a few functions that show up a lot there
2016-01-30 20:24:53 -05:00
zeromus
0da6e745e5
move EnvironmentSandbox and LuaSandbox to Client.Common
2016-01-30 18:37:30 -06:00
adelikat
1e57a0a221
Lua Console - remember column widths
2016-01-30 19:20:52 -05:00
adelikat
fdae465089
Lua - refresh the lua console when a script exits
2016-01-30 18:50:05 -05:00
adelikat
7bb3e04105
Ram Search - fix having lots of leading zeros in the different by box
2016-01-30 18:28:29 -05:00
feos
7409a32658
lua: attempt to use sandbox in callbacks.
2016-01-30 23:26:27 +03:00
adelikat
b6406fe523
lua - client.displaymessages()
2016-01-30 12:08:37 -05:00
Suuper
6f95431637
Merge branch 'master' of https://github.com/TASVideos/BizHawk
2016-01-29 12:30:04 -06:00
Suuper
81b2a5d597
Fixed #533 . (Use TryParse, don't try to use a value that can't be parsed.)
...
Made numpad minus key work when typing a float value.
Made current typed float value display (so that "-" can show up).
2016-01-29 12:22:28 -06:00
AdamSturge
fa6ed30ba5
Merge pull request #559 from TASVideos/feature/reduce-basic-bot-ui-size
...
reduced basic bot window size
2016-01-27 18:50:35 -08:00
feos
d39aa6433e
tastudio: implement SeekingCutoffInterval
2016-01-27 16:18:20 +03:00
feos
1c6a40dec9
tastudio: seek progress bar:
...
- stop dividing by zero!
- ignore if seeking closer than 2 frames ahead (todo: make cutoff configurable)
2016-01-27 15:44:42 +03:00
feos
1b8ef3738a
tastudio:
...
- history form: canonical colors, show the current item better, report marker operations
- markers: adding markers updates dialog, don't ever remove marker 0
- tsm: attempt to fix exception in AllLag()
2016-01-27 12:53:26 +03:00
Hathor86
f145f3cc68
Polar Coord
...
- Add polar coordinates to VirtualPadAnalogStick
- Update N64 pad Schema as VirtualPadAnalogStick is a bit larger
- Add Clamp method to NumberExtensions (allows a IComparable<T> value to be restriced between 2 specified other values)
2016-01-23 22:56:41 +01:00
zeromus
d7186c9e6f
remove c#6isms
2016-01-21 21:22:26 -06:00
Adam Sturge
40a38703c1
reduced basic bot window size
2016-01-20 21:44:17 -08:00
adelikat
8ea6c2cc66
Merge pull request #556 from AdamSturge/master
...
Create movie directory and basic bot compare to UI
2016-01-20 21:09:22 -05:00
adelikat
36250ee782
Basic Bot - have the clear button clear out the attempts and frames values
2016-01-20 17:56:08 -05:00
Adam Sturge
19ae023d8e
Changed case of event listeners for comparison UI elements
2016-01-17 17:46:48 -08:00
Adam Sturge
16aae180e5
Save/Load bot data now accounts for comparison values
2016-01-17 17:44:39 -08:00
Adam Sturge
c172590ce4
Reset comparison values when new is pressed. Adjusted camel casing on UI elements
2016-01-17 17:20:12 -08:00
Adam Sturge
f67b8e5bdf
Added update code for _comparisonBotAttempt
2016-01-17 17:01:17 -08:00
Adam Sturge
a7f24179cb
Added UI components for specifying comparision values. Added logic to control enabling them.
2016-01-16 16:22:39 -08:00
pjgat09
e4a4a9606c
Lua forms: Added a scrollbars argument for creating a textbox.
2016-01-15 21:19:25 -05:00
zeromus
364a1498c1
fix compile errors in hyper HD edition commit
2015-12-31 11:38:35 -06:00
hegyak
1b3c05d6ea
Super Ultra Mega HD BizHawk GameShark/Action Replay/Code Breaker Final Hyper Edition Arcade Remix EX + α GBA Code detection method.
2015-12-31 06:13:07 -08:00
Hathor86
2876f63dd8
ExternalTools: Allow several tools running simultaneously
2015-12-30 11:00:56 +01:00
feos
dc3a133d0b
tastudio: fix upward drawing.
2015-12-26 13:17:22 +03:00
adelikat
ac1c7d0992
HexView - setting up some API
2015-12-24 15:46:57 -05:00
adelikat
60692450e8
New Hex Editor - add the plumbing for the HexView widget, that will use the GDIRenderer as the basis for the drawing.
2015-12-24 11:15:29 -05:00
Connor Olding
9a45066e27
Fix selections in HexEditor text columns
2015-12-23 21:29:48 -08:00
adelikat
d470703a40
Add an Experimental Tools submenu that only shows in Developer Builds and move autohawk there. Add a NewHexEditor tool (in the experimental section), which is currently just a bare bones winform with all the necessary plumbing set up
2015-12-23 21:11:25 -05:00
Connor Olding
f0c939d87c
reimplement strings for OSD watches
...
also fixed saving separators
2015-12-23 17:18:39 -08:00
hegyak
55eef165aa
Add one to the VersionInfo.cs
2015-12-20 12:44:50 -08:00
feos
a77a224f9b
hexeditor: make secondary highlight color depend on primary
...
fixes custom color mismatch
2015-12-20 23:07:13 +03:00
feos
65415608e5
hexeditor tweaks:
...
- don't show chars between scrollbar and right label border
- don't add existing items to _secondaryHighlightedAddresses
- view scrolls after offscreen mouse selection
- spacing becomes more comprehensible
- display number of selected addresses if more than 1
2015-12-20 23:07:11 +03:00
hegyak
69a5b6fb52
SNES Cheats: Properly Support GameGenie codes. Fix a bug with Byte Vs. Word cheats.
...
GBA Cheats: Add Check for DEADFACE to return without conversion and issue warning about this. Add Skeleton for Action Replay MAX code conversion. Needs detection.
2015-12-20 09:52:08 -08:00
adelikat
752235b848
NES Music ripper tool - clean it up slightly to be more presentable
2015-12-20 12:51:05 -05:00
adelikat
223295cd87
Make platform specific game genie tools not released, so they don't show up in the toolbox
2015-12-20 12:49:14 -05:00
adelikat
01e72a2d94
Change macro input to released = false
2015-12-20 12:46:17 -05:00
adelikat
7654374682
Cheats - use the integrated tool instead of the one-off platform specific tools
2015-12-20 12:38:59 -05:00
adelikat
13418e963b
GameShark - reposition and resize things slightly, there was a bit too much unused space for no reason
2015-12-20 11:49:50 -05:00
adelikat
fdc530626d
Rework the ordering of the tool menu items, and make GameShark default window style "CenterParent"
2015-12-20 11:45:39 -05:00
feos
23b3784123
lua: gui.defaultTextBackground()
2015-12-20 14:28:31 +03:00
pjgat09
84428afc58
Lua forms textbox: Ctrl+A now selects all text
2015-12-19 22:16:29 -05:00
zeromus
260ad45a88
fix lua's reboot_core function... maybe
2015-12-19 21:14:13 -06:00
pjgat09
d54e53d329
Lua forms.setproperty: Convert the passed value to an enum if applicable
2015-12-19 00:01:06 -05:00
hegyak
f8a3dca089
Correct a dumb bug in Genesis GameGenie code conversion.
2015-12-18 15:50:14 -08:00
pgrimsrud
bb327261ae
Add a return value to the main function for various purposes.
...
Add Lua function ExitCode to allow script writers to terminate the client with an exit code.
2015-12-15 22:39:42 -07:00
Hathor86
a7074c6341
ExternalToolManager and BizHawkExternalToolattribute
...
Add those 2 classes in order to help handling of external tools
- Also fix value setting in watches constructor
- Bugfix in loading externaltools (they loaded multiple times)
- Add new version of Hello World external tool
Whitespaces noise in RamWatch.cs... :s The code hasn't changed
2015-12-13 21:38:35 +01:00
feos
2535207a40
tastudio: actually implement seeking progressbar.
2015-12-13 00:00:23 +03:00
hegyak
f40b2acd47
Comment a MessageBox out.
2015-12-10 04:52:45 -08:00
hegyak
2f2bfc0656
Merge branch 'master' of https://github.com/TASVideos/BizHawk
2015-12-10 04:43:05 -08:00
zeromus
0218d6d321
fix toolbox
2015-12-10 06:08:00 -06:00
Connor Olding
a7dd0b2386
Adjust Registered Functions window: anchors, minimum size
2015-12-10 03:35:12 -08:00
hegyak
84e3e02c1e
Merge branch 'master' of https://github.com/TASVideos/BizHawk
2015-12-09 17:01:18 -08:00
feos
2a6a2a7a8a
tastudio: properly report saving progress.
...
also attempt to report seeking progress.
report occurs, but progressbar doesn't show up...
2015-12-10 01:38:06 +03:00
feos
ea1368c819
tastudio: display changes in a loaded file too.
2015-12-09 19:58:09 +03:00
hegyak
9c210e5fa4
Merge branch 'master' of https://github.com/TASVideos/BizHawk
2015-12-08 16:05:37 -08:00
Hathor86
708bb4fa93
Final stuff to WatchList
...
Now fully use comparer class. That saves memory and offer extensibility
ItemCount property obsolete => Moved to Count property (which did the same thing)
Moved ConfigPersistAttribute.cs, IToolForm.cs, IToolFormAutoConfig.cs back to common
2015-12-09 00:54:54 +01:00
feos
8a6ddfbf3f
tastudio: actually use initial state from anchored movies.
...
don't seek to whatever frame such a movie was created from.
2015-12-08 23:38:00 +03:00
hegyak
bcac7f5f18
Merge branch 'master' of https://github.com/TASVideos/BizHawk
2015-12-07 09:27:37 -08:00
feos
72b650d606
tastudio: properly save/load column settings.
...
wrap MainForm savestate functions that tastudio can now control into IControlMainform.
2015-12-07 20:05:04 +03:00