Commit Graph

2426 Commits

Author SHA1 Message Date
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 b240c675ce nes-mapper 72 fixed and misc bookkeeping 2012-06-11 07:59:30 +00:00
zeromus 6462d84ac9 nes-add some docs and clarification and cleanups of the sunsoft mappers 2012-06-11 06:55:34 +00:00
zeromus 3a336b9ef4 nes-mapper 67 2012-06-11 06:32:44 +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
zeromus e9983598c2 fix virtuallistview better? re r2370 2012-06-10 23:20:53 +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 d65c16693b stop virtuallistview exceptions, maybe (for you, and me, and brandonE) 2012-06-10 22:06:19 +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