pasky1382
6a8c87d598
Fixed bitwise operators, all function arguments take object types so they display correctly under the lua function list.
2012-09-02 14:20:08 +00:00
adelikat
8bed5ae6da
Move lua events to the end of the frame loop
2012-09-02 14:14:36 +00:00
pasky1382
c31322400f
Fixed an offset in the script.
2012-09-02 03:46:09 +00:00
adelikat
d942c68086
Add Paskys Ninja Gaiden lua script to lua scripts folder
2012-09-02 03:24:36 +00:00
adelikat
f519fa0e2d
Ram Search - fix Truncate from file, and exclude ram watch
2012-09-02 03:05:48 +00:00
pasky1382
02c447becb
Fixed gui.drawBox. Now draws correctly when width is a negative value.
2012-09-02 02:37:25 +00:00
adelikat
1f128aeda4
Ram Search - small speedup on UpdateValues
2012-09-02 01:52:16 +00:00
adelikat
5179710c82
Ram Search - fix undo
2012-09-02 01:21:57 +00:00
pasky1382
cd292d7fd2
Added a gui.drawBox() function in the lua engine. Uses four coordinates to draw a box like other emulators rather than a height/width argument.
2012-09-02 01:15:18 +00:00
adelikat
d6f3c05ecd
Ram Search - fix broken searching, also some code cleanup
2012-09-02 01:05:08 +00:00
pasky1382
ff218af117
Added lua bitwise operators, AND, LSHIFT, RSHIFT, OR, XOR, NOT, ROTATE LEFT, ROTATE RIGHT.
2012-09-02 00:56:50 +00:00
adelikat
0e1bf887b6
Cheats Dialog - fix losing of values on restart, editing a cheat flags changes
2012-09-01 19:29:41 +00:00
adelikat
dd41cb6365
NES Cheats - fix so that only the system bus uses the built in cheat/game genie system
2012-09-01 18:15:04 +00:00
adelikat
c1d2272aec
Cheats - if cheats file is empty dont show "Cheats file loaded" message
2012-09-01 17:44:55 +00:00
adelikat
e5a3764f69
Cheats - implement Compare textbox
2012-09-01 17:31:56 +00:00
adelikat
3b39b2b898
Cheats - add compare column, and show active cheat rows in cyan (like other tool dialogs), do validation on address and value textboxes when adding/editing a cheat
2012-09-01 17:09:44 +00:00
adelikat
21cd754a7d
Cheats - implement removing of cheats for the NES core
2012-09-01 14:35:12 +00:00
adelikat
e741aa2af0
NES - fix game genie codes with an empty compare text value
2012-09-01 14:18:54 +00:00
adelikat
9b7404b059
NES - Round 1 of Hook up NES cheats for system bus (i.e. game genie codes now work)
2012-09-01 14:13:36 +00:00
adelikat
816435ad2f
Some backend changes to support compare value in cheats, no visible changes yet
2012-08-31 11:59:14 +00:00
adelikat
cfadca6fd6
NES - sound config - set ok/cancel winform properties
2012-08-31 02:11:55 +00:00
beirich
e24f0962fc
gen: fix dumb tile priority bug (primarily affects Ghouls n Ghosts, which use the layers backwards from normal)
2012-08-30 04:29:33 +00:00
adelikat
ff84855f2a
Ram Search - another speed up - prevent recoloring the background unless it has changed
2012-08-29 02:58:22 +00:00
andres.delikat
0e02fd7ee4
Ram Watch - major speed up of the preview feature especially with large memory domains, got a 30fps boost on gens system bus. THere is still a lot of code to clean up as a result, and I touched everything about the search feature so there may be regressions in this commit.
2012-08-29 01:42:04 +00:00
adelikat
7bc1e88d1d
TAStudio - Rewind button - fix logic when movie is finished or inactive
2012-08-28 03:18:53 +00:00
adelikat
644caa4786
Record Dialog - do not prompt to overwrite on save file dialog (otherwise the user is asked twice when the main dialog asks)
2012-08-28 02:29:48 +00:00
adelikat
1a75f0734d
Max Turbo - bypass limit frame rate, and auto-minimize skipping, and ramp up frame skip to 20
2012-08-28 02:20:22 +00:00
adelikat
f5e08a72d0
Max Turbo - bypass on screen messages/gui text/ram watch on screen
2012-08-28 01:48:01 +00:00
adelikat
ebf029b76d
Some turbo speed refactorings - added a new hotkey for turbo mapped to shift+tab, rennamed the original turbo as unthrottle (since it is simply a toggle for this feature) and removed its mapping. On the new turbo, lots of various things will eventually be in place, but right now it bypasses tool updating. Still todo: have it max out frame skip and whatnot, also what is the difference between unthrottle and the limit framerate option? I think these should be merged.
2012-08-28 01:29:07 +00:00
beirich
8ad3e72ffa
Allow easy swapping of active 68000 core the C# core, or Musashi... As we are likely to be swapping between versions rapidly for some period of time.
2012-08-26 14:39:06 +00:00
adelikat
7ad3ea9ef5
Movie - clean up some code that has gotten crusty in the frame loop and refactored it, fixed logical errors at the end of a movie regarding playback, rewind, and loadstate. Movies now go correctly into finished or play mode under various circumstances. Removed the stop on frame code because it was breaking things, this will be a regression in functionality in tastudio until it is rethought.
2012-08-25 23:31:54 +00:00
rolanmen1
7a9e5d856b
LuaImplementation: Implemented forms.setproperty and forms.getproperty. Kinda buggy though.
2012-08-25 22:45:44 +00:00
adelikat
5486acbbbc
Movies - fix a regression that happened at some point where the movie is not truncated on a loadstate that triggers record mode (instead it would keep the entire movie in the savestate and record over each frame, this would leave garbage data that could lead to potential desyncs)
2012-08-25 22:18:54 +00:00
adelikat
cca1396fad
NES - save framebuffer to savestates in the same manner as other cores
2012-08-25 18:18:05 +00:00
rolanmen1
6cec0f0182
LuaConsole: Call UpdateNumberOfScripts after you delete a script.
...
LuaImplementation: Added emu.ispaused(), also added the parameters width and height to forms.label and forms.button
2012-08-25 17:01:13 +00:00
rolanmen1
8f22c9098b
LuaConsole: The Label that counts the scripts gets updated each time a change has been made to the ListView, also removed all calls of the said function.
2012-08-25 12:17:44 +00:00
beirich
377dce08d7
switch to using the real megadrive gamedb (eliminate issues with the temporary one)
2012-08-20 03:12:36 +00:00
adelikat
694f2aaae6
Ram Search - very slight optimization
2012-08-20 00:22:57 +00:00
adelikat
df5ddfced8
oops
2012-08-19 23:49:42 +00:00
adelikat
6108a88245
About box cleanup - use emuversion constant so I don't have to update it in two places, add a release date constant so I don't forget to update that, some misc dialog tweaks
2012-08-19 23:44:17 +00:00
adelikat
07c32e23ba
GUIText (Lua and ram watch) - remove gray in drawing
2012-08-19 23:24:16 +00:00
adelikat
1350daa5d4
Clear Lua and Ramwatch lists on loadstate, fixes problem of garbled drawing on loadstate
2012-08-19 23:22:10 +00:00
adelikat
72cc4aa50a
DrawScreenInfo was being run twice, removed one of the calls
2012-08-19 21:54:23 +00:00
beirich
728c970f16
fix premature commitation
2012-08-19 19:16:08 +00:00
beirich
4ba8fcf227
ym2612: Implement detune. Implement a somewhat better resampler, still not a Good One.
2012-08-19 04:41:34 +00:00
adelikat
43518a3a57
TAStudio - add hotkeys for Clear and Insert # Frames
2012-08-18 00:09:00 +00:00
adelikat
514c3200d7
remove more tastudio instances in movie class, TAStudio - re-hook up double click event
2012-08-18 00:04:12 +00:00
adelikat
c9ddbd6d89
TAStudio - implement Cut function, fixes to insert, and delete, minor cleanup of movie object
2012-08-17 23:56:37 +00:00
adelikat
37f5027de6
TAStudio - implement copy function, and slicer section
2012-08-17 23:27:29 +00:00
adelikat
952892b5df
TAStudio - implement Truncate Movie
2012-08-17 03:24:33 +00:00
adelikat
862caafd05
TAStudio - implement Insert # Frames, and Select All, hide context menu items based on read-only status
2012-08-17 03:04:35 +00:00
adelikat
d7e05ceb32
TAStudio - implement clear frame, pause emulator on TAStudio load
2012-08-17 02:26:47 +00:00
adelikat
9baf1b8f28
TAStudio - implement clone frame feature, and some UI and Movie object cleanup
2012-08-17 02:18:25 +00:00
adelikat
e900a5b1ba
TAStudio - fix up Insert Frame functionality, add it to non-interim builds, and map hotkey as ctrl+shift+ins
2012-08-17 01:26:00 +00:00
adelikat
932303df68
TAStudio - hook up Ctrl+Mousewheel to frame advance and rewind events. TODO: Figure out how to (also) add right-click + mousewheel
2012-08-17 01:01:46 +00:00
adelikat
99f073266d
Ram Watch - fix bug where values are not updating after a power cycle/rom load/movie load
2012-08-15 01:35:17 +00:00
adelikat
0ed2ec1be9
Ram Watch - oops, fixed last commit better
2012-08-15 01:14:25 +00:00
adelikat
0d867101bf
Ram Watch - if both auto-load and display on screen are set, don't load the dialog when loading the emulator (just load the watches on screen)
2012-08-15 01:03:27 +00:00
adelikat
3e3b154895
Ram Watch - fix endless exceptions when loading different ram watch files
2012-08-15 00:56:34 +00:00
adelikat
7d9cee2905
Remove new controller config idea
2012-08-13 03:23:25 +00:00
adelikat
d8a21d18ff
Revert use of new input config dialog
2012-08-13 03:17:47 +00:00
adelikat
aa2475806a
CHecking in a possible better solution for a controller config dialog
2012-08-13 01:22:02 +00:00
adelikat
a5e369b872
NES - PPU Viewer - more small speed optimizations
2012-08-12 19:42:00 +00:00
rolanmen1
e2469328ae
LuaWriter. Color numbers, need to make it color hexadecimals aswell.
2012-08-12 07:06:38 +00:00
adelikat
6dfcd10575
NES - PPU Viewer - draw immediately on load, PPU Viewer / Nametable Viewer - draw immediately on Restart()
2012-08-12 02:21:53 +00:00
adelikat
57987c0a21
NES - Nametable viewer - big speed boost by not repainting the unseen background
2012-08-12 02:13:06 +00:00
adelikat
fb3d1a1bd3
NES - PPU Viewer - nice speed boosts by tweaking palette and pattern viewers to not redraw backgrounds
2012-08-12 02:05:37 +00:00
adelikat
f84a3709c9
Misc code cleanup
2012-08-12 01:09:30 +00:00
adelikat
af1dbf5305
NES - PPU Viewer - other small optimizations
2012-08-12 00:00:57 +00:00
adelikat
9fff16c0f4
NES - PPU Viewer - oops fix last commit, and also slightly better optimized as a bonus
2012-08-11 22:50:14 +00:00
adelikat
379e724d34
Render Panel - some tiny speedups
2012-08-11 22:38:40 +00:00
adelikat
1fcc6a24a5
NES - Nametable viewer - small optimizations ~1fps speed up
2012-08-11 22:32:52 +00:00
rolanmen1
c5577b7850
LuaWriter. I finally finished coloring Strings and Comments correctly.
2012-08-11 05:15:56 +00:00
adelikat
9cb825418f
Lua Writer - take over paint event and only paint once per ProcessText(). Still todo: better management of when and what to draw
2012-08-11 01:50:27 +00:00
rolanmen1
945c12eb13
LuaWriter. AutoCompleteView will change through selected items by pressing Up/Down while keeping focus of the textbox. This will work once a highlight issue get solved.
2012-08-09 21:53:49 +00:00
rolanmen1
4771ba0f15
LuaWriter. Pressing Enter when there's no if, while, for, etc.. will add the tabs that the previous line had.
2012-08-09 20:18:43 +00:00
jxq2000
2fc36dca9b
Revert previous commit related to updating colors/format of only one line at a time since that won't catch multi-line strings or comments.
2012-08-08 21:33:24 +00:00
beirich
9979c9f0d5
Add Gun.Smoke (KR) SMS to db
2012-08-08 02:28:54 +00:00
adelikat
1121479a5d
gamedb - fix duplicate entry
2012-08-08 01:10:45 +00:00
beirich
ce6de177a6
add CJ Elephant Fugitive dump to GameGear DB [CodeMasters mapper]
2012-08-08 01:02:26 +00:00
jxq2000
5770931669
Some work in ProcessText to try and alleviate the "OMG WE ARE ALWAYS SCROLLING" problem when typing.
...
Still needs some work (so no functional change yet), but the initial idea is to allow for checking/updating of only the current row when called from timer_Tick.
2012-08-06 23:19:05 +00:00
jxq2000
759bd52f6d
Some progress made on positioning of the autocomplete box.
2012-08-06 22:52:55 +00:00
rolanmen1
05b107ed49
LuaWriter. Made ColorComments, ColorStrings and ColorLongStrings (wich is now called AddComments, AddStrings and AddLongStrings respectively) will no longer search symbols in the textbox, instead on a copy of it that is saved in a string variable.
2012-08-06 08:18:50 +00:00
rolanmen1
38723f8786
LuaWriter. This is half of a lot of changes im making.
...
1)Made a list of int arrays, these will have a start position, length, color and a number that will tell if said text is gonna be bold or not. This was made to color the text only once per edit. I also made it so these values are added in order of the starting position. This will select the text from top to bottom and not randomly like it used to be.
2)Made ColorSymbols (wich is now called AddSymbols) will no longer search symbols in the textbox, instead on a copy of it that is saved in a string variable. This was made because the RichTextBox.Find method selects text in the textbox, making the whole process slower. This will be done to the ColorComments and ColorStrings aswell.
2012-08-06 07:12:25 +00:00
adelikat
ea8d47bcc0
Start Mapper 197 (based on MMC3) and sort out the use of this vs Mapper 91.
2012-08-05 21:34:00 +00:00
adelikat
4a28a1aa96
Archive Chooser - sort entries by region, add hotkeys 1-9 that select items 1-9 respectively
2012-08-04 22:45:58 +00:00
adelikat
02fc8eeaaf
Archive Chooser - automatically highlight the first entry on load
2012-08-04 21:57:49 +00:00
rolanmen1
087947273c
LuaWriterColorConfig. Added a panel to color Normal Text, also to put it bold.
...
LuaWriter. Added menu item that colors the background of the textbox. Added all the variables into Config.cs
2012-08-04 03:35:17 +00:00
adelikat
3eff778b98
Increment build number, this marks the beginning of the 1.0.6 release
2012-08-04 01:20:05 +00:00
rolanmen1
886ef5940a
LuaWriter. Fixed small bug when editting a script from Lua Console, also from the Save and SaveAs options. Created a bool value that tells when the Text is being processed or not, since coloring triggers the TextChanged Event it will ProcessText multiple innecessary times.
2012-08-03 22:08:28 +00:00
goyuken
b14154b30c
AviWriter.cs : don't mix unmanaged allocation types
2012-08-03 22:02:04 +00:00
goyuken
49daf880fb
automated dumping with --dump-type=vfwavi works. this involves marshalling/unmarshalling deep copies of unmanaged structs, which has a lot of details i'm not terribly familiar with. so might crash on some stuff? feedback appreciated
2012-08-03 17:43:17 +00:00
rolanmen1
44abe3ad4a
LuaWriter. Now colors LongStrings.
2012-08-03 06:17:21 +00:00
rolanmen1
8d0f87e5d9
LuaWriter. Added new option "Start With Empty Script", wich triggers the option of having while true do emu.frameadvance() end when creating a new script.
2012-08-03 02:59:36 +00:00
andres.delikat
cc82bfbefc
small optimization
2012-08-02 21:46:08 +00:00
rolanmen1
bc39f81b8a
InputPrompt. I made the UserOK variable to change to false if the user clicks the Cancel button.
...
LuaWriter. Adding "end" after pressing Enter if the current line has "if", "for", etc. is now fixed. Also added some more edit menu items, like Undo, Redo, Cut, Copy, Paste, Select All, Search, Replace and Go To...
Search and Replace still need to be implemente. Implemente Go To, if the user inserts an invalid text (letters, symbols, etc) it will not close and prompt an error. Otherwise, it will go to the specified line.
2012-08-02 21:45:06 +00:00
andres.delikat
174dec1472
Clean up some movie slop in the frame loop, sbizhawk should now run unnoticeably faster
2012-08-02 21:30:30 +00:00
andres.delikat
754422b0e4
Lua Writer - bold for syntax highlighting option
2012-08-02 17:48:17 +00:00
jxq2000
2e41102f8a
Initial code, which doesn't fully work, for positioning the AutoComplete box.
...
Also moved over the "zoom" label so it doesn't clash with the position label.
2012-08-02 01:07:04 +00:00
adelikat
5a28f54454
On behalf of Rolanmen: LuaWriter. Added Restore Settings item, when closing, it will save the Zoom Value in Config.cs
...
LuaWriterColorConfig. Fixed little bug that didn't colored the Library panel. Also made each Color Dialog select it's default color.
2012-08-01 02:56:38 +00:00
adelikat
4930979940
NES - progress on mapper 96, Oeka Kids - Anpanman no Hiragana Daisuki seems to play (but I can't get passed the title screen without Oeka Kids tablet emulation). Oeka Kids - Anpanman to Oekaki Shiyou!! fails to load (suggesting a PRG mapping problem?)
2012-07-31 02:58:59 +00:00
adelikat
a0190e9135
NES - mark a bad version of Hyrule Fantasy as a bad dump in the gamedb
2012-07-31 01:12:18 +00:00
adelikat
34c796d96d
Input Config - fix bug where auto-tab setting was not being respected when changing controllers or consoles
2012-07-30 00:43:40 +00:00
adelikat
d4ac95bd30
NES - implement mappers 74 and 194. Added gamedb entries for the games I could find that correspond to these mappers
2012-07-29 18:35:24 +00:00
adelikat
71865576a7
NES - finish mapper 192
2012-07-29 18:12:37 +00:00
adelikat
7cbee7bde4
NES - mapper 74 - implemented chr-ram behavior, however, it does not work (chinese characters still missing in dialogs, but this checkin causes no regressions)
2012-07-29 17:55:45 +00:00
adelikat
0e3cb19e0b
NES - gamedb - Ying Lie Qun Xia Zhuan (Ch) is mapper 192 not 245
2012-07-29 15:45:24 +00:00
adelikat
ad0c7d863c
LuaWriter. Added a Zoom label, it is updated when you zoom in/out using Ctrl + MouseWheel
2012-07-27 23:33:05 +00:00
adelikat
7363b06264
Remove some console logging when the context menu is opened.
2012-07-27 00:52:10 +00:00
adelikat
db464a3bbd
NES - Nametable viewer - draw nametable immediately when loading the dialog
2012-07-27 00:36:31 +00:00
adelikat
bbbc51ecf8
Lua Writer - save font and font size to config (todo: font style), hook up exit button
2012-07-27 00:15:02 +00:00
andres.delikat
4d910ce93c
TAStudio - remove some assumptions that opening TAStudio = movie loaded. This should never happen! TAStudio has virtualpads, an item useful without movies. It should not be assumed nor required that a movie is loaded!
2012-07-26 22:10:18 +00:00
adelikat
fc5c669353
Lua Writer - fix default new lua to have the cursor position on a tabbed new line above emu.frameadvance()
2012-07-26 02:51:25 +00:00
adelikat
dcc841fe3b
Lua Writer - reset zoom factor, and resize dialog to something more reasonable
2012-07-26 02:22:56 +00:00
adelikat
2881187605
Lua Writer - set default font to a fixed width font, set tabs to 4 spaces
2012-07-26 01:22:12 +00:00
jxq2000
caa606af71
Lua writer color config is now functional, with default button; small fix to default library color; reverted introduction of redundant "Emulua..." value.
2012-07-26 00:48:19 +00:00
adelikat
c0015a5b4c
Lua Console - set a proper tooltip on the New Script toolstrip menu item
2012-07-26 00:01:21 +00:00
adelikat
f93be79a47
LuaConsole: Hides and Disables the new script button on debug mode.
...
LuaWriter: Automatically adds "end" after pressing enter when if the line has "if", "for", "while", or "function". Even though, it creates a new line before the statement
2012-07-25 22:53:11 +00:00
andres.delikat
a5ed71269d
text: LuaConsole. Added a New Script menu item and toolstrip button. It calls the LuaWriter with a null path.
...
LuaWriter. If it is loaded with a null value, it will start the Text with while true do emu.frameadvance() end.
2012-07-25 17:36:26 +00:00
andres.delikat
8214a649c3
Lua console - fix to autoload lua session, if there is no recent session, it will open nothing, rather than cause an exception
2012-07-25 13:55:25 +00:00
brandman211
1bedd81666
That optimization for movie length calculation in the PlayMovie dialog now accounts for files with new line characters of all sizes.
2012-07-25 08:01:02 +00:00
adelikat
bb05876f84
Fix lag counter display where lag frame drawing did not use the anchoring property
2012-07-25 00:51:59 +00:00
adelikat
863a7c3690
Fix bug when Run in Background is Disabled, emulator will now remember if the emulator was paused before losing focus, if it was, it will not unpause when activated.
2012-07-25 00:45:05 +00:00
adelikat
817b202192
On Behalf of Rolanmen - LuaWriter. Now Colors Lua Library Words.
2012-07-24 03:35:28 +00:00
adelikat
08e79f26a2
Lua Writer - color config - re-hook up the load event that got clobbered at some point
2012-07-24 01:39:19 +00:00
jxq2000
6c5c33ea7a
Beginning of Lua Writer Color config form - not yet functioning.
...
Renamed a global variable for consistency with others.
2012-07-24 01:11:36 +00:00
andres.delikat
ae291162e1
Add Xing Ji Wu Shi (Ch) to gamedb as Mapper 176 (The ROM floating around is incorrectly labeled as 177)
2012-07-23 21:19:45 +00:00
adelikat
8825cb7499
Fixes to Lua Writer on behalf of Rolanmen
2012-07-23 12:28:03 +00:00
adelikat
8b06a39ef9
Lua Text - start a very rough auto-complete box
2012-07-23 02:24:48 +00:00
adelikat
6379aafbae
Lua Writer - start syntax color config dialog and font config, neither do anything yet
2012-07-23 01:32:41 +00:00
adelikat
973aa8f9ae
Lua Writer - better color of library names, anchoring
2012-07-23 01:10:31 +00:00
adelikat
a8753021cc
Lua Writer - syntax highlighting for bizhawk lua library functions
2012-07-23 01:02:04 +00:00
goyuken
7db089fbbd
add automated dumping. command line example:
...
bizhawk.multiclient --dump-type=ffmpeg --dump-name=foobar.avi --dump-length=1000
type is one of 'vfwavi' (doesn't work), 'ffmpeg', 'jmd', 'nut', 'wave'
name is filename to dump to; might be auto-modified to add segment split names (_00, _01, etc)
length is length of dump in frames after which it auto-stops. if omitted, set to be equal to the length of the movie loaded with --movie, or if not that, it runs forever (can be stopped from UI)
2012-07-23 00:33:30 +00:00
adelikat
f9c764f5e5
oops, previous commit didn't compile
2012-07-22 22:26:43 +00:00
adelikat
09fb9c88f4
Lua Writer - implement saving and fix so that the text only redraws when it needs to.
2012-07-22 22:24:02 +00:00
rolanmen1
0eba6e53e4
LuaWriter. Added coloring symbols, it won't color if the symbol is part of a comment or a string. Also made (") and (') to not color when it's part of a comment.
...
Config.cs. Added SymbolColor, wich by default is black.
2012-07-22 22:16:44 +00:00
zeromus
f951b5e932
fix issue where mario bros 3. gets auxilary files created as mario bros. how it got this way is a bit baffling, so i hope i didnt break anything
2012-07-22 20:26:38 +00:00
adelikat
75bed1f242
Lua Console - open selected file in lua writer dialog, implement drag & drop on lua writer (but fails because it doesn't allow drop on the edit box itself)
2012-07-22 20:25:53 +00:00
adelikat
a380319973
Lua Console - remove hacky lua writer button. Set edit button to open the writer on interim builds only
2012-07-22 19:59:33 +00:00
adelikat
e56de584e3
Lua Writer - faster drawing
2012-07-22 19:54:40 +00:00
rolanmen1
21344b7bc4
LuaWriter. Re-structured coloring Strings.
2012-07-22 04:22:18 +00:00
adelikat
f85b6a017b
NES - checkin start of mapper 91
2012-07-22 01:02:18 +00:00
rolanmen1
f775c081f1
Config.cs: Added 3 variables that will be used for the colors of LuaWriter.
...
LuaWriter: Made it use the values of the variables in Config.cs. Made (") and (') colors the whole line if they are not closed. Now colors the word elseif.
2012-07-21 19:29:45 +00:00
rolanmen1
1616cc7eb9
LuaWriter. Prevented some exceptions.
2012-07-21 04:17:49 +00:00
rolanmen1
9bca1b198d
LuaWriter. Fixed error that prevented coloring multiple strings in the text. Also made that Reserved Words will only color if there are no letters or numbers next to them.
2012-07-20 22:50:28 +00:00
rolanmen1
1a45b82d64
LuaWriter. Now colors Strings. TODO: Allow to color multiple Strings in the same line.
2012-07-20 22:02:14 +00:00
rolanmen1
6f295fe0c8
LuaWriter. Now colors Multi-Line Comments.
2012-07-20 05:36:33 +00:00
rolanmen1
48b24703a3
LuaWriter. Now colors single line comments to green.
2012-07-19 21:20:23 +00:00
rolanmen1
4b3971a997
LuaWriter. It will now color black unmatches in the text. Also fixed a bug that randomly selects a small block of text.
2012-07-19 19:58:27 +00:00
andres.delikat
c256e90a9d
NES - add mapper 203, doesn't play the 35-1 properly, but it doesn't run in fceux as well, documentation may be off, or the ROM i used is bad (not a lot of info on good dumps for these types!)
2012-07-19 14:13:45 +00:00
adelikat
7cb69f4826
Hook up LuaWriter to a new & hacky toolstrip icon for now
2012-07-19 04:19:24 +00:00
adelikat
fb841bc764
check in luawriter winform files, needs to be hooked up
2012-07-19 00:19:47 +00:00
beirich
62477210dd
Check in initial gamedb for genesis, although it is not #included from gamedb.txt since there's no real point yet.
2012-07-17 01:23:51 +00:00
brandman211
21558eaf11
-Made ReadMemory and WriteMemory for the Intellicart Read/WriteCart and made them return nullable values instead of passing an out value.
...
-Started parsing data segments.
--CRC check fails. :(
-Added .bin and .rom to the Intellivision associated file extensions in the load ROM dialog.
2012-07-16 05:52:01 +00:00
adelikat
e8d8eacb06
NES - Nametable Viewer - Show address block in tooltip on nametable selection radios
2012-07-16 01:37:57 +00:00
zeromus
35fa5f5985
fix memory leaks in filters
2012-07-15 09:13:46 +00:00
pasky1382
4ef07ddf23
Implemented Zeromus's Display Filters in the menubar for usage.
2012-07-15 08:50:24 +00:00
zeromus
bd1aaf7ff7
fix old displaymanager filter junk
2012-07-15 07:38:36 +00:00
andres.delikat
f7752584c6
Lua - implement input.getmouse()
2012-07-13 22:21:01 +00:00
andres.delikat
f18554f248
missed some values in the Decrease Speed hotkey
2012-07-13 16:54:33 +00:00
andres.delikat
224b98c0cc
PCE - BG Viewer - add tile and palette stats on mouse over. Add tool to non-interim builds
2012-07-13 02:25:45 +00:00
andres.delikat
b84a601ef3
PCE - BG Viewer - Refresh Rate slider, UI cleanup
2012-07-13 00:38:04 +00:00
andres.delikat
0834c63a43
NES - sound config dialog for toggling sound channels
2012-07-12 23:13:22 +00:00
andres.delikat
f5a7dc2191
Lua - implement client.setwindowsize()
2012-07-12 22:20:48 +00:00
andres.delikat
e534c5b133
Show hotkey mapping on menu item for background input
2012-07-12 22:09:15 +00:00
andres.delikat
70b5d68ae0
Add hotkey for background input (add on screen message when toggling this feature)
2012-07-12 21:56:59 +00:00
andres.delikat
16b86e70e7
Increase/Decrease Speed hotkeys
2012-07-12 21:39:11 +00:00
andres.delikat
4061361fe0
Add a bunch of on screen messages for various menu item toggles
2012-07-12 19:50:27 +00:00
andres.delikat
15371b3cd9
Lua - implement emu.enablerewind(), also add on screen message when rewind is toggled
2012-07-12 19:42:13 +00:00
andres.delikat
fcac19aed9
Lua - implement emu.displayvsync, also add on screen message when limit frame rate is toggled
2012-07-12 19:36:07 +00:00
andres.delikat
2304b2d4e2
Lua - implement emu.limitframerate, also add on screen message when limit frame rate is toggled
2012-07-12 19:23:39 +00:00
andres.delikat
9c947652f5
Lua - implement emu.minimizeframeskip()
2012-07-12 19:02:30 +00:00
andres.delikat
858f133f9e
Lua - Implement emu.speedmode and emu.frameskip
2012-07-12 18:39:24 +00:00
andres.delikat
45227b1b11
Lua - Lua Function List - column sorting (including descending)
2012-07-12 02:03:46 +00:00
andres.delikat
4aaeabb568
Lua - much improved lua function list including return type and parameters
2012-07-12 00:57:09 +00:00
goyuken
fd7a0b2fe7
change CoreOutputComm to use exact integers to specify VsyncRate. Helps for AV dumping with formats that require exact integer rates (AVI), and for emulators that aren't exactly 50hz/60hz (none yet).
2012-07-11 21:37:35 +00:00
andres.delikat
3a73f8a427
Lua - backend for more thorough self documenting, lua function list dialog has the same functionality as before but is primed for a better UI
2012-07-11 15:03:51 +00:00
andres.delikat
9da0cd3553
Lua - forms.textbox() add field to optionally set the textbox to signed, unsigned, or hex values
2012-07-10 23:09:06 +00:00
andres.delikat
3f81bc9cdb
Lua - implement forms.addclick() and forms.clearclicks()
2012-07-10 22:52:06 +00:00
andres.delikat
04273ec3ee
Lua - implement forms.settext()
2012-07-10 22:27:05 +00:00
andres.delikat
4542ae12d1
Lua forms library - implement SetLocation(), SetSize(), TextBox(), and Label()
2012-07-10 21:15:30 +00:00
andres.delikat
827e2150d7
Lua - implement forms.button(), and the basic backend for calling lua functions on events from user generated controls
2012-07-10 20:23:19 +00:00
zeromus
3a8fe7c464
lua-fix crashes when scripts terminate
2012-07-10 19:40:35 +00:00
andres.delikat
ec9cf60d6d
Lua - start forms creation library, implement forms.create(), forms.destroy(), and forms.destroyall(). Still TODO: make the forms do something! Also added console.log as an alias to console.output
2012-07-10 19:04:35 +00:00
andres.delikat
ca9c27113f
"Never be asked to save changes" config menu item
2012-07-10 17:22:23 +00:00
andres.delikat
0791a713a4
Hex editor - remove a todo that is no longer valid
2012-07-09 18:41:59 +00:00
brandman211
104511c5b7
-Intellivision.cs' constructor initializes the PC to 0x1000.
...
-Set up the "official" memory map - see http://wiki.intellivision.us/index.php?title=Memory_Map
--Things I didn't do:
---Accessibility.
---Additional Occupied Memory Ranges.
---Addresses Available to Cartridges
---Initialize any of the byte arrays.
--Not sure which of these I need to do, but clearly the byte arrays have to be initialized somewhere to something and there's a lot of gaps in this memory map.
2012-07-09 05:29:45 +00:00
beirich
36ba018ae0
basic wire-up of Intellivision core
2012-07-08 04:20:53 +00:00
adelikat
9a86b483d7
Remove speed hack on sound off for NES core, I've been told bypassing the APU isn't TAS safe
2012-07-05 19:27:07 +00:00
brandman211
a127e2e4f2
Diff => Difference in the View submenu on Ram Watch.
2012-07-05 19:10:12 +00:00
adelikat
11312699e4
Ram Watch - fix sorting of prev & diff columns based on last change definition
2012-07-05 03:34:05 +00:00
adelikat
d65bd2bb0c
Ram Watch - better default column widths and fix restore default settings column widths. Fix reseting of Prev column when changing prev definitions
2012-07-05 03:21:39 +00:00
adelikat
af9690baec
Ram Watch - center diff column
2012-07-05 03:11:33 +00:00
adelikat
a1ff6164ec
Ram Watch - make new column compatible with old config files
2012-07-05 03:05:23 +00:00
adelikat
b0b7478b40
Ram Watch - on load, check if Diff should be displayed. Implement prev value options - last frame, and last change (Diff adjust accordingly as well)
2012-07-05 01:58:33 +00:00
adelikat
a8e3ffa624
Ram Watch - implement Diff column
2012-07-04 23:11:17 +00:00
adelikat
14f7aab89e
Hex Editor - fix a bug where shift clicking the first address does not highlight properly.
2012-07-04 21:25:34 +00:00
brandman211
5ce6050cb4
-As frames and subtitles actually occur more than once, I put them on the top of the big if / else if block for ImportText so that it doesn't have to do unnecessary ToLower() and StartsWith("name") calls.
...
-Put frames and subtitles into functions because vec\ gives good advice.
2012-07-04 07:34:52 +00:00
brandman211
c06a44c495
ImportText now only allows version 3 for .FM2 files.
2012-07-04 06:41:57 +00:00
brandman211
62e9143fdd
-Made the boolean parsing more consistent.
...
-Subtitle parsing now allows excessive whitespace.
2012-07-03 22:24:24 +00:00
brandman211
1aa8030cf4
ImportText now works case-insensitively and trims whitespace.
2012-07-03 16:47:08 +00:00
brandman211
24a27d543a
Fixed the case (should have detected "guid", not "GUID") for parsing the guid, preventing an extra space from showing up in converted FM2 files.
2012-07-03 16:04:17 +00:00
phillip.grimsrud
8bc250e7dd
1. Added Atari 2600 to COMMANDS dictionary.
...
2. Added Atari 2600 case when updating virtual pads.
2012-06-30 01:23:02 +00:00
phillip.grimsrud
f7fa9f7751
1. Fixed an Atari 2600 mnemonic bug for issue 77. Note that TAStudio is still broken for Atari 2600.
2012-06-30 00:42:42 +00:00
zeromus
15e63a84ec
oops
2012-06-25 17:42:30 +00:00
zeromus
9a54ad750a
reorg multiclient source files with an AVOut directory, because there had got to be so many of those in the multiclient root
2012-06-25 17:35:01 +00:00
adelikat
690fb786a5
Hex Editor - move "nibble" display to a readable place (broken from the header speed optimization)
2012-06-25 03:21:54 +00:00
adelikat
5f3f6547aa
Hex Editor - on find next/prev focus Hex Editor rather than find box
2012-06-25 03:13:02 +00:00
adelikat
7291a8ab0f
Hex Editor - ability to increment/decrement frozen addresses. Big Endian and wrapping logic for Increment/Decrementing 2 byte values
2012-06-25 03:10:04 +00:00
beirich
b599c69c18
Add VirtualWidth to IVideoProvider and the (numerous) implementations. This is just phase 1, client needs to be updated to utilize this information, and some cores (especially PCE) should be updated in a more involved way to provide better TV emulation.
2012-06-25 02:50:34 +00:00
adelikat
4d91471bab
Record movie dialog - use filesystem safe name of game when choosing a default name. Fix regression that made default filename not populate in the savefile dialog.
2012-06-25 00:06:07 +00:00
adelikat
d59b1e82c7
As usual, I forgot to check in new winform files
2012-06-24 03:45:56 +00:00
adelikat
2d4c6acc04
Hex Editor - implement shift logic to Home/End keys
2012-06-23 21:09:20 +00:00
adelikat
0d40a40ea4
Hex Editor - add shift highlighting logic to up,down,left,right,pageup,pagedown keys, add multi-highlight logic to tab and shift+tab. Still todo: several other keys.
2012-06-23 20:48:17 +00:00
adelikat
12e674973d
Hex Editor - implement a find box with Find Prev/Next functions. Also make find highlight all values in the search string when finding a vlue, add Find Next/Prev menu items with hotkeys.
2012-06-23 18:45:01 +00:00
zeromus
c89b55696a
some text changes to aboutbox
2012-06-21 16:26:26 +00:00
zeromus
d302db48b7
remove tahomas from the gui--shouldve been unset (use defaults)
2012-06-20 22:29:00 +00:00
zeromus
8bf9b92949
nes-support mapper 241
2012-06-20 22:24:56 +00:00
zeromus
a5df44f1a7
why is segoe ui 9 used in the hex editor instead of tahoma 8.25 like everything else ? not anymore
2012-06-20 22:22:33 +00:00
adelikat
980e23b419
Hex Editor - better window size
2012-06-20 01:01:18 +00:00
adelikat
985af6f34c
Hex Editor - Find - implement multi-select
2012-06-19 23:44:36 +00:00
adelikat
11de294bf5
Hex Editor - implement multi-highlight, make freeze/unfreeze, add to ram watch, and copy use all highlighted addresses. Add Copy & Paste to context menu
2012-06-19 02:42:07 +00:00
adelikat
6bfb4be61c
Hex Editor - fix scroll wheel scrolling broken on last Hex Editor commit
2012-06-19 01:33:32 +00:00
brandman211
cd6cf72195
"Prev Value as change" and "Display Watches On Screen" now restored by "Restore Default Settings" in Ram Watch.
2012-06-19 00:27:57 +00:00
adelikat
640269318c
Hex Editor - another tiny speedup by moving something outside the values generation function
2012-06-18 03:39:21 +00:00
adelikat
b4c10f2e15
Hex Editor - several fps speed up - only draw left column of addresses when needed instead of every frame
2012-06-18 03:34:14 +00:00
adelikat
b40d0eb199
Update about box to reflect the 1.0.4a release
2012-06-18 02:58:21 +00:00
phillip.grimsrud
a6ced95e07
1. Fixed tastudio memory leak. This was accomplished by dropping the oldest saved stats after hitting a size limit (1 GB).
...
2. Changed StopOnEnd to StopOnFrame. This expands the functionality so that you can tell the emulator to run and then stop at a predetermined point.
3. Expanded the functionality of RewindToFrame to handle more cases. Now you can go back or even forward to a frame and it handles the execution and greenzone appropriately.
4. Due to the change in structure some code was changed to check the index of the first and last saved states in the greenzone rather than relying on the size of the saved state list.
5. Changed the list of saved states in the movie log from a list of byte[] to a list of structures (the structure has an int for the index and byte[] for the state).
6. Saved an init state in the movie log. This is used to go back to the beginning if the beginning of the movie is no longer in the list of saved states.
7. Expanded the AddState and SetFrameAt logic in the movie log to account for the fact that the size of the saved state list is now capped.
8. Fixed a bug in the log interpretation for SMS.
9. Fixed a bug in the sms virtual controller, buttons 1 and 2 were hooked to the wrong objects.
10. Fixed the tastudio listview to show lag as pink.
2012-06-18 01:36:38 +00:00
zeromus
4435b58c0b
fix messages (e.g. savestates) anchored to bottom or right of window
2012-06-17 23:07:57 +00:00
goyuken
a4cbce89f0
VideoWriterChooserForm: save config
2012-06-17 15:09:53 +00:00
goyuken
766737ca63
FFmpegWriterForm: save config
2012-06-17 15:04:41 +00:00
adelikat
714c090e86
Add GoodNES 3.14's 'good dump' of Lagrange Point to gamedb
2012-06-17 13:42:09 +00:00
adelikat
16d0afa607
update version to 1.0.5 interim.
2012-06-17 00:05:50 +00:00
adelikat
61fe30b316
Oops, also add natt
2012-06-16 23:51:48 +00:00
adelikat
5f76625939
About box - updated version and release date, add pasky13 and link_7777 as contributers
2012-06-16 23:50:29 +00:00
adelikat
bcef8e62d7
Hex Editor - fix bug where highlighting highlights the row above, was broken by my last Hex Editor commit
2012-06-16 23:11:43 +00:00
goyuken
42c9a78047
Add FFmpegWriterForm, dialog choosing what ffmpeg format to write to
...
Fix some error handling and cleanup
2012-06-16 16:51:47 +00:00
zeromus
21b1bde8af
forgot part of the config serializer fix checkin
2012-06-15 19:55:11 +00:00
brandman211
713a016704
"Previous Value" and "Change Counts" options moved to a new View submenu for Ram Watch.
2012-06-14 00:00:53 +00:00
goyuken
f69fc08012
Redesign a/v writer selection. A simple dialog is shown with a list of all IVideoWriter possibilities
2012-06-13 19:50:50 +00:00
goyuken
e1a3f687b5
NutMuxer.cs: add actual pts-based stream interleave code
...
FFmpegWriter.cs: use NutMuxer to create a muxed raw AV stream to send ffmpeg, so ffmpeg can output audio and video from a single stdin pipe
2012-06-13 17:22:45 +00:00
goyuken
36860f5c16
NutWriter.cs: fix overwrite on existing file
2012-06-13 15:49:58 +00:00
goyuken
45b8b38d22
JMDWriter.cs: fix overwrite on existing file
2012-06-13 15:42:19 +00:00
pasky1382
eea900a99f
Added color option to the new address header in the hex editor.
2012-06-13 02:44:19 +00:00
adelikat
ac96d4cc4a
Hex Editor - draw header only as needed rather than every frame, 1-2 fps speedup
2012-06-13 02:18:34 +00:00
adelikat
c22ba4da32
Lua - gui.drawpixel - make color optional (and default to black if not specified)
2012-06-13 01:09:21 +00:00
adelikat
f7d66d4924
Hex Editor - prevent sound stutter when opening Color config dialog
2012-06-13 00:21:11 +00:00
pasky1382
16a24df692
Added initial values to the HexEditor color globals (left this out in my last commit).
2012-06-12 03:54:40 +00:00
pasky1382
48e2f8c7dd
Added Highlight, Freeze, and Freeze Highlight color options in the hex editor. Cleaned out the custom color code from HexEditor.cs
2012-06-12 03:50:25 +00:00
zeromus
fec1ee0958
fix more memory leaks in lua drawing (rectangle, pixel, line, bezier)
2012-06-12 03:24:15 +00:00
adelikat
36aed5008e
Ram Watch - when adding a new address, set previous = value
2012-06-12 00:31:22 +00:00
brandman211
160694a0d4
Set up Watch.cs for Diff.
2012-06-12 00:13:02 +00:00
goyuken
c2e88829f6
Add NutWriter, which writes uncompressed audio and video to the crappy Nut container. Will be used for piping audio and video at the same time to ffmpeg once it's been tested some more.
2012-06-11 23:24:57 +00:00
zeromus
c823d6b46a
try fixing lua "buffer overflow" stack corruption crash when GC occurs while calling a cfunction
2012-06-11 22:15:49 +00:00
zeromus
34dd2812f6
fix lua memory leak (maybe affected today, but the leak is from may 6) and revert some virtuallistview changes which break more things than they fix. it seems .net's listview just happens to blow up internally constantly when its in virtual mode and recover from the exceptions.
2012-06-11 04:20:13 +00:00
adelikat
da1aebe1ac
Hex Editor - some minor code cleanup including putting highlight colors in the config file for eventually adding to the color picker
2012-06-10 23:34:37 +00:00
zeromus
c7925d986c
delete display manager threading. fix gdi+ leaks in lua code. add abstracted OSD drawing "blitter" system for sysdrawing/d3d dual compatibility and framework for future use for faster lua drawing.
2012-06-10 23:27:30 +00:00
adelikat
2574789564
Hex Editor - color picker not modal, move "nibble" display lower to not clash with underline
2012-06-10 22:54:41 +00:00
pasky1382
7ef1151b99
Added a 'Custom Colors' Dialog for the Hex editor tool.
2012-06-10 22:43:43 +00:00
zeromus
18eee77173
kill a bunch of warnings
2012-06-10 22:38:44 +00:00
zeromus
b9b18137db
fix a stupid bug
2012-06-10 21:16:23 +00:00
zeromus
07ad0acdbe
displaymanager experiments for superior vsync
2012-06-10 20:48:04 +00:00
zeromus
2b5fd9e8d9
display manager speedup-dont use any gdi+ unless absolutely necessary (d3d renderer less sensitive to window size)
2012-06-10 19:52:54 +00:00
brandman211
7d23581764
Set lastchange to Value in Watch's explicit value constructor to match the change to prev.
2012-06-10 19:33:11 +00:00
adelikat
a2a98415bf
Ram Watch - show initial value of a watch when it is initially added (from adding it or loading a file). Fixes issue 74
2012-06-10 17:45:20 +00:00
adelikat
81198cc89f
Hex Editor - add a save as binary option (in addition to the text option)
2012-06-10 17:28:38 +00:00
adelikat
bac863aa70
Hex Editor - add Copy/Paste functions
2012-06-10 16:34:35 +00:00
brandman211
646a6c1c58
-Fixed my GetMnemonic crash fix. It's "Null Controller", not "NULL Controller".
...
-Made it so that each new search zeroes out the change count.
--This prevents all non-zero items from starting out with 1 change.
--A similar fix needs to be applied to Ram Watch (Filing issue...).
-Allowed changing data size, endian, and unaligned address setting in the middle of the search and maintaining valid values, fixing Issue 72 (The last open Ram Search issue until my "Difference" idea is hopefully accepted).
--Unlike my previous model, this does not align unaligned addresses; all it does is change the size / endian and PeekAddress.
--It does remove unaligned addresses, however, if you have it set to.
--This version converts System Bus instantly whereas the previous version stopped responding.
2012-06-10 04:32:25 +00:00
zeromus
51547d208a
no blurry presentation on ati cards by setting minify filter to point. to be honest, i cant fathom why this fixed it, since we're magnifying, not minifying. maybe its auto-aniso heuristic was getting triggered. further research: setting card to fixed 2x aniso disables heuristics and would have fixed this issue, since the correct mag filter (point) would get chosen as we specified. however this fix is still technically correct.
2012-06-10 03:53:32 +00:00
zeromus
5b86a9c375
emergency measures to return display thread stuff to the way it was before (i think? i hope?) as a reasonable baseline when no video pipeline fanciness is called for (no lua overlay, for instance) so that this is useful for gaming again. also add a toggle for the entire HUD system which bypasses some extra work for people stuck in sysdrawing mode who need more speed.
2012-06-10 02:19:36 +00:00
goyuken
966509858d
disable old debug code in FFmpegWriter.cs
2012-06-10 02:09:37 +00:00
goyuken
32d163e409
add FFmpegWriter, pipes data to ffmpeg for encoding. Only handles video directly; audio is saved as .wav file separately (via WaveWriterV).
...
ffmpeg parameters cannot be set at the moment, defaults to x264 rgb lossless in mkv
2012-06-10 00:53:19 +00:00
adelikat
3451d3391e
Refactor readword/dword similarly to Ram Search
2012-06-09 22:56:08 +00:00
adelikat
e025ca99bf
Hex Editor - Find - start searching from highlighted value so that multiple find calls go to the next value. Show highlighted value in input box by default.
2012-06-09 22:45:24 +00:00
goyuken
e2bc6db3a4
new build of ffmpeg from http://ffmpeg.zeranoe.com/builds/
...
supports rgb x264, which can be quite useful for emulator dumps
2012-06-09 22:18:44 +00:00
brandman211
2580489986
Refactored previous parameter in CompareTo and ComparePrevious from strings to enums.
2012-06-09 22:10:39 +00:00
adelikat
b2c9171b90
Hex Editor - Find option, allows you to enter a series of hex values and search ram for this combination
2012-06-09 22:04:09 +00:00
adelikat
c0d5437ff4
Ram Watch - revert "fix" to watch count display, make watch list count update in appropriate places, don't count separators in watch count, fix cosmetically be showing "watch" instead of "watches" when there is 1 address
2012-06-09 21:57:00 +00:00
brandman211
376ffd3ba4
-Refactored what zeromus wanted me to and nothing more.
...
-The number of watches in Ram Watch is now updated in UpdateValues instead of LoadWatchFile, meaning that it's updated every time items are added / removed.
--Also noticed that separators count as watches. Filter these out and exclude them from the count, adelikat?
2012-06-09 21:43:02 +00:00
adelikat
14b5a4204b
Ram Search - specific value box - only show hex in uppercase
2012-06-09 16:37:03 +00:00
adelikat
45fb9571eb
Play Movie - fix browse button and drag & drop
2012-06-09 16:28:01 +00:00
adelikat
0eae1a07fc
Watches - cleanup PeekAddress() some
2012-06-09 14:18:28 +00:00
zeromus
1fbf9940c9
make peek/poke word/dword make some semblance of sense
2012-06-09 08:44:27 +00:00
brandman211
1c5a5a5ac3
Seemingly fixed the casting problem.
...
-UGLY REDUNDANT UGLY REDUNT UGLY REDUNDANT (Especially for DoSpecificValue() and DoPreviousValue()).
-I tested every possible scenario for the aforementioned abomination and it seems to work.
-I applied SignedVal and UnsignedVal to the comparison functions for sorting, the ToString functions, and specific value and previous weedings. I don't think there's any other places where this is an issue.
TODO:
-Try my mid-search data size conversion code again.
--Use it on System Bus and see if it is as slow (Not Responding) as it was previously now that 3 lists have been removed.
--Try allowing unaligned addresses and see if that makes any difference.
-Convince adelikat that moving "Prev value as change" to its own data item and column ("Differences" seems more appropriate) is the only sensible way.
-Maybe move all of the previous definitions from Ram Search to Ram Watch (With the exception of "Since last Search" of course.
-Perhaps allow the viewing / hiding of more columns on Ram Watch / Search.
2012-06-09 08:29:31 +00:00
brandman211
06d4017b07
Unsigned / signed conversion for the Specific Value now works for word / dword.
...
-Well, dword is broken in general because of casting, which will hopefully be fixed soon...
2012-06-09 06:52:04 +00:00
brandman211
720193b50f
-Cleared the sorted column whenever the previous definition, data size, data type, or endian changes because these options might place the values out of order.
...
--Well, data size and endian don't, but they will once these changes take effect in the middle of a search.
-Previous can now be defined as the last change, fixing the enhancement shown in Issue 73 (Ram Watch equivalent might come later).
-Fixed unsigned sort.
2012-06-09 06:40:11 +00:00
adelikat
f02d28fb38
Ram Search/Watch, Hex Editor - improve some code efficiency, tiny speedups if any
2012-06-09 05:34:01 +00:00
brandman211
f716caeae5
Temporary fix for the ROM loading crash issue. Will report if it crashes again.
2012-06-09 02:24:19 +00:00
brandman211
3b54bd268a
-Useful refactoring!
...
--prevList, undoPrevList, and redoPrevList removed. All of the definitions for previous are now stored in separate data items.
---Should yield small speed increases.
---Makes it easier to port these definitions to Ram Watch eventually.
---Auto-aligns data, making it impossible for issues, such as the original values not aligning with the correct values because the prevList wasn't recreated, impossible.
---Makes it possible for the field to automatically update when the definition is changed (Implemented).
--Value/PrevToString() now use the same code.
--Reduces redundancy.
---This was a problem as PrevToString wasn't taking into account the data type, whereas Value was. This is now fixed.
-Watch now stores the data for the "last change" previous definition. Now I just have to set up the option in the GUI.
2012-06-09 01:56:56 +00:00
brandman211
eefb41f0b3
-Added message saying that the data type has been converted when you change the data type.
...
-Moved the "Included mis-aligned" box to data size where it should be.
2012-06-08 18:59:20 +00:00
brandman211
e5972f1368
Fixed Issue 44. I created two new lists, undoPrevList and redoPrevList which are updated / restored in the same places as their counterparts with prevList instead of searchList.
2012-06-08 06:23:33 +00:00
brandman211
3aaf57802c
Fixed Issue 43. In hindsight, the problem was very obvious: "Since last frame" uses searchList while the other options use prevList, and only the former ever got sorted!
2012-06-08 05:15:07 +00:00
brandman211
4a6fed75d9
ConvertListDataType now converts all of the lists.
2012-06-08 02:25:24 +00:00
brandman211
67a9f86c78
-Fixed GetSpecificValue(), which means that signed searching works now.
...
-Upon changing data type, the contents of the specific value box converts accordingly.
2012-06-07 23:17:22 +00:00
zeromus
cff7ba6d24
nes-fix lagrange point, including sound
2012-06-07 20:52:49 +00:00
brandman211
38d22b8549
Exlude => Exclude. >_<
2012-06-07 20:24:29 +00:00
brandman211
5a678f96d8
Fixed Issue 69 by properly chucking the invalid lines out of watch files instead of trying to get out of range substrings and parsing non-numbers as integers. Also, as the newly stored SystemID has yet to be accounted for in any way, I made the parser skip those lines. Not sure if there's something Ram Watch should do with this data as it seems like the SystemID is more accurately defined by the core currently running.
2012-06-07 18:41:39 +00:00
phillip.grimsrud
cb4c45eb70
1. Upgraded insert and delete functions in tastudio to support multiple selection.
...
2. Fixed issues with the light blue current frame pointer in tastudio
3. Removed a totally useless index that was being kept seperately in the movie log.
4. Moved the tastudio update after the check to see if the rest of the saved state list is valid.
5. Changed some function/variable names related to the movie log for clarity.
2012-06-07 04:47:54 +00:00
adelikat
93b266838c
Add drag & drop for lua and luases files to main window. Allow multiple lua script drop to console and main window
2012-06-07 03:41:45 +00:00
adelikat
c8d07a5078
Ram Watch/Search - add System ID to .wch files
2012-06-07 03:16:25 +00:00
beirich
7e1ccc4faf
Update gamedb entries for Neutopia 1 & 2
2012-06-04 22:25:43 +00:00
adelikat
a9eeac6d64
Lua - fix bug that was causing lua functions to duplicate each time a lua script was toggled or opened, eventually causing crashes.
2012-06-04 02:33:34 +00:00
beirich
fe369e0455
pce: alter handling of reading $1FF402 irq status port, fixes Aldynes intro freeze
2012-06-03 20:09:09 +00:00
beirich
775845184c
update ROM header detection algorithm. Fixes some homebrew roms which have no header and aren't padded to a multiple of 1024 bytes.
2012-06-03 05:39:30 +00:00
phillip.grimsrud
c7db5fd543
1. Fixed an issue that prevented going into the movie finished state properly.
...
2. Relegated a memory leak to tastudio.
2012-06-03 04:04:13 +00:00
adelikat
1275744b14
Disabling unchecked greenzoning for now
2012-06-03 01:18:13 +00:00
adelikat
8ca6b24614
Cheats, Lua, Ram Search/Watch - flag changes when adding a separator, default to SaveAs if saving a new file, allow Save in menu item in this scenario
2012-06-02 22:06:00 +00:00
adelikat
393dd9dcfe
Ram Watch/Search, Hex Editor - set endian based on the endianness of the memory domain by default
2012-06-02 21:48:09 +00:00
adelikat
0a0c4b43ae
Hex Editor - add Go to Address to the context menu
2012-06-02 21:18:21 +00:00
adelikat
a74fbb84fe
Fix Ram Poke for Ram Watch/Search dialogs
2012-06-02 21:07:29 +00:00
adelikat
6578371bca
Hex Editor - remove poke context menu item, since there is no need for it, just type in the values!
2012-06-02 18:49:06 +00:00
adelikat
2e5547806d
Ram Search - add View In Hex Editor menu item to the context menu
2012-06-02 14:38:35 +00:00
phillip.grimsrud
d6479e5613
These changes are TAStudio related.
...
1. Added a list of save states to the movie log.
2. Added corresponding support functions for the save states.
3. Added double click to the list view to load a previous frame.
4. Added a context menu to the list view with insert and delete.
5. Fixed some issues with the green zone of valid state history.
6. Fixed an input bug that I had unwittingly created, as well as issues with the nes log format.
2012-06-01 05:49:26 +00:00
adelikat
986774f5ee
Multiclient menu - moved many toggles from the GUI to the Enable submenu. Also fixed a taborder mistake in the hotkey config dialog
2012-05-31 01:51:47 +00:00
adelikat
820875fbae
Multiclient menu - disable the movie, avi, and screen shot menus when no ROM is loaded
2012-05-31 01:13:25 +00:00
adelikat
9d5e4d9451
Fix so that rewind only sends bizhawk into play mode if it was in record mode previously
2012-05-30 00:52:08 +00:00
phillip.grimsrud
c813cd853b
Fixed a rewind buffer problem. A recent hack started the rewind buffer by saving the state after frame 0 to the start of the rewind buffer. This fix saves the state to LastState at the end of the rom load. This way the rewind buffer starts with a diff between the state after rom load and the state after frame 0.
2012-05-28 04:59:22 +00:00
phillip.grimsrud
9a1e18045e
Fixed rewind to still work if there is no active movie.
2012-05-28 03:32:27 +00:00
adelikat
0118b34b41
Slight UI fixes - show mapped hotkey for Open TAStudio on TAStudio menu item, fix alignment of a few boxes in the hotkey config
2012-05-28 03:09:47 +00:00
phillip.grimsrud
bf325ec082
Fixed TAStudio read-only mode button to change the movie mode instead of changing the read-only flag which has a different meaning.
2012-05-28 01:50:16 +00:00
adelikat
520dfcb37b
Revert SetReadOnly() function
2012-05-28 01:29:43 +00:00
phillip.grimsrud
f7ee1dbbf3
Added an image for the TurboFastForward button which was entirely forgotten in my previous commit.
2012-05-28 00:56:51 +00:00
phillip.grimsrud
fc0ec832ae
These changes are for TAStudio upgrades. If I've broken other stuff please yell at me.
...
1. Hooked up Fast Forward, Fast Forward to End
2. Made a placeholder for Turbo Fast Forward.
3. Fixed rewind to not stomp on the previous frame with new input.
4. Fixed rewind to stop at the beginning of the movie instead of freaking out.
5. TAStudio now shows data from the most recent frame.
6. CommitFrame is called even if not recording so played back frames also show up in TAStudio.
7. Play mode only stops at the end of the movie if you tell it to. Your emulator normally continues to play with no input after the end of the movie.
8. TAStudio is now updated after a rewind (even though the rewind doesn't play a new frame).
9. Split the tools update into before and after updates.
10. Going into read-only mode adjusts the movie mode.
11. Implemented New, Open, Save, and Save As for TAStudio.
12. Fixed an issue where frames past the end of the log would default to the input from the last frame of the log.
13. Fixed a problem where you couldn't rewind to frame 0.
14. Fixed a scrolling issue in the TAStudio list view.
15. Fixed an issue with the TAStudio virtual NES controller not matching up with the log.
16. Fixed an issue where the NES reset button would get held in when rewinding.
17. Added/Modified a couple of button graphics.
2012-05-28 00:44:27 +00:00
adelikat
bd3e576614
Move Help menu back to its intended location
2012-05-20 15:37:01 +00:00
adelikat
147caec758
GameboyHawk - Skip BIOS menu option
2012-05-19 15:17:32 +00:00
adelikat
b08d338761
Gameboy - make debugger useful by connecting it to the multiclient events
2012-05-19 13:33:45 +00:00
adelikat
abba87738f
Fix input config for Gameboy, some small random work on ColecoHawk
2012-05-18 22:57:05 +00:00
zeromus
42715fdca7
rehabilitate the GB core: fix videoprovider and input system
2012-05-18 18:28:12 +00:00
adelikat
9c5f56308b
Gameboy - fix the assigning of the active controller/autofire controller when loading a gameboy core (fixes crash when attempting to run a gameboy game)
2012-05-16 03:14:50 +00:00
brandman211
7ab8fe087a
Fixed drop down labels in RAM Watch and Search.
2012-05-12 07:07:34 +00:00
brandman211
23b3cedf7d
Removed the now redundant TargetZoomFactor scaling for drawRectangle. Drawn shapes now scale nicely. Whether or not text should be drawn this way is a worthwhile discussion IMO, but as zeromus has said, it would require text to be drawn in the same way like shapes.
2012-05-11 21:11:29 +00:00
goyuken
78a0494708
add WavWriter, writes standard WAV files for capture. For the moment, only available as its own IVideoWriter (that discards all video frames). Choose by selecting .wav format in the start avi capture file select dialog.
2012-05-11 17:00:44 +00:00
goyuken
b35ab0d936
Add JMD to config.cs, and fix whitespace on JMDWriter.cs.
...
My editor whitespace settings are correct now, I promise!
2012-05-10 00:38:26 +00:00
goyuken
a313d3910d
Add sound output to sound card while dumping is occurring. Uses a proxy ISoundProvider (DualSound.cs) to guarantee emulation sound core and dumping routine are unaffected, while sending "best effort" sound to system output. Doesn't sound great, but simple and functional.
2012-05-09 20:21:23 +00:00
goyuken
35a9edc018
Refactor JMDWriter to be a bit less painful to read
2012-05-09 15:08:57 +00:00
goyuken
d0ada9dbb3
AviWriter.cs: be informative if worker thread dies
2012-05-09 01:00:16 +00:00
goyuken
d70a4e0a9c
clarify some comments and add more comments to JMD code
2012-05-09 00:15:59 +00:00
goyuken
1980011952
Add user interface to select compression options (level and number of threads) for JMD dumper.
2012-05-08 22:19:12 +00:00
goyuken
037870eb43
Select between JMD and AVI at save file dialog.
2012-05-07 23:18:08 +00:00
goyuken
ab6f9b175f
Add JMDWriter.cs, dumps to JMD format. No 2G limit, and single segment even across multiple resolutions. Can use a bunch of cores, but still not terribly fast. Hasn't been hooked in to the UI yet; for testing, change MainForm.cs:2669
2012-05-07 21:45:25 +00:00
zeromus
de0cdf1c3c
add sharpziplib for gzip so we can make portable JMD dumping without relying on the native 7z.dll
2012-05-07 18:42:43 +00:00
goyuken
cdd82cbb06
Rename VideoWriter IVideoWriter per zeromus
2012-05-06 22:18:16 +00:00
goyuken
02ca0e82e9
Create new interface VideoWriter, which AviWriter inherits from. Sets up for other video dumping systems.
2012-05-06 22:08:47 +00:00
zeromus
857d0a5b39
voila, "emu" resolution lua drawing, hacked in place of the native resolution drawing because rolanmen1 decided to destroy my surface management paradigms (i can tell because the earth is scorched with spaces instead of tabs)
2012-05-06 07:09:04 +00:00
brandman211
05157997f1
-Added a very basic fix to the graphics scaling issue per adelikat's advice.
...
--Gets worse as the scale increases.
--For x3, the box doesn't increase size, but the box still changes position. I think there might be a difference between the TargetZoomFactor and the actual screen size, so perhaps we should tie this to something else.
-Working on very small optimizations to the NES PPU with CorruptedSyntax...this is more fun, so we'll do this first.
--Eliminated an entire loop.
--Branched to two loops instead of branching for every iteration in one loop.
--Got rid of some redundant instructions using temporary variables.
--This may be completely premature, but I seem to have gained a few FPS from doing this. For me, I get 38-39 FPS where I'd previously get 33-34.
2012-05-06 04:09:28 +00:00
adelikat
059aebec8e
ColecoHawk - set up ROM loading (bind .col to Coleco), set up preliminary controller garbage in 85 places for coleco
2012-05-06 00:54:13 +00:00
beirich
604a774118
Add 2 SMS homebrew and a GG prototype to gamedb
2012-05-05 22:43:11 +00:00
goyuken
d964558856
Multithreaded AviWriter.cs
...
Moves calls to AVIStreamWrite() to a separate worker thread. They are where all of the cpu time for video compression is used, so can give a decent speedup. Could conceivably go slower on pathetic single core machines due to synchronization and copy overhead.
2012-05-05 14:52:23 +00:00
Rolanmen1
9b9a8546a5
Deleted the ClearDisplaySurface functions. If you just need to clear the graphics, call gui_ClearGraphics function in LuaImplementation.
2012-05-01 15:15:19 +00:00
Rolanmen1
2799d55f4a
Now gui.drawNew and gui.drawFinish doesn't need to be invoked via Lua Scripts. However they are invoked every frame. Basically, this means that graphics are drawn and cleaned every frame. So, if you Pause/Stop a script, the graphics gets cleaned right away.
2012-05-01 14:43:17 +00:00
adelikat
22eec9c4d7
Archive Chooser - put (U) [!] roms at the top of the list
2012-04-30 01:26:37 +00:00
adelikat
54d1c873df
Fix when guitext gets cleared, reduces most of the flickering and inconsistencies with ram watch on screen and lua gui.text, fix punchoutstats lua script
2012-04-30 01:14:23 +00:00
adelikat
e60ba05e66
Gui.text - fix inverted default fore/back colors, fix lua scripts to use new gui.text parameter scheme
2012-04-30 00:45:37 +00:00
adelikat
e0dc96abdc
GUI Text / Ram Watch on screen display - fix inverted foreground and background colors
2012-04-30 00:30:44 +00:00
adelikat
fffe30f4f9
Atari - add a version of Magicard to the gamedb
2012-04-29 19:40:28 +00:00
adelikat
25c2e45da8
movies - use Global.Game.System not Global.Emulator.SystemId for the System header when recording a new movie
2012-04-29 14:18:10 +00:00
adelikat
38dd7889b3
Input Config - hide Enabled checkbox since we have no intention of supporting the disabling of a controller at this time.
2012-04-29 14:06:24 +00:00
adelikat
5e91cc2a7e
TAStudio - clear holds menu item & context menu item, clears all buttons pressed on the virtual pads
2012-04-29 13:25:35 +00:00
adelikat
8df4ac18bd
Play Movie Dialog - show warnings on mismatches for system, movie version, and emu version
2012-04-29 13:11:33 +00:00
adelikat
d9134ac6ce
TI-83 add a bunch of rom versions to gamedb, mark bad dumps accordingly, and display the version number when displaying the rom name
2012-04-29 03:58:06 +00:00
adelikat
3d10431a2b
Atari - implement console switches (as menu items)
2012-04-29 02:48:33 +00:00
rolanmen1
3bcaa8f2e6
gui.clearGraphics implemented. This will allow the user to clear the graphics whenever he wants. I also created a function ClearDisplaySurface that is used to clear the graphics whenever the user stops a scripts.
2012-04-27 20:15:07 +00:00
rolanmen1
56b8d6d55e
gui.drawImage implemented. It needs a Path, X and Y Points, Width (optional) and Height (optional). If Width or Height are null, their value will change to the original Width/Height. As with gui.drawIcon, the Path needs double backslash (\\).
...
Take in mind that if the image have transparent background, the background will be drawn in transparent.
2012-04-26 03:41:31 +00:00
rolanmen1
fd9005f361
gui.drawIcon implemented. It draws an Icon file (Path to File) in the specified X and Y Coordinates. It has 2 optional parameters, Width and Height. You can't resize the icon to be bigger than it's original size, only smaller. Oh, and Path must have double backslash (\\).
2012-04-25 20:34:50 +00:00
rolanmen1
93335d287a
Fixed gui.alert anchoring. Since do.gui.text now have more parameters, it didn't worked.
2012-04-25 19:58:17 +00:00
brandman211
cb3e0ec666
Applied the renames for "minimum buttons pressed", "minimum buttons inputted".
2012-04-25 04:56:48 +00:00
Rolanmen1
f637f5f400
gui.text now has a line color parameter.
2012-04-24 15:23:56 +00:00
rolanmen1
cefc803425
gui.text now accepts BackgroundColor parameter. I didn't had enough time to check stuff, so i will check more deeply some other time.
2012-04-24 03:57:23 +00:00
adelikat
d62b2d98e1
Hotkeys - add Open TAStudio hotkey
2012-04-24 00:11:58 +00:00
adelikat
1fc010ad56
Record Movie Dialog - make filename text box default to the game name, and change save file dialog to populate from this text box not game name
2012-04-22 14:04:10 +00:00
adelikat
2aeedf074e
Fix Load/Save Named State to default to the correct savestate path rather than the most recently used path. Fix so that these functions can not be accessed during Null emulator via hotkey
2012-04-22 13:56:34 +00:00
adelikat
75b5ec9223
redo revision 2168, this method also fixes the issue of loading a non-movie state while a movie is loaded, but also doesn't break the parsing of the savestate frame value in CheckTimeLines
2012-04-22 13:38:12 +00:00
adelikat
27239847c0
Fix so that the Save Config menu item does not close tool dialogs
2012-04-21 22:46:48 +00:00
adelikat
8711c49819
Cheats - on screen message when Disable All Cheats is performed.
2012-04-21 22:42:32 +00:00
adelikat
c112573c30
Atari - fix recording/playback & input display of 2 players
2012-04-21 18:27:37 +00:00
zeromus
1e3b38538d
fix a surface GC churn bug in display manager
2012-04-21 17:21:09 +00:00
adelikat
aecd849eb5
Show svn revision number in about boxes
2012-04-21 15:25:47 +00:00
adelikat
e43b53aba8
NES Graphics Config Dialog - limit last line to 239 instead of 240 (prevents crash)
2012-04-21 15:13:42 +00:00
Rolanmen1
152f6f37e8
Added a HitBox Script for SMB2U, it runs but still a bit buggy.
2012-04-18 15:06:07 +00:00
Rolanmen1
cf9606eb49
Created 2 functions, GetPen and GetBrush. They will recieve an object variable to return a Pen/Brush of said color, this was made to clean the code of the draw functions.
2012-04-18 14:11:16 +00:00
rolanmen1
4db055ce36
gui.drawPie implemted. BizHawk now can make graphics. Quick Example: http://i44.tinypic.com/ibigs2.jpg
2012-04-17 21:41:21 +00:00
rolanmen1
ee8ff2c1cf
gui.drawBezier, gui.drawPixel, gui.drawPolygon are all implemented.
2012-04-17 19:58:27 +00:00
rolanmen1
733a1e7bc6
gui.drawLine implemented
2012-04-17 17:48:37 +00:00
Rolanmen1
10a73f777d
gui.drawRectangle now accepts both hex and string. Hex format is ARGB (Alpha, Red, Green and Blue respectively).
2012-04-17 16:12:14 +00:00
adelikat
68a8dd5f74
Lua - implement gui.drawEllipse()
2012-04-17 03:21:16 +00:00
zeromus
d156dbe5fc
dont crash when minimized
2012-04-16 22:12:11 +00:00
andres.delikat
1f5e4d1046
Replace the "Play" and "Record" messages for movies with Icons.
2012-04-16 21:04:00 +00:00
rolanmen1
0fd023dc8c
gui.drawRectangle now accepts Line Color and Background Color. Line Color is mandatory, background is not. If user decides to not specify background color, it won't fill.
2012-04-16 20:47:01 +00:00
andres.delikat
839a247bba
Fix input display during lag frames for NES games
2012-04-16 20:19:08 +00:00
rolanmen1
a4032aff51
gui.drawRectangle now accepts 4 parameters (X, Y, Width and Height). Should implement Line Color and Background Color as parameters.
2012-04-16 20:04:43 +00:00
andres.delikat
48f65ac847
Movie subtitles - implement ability to display multiple subtitles at once
2012-04-16 20:00:11 +00:00
adelikat
3bae8da0b6
Adjustment to height settings of osd messages, code clean up in movie.cs
2012-04-16 12:17:25 +00:00
zeromus
35fbe354c1
add threaded display manager to allow heavy OSD/compositing/filtering to happen on another thread. add a lua layer accessible via GDI+ which can be automatically composited and the simplest possible demo of it. add some filtering infrastructure and a hq2x filter set ported to c# but need to work on a minimal selector gui before its usable. separate OSD from RenderPanel so that gdi+ presentation mode now gets full OSD support. the OSD is now a little uglier because its drawn entirely differently and could use some finetuning
2012-04-16 08:18:41 +00:00
adelikat
0aa08984ed
Add SHA1 to movie headers, Play Movie - highlight sha1 in red when there is a SHA1 mismtach between the movie and the current game.
2012-04-15 03:02:07 +00:00
beirich
b3e79aa06f
Fix input chain stuff so that genesis roms can be loaded without crashing client
2012-04-14 16:02:45 +00:00
zeromus
7b86f66353
nes-oops. now, actually pass all mmc3 tests
2012-04-14 09:40:41 +00:00
zeromus
73fba31c34
nes-add mapper012 (mmc3 variant, for dragon ball z 5). add concept of mmc3 chip revision variants to mmc3 code and game database, and add proper emulation thereof. pass a bunch of mmc3 tests. simplify (to almost nothing) iNES board detection to correspond to new paradigms of virtual board types. your savestates for mmc3 games are invalidated.
2012-04-14 08:28:42 +00:00
zeromus
a1d798cc8f
nes-mark banana bad dump variants as bad in gamedb
2012-04-11 18:17:59 +00:00
zeromus
9f6820b83f
revise nes gamedb to be more organized and useful hopefully with respect to the actual kinds of scenarios we run into
2012-04-07 18:34:05 +00:00
adelikat
87fa6d5f17
Hex Editor - Context menu - fix "Add to Ram Watch" hotkey display to be Ctrl+W (was left as A)
2012-04-06 02:04:00 +00:00