Commit Graph

3045 Commits

Author SHA1 Message Date
zeromus 1b32d02ac8 visualstudio keeps wanting to edit this, so ill let it 2016-03-01 22:07:16 -06:00
zeromus d8554ee536 move assorting junk from the Output directory to Assets; add build step to copy them from Assets to the appropriate 32/64 output directory 2016-02-28 21:59:17 -06:00
nattthebear a87096fb85 Move around LuaInterface.dll as well in preparation for 64 bit build 2016-02-28 16:10:18 -05:00
nattthebear ad2a830195 Merge branch 'master' of ssh://github.com/TASVideos/bizhawk 2016-02-28 15:06:34 -05:00
nattthebear 2a0e859a85 Add 64 bit build (doesn't work yet), move SlimDX.dll 2016-02-28 15:06:03 -05:00
feos 3c4771c76a tracer: print header when switching to file while already enabled. 2016-02-28 23:01:22 +03:00
adelikat 768905b2db Make an ISpecializedEmulatorService interface to show the intent of certain interfaces. In the core feature analysis, don't show these are unimplemented, as they aren't expected to be implemented by all cores. Make ILinkable inherit this interface.
Also check in ILinkable, I forgot to do that last time
2016-02-28 14:06:11 -05:00
adelikat f1f45afd83 Remove CoreComm link cable properties and turn it into an ILInkable service instead 2016-02-28 13:52:17 -05:00
adelikat 7a4a210ccc Remove some unused code and usings 2016-02-28 13:36:17 -05:00
adelikat c333403895 Prevent Advanced loader from pooping all over every other tool, this needs to be refactored 2016-02-28 12:15:23 -05:00
zeromus 3c96e9d434 ok so i messed up with the FileInfo, because it was already there and I just lazily used it. But lets try handling this with the sophistication it calls for 2016-02-27 16:19:41 -06: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
hegyak f344cbca07 Make our Shark Transparent. The Ultimate Predator. 2016-02-27 08:16:35 -08:00
adelikat fa3ccc59e7 try/catch the File.Move when making a backup savestate and do nothing 2016-02-27 09:58:41 -05:00
nattthebear 35f2599c13 Remove savestate wait that caused nothing but trouble 2016-02-27 09:51:01 -05: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
zeromus 95bc69b448 some prepwork for opengl texture ID importing (skip rendertarget resolve on OGL display method) but there are still problems and it can't be enabled yet 2016-02-22 00:23:20 -06:00
zeromus 37619a8a34 fix bug in GLManager causing yabause in opengl mode to not work unless frameadvancing 2016-02-21 22:02:59 -06:00
zeromus 10b8a54e6c savestate backup had delete (it's asynchronous) vs move race condition 2016-02-21 22:01:36 -06:00
pjgat09 252dbe62ce Fixed the build tool to accept spaces in the path. 2016-02-21 21:27:49 -05:00
zeromus 0eb6e83384 glcontexts can specify versions and clean themselves up 2016-02-21 17:19:34 -06: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 c41851e877 Call the lua loadstate callback before redrawing the screen and other updates 2016-02-15 19:17:19 -05:00
nattthebear 08655918bd Winforms is your friend 2016-02-15 18:29:45 -05:00
adelikat 185f5190a0 GameShark tool - better layout, anchoring, min size, and tab orders 2016-02-14 22:46:59 -05:00
adelikat ada89f875a Make File -> Save Ram menu item the same font as the others 2016-02-14 22:01:00 -05:00
adelikat 47d9432ad4 Lua - set file watchers on lua session autoload 2016-02-14 21:51:12 -05:00
adelikat b3728ff192 Make Screenshot Raw to Clipboard and Screenshot Client to Clipboard into configurable hotkeys instead of hardcoded shortcut keys in the menu items 2016-02-14 21:30:24 -05:00
zeromus 362f672abd use that tool in emuhawk 2016-02-14 16:43:05 -06: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
nattthebear 510dc20823 Try activating Large Address Aware (>2GB) support for EmuHawk. Someone needs to test this. 2016-02-13 18:20:08 -05: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
feos 1de5a84687 lua: make fceux font monospace 2016-02-10 20:06:44 +03:00
zeromus bff0d5b95d add and hook up AWEMemoryStream option for movie storage. GUI is intentionally shoddy to convey sense that it's experimental. Has been cursorily verified but not thoroughly tested. 2016-02-10 01:09:43 -06: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 d37233fe46 copyright material -> copyrighted material 2016-02-08 20:03:39 -06:00
zeromus ae8c961ac7 refine rewind config dialog 2016-02-08 02:46:16 -06: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
zeromus 3b9796232c MoviesOnDisk: now ready for primetime; hooked up as option in customize config dialog 2016-02-06 15:07:58 -06:00
zeromus 07e93e6b4f add comments about what not to do in DisplayManager 2016-02-06 15:00:05 -06:00
adelikat da421483f6 Firmware disclaimer 2016-02-06 14:54:39 -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
zeromus e0d74c7718 better error handling in shader compiling. kind of sloppy, but gets the job done. entire system could use a little rethinking, if i ever revisit filters 2016-02-03 02:28:03 -06: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
zeromus 1e928c6b17 add sha1: label to hashes in firmwares config info sub-window 2016-01-31 16:39:54 -06: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 74eba9209c visualstudio keeps trying to change this project 2016-01-31 02:41:36 -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
zeromus e855cb39cd psx - add "determine lag from GPU frames" option 2016-01-28 13:53:22 -06:00
feos bff12a4fdc movie save as - hide when needed. 2016-01-28 16:11:05 +03:00
feos 6a1c2ba924 movie: save as menu item (mainform and context menu) 2016-01-28 13:30:21 +03: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
zeromus 9c698011f6 when automatic movie backups are enabled, take a backup when the movie is closed without saving 2016-01-27 20:33:31 -06:00
Isaac Miell 259b8eaeb9 Fix #561 2016-01-28 03:45:22 +10:30
feos 099df32224 ability to save/load specific config files 2016-01-27 19:07:26 +03: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
Adam Sturge 2f11a3adca Updated brace alignment 2016-01-15 19:16:35 -08:00
Adam Sturge 7949e2e182 Added Directory.Exists check for Movie director when clicking the browse button 2016-01-15 19:14:59 -08:00
pjgat09 e4a4a9606c Lua forms: Added a scrollbars argument for creating a textbox. 2016-01-15 21:19:25 -05:00
zeromus d786292ccf remove unused code Apply MOTW code 2016-01-14 01:51:40 -06:00
zeromus 192458a190 try catching some missing prereqs in emuhawk startup and print a report about it 2016-01-14 01:50:41 -06: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
feos c5526a1169 Fix #134 - Option to turn off "savestate every frame" for bsnes
Warning text: "Guarantee deterministic emulation by savestating every frame. Don't TAS without it! Only ~75% of runs sync without it, but speed boost is ~30%."
2015-12-20 11:58:11 +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
zeromus 22143f99fb work on stability of avi writing. Unfortunately, I did a half dozen things here, overlapping in complicated ways, and at least 2 of which were required to fix it: changed pinvoke wrapper of AVISaveOptions, removed ownership of pointers from codec token (simplified analysis and in principle [but not practice] determinism due to less GC involvement), changed life cycle management of codec token (irrelevant due to prior), changed functions used to allocate memory from AllocHGlobal to pinvoke HeapAlloc, made different assumptions of ownership/lifecycle of pointers accessed by AVISaveOptions. notably the pinvoke wrapper for AVISaveOptions was the last thing I fixed that sealed the deal, but I don't think it was that simple. 2015-12-19 05:13:31 -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
feos 2a19edca91 avi: try to remember previously used codec.
todo: fix canceling codec selection but then going ahead and recording.
2015-12-17 00:24:46 +03:00
feos d77c414a06 avi: traditional avi setup menu item. 2015-12-16 21:14:13 +03: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
zeromus 48bf9616db fix --fullscreen and fullscreenOnLoad options 2015-12-12 13:25:59 -06:00
zeromus a9b094c11b fix path config window size (too small for global, looks bad) 2015-12-10 07:01:37 -06: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
zeromus 053b260929 fix console log noise from recent revision to throttle 2015-12-10 05:47:11 -06:00
Connor Olding a7dd0b2386 Adjust Registered Functions window: anchors, minimum size 2015-12-10 03:35:12 -08:00
hegyak 29c30c2b49 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-09 21:51:26 -08:00
Connor Olding 938b0a63de Fix path to ffmpeg.exe 2015-12-09 20:32:21 -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 0d3a166529 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-08 08:35:51 -08:00
feos 173b9e9d76 new lua script, relying on recent features.
show frame when rewinding.
2015-12-07 21:43:32 +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
hegyak 1a15403690 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-05 19:56:13 -08:00
Hathor86 12388cbe3d ExternalTool bug fix: wasn't able tool load serveral dll 2015-12-06 00:52:07 +01:00
zeromus 35066b69ef tastudio - fix behaviour of menu by special hacks involving ALT key 2015-12-05 11:32:56 -06:00
feos 84ea239180 tastudio: better check if it was engaged.
baka-yoke branch messages.
2015-12-05 18:33:35 +03:00
feos abd118253f tastudio: Save State hotkeys (finally) control branches:
- save/load by slot number (select that branch if it exists)
- save/load current slot (selected branch)
- select branch by slot number
- select next/previous branch
- bind 2 default tastudio hotkeys
keep selection when branch gets removed.
2015-12-05 17:07:24 +03:00
hegyak 0e0877aa4d Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-05 04:29:46 -08:00
feos d0772a6b44 reduce default binding repetition.
add tastudio hotkeys and tip.
2015-12-05 14:48:04 +03:00
feos 6d4c5ef17f preparations for state hotkeys functioning with tastudio branches.
typos.
2015-12-05 14:48:04 +03:00
feos 7fe4f4e1de context menu too. 2015-12-05 14:48:03 +03:00
feos 8411161930 tastudio shortcuts.
select all is never used, select between markers is frequent, simplify the latter.
clone and delete are used in pair, give them similar shortcuts.
insert and clear are rare, but are simple enough to drop modifiers.
insert # of frames is even rarer, make it the hardest shortcut.
2015-12-05 14:48:02 +03:00
adelikat 48487f2a90 Sort out and fix problems with Ram Search watch files showing up in the Ram Watch recent list 2015-12-04 23:18:46 -05:00
hegyak a4993b50c3 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-04 20:13:55 -08:00
adelikat c1b8e6c1d1 Cheats - fix bug where it was using the recent ram watch list instead of the recent cheats list 2015-12-04 23:03:13 -05:00
hegyak 941b6dd109 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-04 17:45:34 -08:00
zeromus ee52570dbf fix #541 Heavy CPU usage when emulation is paused 2015-12-04 19:22:48 -06:00
hegyak 8d724f0d14 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-03 17:44:14 -08:00
feos 4bc74ce36e tastudio: arrow keys start making sense.
up/down - scroll tasview.
ctrl-up/down - move selection.
shift-up/down - append selection.
removed ctrl-shift-R, duplicate of ctrl-shift-F.
2015-12-03 23:06:28 +03:00
feos 69970c5ae5 tastudio: select the new cell on every rightclick.
only enabled for branches and markers, since in tasview we use rightclick to start advance/rewind.
involved some hackery, like killing context menu while OnMouseDown of the given listview, then going back to InputRoll's OnMouseDown and actually selecting a new cell. can we figure out a hovered cell while context menu is still active? also, it'd make sense to do this for leftclick as well, but without context menu hiding, there doesn't seem to be a way to force updating of listviews from InputRoll.
2015-12-03 21:16:55 +03:00
hegyak b2c9fddfb9 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-02 14:07:02 -08:00
Hathor86 31cc08a954 More WatchList comments
Finished coments on WatchList object
2015-12-02 22:48:30 +01:00
feos 0f6ef723bf tastudio: fix bug with ScreenshotPopupControl's alpha channel.
it was forgetting to discard alpha, and when creating a bitmap it dropped anything but lua hud, since it does have alpha bits that nothing else has, and with no lua hud involved, it showed all normally, since it didn't have to drop colors with zero alpha. lol.
2015-12-02 22:21:05 +03:00
hegyak addb22ea39 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-12-01 16:48:23 -08:00
Hathor86 32271899c3 Comments on Watch derived class; started on watchlist
+ Moved WatchList.cs to specific directory (just a matter of ordering)
+ Mark some properties and methods in watchlist as obsolete
+ Create Comparer class that are used for sorting (Only domain and
address atm, other a still stored with linq). Unlike OrderBy in LINQ, it
doesn't create a new list for sorting (so it saves memory), furthermore,
it runs faster.
Finally, change to type of Watch.Address from nullable lon to regular
long (the rare times watch.Address.Value was used, there wasn't any
check of null and so, program would have crashed -
InvalidOperationException -)
2015-12-01 22:18:55 +01:00
feos ef563a77e0 tastudio: differentiate between marker with text and regular marker.
both have buttons and context menu items.
if mass adding regular markers, give a warning for 50+.
marker with text can only be added one at a time.

fix #504
2015-12-01 19:36:13 +03:00
hegyak 9cfef3f063 Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-11-30 16:00:46 -08:00
feos d8ec9e6878 tastudio: editable HoverInterval for BranchView (stored to TAStudioSettings).
when comparing, we want them to show up instantly.
2015-11-30 23:45:06 +03:00
hegyak 020c71557b Add some code for Slide Code Handling for Action Replay MAX.
TODO: Detect Action Replay MAX codes Vs. GameShark/Action Replay codes.
2015-11-29 14:22:23 -08:00
feos eb41e8a8e0 lua: remove registered functions on toggle option. 2015-11-29 22:56:28 +03:00
feos 0be8f8c564 lua: another pixelFont tweak. 2015-11-29 22:56:26 +03:00
Hathor86 e7de250fb2 Comments on ByteWatch
Also moved nullable value type to non nullable (with exception
prevention).
2015-11-29 17:13:32 +01:00
feos fbd1d6d8e2 Lua: autoload recent scripts too (unless there's a recent session to autoload).
pixelText bg tweak.
2015-11-29 13:29:48 +03:00
Hathor86 1e2f4e12be Watch refactoring
Some improvement when you get Available types. Used to return a new
array each time you call the function. It has been transformed into an
IEnumrable and yield return.
DisplayType, PreviousType and Watchsize have been moved outside the
Watch Class
2015-11-28 22:52:00 +01:00
feos 128c09e7b4 progress with lua:
- added fceux and gens/snes9x pixelated fonts
- added gui.pixelFont() function for them (no resizing, so perfectly scalable)
- added background to drawText and pixelText (halo was painfully slow, so just a box)
- reordered fore and back colors for gui.text (no need to specify back every time we want to change fore). thought its back color was shadow, that is obsoleted by halo now, whose color we can't change. anyway, it's way slower than simple text functions, so they should be used mostly.
- option to toggle all scripts if none is selected. greatly reduces routine when heavily tweaking a script, and is just generally pretty.
2015-11-28 22:19:15 +03:00
Hathor86 d4b4c06f0c Draft of API
So, I create a new dll named BizHawk.Client.ApiHawk and moved few stuff
to it.
Also moved some stuff to BizHawk.Client.Common. Don't think it can be
desiociated.

I started comment Watch and rearrange code (put some #region etc...

It compiles and it seems working :)
2015-11-26 23:05:29 +01:00
feos 1928d04137 default font now has halo.
if someone really prefers the shadow way (why would anyone?), it can be made optional. well, halo color can't be edited. regarding lua, this only affects gui.text, since it uses the same bitmap font.
2015-11-26 22:51:48 +03:00
feos 2ce108e310 lua: ability to SetBranchText.
doesn't make much sense to add text to existing branches from lua, but highly useful to set some text to a new branch.
and we also have a default branch text variable now.
2015-11-26 00:12:25 +03:00
feos 796a62f883 tastudio: moved branch and marker popups to their controls.
marker add called from MarkerControl doesn't check TasView selection anymore: current frame has higher priority, and if we don't want a marker on it, we use TasView's doubleclic or menu to mark selection.
sight MarkerControl cleanup.
2015-11-25 23:28:46 +03:00
feos 344cd94aa2 tastudio: MarkerControl buttons (and commands).
also moved marker context menu from TAStudio to MarkerControl.
2015-11-25 00:10:34 +03:00
feos 33144e18c7 tastudio: add buttons to branch view. 2015-11-24 20:43:43 +03:00
feos 1f1382ceb7 tastudio: attach usertext to branches, make it editable from menu.
moved branch functions and menu items around.
2015-11-23 23:27:27 +03:00
hegyak 9b0a94dd8e Merge branch 'master' of https://github.com/TASVideos/BizHawk 2015-11-22 16:04:05 -08:00
hegyak 280b7a84c7 Clear the Text Box inputs for GBA. 2015-11-22 16:03:22 -08:00
Hathor86 f3771e7b98 Ambigous call fixed
This bug occured sometime, when we try to call Load() by reflection
without parameters.
2015-11-22 23:45:57 +01:00
hegyak 3f12ae3485 Correct a small bug in GBA Game Shark code adding. Description is NOT code. 2015-11-22 13:51:10 -08:00
Hathor86 dee47067ad Merge pull request #540 from Hathor86/CustomTool-Improvement
Custom tool improvement
2015-11-22 20:49:10 +01:00
hegyak 2055e375aa Add Game Shark and Action Replay Code GBA code handling. Action Replay MAX, Codebreaker, GameShark SP, and Xploder codes are not detected or handled, yet. Action Replay MAX does have a decryption key set. 2015-11-22 11:37:42 -08:00
feos 5715dc2a84 tastudio: add user text area to screenshot control.
padding height is autocalculated based on string and bitmap width.
todo: add branch user text and use it for the above.
2015-11-22 22:31:08 +03:00
Hathor86 6f18e44fe7 Code Formating
Just more sexy
2015-11-22 17:56:08 +01:00
feos 2723739a02 tastudio: screenshot control tweaks.
- don't cut it on the left if tasview is narrow, push it right instead
- don't hide it instantly if it spawns right under the mouse cursor, hide it if mouse leaves *it*, not branch control
- keep consistent Y position
2015-11-22 19:54:21 +03:00
Hathor86 7d2e02b94b Debugging and POC
Change some logic into ToolManager for better practice
Adjust the look of toolstrip items
Update comments
2015-11-22 17:37:00 +01:00
feos 099e37ad76 tastudio: load session and rebuild columns on every file load.
it was only loaded on tastudio launch, so whenever it's not autoloading a recent project, loading one with different syncSettings would cause ! columns.
2015-11-22 17:17:01 +03:00
feos 33ac38fe5d tastudio: do right-click frame move only on Alt
right-scrolling should not fire frame drag AND greenzone invalidation (every time we accidentally move the mouse over the frame column)
2015-11-22 12:44:24 +03:00
hegyak 7ec0e74c3f Add Support for Game Genie to GameBoy, Game Gear, Nintendo Entertainment System and Sega Master System. 2015-11-21 05:55:09 -08:00
Hathor86 d92eed5845 Menuing
Change the menu item name
Change interface name
turn menu item into a submenu dynamically filled
2015-11-21 01:03:48 +01:00
hegyak 570e0aeb34 Add SNES Game Genie Handling. Added start of NES Game Genie handling. Minor code cleanup in GameShark.cs
Also updated .gitignore to have Output/Gameboy on the list
2015-11-20 07:25:09 -08:00
Hathor86 bae4d53cbf merge remote master 2015-11-20 13:14:38 +01:00
hegyak c4016affee Add SMS Action Replay handling. 2015-11-19 11:07:52 -08:00
hegyak a3b7770333 GameShark for N64 Corrected. Genesis Game Genie and Action Replay Added. Made Code detection smarter for several systems. 2015-11-19 09:34:09 -08:00
zeromus 10fcf662a1 oops, i didnt commit enough 2015-11-18 21:18:00 -06:00
zeromus bc2e8c773d fix crash in loading hex editor (openadvanced regression) 2015-11-18 21:17:34 -06:00
zeromus 28eae0dcb1 Revert "Revert "common logic for tempfiles""
This reverts commit 5196fc6b70.
2015-11-17 17:26:03 -06:00
zeromus 5196fc6b70 Revert "common logic for tempfiles"
This reverts commit 5afa44bbec.

and also "fix regression in libretro core loading and streamline open advanced libretro ui"
59048264cd but tortoisegit didn't put that in the commit message.
2015-11-17 17:10:27 -06:00
zeromus 59048264cd fix regression in libretro core loading and streamline open advanced libretro ui 2015-11-17 16:56:30 -06:00
hegyak 1e878f700c Corrected GB/GBC Code Handling. Added SNES Action Replay code handling. 2015-11-16 09:22:58 -08:00
hegyak b3166094ca Added PSX and Saturn GameShark Code Support. 2015-11-16 06:49:00 -08:00
hegyak ca2a98c029 Improve GB/GBC GameShark Parsing. Make N64 Parsing robust. Start on PSX handling. 2015-11-15 19:35:05 -08:00
zeromus 0ff2a2eb49 fix crashy bugs in snes gfx debugger 2015-11-15 18:02:20 -06:00