adelikat
dca259fff2
Tastudio branches - progress on loading the frame buffer when loading a branch
2015-07-21 20:31:51 -04:00
nattthebear
862f82b1b2
Screenshots on tasproj branches
2015-07-21 19:41:57 -04:00
zeromus
6e1cde2793
hookup PSF support
2015-07-20 23:11:00 -05:00
nattthebear
14db42c28a
Stuff. Sorry, I'm having a bad day.
2015-07-19 17:09:05 -04:00
nattthebear
e280e4f55c
TasMovie Branch internals
2015-07-19 15:57:40 -04:00
zeromus
f5f4ded789
add slow load handling for m3u files
2015-07-19 11:59:48 -05:00
adelikat
4188f2105e
Tastudio - branches - ability to load a branch, currently the frame buffer does not have OSD info
2015-07-19 10:37:53 -04:00
adelikat
2201d01982
Merge branch 'master' of https://github.com/TASVideos/bizhawk
2015-07-18 22:20:51 -04:00
adelikat
1af28239dc
Tastudio - lots of progress on branches
2015-07-18 22:20:38 -04:00
zeromus
37aca2bc92
change rom status text to reference accurate PSX menu Hash Discs tool name
2015-07-18 20:08:45 -05:00
adelikat
ebe23ada64
Tastudio - save the lag log into regular mainform produced savestates
2015-07-18 09:48:14 -04:00
zeromus
1f9f712af9
psx - fix loading m3u with non-good discs
2015-07-17 11:48:20 -05:00
zeromus
3609a9682f
load unknown audio discs as pce-cd (fixes loading of most pce-cd games)
2015-07-16 09:31:19 -05:00
Suuper
07a8a4c1d3
Removed SuppressGreenzoning because TAStudio should not allow the user to be on a frame that isn't "greenzoned". It will now jump back to the greenzoned area immediately when an edit invalidates part of the greenzone, and pause there until mouse up.
...
This fixes a bug which caused TAStudio to generate and keep invalid savestates.
2015-07-15 14:26:56 -05:00
zeromus
d7a56eab3b
dont fail loading not-in-gamedb psx games
2015-07-14 18:52:30 -05:00
Suuper
e3a8c33be5
-Fixed typo in variable name (SupressGeenzonging)
...
-Removed state capture from TasMovie.RecordFrame
-Fixed: States weren't captured while left mouse button was still down from clicking a frame.
-TAStudio now automatically captures after loading a new movie.
2015-07-13 22:06:21 -05:00
feos
451fd779bc
tastudio: apply autohold to appended frames.
...
needs current frame to be emulated with autohold already to pick up the pattern.
2015-07-13 22:44:17 +03:00
zeromus
56e3416de2
improve rom status report for PSX, and generate one for the M3U scenario
2015-07-12 20:23:27 -05:00
scrimpeh
667e4273f3
Firmware Manager - Add option to reload ROM if ROM load has failed before
2015-07-12 21:30:26 +02:00
adelikat
b594360a25
We had two variables controlling the state of the visibility of the windowed status bar, remove one of them. Fixes issue #448
2015-07-12 10:58:13 -04:00
zeromus
a7ae3c0cfc
Merge branch 'discsys'
...
Conflicts:
BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj
BizHawk.Emulation.Cores/Consoles/Sega/gpgx/GPGXDynamic.cs
libmupen64plus/mupen64plus-win32-deps
2015-07-11 14:01:44 -05:00
zeromus
0735b67565
add example of handling slow disc loads in frontend
2015-07-11 13:47:05 -05:00
zeromus
a611bd5e66
load PSX discs using gameDB
2015-07-11 13:47:04 -05:00
zeromus
f9c5b17097
restore discsys TOCRaw and DiscStructure synthesis and make octoshock disc reading work again
2015-07-11 13:46:36 -05:00
adelikat
a9c460802b
add an option to run lua scripts while turboing instead of bypassing them. Make this option true by default (a change to the current behavior). Add a checkbox in the customize dialog to toggle this option.
2015-07-09 20:14:52 -04:00
adelikat
7ecf96772c
tastudio/lua - implement tastudio.setlag()
2015-07-09 13:16:55 -04:00
adelikat
3541c9e975
Make the lag counter settable, and expose this functionality in lua
2015-07-09 13:05:30 -04:00
feos
bc321fedac
keep DefaultMessageOptions instead of 2 _different_, _hardcoded_ units.
2015-07-09 02:07:21 +03:00
zeromus
83b2f70283
example of how to store default message positions so it can be used by default config and reset process too
2015-07-08 16:58:17 -05:00
feos
53c415a843
tastudio: keep track of rerecords, increment them in InvalidateAfter()
...
markers: fix input roll context menu command removing Markers
gpgx: updated dll
2015-07-09 00:48:04 +03:00
zeromus
db1191dc48
emuhawk - add experimental prescale option to display manager
2015-07-06 12:31:30 -05:00
adelikat
19423092cd
Tastudio/lua - implement tastudio.ongreenzoneinvalidated
2015-07-02 14:51:42 -04:00
adelikat
2790dcbf0d
lua - implement userdata.containskey()
2015-07-02 14:29:19 -04:00
adelikat
f847e905d2
tastudio/lua - add onqueryitembg event to the lua library, this is called during each cell's background color drawing callback, and gives the opportunity for lua to override the color.
2015-07-01 19:01:29 -04:00
nattthebear
a0f3931257
Blah
2015-06-30 23:29:01 -04:00
zeromus
0341d24bc8
I think more stuff needed thread locking for more time in 7z library manager
2015-06-30 19:43:59 -05:00
adelikat
e03da4f5fe
Lua - add a userdata library, with basic api for a script to add arbitruary data to a dictionary. This dictionary is saved and loaded in savestates (if present). Scripts can use this to create counters and whatnot that need data saved in savestates
2015-06-30 18:54:42 -04:00
adelikat
13044547e4
Tastudio - fix issue #446 - don't greenzone between the mouse down and mouse up events when editing input
2015-06-28 10:43:45 -04:00
zeromus
80164c1fba
import WIP discsys work from svn
2015-06-23 13:57:11 -05:00
adelikat
7c35d7b80d
AppleII mnemonics - make L and R uppercase to be consistent with other alphanumeric buttons. I don't think this change breaks anything, other than cosmetics when looking at pre-existing Apple II movies
2015-06-21 16:20:39 +00:00
adelikat
c23e69a810
When loading GBA movies, load the correct core too
2015-06-21 13:32:53 +00:00
goyuken
81d8018d4c
apple2: support MONCHRONOME
2015-06-16 23:24:52 +00:00
hegyak
343190094e
Apple IIe is not a Lynx.
2015-06-16 12:05:59 +00:00
adelikat
55b4991d8e
Fix bug where movie was failing to go into finished mode and would crash instead, fixes issue #429
2015-06-14 13:29:19 +00:00
adelikat
7a090edcb0
hack to fix a bkm to bk2 bug
2015-06-08 22:49:30 +00:00
goyuken
274c29ff37
fix infinite recursion in loadrom for unsupported GB games
2015-06-07 16:43:10 +00:00
adelikat
7e35ca00a8
Add core name to GBA savestates
2015-06-06 21:06:59 +00:00
adelikat
b9d9ffe7a5
Core picker for mGBA
2015-06-06 20:47:50 +00:00
goyuken
66f0bf15c0
Fix up some junkus in appleii core init, and add stub for mGBA
2015-06-04 02:04:42 +00:00
goyuken
7f275c5ab5
compress movies even if savestates are not compressed. separate config entry, not hookled up in config
2015-05-31 18:31:45 +00:00
adelikat
448513b1c4
Platform Chooser - don't ask twice, not sure how this code managed to survive this long, or how it went unnoticed.
2015-05-27 20:35:36 +00:00
adelikat
0cb912cfb2
Apple II mnemonics
2015-05-18 02:01:57 +00:00
adelikat
f912103914
Add a tools folder and map paths of things like watch files, debug stuff, etc there rather than defaulting to cluttering up the bizhawk root folder
2015-05-17 17:06:23 +00:00
adelikat
bc1115d62d
XmlGame - support an xml that refers to roms in archives
2015-05-17 16:30:39 +00:00
adelikat
ea72da9f89
Refector xml game, it now has a List of keyvalue pairs instead of dictionary, and the schema is now LoadAssets with an array of Asset tags. MultiDiskBundler changes to account for this, also remove restriction of using current rom based on system type, isntead it will assume any system is ok
2015-05-10 18:58:00 +00:00
zeromus
f94460dc46
fix bsnes xml loading
2015-04-21 23:50:15 +00:00
adelikat
e8cc7f5cc9
when quicknes doesn't support a game and we magically fallback to neshawk, show a message on screen, since nobody reads the statusbar information
2015-04-19 14:29:26 +00:00
adelikat
0d59fd622e
Apple II - mnemonics
2015-04-19 14:18:35 +00:00
goyuken
c4f608a39b
"Correct" IPS applier to resize file if it tries to write off end. I'm not sure what the spec behavior is, but this works for at least one file in the wild.
2015-04-19 13:55:47 +00:00
adelikat
01ed8f2064
Apple II - path config stuff
2015-04-15 22:27:25 +00:00
adelikat
1bcf2ae684
Apple II - multi-disc support using XmlGame (the same file format as dual GB), currently no ui to make an xml. Added Previous and Next Disk controller buttons
2015-04-12 23:38:19 +00:00
scepheo
abf1e55934
A bit of testing with Lua.
2015-04-10 14:11:01 +00:00
adelikat
5b15638671
Lua - issue 404 - add a Genesis library with the ability to toggle bg layers
2015-03-28 00:42:36 +00:00
adelikat
6ea50f6e49
Fix issue 410 - Lua - don't crash on lua script errors in savestate and frame events
2015-03-28 00:26:10 +00:00
adelikat
4e9e2ffa37
Lua - readbyterange - pass a table of strings not ints
2015-03-27 23:34:25 +00:00
adelikat
bf034b880f
some misc bug fixes in some lua functions
2015-03-27 23:29:15 +00:00
adelikat
16e9bc7d38
Fix some lua documentation
2015-03-23 22:22:02 +00:00
SuuperW
52659ac9a9
-Hacky removal of a useless save when loading a TasProj
...
-Made ControlsOrdered much faster
2015-03-23 21:16:13 +00:00
SuuperW
9d7a522576
Fix, fix, fix...
2015-03-23 20:15:35 +00:00
SuuperW
9b8d2f70ab
Various fixes
2015-03-22 16:55:34 +00:00
pjgat09
c829887f00
Ram search: fix equal/not equal for float searches
2015-03-21 00:13:53 +00:00
SuuperW
7e29f04f01
-Macros work without a TasMovie
...
-Bugfix: Display showed movie still playing after last frame
-Bugfix: Autorestore frame was lost when making rapid changes
-Bugfix: Canceling conversion of movie to TasProj stopped movie.
2015-03-20 16:53:42 +00:00
SuuperW
9328dd2f3a
-TAStudio automatically set Read-Only
...
-TAStudio no longer refreshes every frame if playback cursor isn't visible; slight performance boost
-Editing while in playback won't mess up the LagLog (states still do)
-Fixes to rotated display and HBar scrolling
2015-03-19 19:55:38 +00:00
SuuperW
91dc780103
Fixes/changed to state history saving.
...
State History Integrity Check now stops at the last state.
2015-03-17 01:02:38 +00:00
SuuperW
6783978f49
Bugfix: Extending movie by painting invalidated last frame
...
Moved GreenzoneCurrentFrame call to a new method called after frame advance.
Feature: Scroll to marker
Page up/down now scrolls by one page
Scrolling via dragging bar and via wheel now both have the same max value.
2015-03-16 20:42:14 +00:00
SuuperW
a3eadc8e5f
Various bug fixes, most to TasStateManager.
2015-03-16 16:36:00 +00:00
SuuperW
37590e7ea4
TasStateManager can now save states to disk.
2015-03-15 06:26:57 +00:00
SuuperW
c661591c5c
Smarter state management.
...
Don't focus on TasView if TAStudio doesn't have focus.
Bugfix: Scrolling with wheel didn't update pointed cell
Setting: Scroll to top/bottom/center
Follow cursor hotkey
2015-03-14 16:38:07 +00:00
SuuperW
1a0476892f
Bugfix: TasProjects without states loaded without a power on state.
...
Bugfix: There were several ways to edit movie in TAStudio without rewinding to edited frame.
Smarter state management.
2015-03-12 18:31:28 +00:00
SuuperW
c283f2d55a
Macro tool button select works
...
-Recent macros list now saves
-Macros can now be saved/loaded from TAStudio.
2015-03-11 16:14:02 +00:00
SuuperW
6013b9ed2b
Implemented feature: Auto-adjust Input according to Lag;
...
Added option: Hide WasLag Frames
-Changed implementation of TasLagLog
-Removed single-line Marker functions from TAStudio.
2015-03-10 17:11:29 +00:00
SuuperW
9891e73313
Added a couple Refreshes to TAStudio; Lag History is no longer completely cleared on making an edit.
2015-03-10 06:14:14 +00:00
SuuperW
e2f79254be
Changed TAStudio to not reference the no longer used StickyXORAdapter.
...
Chagned GetFloatValue to GetFloatState (to match SetFloatState)
2015-03-10 04:16:42 +00:00
zeromus
b869662792
never have analog controls that arent integerized
2015-03-10 03:34:24 +00:00
zeromus
777fbeda45
extract NormalizeFloats in controller logic so it can be done at the right time, if anyone can figure out what the right time is
2015-03-10 02:55:55 +00:00
SuuperW
7360badb4a
Added AutoFire support in TAStudio, fixed/improved patterns.
...
-A couple minor fixes
2015-03-08 04:42:04 +00:00
adelikat
159f1d9da2
don't crash in Bk2MnemonicConstants on a "P" key from a keyboard
2015-03-08 02:50:46 +00:00
zeromus
4d89558301
fix multihawk opengl window mixup and change GLManager to a singleton to stop that from happening again
2015-03-06 03:05:46 +00:00
SuuperW
0e34b36fbc
-Added AutoFire patterns, changed AutoFireStickyXorAdapter to use them.
...
-Bugfix: Painted input after the movie was recorded over.
2015-03-04 21:04:31 +00:00
SuuperW
189ecfeb2e
TAStudio:
...
-Undo History UI, some history bugfixes
-Painting input past the movie no longer moves markers
2015-03-04 19:03:00 +00:00
SuuperW
1e0ce3b7c1
-Feature: Changing input past the movie now extends the movie.
...
-Implemented max undo levels feature.
-Started making TAStudio UI for undo history.
2015-03-03 21:10:48 +00:00
SuuperW
e4c4910b37
TAStudio:
...
-Several buggixes
-Feature: Right-click dragging frames to move/copy/clone. (Combine with Shift and/or Ctrl.)
2015-03-03 18:22:54 +00:00
christoph.boehmwalder
1d7a8e9b73
Fix a minor indexing bug
2015-03-03 17:01:54 +00:00
SuuperW
e40b10a0b6
-marker undo code moved to proper place
...
-undo history fixes
-feature: binding markers to input
-bugfix: TasView wasn't always refreshing when inserting/deleting frames
2015-03-03 08:32:39 +00:00
SuuperW
25e54f4390
-More StateHistory names
...
-Smarter state history management
TAStudio: A few bugfixes and performance boosts
2015-03-03 06:56:45 +00:00
adelikat
b82e19f230
Lua - fix a relative path bug when saving a lua session
2015-03-03 01:19:38 +00:00
SuuperW
2c876858f2
-Bugfix: TAStudio couldn't re-save a project.
...
-Bugfix: tasproj files without StateHistory couldn't load.
-Gave a bunch of StateHistory stuff proper names.
2015-03-02 23:43:52 +00:00
adelikat
5bcc30a832
MultiHawk - save window position and size, ui to set emulator window size
2015-03-01 23:12:41 +00:00
adelikat
a40ce37d50
MultiHawk - Rom Session loading/saving/etc
2015-03-01 22:49:59 +00:00
SuuperW
bff3d64a4a
-Various fixes, mostly to Undo/Redo.
...
-Changed Program.cs to not use a couple try statements when debugger is attached.
-Implemented the Undo/Redo menu item buttons.
-Ctrl-deselecting frames in TasView now supports dragging.
2015-03-01 19:29:33 +00:00
SuuperW
6639bbd127
-Reverted a change to TasMovieMarker, made Undo/Redo moving markers re-sort the markers list.
...
-Added file that was supposed to be in previous commit
2015-03-01 15:41:54 +00:00
SuuperW
cf081ce1fc
TAStudio:
...
-Moved Toggle/SetStates from TasMovie.cs to TasMovie.Editing.cs
-bugfix: Yet another bug in setting LastVisibleFrame
-Removed unused declaration
-Fixed MarkerControl to not mess up display when a deleted marker is still selected.
-feature: Basic undo/redo history functions seem to work. (Ctrl+Z/Y in TasView)
2015-03-01 05:47:32 +00:00
adelikat
dd28c386de
Fixes to how firmware is added and loaded from movies
2015-02-26 21:58:44 +00:00
adelikat
240b89082b
Tastudio - fix capturing during the movie playback frame loop, used some duct tape for now, need a better solution
2015-02-24 21:56:01 +00:00
adelikat
6a02656417
Tastudio - track lag log history (1 level deep) and color "invalidated greenzone" using this information (a lighter shade of normal greezone colors)
2015-02-24 21:23:16 +00:00
adelikat
817b9d83aa
tabs to spaces, whitespace commits are the best
2015-02-24 20:15:43 +00:00
adelikat
634acd8fe1
TAStudio - Remove some code that captures lag and savestate info of the current frame when requesting input, because that's a bogus notion, such methods shoudln't have side effects. I was going to hack it for the scenarios where it needs to happen, but I couldn't find any downside to just deleting the code, if there's regressions traced back to this commit, let me know!
2015-02-24 03:06:15 +00:00
adelikat
29fc42ec71
Better UI for low res large screenshot feature
2015-02-23 23:43:51 +00:00
adelikat
aabd3f4526
create IMovieSession with the necessary API, instead of using an instance of MovieSession, the API though is completetly horrible, we need to address this
2015-02-22 23:23:36 +00:00
adelikat
be51677fde
Remove Global.NullControls
2015-02-22 20:38:10 +00:00
adelikat
fe00e83f6c
Remove Global.DiscHopper because it wasn't even being used
2015-02-22 20:09:00 +00:00
adelikat
817c798eab
Remove Global.CoreComm since it was pointless
2015-02-22 20:06:30 +00:00
adelikat
fd1621a536
pass in an Emulator instance to QueueNewMovie()
2015-02-22 19:57:24 +00:00
adelikat
1d3e0471d7
Remove references to Global.MovieSession in MovieSession itself
2015-02-22 19:47:14 +00:00
adelikat
7e92f38eb3
AutofireController - pass in an instance of an emulator rather than use Global.Emulator
2015-02-22 18:02:56 +00:00
adelikat
36f4eff0f6
add ByteSize to MemoryDomain with a default of 1, set it to not 1 on appropriate domains (I probably missed some, or got some wrong). Have RamSearch use that instead of SystemInfo, remove ByteSize from SystemInfo since it is no longer needed
2015-02-22 15:19:38 +00:00
jdpurcell
730694644d
Add option for OpenAL on Windows.
2015-02-19 03:22:20 +00:00
jdpurcell
c56edd6e93
Add OpenAL sound output.
...
XAudio2: Some stuff I forgot to dispose.
2015-02-19 02:30:55 +00:00
adelikat
5183a8e20d
Nothing to see here
2015-02-17 22:58:25 +00:00
goyuken
72ca2d15f8
add .bmp extension to the savestaten screenshot filename, because that's waht it is
2015-02-17 02:32:52 +00:00
goyuken
30fea2e6a7
screenshot: add optimized hotpath for original size screenshots
2015-02-17 02:31:56 +00:00
goyuken
ad08c0abfb
minimally connect up new screenshot code
2015-02-17 02:08:08 +00:00
adelikat
0316fa9817
some rom loading stuff
2015-02-08 21:51:15 +00:00
adelikat
5626473fbf
When adding firmware info to movies, don't attempt to add duplicate keys
2015-02-08 20:28:57 +00:00
adelikat
5e07ab3ec3
for an unknown disc, default to psx instead of pce-cd, since that is far more likely to be what they are attempting to open
2015-02-08 18:31:16 +00:00
adelikat
e020574b8d
Store served firmware information in movie headers
2015-02-06 00:16:53 +00:00
goyuken
a782fdb315
take 2
2015-02-05 23:53:25 +00:00
goyuken
995f670d36
frontend tracks loaded firmware: proof of concept
2015-02-05 23:25:28 +00:00
adelikat
6fb2599320
Disable new movie import system, since I won't be attempting that seriously any time soon
2015-02-05 22:34:41 +00:00
adelikat
124ee7b236
start a movie import refactor, and start implementing a new fm2 importer as a proof of concept, does not do anything useful yet (such as SyncSettings and input)
2015-02-05 02:19:46 +00:00
adelikat
60ed815b68
add some plumbing for a PJM importer
2015-02-03 00:24:38 +00:00
adelikat
1202305a47
move MovieImport.cs into an import folder in preparation to break it up
2015-02-03 00:15:36 +00:00
goyuken
450e4b60cd
fix broken movie savestates
2015-02-02 22:43:15 +00:00
goyuken
f956b3257f
savestate framebuffer as bmp with customizable size
2015-02-02 00:25:50 +00:00
goyuken
b3b37c46c3
possibly fast light bitmap saver with resize, TODO hook up to something
2015-02-01 22:49:53 +00:00
zeromus
62d781b960
add load last rom hotkey
2015-02-01 04:52:02 +00:00
zeromus
213da3a74c
when adding a hotkey, the ordinals... i have to set over 9000! theres no way that can be right!
2015-02-01 04:48:03 +00:00
jdpurcell
5eee1cd306
Add UI for choosing between DirectSound / XAudio2.
...
Always use new sound output buffering (remove option).
2015-01-31 06:40:14 +00:00
jdpurcell
83e8abc963
XAudio2! There's no UI for it yet.
2015-01-31 04:49:53 +00:00
adelikat
22c62d16a9
better catching of error in lua callbacks
2015-01-31 02:25:23 +00:00
adelikat
4ee4c449aa
Lua - memory read/write callbacks - oops, specify them as read and write, not execute
2015-01-31 01:45:45 +00:00
adelikat
b1b94da6ef
Lua Sessions - make scripts relative to the lua session instead of relative to the .exe, note: this wrecks existing luases files
2015-01-29 02:08:12 +00:00
jdpurcell
58cd9796f2
Allow CPU throttle to catch up for more than 3 missed frames if the user has configured a large sound buffer size.
...
SoundOutputProvider: Better workaround for cores whose audio output goes dead (0 samples) at times. Better underrun handling. Different threshold for samples surplus vs. deficit.
2015-01-28 00:53:49 +00:00
adelikat
9757709242
Lua - check if memory callbacks are implemented before attempting to remove memory callbacks
2015-01-27 21:48:18 +00:00
adelikat
8371c23830
WatchList - use the new watch to string method, did not wire up the from string, since the load code while very poorly coded, both works and supports legacy formats including older rerecording emulators
2015-01-27 02:55:31 +00:00
adelikat
f547dfbb21
some fixes to last commit
2015-01-27 02:53:57 +00:00
adelikat
bb2cd1b476
Ram Watch - support copy and paste (generates and receives the same text as would be in a .wch file)
2015-01-27 02:37:18 +00:00
adelikat
8246de14aa
IMemoryCallbackSystem - add a flag to indicate whether execute callbacks are available, in lua and the debugger, take this flag into account, also improve some availability checking in Lua memory callbacks. Flag N64 as not having execute callbacks available
2015-01-25 22:14:58 +00:00
adelikat
0d54298f02
Lua - memory domain - if a domain isn't writable, error when attempting to write to it
2015-01-25 20:20:43 +00:00
adelikat
1235246d19
Multitrack recording - support analog input
2015-01-25 19:21:50 +00:00
jdpurcell
8fe850ba1b
Rewind speed setting.
...
Add comment to clarify the various methods of unthrottling.
2015-01-25 18:34:53 +00:00
adelikat
033b576cd3
some useless csproj snazziness
2015-01-25 17:50:54 +00:00
adelikat
0d43688138
Change default savestate compression level to 0, I haven't seen a situation where 5 is better
2015-01-25 13:00:01 +00:00
jdpurcell
69c66d12b1
Configurable DirectSound buffer size.
...
A bunch of changes in Sound / SoundOutputProvider to support this and behave nicely.
2015-01-25 03:33:45 +00:00
adelikat
779d7c0cee
Lua - memory library - default to main memory if user did not specify a domain
2015-01-24 21:33:52 +00:00
jdpurcell
e3e5ae4934
New SoundOutputProvider class which takes the place of BufferedAsync. This should be far less prone to audible glitches and reduces latency.
2015-01-23 04:16:25 +00:00
zeromus
2a1f40982c
dont know how valuable it will be, but just in case.. 16.16 fixed point support
2015-01-22 01:24:20 +00:00
jdpurcell
0ca93f35ba
Rewinder - small fix to memory allocation limit.
2015-01-19 19:48:04 +00:00
adelikat
4c47ef2f3f
Watch.cs - an remove an int cast I missed when converting domain size to long
2015-01-19 02:58:18 +00:00
jdpurcell
6da53b535b
Use threaded rewind by default on multi-core/processor machines.
2015-01-18 21:20:21 +00:00
adelikat
515a41592c
Convert a whole bunch of ram stuff from int to long
2015-01-18 18:59:23 +00:00
adelikat
12c3cb0b40
oops, and that todo
2015-01-18 17:28:26 +00:00
adelikat
71438b2de6
remove a todo
2015-01-18 17:28:02 +00:00
jdpurcell
45ae0bb207
Fix potential (but rare) rewind savestate corruption when threaded option is enabled.
2015-01-18 15:38:49 +00:00
adelikat
91ffc17aae
Refacotor MemoryDomain.Size to be long instead of int, still some small todos, but it compiles and seems to work
2015-01-18 15:25:47 +00:00
jdpurcell
423376835c
Rewinder - when reallocating buffer, make sure we have released all references to the old buffer first to free up memory for the new buffer.
2015-01-18 00:56:32 +00:00
jdpurcell
bcb6b20ec2
Rewind - if memory allocation fails, back off the size until successful.
2015-01-18 00:20:49 +00:00
jdpurcell
40bfe91238
Rewinder - small optimization to previous bugfix and rename misleading method name.
2015-01-17 20:53:01 +00:00
jdpurcell
c23e60ac62
Fix several pre-existing bugs (doubt they were triggered often).
2015-01-17 20:37:00 +00:00
jdpurcell
0a9b07ac32
Small cleanup.
2015-01-17 19:22:21 +00:00
jdpurcell
4a40408f1d
Use variable length integers for the rewind state deltas to reduce size.
2015-01-17 19:16:22 +00:00
jdpurcell
f11158ac86
Would be nice if it compiled though.
2015-01-17 06:20:00 +00:00
jdpurcell
112d794f11
More optimization.
2015-01-17 06:19:13 +00:00
jdpurcell
b4a4c04844
Remove unnecessary bounds check.
2015-01-17 04:13:05 +00:00
jdpurcell
f99338dc2e
Optimization (25% faster or so).
2015-01-17 03:55:41 +00:00
adelikat
ec9bc9462b
fix slowdown in movie finished mode
2015-01-16 17:56:56 +00:00
goyuken
82fcd0bc5e
refactor IVideoProvider into a service. uses in mainform and friends are still hacky
2015-01-14 22:37:37 +00:00
adelikat
fbdb29b64c
refactor IMemorydomains to be a domain list instead of having a domain property, refactor cores to register an IMemoryDomains instead of being one
2015-01-14 21:55:48 +00:00
goyuken
f69718f57e
provide intelligent message on trying to load CD from archive. this causes no change in functionality, as following that codepath would fail 100% anyway
2015-01-14 18:07:03 +00:00
jdpurcell
36d98f28a6
Always use Low CPU clock throttle mode; remove option.
2015-01-14 04:49:18 +00:00
adelikat
9358e24213
IMemoryDomainList - downgrade from IList to IEnumerable, refactor a spot that needed something more than that
2015-01-14 00:34:50 +00:00
adelikat
418d80b0e8
Lua - Memory library - simplify some code
2015-01-14 00:25:25 +00:00
adelikat
d62ba4e2b4
Change IMemoryDomains to have an IMemoryDomainList instead of a MemoryDomainList, this is an incremental step into eventually having IMemoryDomains take over the properties of IMemoryDomainList, still todo: reduce the amount of needed functionality in IMemoryDomainList from old and not good code
2015-01-13 22:18:07 +00:00
jdpurcell
0a345b0084
Issue 368: Set all platform targets to x86, rename build platforms to match, and remove unused build platforms.
2015-01-13 15:28:58 +00:00
jdpurcell
28f1ad1c0e
Allow clock throttle to take over for audio / vsync throttles during fast forward or rewind for proper speed control.
2015-01-13 04:21:32 +00:00
adelikat
21f5209726
oops, fix movie recording that was busted by revision 8761
2015-01-12 22:48:57 +00:00
jdpurcell
e66fe70365
Proportional rewind speed is now always enabled - revert user-configurable setting.
...
Fix fast rewind with proportional rewind speed.
2015-01-12 15:09:27 +00:00
jdpurcell
3d37e3dc5a
Option to make rewind speed proportional to rewind frequency.
2015-01-12 05:30:27 +00:00
adelikat
c8c563153c
Bk2 input display generation - don't generate the mnemonic string twice, one time per function call will do
2015-01-11 15:50:01 +00:00
adelikat
d560eb80b4
BK2 mnemonics - support up to 8 players by default (without the need for a platform override)
2015-01-11 15:44:12 +00:00
adelikat
5e73e82b29
Fix the "pause" movie end option
2015-01-10 15:49:31 +00:00
adelikat
57023ffcb7
Movie playback - fix issue 358, duplicate input after a movie ends, note: this commit could be a breaking change for other movie related things (such as alternate movie end types other than the default of "finished")
2015-01-10 15:12:58 +00:00
adelikat
fdc290cc14
Roll back last commit, nevermind.
2015-01-06 02:29:30 +00:00
adelikat
f88b5389c1
Break everything. Seriously, a total cock-up. But also: Fix issue 358, duplicated input after a movie ends. Movie recording isn't obviously horribly busted from this, but just about anything movie related is now possibly busted, if you are looking for some mysterious regression in some movie feature, here's a good place to start!
2015-01-06 02:10:21 +00:00
jdpurcell
8c41af53d1
Option to automatically check for and notify of new versions.
2015-01-04 15:04:44 +00:00
adelikat
6c4a32d517
Virtualpads - when right-click auto-firing - take lag frames into account
2015-01-04 13:45:43 +00:00
adelikat
6835da1e45
VirtualPad - basic buttons - when right-clicking for autofire, respect the frame that autofire started on
2015-01-03 20:05:04 +00:00
adelikat
2f8a59a219
When the "Pause" movie end option is selected, fix bug where unpausing keeps repausing the emulator, now it will pause on movie end, and advancing further will stop and close the movie
2015-01-03 03:27:17 +00:00
christoph.boehmwalder
c3f51f8b39
Made saving a little more convenient by putting it in its own thread. Might be very buggy still.
...
Also temporarily disabled reading TAStudio settings in PlaybackBox because of a NullReferenceException
2015-01-03 02:29:55 +00:00
jdpurcell
d9bb7390be
Add menu option for low CPU clock throttle.
...
Enable use of Stopwatch for clock throttle timing on non-Windows platforms (seems safe enough).
2015-01-02 22:57:27 +00:00
adelikat
3c83911c4f
Ram Search - don't allow undo to the original list, a user can easily start a new search to get to that state, and allowing it means undo already starts out with a full list eating a lot of RAM for no benefit
2015-01-02 22:18:53 +00:00
adelikat
6f4b01417f
Lua - convert SNES library to service injection system
2015-01-01 20:37:31 +00:00
adelikat
01019686cf
lua - convert memory libraries to use service injection
2015-01-01 20:19:20 +00:00
adelikat
b6e33d010a
Lua - gameinfo library - convert to using service injection
2015-01-01 20:08:03 +00:00
adelikat
f6c2b4e897
Lua - event library - convert to service injection system, fix OnInputPoll() to return a GUID like every other event
2015-01-01 20:01:37 +00:00
adelikat
58616ff001
lua - Emu library - convert to service injection model, fix emu.getregister(s) that was broken when refactoring core methods for better debugger support
2015-01-01 19:52:53 +00:00
adelikat
5bba86e23a
GB Game Genie - convert to IToolFormAutoConfig
2015-01-01 19:07:57 +00:00
adelikat
bb5b20cc33
Gensis Game Geneie Encoder/Decoder - convert to IToolFormAutoConfig, fix a bug that would have made it never be available, make it available on non-interm builds (I think the issue keeping it unreleased was a core endian issue that was resolved), add a menu item for it in the Genesis menu
2015-01-01 19:02:00 +00:00
adelikat
93fe387311
NES Game Genie - convert to IToolFormAutoConfig, also fix a bug that would have made it never show up as available
2015-01-01 18:51:24 +00:00
adelikat
1854544f01
convert SNES Game Genie encoder/decoder to IToolFormAutoConfig
2015-01-01 18:45:14 +00:00
adelikat
1ee7cfc153
Convert Virtualpads to IToolFormAutoConfig
2015-01-01 18:42:08 +00:00
adelikat
6ce93c0496
TAStudio - move some settings from Config.cs to the dialog using [ConfigPersist]
2015-01-01 18:24:35 +00:00
adelikat
6fb88a0105
TAStudio - convert to IToolFormAutoConfig
2015-01-01 18:10:07 +00:00
adelikat
b8d667812b
convert Lua Console to IToolFormAutoConfig
2015-01-01 17:48:25 +00:00
adelikat
54b7a1c50f
Convert Hex Editor to IToolFormAutoConfig and [ConfigPersist]
2015-01-01 14:54:26 +00:00
adelikat
89fcceecfc
ToolManager - support autoloading from custom settings that inherit ToolDialogSettings, Ram Search - convert recent files to ConfigPersist
2015-01-01 02:08:45 +00:00
adelikat
3c09e25b82
move a variable in Config.cs to a more sensible place
2015-01-01 01:22:22 +00:00
adelikat
6440c9c44b
Ram Watch - convert to ConfigPersist, and do column stuff the new way
2015-01-01 00:47:22 +00:00
adelikat
ace8192c8a
Cheats dialog - refactor and simplify how column info is saved and loaded
2014-12-31 23:28:50 +00:00
adelikat
d809da1e8d
Cheats dialog - convert to using ConfigPersist, and simplify some code
2014-12-31 22:16:22 +00:00
goyuken
757ca11e98
gba gpu view: IToolFormAutoConfig
2014-12-31 19:22:39 +00:00
jdpurcell
eacadc8e09
Apparently UserControls that are created dynamically need AutoScaleMode.Font. UserControls placed via the designer should use AutoScaleMode.Inherit. Actually it seems possible to get around the problems of dynamically created UserControls (including the need to manually scale the positions/sizes) by moving their creation into the constructor after InitializeComponent, adding SuspendLayout before InitializeComponent, and adding ResumeLayout after UserControl creation. But I don't want to risk moving the code around too much.
2014-12-31 05:34:21 +00:00
jdpurcell
7b4c5636bd
Improve scaling. Still needs some work but it's better than it was.
2014-12-28 23:58:45 +00:00
jdpurcell
9a1108e9f7
Fix control positions/sizes in the cases where auto scaling doesn't apply (e.g. dynamically created controls).
2014-12-28 21:59:53 +00:00
goyuken
4d78052961
pce sound debugger: auto config
2014-12-28 17:22:58 +00:00
goyuken
87c064c6ac
snes graphics debugger: use autoconfig
2014-12-28 17:15:36 +00:00
goyuken
3ff067d426
IToolFormAutoConfig: add restore defaults
2014-12-23 01:01:37 +00:00
adelikat
67d03c12c7
Debugger - convert to IToolFormAutoConfig
2014-12-22 23:57:03 +00:00
goyuken
401c40fe8a
don't show file picker twice on fallback to different core
2014-12-22 22:21:51 +00:00
goyuken
7e51289003
pce cdl: change settings system
2014-12-22 21:38:57 +00:00
goyuken
5ac505d582
SMS vdp viewer: settings
2014-12-22 19:15:56 +00:00
goyuken
808e17c3f7
tracelogger settings
2014-12-22 19:01:21 +00:00
adelikat
8a64bb3ee7
remove an unused config variable
2014-12-22 01:35:06 +00:00
adelikat
6d0a764a72
Tastudio - quick fix for crashing on startup, a better solution is needed eventually but this will work fine, it just isn't conceptually how we want to do things anymore
2014-12-21 23:53:40 +00:00
goyuken
66b557ce93
update some pce tools to use autoconfig/configpersist
2014-12-21 16:59:36 +00:00
goyuken
ed6082cab3
NES: set NT and PPU viewers to use the new settings stuff
2014-12-21 08:17:56 +00:00
goyuken
ff8922bb08
itoolform custom config infrastructure; not complete
2014-12-20 21:49:53 +00:00
goyuken
62cb922a81
change GB gpu to work with IToolFormAutoConfig and fix un-resizable window behavior
2014-12-20 17:20:56 +00:00
adelikat
7bebb66589
IDebuggable - refactor GetCpuFlagsAndRegisters to be IDictionary<string, Register> where Register is a value and a bitsize
2014-12-20 03:19:33 +00:00
goyuken
360ca02b93
tool setting stuff. WIP
2014-12-19 23:33:05 +00:00
zeromus
4dc4745122
psx - revise disc swapping method. way cooler now, you get a list of discs in the virtualpad box, and changing between them maps to physical operations more logically.
2014-12-19 03:24:48 +00:00
adelikat
42b454a562
Rip out the Atari 2600 debugger
2014-12-18 18:51:22 +00:00
zeromus
786cf97f0a
psx - scribble some notes about framerate
2014-12-18 03:36:40 +00:00
goyuken
cfaf59f887
lua: internal infrsatructure changes to nes library
2014-12-17 23:03:58 +00:00
hegyak
d8e319b250
Let's let the user know they are Emulating a PlayStation. The ByteSize may be wrong.
2014-12-17 19:14:21 +00:00
zeromus
275c72d0c2
psx - framerate definitions
2014-12-17 01:22:25 +00:00
scepheo
14e2b280ac
Removed reference to Global.Emulator from RamSearchEngine.
2014-12-16 01:50:22 +00:00
scepheo
77be509e44
RAM Search: Implement previous type "last change". Fixes issue 331.
2014-12-16 01:19:29 +00:00
scepheo
528b7ea104
RAM Search: Fix issues with signed values. Resolves issue 340.
2014-12-16 00:41:47 +00:00
scepheo
53ea2caeac
^Really^ fix cheats not working (forgot WordWatch & DWordWatch)
2014-12-15 23:57:56 +00:00
goyuken
ea47246658
remove the IEmulator inheritance from some services, and fix code as needed
2014-12-15 22:25:06 +00:00
adelikat
8648e6ba0a
Remove the nes debugger tool
2014-12-14 14:56:16 +00:00
zeromus
2d56514fde
load m3u files. still no disc switching
2014-12-14 10:36:03 +00:00
zeromus
ede9620446
psx - settings framework and implement mednafen-compatible display mode
2014-12-14 08:48:23 +00:00
adelikat
14008fbcb0
don't show a "No core could load a rom" nag if the user cancels out of the platform chooser
2014-12-14 02:13:06 +00:00
scepheo
5179a3379f
Fixed cheats not working.
2014-12-14 01:51:55 +00:00
zeromus
24526669fe
emuhawk - add options for display of various window components (menu,frame,caption,statusbar). add --chromeless commandline argument and logic for folks embedding in frontends
2014-12-14 01:43:46 +00:00
adelikat
4985b3853d
PSX mnemonics -> Square = Q not S
2014-12-13 14:57:03 +00:00
adelikat
45809ab73f
move an attribute in Wonderswan core that was on the constructor on accident, added an AttributeTargets attribute on it that would have caught such an error, add AttributeTargets on some other attributes to help clarify their usage
2014-12-13 02:31:31 +00:00
adelikat
4304aa9d01
that was a bad idea
2014-12-13 02:26:15 +00:00
goyuken
10dee85cdb
comments!
2014-12-12 23:11:49 +00:00
adelikat
536964bac2
a squarish mnemonic constant that is ascii
2014-12-12 02:07:46 +00:00
adelikat
f447ab907b
Bk2 mnemonic constants for some psx buttons, had to get creative on this one
2014-12-12 01:28:20 +00:00
zeromus
2a3a8a3124
psx - support loading exes
2014-12-11 08:30:37 +00:00
zeromus
5f6bb8d8fd
octoshock!
2014-12-10 19:41:13 +00:00
zeromus
e0c09a553b
redo how subwcrev stuff is done, so that the subwcrev process doesnt have to run for every project. improves build times.
2014-12-09 19:20:22 +00:00
adelikat
21ae27dd94
Bk2/TasProj movies - don't crash if syncsettings, comments, or subtitles are missing
2014-12-08 19:02:22 +00:00
zeromus
08ae448257
start adding d3d9 display method, but.. it was more work than gdi+, as I expected. I'll finish it another time.
2014-12-08 02:15:42 +00:00
adelikat
1c179da80c
MemoryCallback System - another refinement, make an IMemoryCallback and make that the argument for add methods
2014-12-07 19:09:36 +00:00
adelikat
2d1a43dc65
MemoryCallbackSystem - simplify by having a single Add method with a MemoryCallbackType parameter, and some simplifying of client code as a result
2014-12-07 18:53:56 +00:00
pjgat09
c2096d9a30
Lua: Fixed a bug with analog controls not being cleared
2014-12-07 07:39:01 +00:00
zeromus
556b7b0123
gdi+ display method!
2014-12-07 02:26:52 +00:00
adelikat
4a96e58a24
Start a generic Debugger tool, does nothing now except for open and have the standard ui options all tool forms have (such as autoload)
2014-12-06 00:03:36 +00:00
adelikat
0b84beec88
Move MemoryCallbackSystem from CoreComm to IDebuggable and refactor accordingly, Lua - tell the user when memory callbacks are not available for a given core
2014-12-05 01:56:45 +00:00
adelikat
11a8a009c5
AsDebuggable()
2014-12-05 01:01:58 +00:00
adelikat
f5cc38c9cd
AsInputPollable()
2014-12-05 00:59:00 +00:00
adelikat
e2033c9d2e
AsStatable() and also update statusbar saveslots on CloseRom()
2014-12-05 00:52:16 +00:00
goyuken
40416656a2
eliminate snowiy emulator option from CoreComm. this commit is a bit hackish
2014-12-05 00:39:02 +00:00
adelikat
04f9081943
in IEmulator extensions add methods such as AsMemoryDomains(), AsStatable() that do the service calling magic. In the client code replace appplicable casts of IMemoryDomains with AsMemoryDomains(), more commits of this nature for the other IEmulatorServices soon to follow
2014-12-05 00:32:29 +00:00
zeromus
29b217b587
big discsystem refactors and preliminary CCD handling. not to be considered stable, but ill start supporting it.
2014-12-04 05:40:10 +00:00
adelikat
a07263c04e
Move InputCallbackSystem from CoreComm to IInputPollable, and refactor all cores accordingly. Lua - OnInputPoll() - log to the user when attemping to add a callback of this type to a core that has not implemented input callbacks. Mark all unmanaged cores' implementations of the InputCallbackSystem as FeatureNotImpleented, won't have any effect on functionality, but will help us keep track of the fact that they still have a bit of work to do. Still todo: ActiveChanged event handler on the base implementation of IInputCallbackSystem
2014-12-04 00:43:12 +00:00
adelikat
4b321847a4
ugh, just disable all warnings in ArchiveUpdateCallback.cs
2014-12-04 00:02:01 +00:00
adelikat
471b73eb0b
disable an annoying warning in 7z code, since we don't really maintain it, I won't fix it, just hide it
2014-12-03 23:57:26 +00:00
zeromus
26c35ca7b8
rough draft of file ID system. not ready to be used just yet, but I think it can go the distance. I'll have to hook it up later.
2014-12-03 06:14:59 +00:00
adelikat
a83d714c42
Break off IsLagFrame and LagCount from IEmulator and put into its own interface IInputPollable, and refactor cores as necessary. EmuHawk - account for the possibility that a core is not an IInputPollable, and do things like disable the lag counter menu item. Still some front end todos. Also still todo, move the InputCallbackSystem from CoreComm to IInputPollable
2014-11-30 20:29:30 +00:00
adelikat
71c92cb87e
don't freak out if someone attempts to rewind on a core that is not IStatable
2014-11-30 19:58:32 +00:00
adelikat
1e5474c345
SaveSlotManager - check HasSavestate() not IsNull()
2014-11-30 17:58:26 +00:00
adelikat
eed16fafc8
TasStateManager - don't check for null emulator nor IStatable, fail catastrophically if a core is not IStatable, they shouldn't have gotten this far if it wasn't
2014-11-30 17:54:21 +00:00
adelikat
76148ae111
Break off savestate functionality from IEmulator into IStatable and refactor things accordingly. Still todo (a big todo): EmuHawk should gracefully handle a core that is not an IStatable by disabling functionality dependent upon it (Savestates, Rewind, Tastudio, etc)
2014-11-30 16:42:58 +00:00
adelikat
4681fef0c2
Add an IsNull() extension method to IEmulator (checks for null and if NullEmulator) and replace EmuHawk NullEmulator checks with this method instead
2014-11-30 14:18:44 +00:00
adelikat
fdc9ea2aa9
fix issue 326 - Ram Watch, Ram Search showing actual value instead of frozen value on frozen addresses
2014-11-29 00:45:38 +00:00
adelikat
7c83b91e83
Ram Watch - fix a bug where loading a watch file with separators would throw a null reference exception
2014-11-29 00:28:48 +00:00
goyuken
70fc923d2c
fix savestate speed regression accidentally introduced with r8117
2014-11-28 17:36:05 +00:00
adelikat
0e82fff3ff
Clean out ClearSaveRam() calls since they are no longer used
2014-11-24 15:00:54 +00:00
goyuken
ad1ca57163
comments!
2014-11-23 19:31:22 +00:00
goyuken
610ac0d4d2
correct lynx platform flamerate, fix bug in virtual boy platform flamerate
2014-11-23 19:25:47 +00:00
adelikat
e6e2972e3d
Make IMemoryDomains inherit IEmulator and simplify some code slightly as a result
2014-11-23 16:03:04 +00:00
adelikat
be00dae474
Fix issue 316 - cancelling out of the core picker causes exception
2014-11-22 15:56:02 +00:00
adelikat
d64be5ed76
SystemID is Lynx not LYNX, cuz I said so
2014-11-21 01:32:15 +00:00
adelikat
2041b15260
Tasproj loading - don't attempt to read from empty files if they exist but are empty
2014-11-20 00:14:33 +00:00
adelikat
b4f7e13d1b
Tastudio - in non-developer builds, set the minimum savestate frequency from 2 to 1
2014-11-19 16:22:03 +00:00
adelikat
ea6966a911
Tastudio - fix loading of projects
2014-11-19 15:54:00 +00:00
adelikat
17c6a2c1f6
Snes - use the compatibility profile override option in the game db, note that it will be a temporary override for the game if detected, the user setting will not be permanently changed. This touched a bunch of things, and many other things had to be considered, there's a reasonable chance that this broke something
2014-11-19 00:32:51 +00:00
hegyak
ce626011d4
Added SystemInfo and SystemId for Lynx
2014-11-18 12:09:11 +00:00
adelikat
5349affbc4
Tastudio - support "out of order savestating" using saveslot states. Experiemental, could have bugs particularly off by one issues
2014-11-15 21:49:58 +00:00
adelikat
410078081c
Tastudio - fix lag lag to reflect the next frame
2014-11-15 14:55:44 +00:00
adelikat
80dae0d026
Tastudio - refactor lag log to be a list of frame,bool combinations instead of just a list of bools, note: this changeset reverts the list back to an "off by 1" where it corresponds to the current frame not the next frame, that will be solved in a later commit
2014-11-15 14:31:18 +00:00
adelikat
aa38ad24a2
Bk2 movies - don't save when switching to play, note: when stopping a movie in play mode, the movie will not be saved unless there are changes, the Save() that was removed here masked problem with potential failure to save. As of this commit, bk2 movies rely on the Changes flag to be accurately set
2014-11-14 00:00:18 +00:00
adelikat
891d3933bd
Don't increment the Rerecord counter with loading a bk2 or tasproj movie, fixes the obvserved issue in issue 303. However, a bigger concern is why loading a movie and stopping it is causing the movie to be saved in the first place
2014-11-13 23:49:58 +00:00
zeromus
a7432a1e52
firmwaremanager now tracks filesizes, and filesizes of known firmwares are used to restrict scope of scanning
2014-11-13 00:09:16 +00:00
zeromus
ba0eca8a69
do firmware hash calculation differently without needing a buffer, for users with GBs of roms in their firmware folder
2014-11-12 01:27:11 +00:00
zeromus
4d5b25600e
add a GC.Collect() call to workaround a .net slow-GC problem, and fix an old bug related to firmware scans occurring several times actually every time you think it should happen once, which probably wasn't helping things
2014-11-12 00:04:08 +00:00
adelikat
b0eb4ee791
When loading a movie that specified quicknes or neshawk (or bsnes vs snes9x), don't permanently override the user's core preference
2014-11-09 17:14:16 +00:00
adelikat
150dcae98d
When importing snes movies, set the movie sync settings to Compatibility profile
2014-11-09 16:49:11 +00:00
adelikat
2f51331ca8
Fix a nasty bug in movie loadstate behavior
2014-11-09 15:48:06 +00:00
adelikat
a932cef662
Add a description attribute for EmulatorLuaLibrary
2014-11-08 14:08:32 +00:00
zeromus
8c1eaf25ff
system for more thorough tooltips in hotkey and controller config dialogs (so, for instance, the function of a key can be described)
2014-11-07 16:58:27 +00:00
adelikat
149a759a26
Tastudio - oops, fix major bug in r8145
2014-11-02 14:25:06 +00:00
adelikat
38f6661cc1
mnemonic constants for option 1 and 2 buttons on lynx
2014-11-02 14:11:14 +00:00
adelikat
2f3f3d29fc
Tastudio - invalidate lag log when editing frame 0
2014-11-02 13:52:45 +00:00
adelikat
7f18d9ebc0
Fix bugs in last commit
2014-11-02 01:10:19 +00:00
adelikat
f7460d1821
Tastudio - make green/red drawing for lag correspond with FCEUX's taseditor. Rather than show what the lag counter is saying, show what the next frame will be. The logic here is that green means a frame in which an edit will have an effect on emulation and red means it will not.
2014-11-02 00:39:53 +00:00
adelikat
8197f96c98
TasMovie - make a TasLagLog class to simplify some code
2014-11-02 00:22:04 +00:00
adelikat
01909dfb98
Tastudio - When creating a savestate-anchored movie from an existing movie, copy the previous input into VerificationLog.txt
2014-11-01 14:01:21 +00:00
adelikat
900ce76a3b
TasMovie - add a VerificationLog.txt file in the tasproj, doesn't use it yet but it does properly save and load it, will save if there is any log entries, will load it if the file exists in the tasproj
2014-11-01 13:37:18 +00:00
adelikat
6611ddd9ba
Some fixups to TasMovie - mostly code cleanup but also some subtle bug fixes
2014-11-01 12:50:36 +00:00
goyuken
dc2ca1f010
remove the extra ISettable (non-generic argument) interface and corresponding crud from cores, and replace with a shim class
2014-10-31 15:46:13 +00:00
adelikat
549b948ffd
Tastudio - add a context menu "create new project from here", it will take the currently selected frame and create a savestate-anchored project on this frame (keeping any input after this frame), and load this new project.
2014-10-30 23:29:21 +00:00
adelikat
bd9a47f780
ToTasMovie() - apply the same hacky fix that ToBk2() received
2014-10-29 21:52:35 +00:00
adelikat
7ffe0805c1
When converting an IMovie to a TasMovie and auto-generating the filename, check that the file exists, and ensure a non-existent filename
2014-10-29 21:41:01 +00:00
goyuken
ff95066672
quicknes: reject (with the appropriate unsupported exception) any bootgod positive euro rom
2014-10-29 18:58:43 +00:00
goyuken
daf74eb91b
framebuffer in movie anchor states
2014-10-27 01:14:47 +00:00
adelikat
e3b6d29956
Refactor last commit and some other code so that reset happens in a singular place when loading a state from the state manager
2014-10-26 23:37:42 +00:00
adelikat
59494767f5
Tastudio - refactor TasStateManager GetStateClosestToFrame() to return a KeyValuePair (frame number and savestate data) so the calling code has a clue which savestate was returned, reset counters if a savestate-anchored movie's "anchor" was loaded
2014-10-26 23:26:43 +00:00
adelikat
fa9971022b
TasStateManager - GetStateClosestToFrame() - state savestate anchored movies into account
2014-10-26 23:17:20 +00:00
zeromus
5cf5894329
firmware importer now supports archives
2014-10-26 14:22:26 +00:00
adelikat
170bc4aab0
TasStateManager - Invalidate() - take savestate anchored movies into account
2014-10-25 19:33:28 +00:00
adelikat
b301546237
TasStateManager - take starts from savestate into account in the HasState() method
2014-10-25 16:11:40 +00:00
adelikat
429b298dc1
TastStateManager - take starts from savestate into account when deciding if there are any states
2014-10-25 16:05:11 +00:00
adelikat
c49e51d03f
When converting a movie to a tasproj, properly capture whether it starts from savestate and make the appropriate marker
2014-10-25 15:47:15 +00:00
adelikat
7be7f3aba6
Fix putting sync settings into movies for some cores, broken by the change to ISettable
2014-10-23 22:30:47 +00:00
adelikat
53fa3b9ada
Tastudio - fix crashing after using Export to Bk2, running out of memory on export though, a definite concern now
2014-10-23 01:32:27 +00:00
scepheo
28f21e1775
Lua:
...
- LoadState through Lua isn't counted for movie RerecordCount.
- Added movie.setrerecordcount and movie.getrerecordcount for people who really want to count their bot loadstates.
2014-10-20 20:31:31 +00:00
adelikat
d0aee55059
Tastudio - a bit of simplifying some code
2014-10-20 19:04:59 +00:00
adelikat
3593588d5f
InputRoll - ColunReorder event handler, Tastudio - subscribe to this event handler and flag changes to the movie (since this information is saved into the tasproj file)
2014-10-19 14:46:01 +00:00
adelikat
eb28732087
when setting IMovie.SyncSettingsJson, simply do not set it if the core is not an ISettable, rather than throwing an exception
2014-10-19 01:39:43 +00:00
jlennox
a64017366c
Create ISettable<T,T2>/ISettable interfaces. This checkin has not been extensively tested.
2014-10-19 01:22:47 +00:00
jlennox
01a994fe9c
Break IDebuggable off from IEmulator
2014-10-18 22:13:25 +00:00
adelikat
d6b4ce6dfe
A fix to RunQueuedMovie, this doesn't seem to cause regressions, and I don't that the old code was behaving incorrectly, but the code was definitely wrong, and this is correct
2014-10-18 20:55:10 +00:00
adelikat
ceb79a4c26
Tastudio - make a new project called default.tasproj rather than gamename, only use gamename when suggesting a movie in a Open/SaveFileDialog
2014-10-18 15:50:12 +00:00
adelikat
e1b0544668
TasMovie - fix stop movie, if there were no changes to the movie file it was IGNORING the request to stop, that was bad and was the cause of various subtle oddities
2014-10-18 15:17:49 +00:00
adelikat
305dea53ab
Tastudio - a dialog to change the default "greenzone" settings
2014-10-18 01:01:45 +00:00
adelikat
48eb40449c
Make TasStateManagerSettings use default values from the config, next step: a ui to change the config values
2014-10-17 22:47:30 +00:00
adelikat
f930622b5e
Move TasStateManagerSettings to its own file
2014-10-17 22:39:40 +00:00
adelikat
fe9dade094
tasmovie - don't capture information on GetInputLogEntry(), that is code that should have been been whaked when refactoring Everything ot UseGetInputState() instead. Still todo: get rid of this method alltogether
2014-10-16 23:11:29 +00:00
adelikat
e58e911d7e
Tastudio - when emuhawk is playing back frames, we must be logging lag and savestates in tasmovie if we do not have the information! This fixes a number of "spooky" bugs I've been finding!
2014-10-16 23:05:59 +00:00
adelikat
b87177a0b5
Tastudio - implement the "Empty new Marker notes" menu item
2014-10-15 16:09:14 +00:00
adelikat
5436a7d24e
BinarySavestates - add a HasLump() method, and use it to check for clientsettings in tasproj since it may or may not have it
2014-10-15 15:55:41 +00:00
adelikat
3be3264d60
TasStateManager - make frequency based on savestate size, formula should be tinkered with to get best results on all platforms, also dont' ever capture frame 0 on savestate-anchored movies since the anchor will be returned when 0 is requested
2014-10-15 15:47:04 +00:00
adelikat
fc311c12e9
Tastudio - never remove the frame 0 savestate in non-savestate-anchored movies
2014-10-15 15:23:48 +00:00
adelikat
e6cec0f52f
Tastudio - Saving and loading of column info to the .tasproj file, loading is still problematic because it is being whacked by code that rebuilds the columns later, need to unspeghettify some things
2014-10-14 18:09:30 +00:00
adelikat
ce58f0e803
Tastudio/TasMovie - simplify some more code
2014-10-14 13:31:14 +00:00
adelikat
a639cfd275
remove some code in tasmovie that isn't necessary now
2014-10-14 13:24:15 +00:00
adelikat
9304283c03
Remove some unused config variables
2014-10-14 12:53:54 +00:00
goyuken
79f36198e9
play around with 7z a bit
2014-10-13 05:08:34 +00:00
goyuken
4539819156
internal improvements to 7z savestate writer
2014-10-12 04:57:49 +00:00
goyuken
4ee816e8bc
code to use 7zip (unmanaged) to write archives, not active for the moment, still stuff to do
2014-10-12 04:24:31 +00:00
zeromus
4eeb48db13
block the use of the input stream length property by unmanaged 7z code. I think it was only using it for progress reporting.
2014-10-12 02:49:02 +00:00
zeromus
0303871ac5
sevenzipsharp - remove broken code which was requiring input streams to be seekable so that it could get their length so that it could produce a percent-based progress report
2014-10-11 21:26:39 +00:00
adelikat
2fb986715e
tastudio - implement follow cursor
2014-10-11 19:43:05 +00:00
goyuken
a09c488f5b
add infrastructure to use alternate zipping libraries in savestate. use DotNetZip for some speedupzzzzzzzzzzzz
2014-10-09 23:39:13 +00:00
goyuken
277b277c2e
benchmark savestate time to console
2014-10-09 01:49:44 +00:00
zeromus
45f7317b58
add exit program hotkey
2014-10-07 01:20:48 +00:00
goyuken
c0beeb50b1
add atari lynx to pathconfig
2014-10-07 00:40:16 +00:00
adelikat
99e6b7ce27
Tastudio - for devleoper builds add a Greenzone Integrity Check menu item, runs through the movie and verifies the greenzone states are identical to the data gathered from emulating and replaying the movie and savestating
2014-10-05 14:11:30 +00:00
adelikat
cfff19b808
TasStateManager - add an InitialState property, not used yet and has limited value, but might help with clarity
2014-10-05 12:59:12 +00:00
adelikat
fda36d349d
a fix to the fix of last commit
2014-10-02 23:50:50 +00:00
adelikat
d0970c5ba4
fix last commit
2014-10-02 23:19:37 +00:00
adelikat
535ba7dc4a
TasStateManager - don't delete frame 0 greenzone, todo: refactor to store this (for non-savestate anchored movies) separately
2014-10-02 23:10:36 +00:00
adelikat
4addd7fcbc
Tastudio - implement a Clear Greenzone menu item
2014-10-02 22:58:36 +00:00
adelikat
adf07367ad
Support lynx .mcm importing, however it appears there are sync differences in the lynx cores
2014-09-29 22:39:06 +00:00
adelikat
f4d3b70469
Ram Watch - fix issue with stale memory domains when rebooting a core, some cores were unaffected, cores like atari 2600 were affected by this bug
2014-09-28 16:39:53 +00:00
adelikat
e00801d6f3
tasmovie - only save when stopping if there are changes
2014-09-27 23:56:23 +00:00
adelikat
734b8338bc
Fix always getting a "movie was written to disk" message when stopping a movie, will now only say so if it actually was saved to disk
2014-09-27 23:44:59 +00:00
adelikat
1dc789eb02
Ram Tools - support poking frozen values, fixes issue 266
2014-09-27 21:52:15 +00:00
adelikat
da7cb4ec59
when loading a movie, gracefully handle a movie/rom system id mismatch
2014-09-27 15:49:39 +00:00
adelikat
624ad32d4e
Tastudio - fix some go to frame logic, but probably broke stuff too
2014-09-22 23:24:34 +00:00
adelikat
ea3f86c11e
Tastudio - Fix some erroneous StateManager logic
2014-09-22 22:52:34 +00:00
adelikat
0ef72d3ab2
Tastudio - fix a bug in tastatemanager
2014-09-22 14:44:32 +00:00
adelikat
8b212da594
tastudio/lua - implement tastudio.getmarker(), tastudio.setmarker(), and tastudio.removemarker()
2014-09-21 15:17:29 +00:00
adelikat
538c4632af
Add a LuaLibraryAttributes attribute to lua libraries with a Released property, only register libraries that are released except in Developer Builds, set tastudio library Released flag to false
2014-09-20 01:00:50 +00:00
adelikat
b3fffa99d3
Fix a bug in movie recording when the movie end action of "record" is picked, in that case, switching to record after a movie finishes was eating a frame
2014-09-18 22:54:15 +00:00
zeromus
81e1cfe549
satisfy my own comment about the " C "
2014-09-14 18:01:20 +00:00
zeromus
8447c46761
fix UDRL mutex. fixes issue #264
2014-09-14 01:43:42 +00:00
zeromus
7e3144fd07
support custom AR and display client size while resizing. fixes Issue #251 .
2014-09-14 00:51:30 +00:00
adelikat
1efaa896bc
Add a N64 TAS profile in the profile config, has identical settings to TAS but also the Frame Advance skips Lag Frames option set to true
2014-09-13 01:21:55 +00:00
zeromus
2c8295ba76
Fix bug with core inventory launching n64 core with data that romgame had mangled in cases. todo: delete romgame.
2014-09-12 01:02:09 +00:00
zeromus
87e9d235f6
make some effort to support memdomain of full 32bits size, and use it for n64 system bus. make sure to check that its disabled in ramsearch engine and in hex editor. we could probably fix it to work in hex editor later.
2014-09-09 21:34:41 +00:00
adelikat
a85b1d58a1
Don't bomb out when a core throws an exception on loadstate, still todo: bubble the error message up, instead of just telling them there was an error
2014-09-07 15:17:47 +00:00
zeromus
ea1387c339
fix signed comparisons probably broken by last commit
2014-09-07 06:33:21 +00:00
zeromus
c829183fa7
fix handling of sign extension and longs in ramsearch engine. fixes observed misbehaviours in n64 ramsearching. not tested real well, but definitely a needed improvement
2014-09-07 06:17:10 +00:00
adelikat
d003be9cda
remove some todos, I decided not to do any of them, it is too pedantic to do them
2014-09-01 19:07:05 +00:00
adelikat
5ba74c631c
Remove MemoryDomains from IEmulator into a new Interface, IMemoryDomains, Add this interface to existing cores, except null emulator (and removed memory domain related code from it). Refactored EmuHawk for ram tools to use an instance of IMemoryDomains rather than IEmulator, don't expose ram tools unless the core implements IMemoryDomains. Still a few misc todos, and probably some cleanup
2014-09-01 18:43:41 +00:00
scepheo
a1a73a2fef
Fixed the core detection when playing back a NES/SNES movie.
2014-08-30 19:20:09 +00:00
adelikat
e6d6dc7e51
Tastudio - more go to frame stuff
2014-08-30 00:40:53 +00:00
adelikat
16aabb1a4a
remove an unused config variable
2014-08-29 12:39:06 +00:00
adelikat
c7949501b2
Tastudio - proof of concept for cachine the input state during a screen refresh. A huge speed up here, about 400-500%. Implementation is a bit sloppy but works
2014-08-29 02:58:52 +00:00
adelikat
86fc66820c
Oops
2014-08-29 02:40:45 +00:00
adelikat
c033b26ad0
TasMovie - don't create a Bk2MnemonicConstants object everytime a display value is requested, gives a modest speed up to tastudio performance
2014-08-29 01:59:08 +00:00
adelikat
bbc84471d8
TasStateManager - capture every other frame for now
2014-08-27 20:43:45 +00:00
adelikat
ed6aeeba45
TasStateManager - yes we want to clear
2014-08-25 22:04:05 +00:00
adelikat
3aec45448c
TasMovie - TasStateManager - pre-allocate the SortedDictionary size based on state size and memory usage capacity. Fixes the problem of performance grinding to a halt as the movie frame count increases
2014-08-24 22:50:21 +00:00
goyuken
63b533f15c
tasstatemanager: fix out of memory on save
2014-08-24 21:53:48 +00:00
goyuken
aab2a17947
tasstatemanagerstuff
2014-08-24 21:29:51 +00:00
adelikat
1d5cd2eb6d
oops, nevermind
2014-08-24 20:30:56 +00:00
adelikat
2a98534fe4
TasMovie - optimize greenzone adding, no longer gets slower and slower as frame count increases
2014-08-24 20:28:46 +00:00
adelikat
06605346e0
FIx a nasty bug in bk2 and tasmovie that was saving a movie even if it was inactive
2014-08-24 18:07:14 +00:00
goyuken
728a6cf1e7
fix FDS and maybe CGB load fail switch, which were broken because i broke them
2014-08-24 17:25:29 +00:00
adelikat
24bb942dd1
if TasMovie constructors (a hacky way for now)
2014-08-24 15:07:27 +00:00
kylelyk
4455d5deac
Editing Markers now is managed by TasMovie as a change to the movie file. Fixed bugs to do with adding and deleting markers.
2014-08-24 14:41:56 +00:00
adelikat
7baa960b4b
Fix warning in rom loader
2014-08-24 14:12:31 +00:00
goyuken
805ff14cc0
(i didn't spot this typo at first because of other typos stopping the build)
2014-08-23 19:20:16 +00:00
goyuken
1d383a62cc
romloader stuffs, nag me if it breaks anything, i don't think it breaks anything
2014-08-23 19:06:37 +00:00
kylelyk
b66db36046
Dialog Title now has a asterisk at the end if the movie has pending changes to be saved. Added UI functionality for Auto-pause At End of Movie; does work yet.
2014-08-23 18:02:02 +00:00
kylelyk
6fa3cf4d28
Inserting frames in TAStudio now inserts before FirstSelectedIndex like FCEUX and most other programs with insertion options.
2014-08-23 02:06:56 +00:00
kylelyk
25b512a9c7
Quick add to subversion.
2014-08-23 01:28:04 +00:00
kylelyk
92bdba7938
GreenzoneSettings.MaxStatesInCapacity is now updated at dialog load and is a integer instead of a decimal.
2014-08-22 17:04:31 +00:00
kylelyk
17489f6175
Added Name property to Bk2Movie, fixed off-by-one in greenzone truncation, TAStudio displays name of movie in dialog title.
2014-08-22 02:56:27 +00:00
kylelyk
9bcb5f835a
Fixed unable to edit subtitles while TAStudio is open.
2014-08-22 00:31:41 +00:00
kylelyk
464cde5efa
Fixed crash on copy rows in TAStudio. Replaced spaces with tabs in previous commits.
2014-08-21 22:53:03 +00:00
kylelyk
1b85a89b66
Markers on frames to be truncated are now deleted like in TAS Editor.
2014-08-21 21:24:25 +00:00
kylelyk
26c65d727d
Fixed TAStudio crashing on truncating movie in greenzone.
2014-08-21 18:45:14 +00:00
adelikat
82b249b28c
more accurate fps numbers for genesis
2014-08-21 17:41:59 +00:00
adelikat
ddaf0cce04
Add gens frame rates to PlayformFrameRates, todo: Nag natt to put in more precise values than just 60 and 50
2014-08-21 15:32:19 +00:00
goyuken
e94d1f7345
issue 252 is fix
2014-08-19 00:59:02 +00:00
goyuken
7afabc4a06
mnemonic stuff
2014-08-18 02:38:11 +00:00
adelikat
9d053eac4e
Fix multitrack recording
2014-08-17 16:29:39 +00:00
adelikat
95bdfaba42
ugh, oops
2014-08-17 16:00:46 +00:00
adelikat
602b47deba
More multitrack reorg
2014-08-17 15:45:04 +00:00
adelikat
066b072627
Some more moving code around related to multitrack
2014-08-17 15:22:02 +00:00
adelikat
71a564b1cf
Movie MultitrackRewiringControlllerAdapter to a property in the Multitrack object
2014-08-17 15:11:04 +00:00
adelikat
0a608edd07
some renaming and cleanup of the Multitrack object
2014-08-17 15:04:23 +00:00
scepheo
0f1ead706b
Refactored srt exporting to have less logic client side and implemented color.
2014-08-17 11:36:37 +00:00
adelikat
b91180d6a0
2014-08-17 00:13:00 +00:00
adelikat
64206efe82
Simplify some code in MovieSession.cs
2014-08-16 21:45:36 +00:00
adelikat
d53afd2d2a
This seems to improve the ram usage in bkm to bk2 conversions, it at least keeps the 75mb n64 movie I have from crashing during the convert.
2014-08-16 20:32:59 +00:00
adelikat
db0dd17676
Hex Editor - fix wrapping logic when incrementing/decrementing frozen addresses
2014-08-16 14:44:40 +00:00
adelikat
3303652d99
On loadstate clear "button start" values in the autofire logic
2014-08-16 14:33:09 +00:00
goyuken
20f78a579f
"fix" issue 246 by causing an absolute termination earlier in the process that makes it clear what happened
2014-08-15 17:50:43 +00:00
goyuken
14282c4740
fix issue 249
2014-08-15 15:52:08 +00:00