Hathor86
8cd88cdeca
ApiHawk - Add few other system inputs
...
SNES, SMS, Genesis, N64, GB
Following some tests, it works (so I'd say that this feature is beta)
2016-04-06 22:11:00 +02:00
zeromus
5024f6022e
console log lua exceptions, workaround for #607
2016-03-31 14:11:34 -05:00
Hathor86
fcb0c8bc32
Work on input get/set through ApiHawk
...
Convertion has been moved to dedicated class
SystemInfo class review
SystemInfo class now instanciate all SystemInfo and stores them in a
static readonly collection (avoid creating a new class each time we call
DisplayName property).
+ EmulatedSystem enum (in Api) renamed to CoreSystem and moved to
BizHawk.Client.Common
+ this enum is used in SystemInfo class
Created a Joypad class that is populated with JoypadButton enum flags
Input get/set throught ApiHawk works for NES only. So many work remains...
2016-03-29 23:42:24 +02: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
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
e487f1494c
change display manager defaults, for evaluation
2016-03-23 20:26:31 -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
Tony Konzel
93fcb293d8
C64: Fix the build post-merge (derp.)
2016-03-15 11:38:55 -05:00
Tony Konzel
05914e1490
Merge pull request #599 from TASVideos/c64-via-timer-fixes
...
C64 via timer fixes (and more)
2016-03-15 10:08:17 -05:00
feos
a6c3561db0
lua: movie.getinput() now fails gracefully if adapter is null.
...
fixes #595
movie.mode() returns a string, so make its modes look like strings in the description.
2016-03-12 12:05:24 +03:00
zeromus
aa3c599882
readd y=x functionality to SetReadOnly
2016-03-10 19:03:07 -06:00
Anthony Konzel
8fd552274e
C64: Discover file formats heuristically instead of by filename.
2016-03-05 15:23:22 -06:00
adelikat
234cc2e5d8
Get started on C64 support in the multi-disk bundler
2016-03-04 21:50:24 -05:00
nattthebear
a87096fb85
Move around LuaInterface.dll as well in preparation for 64 bit build
2016-02-28 16:10:18 -05:00
nattthebear
2a0e859a85
Add 64 bit build (doesn't work yet), move SlimDX.dll
2016-02-28 15:06:03 -05:00
adelikat
44dc9518cf
capture Sega CD flag in movies
2016-02-28 10:21:18 -05:00
zeromus
75df712563
fix ramwatch crashing bug involving core reboots and watchlist hanging on to stale emulator instances
2016-02-23 14:42:47 -06: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
feos
78f20510e5
lua: emu.disassemble(uint pc, string name = "")
2016-02-21 18:14:03 +03:00
Suuper
a751412c1f
TasStateManager.cs -> fixed stateHasDuplicate
2016-02-20 13:43:24 -06:00
Suuper
8b5440d963
Fixed a few bugs in TasStateManager.cs
2016-02-20 12:34:13 -06:00
adelikat
cacfb615c4
simplify Cheat.cs somewhat
2016-02-16 20:02:57 -05:00
adelikat
3257b06f85
unnecessary usings
2016-02-16 19:57:57 -05:00
adelikat
ddbaf6b2f9
Lua - registering completiosn to sublime text 2 - exclude strings from completion logic
2016-02-14 22:35:47 -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
AdamSturge
cf76d99a52
Merge pull request #571 from TASVideos/feature/cheat-comparison-types
...
Feature/cheat comparison types
2016-02-10 18:58:25 -08: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
feos
07d4ac846b
lua: memory.GetMemoryDomainSize()
...
fix #542
2016-02-09 17:54:11 +03:00
zeromus
97998071a7
fix bugs in lua's memorysavestate apis ( fixes #565 )
2016-02-08 01:28:26 -06:00
Adam Sturge
5dc31d3eb9
Fixed index bug for comparison type in Load() in CheatList
2016-02-07 21:54:45 -08:00
Adam Sturge
52c587d712
Save/Load cheats now accounts for comparison type column
2016-02-07 21:40:14 -08:00
Adam Sturge
992acd9e96
Added code to sort by comparison type. Added code to compare based on comparison type selected
2016-02-07 20:56:40 -08:00
adelikat
36b82c3563
Lua Console - add a button that installs auto-complete for all bizhawk's lua library to Sublime Text 2's lua syntax, still todo - notepad++
2016-02-07 08:27:57 -05:00
adelikat
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
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
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
c510e13d82
Add an IsSGMode flag for SG-1000 when recording a new movie
2016-01-31 19:53:04 -05:00
adelikat
cc1867326a
Ram Search - fix "Exclude Ram Watch" option
2016-01-31 19:28:25 -05:00
zeromus
42c0b62261
fix some lua currdir bugs, but its all broken, dont pay any attention to it
2016-01-31 03:18:34 -06:00
zeromus
da865e28b8
try sandboxing currenty directory harder
2016-01-31 02:40:48 -06:00
adelikat
ab16e9238b
Drop support for pre-1.0.5 ram watch files, I think it is safe to do this by now
2016-01-30 22:19:32 -05: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
zeromus
0da6e745e5
move EnvironmentSandbox and LuaSandbox to Client.Common
2016-01-30 18:37:30 -06:00
zeromus
b0ab66801f
Revert "comment out feos' sandbox change so things compile"
...
This reverts commit 418eed6cc5
.
2016-01-30 18:28:51 -06:00
adelikat
418eed6cc5
comment out feos' sandbox change so things compile
2016-01-30 18:10:23 -05:00
adelikat
ca3b43973c
Load Lua session - when loading a relative path, drop the .\ part, I'm disappointed in Path.Combine
2016-01-30 18:08:54 -05:00
feos
7409a32658
lua: attempt to use sandbox in callbacks.
2016-01-30 23:26:27 +03:00
feos
c641d94e05
lua: movie.save
...
see #384
2016-01-30 16:10:28 +03:00
feos
a821fce6c8
typo
2016-01-30 16:10:27 +03:00
feos
7421bd7244
lua docs derp
2016-01-27 17:06:22 +03:00
feos
3c779a897b
lua: emu.setislagged()
2016-01-27 16:41:41 +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
zeromus
a355f78631
don't load entire inputlog into a string when parking it in a savestate
2016-01-10 23:08:13 -06:00
zeromus
e1ddb51826
fix off-by-one-too-short-inputlog bug in MoviesOnDisk mode
2016-01-10 22:45:43 -06:00
Hathor86
f0ab9edc10
Attempt to fix OutOfMemory when saving states (I guess it works)
...
Just add an EnsureCapacity() before appending log.
I didn't have any crash yet compare to current release. Let's hope!
2016-01-03 00:52:37 +01:00
zeromus
2765961984
load NSF without annoyance
2015-12-31 12:37:48 -06:00
Hathor86
da25052e09
Just few comments on above notwa's method :)
...
(Oh and transform string concatenation with + to a string.Format)
Also made a small fix to externaltoolmanager
2015-12-24 14:00:08 +01:00
Connor Olding
f0c939d87c
reimplement strings for OSD watches
...
also fixed saving separators
2015-12-23 17:18:39 -08: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
c1e70077c8
instafix #546
2015-12-13 00:00:22 +03:00
Hathor86
21e25555d0
BytWatch ValueString property fix
...
Call GetByte() instead of _value field (like other watches)
2015-12-10 10:25:45 +01:00
Hathor86
7779b2f7db
Fix RamSearch value
...
Fix has been done on constructor of each watch. Call GetByte / Word /
DWord if value is 0.
It ensure that previous passed in parameters remains unchanged
2015-12-10 00:34:07 +01: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
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
feos
9d491d9415
Bk2Movie: use intended method when adding a key.
...
fixes #520
2015-12-08 19:17:45 +03:00
feos
33fd1d86ea
welp
2015-12-05 17:07:57 +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
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
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
Hathor86
31cc08a954
More WatchList comments
...
Finished coments on WatchList object
2015-12-02 22:48:30 +01: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
Hathor86
ee860fd820
Quick fix of save watch
...
Wrong ToString() method was called when writing
Reading was ok
2015-11-30 18:27:55 +01:00
feos
3c07f7e649
lua: optional domain for memory functions.
...
fixes #538 .
I tested heavy memory reading, and it's not adding noticeable overhead.
2015-11-29 22:56:28 +03:00
feos
eb41e8a8e0
lua: remove registered functions on toggle option.
2015-11-29 22:56:28 +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
Hathor86
01639c3e10
Watch comparaison interfaces implementation
...
Watch now implements IEquatable<Watch>, IEquatable<Cheat>,
IComparable<Watch>
Operators had also been overloaded. You can now put watches from SAME
domain in a list and easly sort them.
Sorting is based on address first then size.
2015-11-29 13:46:50 +01: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
565f19fc83
Watch: Comments & reordering
...
Just comments some methods and reordering them
2015-11-27 13:43:49 +01: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
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
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
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
Hathor86
bae4d53cbf
merge remote master
2015-11-20 13:14:38 +01: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
6f71956faa
add lousy logic to fix cheat compares
2015-11-15 18:22:12 -06:00
Hathor86
c7dcb42b94
Merge from maser@TASVideos
2015-11-15 11:27:00 +01:00
zeromus
5afa44bbec
common logic for tempfiles
2015-11-15 03:01:58 -06:00
zeromus
22192e700b
attempt to make it possible to store movies on disk instead of in memory
2015-11-15 02:27:48 -06:00
zeromus
75be59a650
revise UDLR mutexing to be a bit more graceful
2015-11-15 00:18:52 -06:00
zeromus
d24f778a40
try supporting U+D/L+R priority control in addition to allow and forbid
2015-11-14 01:49:16 -06:00