Commit Graph

2972 Commits

Author SHA1 Message Date
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
feos 35a07f42eb subtitles:
- trim trailing spaces
- sort by frame and then by Y pos (to properly order multiline subs)
- concat multilines (optionally) on export
- option to skip color tag on export
todo: fix multiline ordering for export
2016-06-29 00:32:43 +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
zeromus 8fb106902c contributers -> contributors 2016-06-13 11:48:19 -05:00
zeromus a9c0211d46 change a bunch of old googlecode urls in assemblyinfos 2016-06-13 11:34:27 -05: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
Hathor86 7fb0eaf337 Add Save/Load state methods and events to ApiHawk
Now, ApiHawk can save and load name state. There are also events that
you can attached too. Furthermore, BeforeQuickSave/BeforeQuickLoad
events occurs just after user pressed button. We can react to this and
even override behavior.
Finally, I just allow .bat to take xml files (for ApiHawk doc)

PS: Yeah, I'm still alive
2016-05-29 16:50:16 +02:00
adelikat 491307b85c About box - replace outdated contributers list with a link to the github stats page, put release date under version info instead of next to it (now that we have the extra real estate) 2016-05-22 18:52:14 -04:00
zeromus ef318aa0f8 fix noise in some cores during pause 2016-05-22 15:00:45 -05: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
zeromus a7f03d4c2c make direct3d9 prereq check non-fatal and make d3d display method initialization fail non-fatal, falling back to gdi+ 2016-05-05 09:01:01 -05: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 838e986847 add x64 to bizbox, if its x64 2016-04-23 04:55:13 -05: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 3adc8f7c82 dont send 0-sized framebuffers deep into displaymanager (prevents crashes when sending fullscreen windows to other monitors sometimes, and probably other bugs) 2016-04-20 12:33:59 -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
feos a18648dc45 GDIRenderer: add a method to create NormalFont using the LOGFONT features.
InputRoll: make the font match what fceux uses. padding still works oddly though.
2016-04-17 11:47:18 +03:00
zeromus 5a6ffe022a fix tastudio font bugs, some mine, some not mine 2016-04-17 03:07:07 -05:00
zeromus 1bde0c5a72 GDIRenderer - fix bugs in using any font but the old default gdi font (i.e. System) while rendering to offscreen bitmaps (e.g. tastudio) 2016-04-16 17:13:49 -05:00
feos 2fafd85064 InputRoll: stop switching to RotatedFont when we're in vertical orientation.
Still doesn't care about the font we set, since it's never created in gdirenderer.
2016-04-16 21:46:47 +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
zeromus 0cac65c184 use gambatte window option in emuhawk 2016-04-12 03:02:11 -05:00
zeromus 8e92371178 fix gif palette rgb ordering. separate commit because the bitfield fiddling is a bit mysterious and required guessing. also forgot to commit csproj 2016-04-10 03:00:26 -05:00
zeromus d39dc2296e add palette optimizer to gifs to improve image quality and compression (due to less dithering in low color images) 2016-04-10 02:48:54 -05:00
zeromus 6b013d6d94 fix VirtualListView (incl. movie open dialog) on x64 2016-04-07 15:25:14 -05:00
nattthebear ec787d049d NESHawk: support SNES controllers 2016-04-05 17:16:27 -04:00
zeromus 9be6a8533b dont delete this font, it will break winforms. but probably still delete other fonts. as usual with windows its freaking impossible to tell when you should delete a GDI object, sometimes I guess wrong. 2016-04-02 18:02:19 -05:00
zeromus b6efb0a056 fallback to gdi+ in case GuiRenderer can't be created by chosen display method (due to buggy drivers) 2016-04-02 14:33:34 -05:00
zeromus 1b8a51e447 rework sound config dialog and sound volume control to permit independent control of volume during FF & RW, and independent toggling of sound synthesis vs volume=0 suppression 2016-03-29 03:40:37 -05:00
zeromus f1ea49133d fix bug in d3d alternate vsync + frame advance 2016-03-29 03:05:00 -05:00
zeromus 17cae0ad1c fix old bug in raw screenshot with game extra padding 2016-03-27 21:02:18 -05:00
zeromus e426b33017 fix new bug in game extra padding 2016-03-27 21:02:18 -05:00
zeromus 10272b4857 add alternate vsync method for d3d display method, in case youre the lucky owner of a system that sucks 2016-03-27 04:49:17 -05:00
zeromus 66683b16ed replace "Ok" with "OK" 2016-03-26 21:50:33 -05:00
zeromus 406b431280 add comments for later about triple buffering 2016-03-26 12:39:31 -05:00
zeromus c429ebdbcf fix error in "Display Vsync set to" OSD message 2016-03-26 12:39:31 -05:00
zeromus 204ff2365f I think the 1px padding hack (enabled by default) should have only applied to opengl (it was created when we only had opengl and it's meant to address a problem i think is opengl only). May possibly cause flickering when going fullscreen, if I'm wrong. 2016-03-24 14:47:18 -05:00
zeromus 3deb7fcb31 add autoprescale concept. default it to on, since really I can't think of when you'd ever not want it, except in some very low-spec system scenarios. Add NOP concept to filter chain, potentially troublesome 2016-03-23 20:26:31 -05:00
zeromus 4e13f205d4 update and clarify prereqsalert urls and guidance 2016-03-21 21:08:09 -05:00
zeromus 9aceb512f0 fix automation of virtualpad analogsticks from movie playback 2016-03-21 16:13:49 -05:00
Isotarge 66ae06f96a OCD UI alignment
For the bicubic filter radio button in the display config window
2016-03-22 03:21:59 +10:30
Adam Michaud 19a7408c6d More ROM Extensions
Fixes the issue reported by feos
(http://tasvideos.org/forum/viewtopic.php?p=430806#430806) where some
ROM extensions were not being recognized.  I had generated the list of
ROM extensions based on the cases in RomLoader->LoadRom(), but am now
using the non-developer build list in MainForm->RomFilter().
Unfortunately, this means that if someone adds a file extension in the
future (by, say, adding a new core), this list will need updating as
well.

Also, spaces were replaced by tabs where appropriate.
2016-03-21 05:34:32 -04:00
zeromus 144f08cfc3 fix xinput > 2 devices, and change how xinput devices are numbered in configuration (by player number and not index-of-connected-xinput-device-plus-one) 2016-03-21 01:01:36 -07:00
Hathor86 c0f7219b06 Contextualization of external tools + Basic of ClientApi
We can now specify a context for external tools. Global, specific for a
type of emulator / system or specific for a game (If not specified, a
tool is global).  It should avoid loading something unwanted.

Also add ClientApi, a static class that can interract with EmuHawk
window (SetPadding is the only thing implemented currently).
2016-03-16 23:06:53 +01:00
zeromus d06c035df4 add scrollbar to pathconfig tabpages (fix #594) 2016-03-15 00:35:48 -05:00
zeromus de576bb067 AVWriters now implement UsesAudio and UsesVideo so that the frontend can decide how much work it needs to tell the core to do to fulfill the AVWriter's needs (fixes #593) 2016-03-05 17:20:00 -06:00
Adam Michaud 9b75d9c359 Merge pull request #592 from TASVideos/feature-drag-drop
Expanded drag and drop
2016-03-04 22:54:40 -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
zeromus 86b3ecf7b8 displaymanager: change how windows shrink to <1:1 by shrinking content instead of attempting to inversely 'letterbox' it by shoving it offscreen (fixes #579) 2016-03-04 01:59:25 -06:00
Adam Michaud 2db8f7e14c Expanded drag and drop
Allows dragging-and-dropping of multiple files onto a running BizHawk
window.

Currently, dragging-and-dropping multiple files of the same
classification is disabled.  Classifications are listed in the
LoadOrdering Enum, and include the order in which those types of files
should be loaded (no state before ROM, etc.)
The current ordering is ROM, state, watch, CDL file, Lua session, Lua
script, cheat file, [movie file and legacy movie file].

The next thing to do is allow dropping archives and extracting the
relevant files from it, but the current hurdle is that any such loaded
file would have to be read-only, as re-saving into the archive could be
problematic.  Furthermore, all of the existing functions (copied and
split into the Loaders region) accept filenames and not streams, which
means that much of the rest of the code needs refactoring to allow
archive loading.
2016-03-02 23:09:44 -05:00
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