Commit Graph

3381 Commits

Author SHA1 Message Date
adelikat 90a288afeb Implement X07 mapper 2012-10-19 23:31:42 +00:00
adelikat 1b0c410cc7 SNES Graphics Debugger - remember user's backdrop settings 2012-10-19 17:23:54 +00:00
goyuken 41780b067f mainform: never skip frames when doing av capture 2012-10-19 14:51:10 +00:00
adelikat 9b55eb9705 Atari gamedb - add a game 2012-10-19 01:13:31 +00:00
adelikat 4455f85c24 add Pleiades (1983) (UA Limited) (Prototype) to Atari gamedb 2012-10-19 00:28:17 +00:00
goyuken 8575d9e0cb ffmpegwriter: remove the "lossless avi" option. apparently it uses fourcc ZLIB, which not much is likely to be able to decompress 2012-10-18 21:55:44 +00:00
goyuken 5f8f38e74a aviwriter: attempt 32 bit compression if the selected encoder rejects 24 bit 2012-10-18 21:39:42 +00:00
goyuken 485d7c05c7 make av dumping with avi a bit more graceful error handling. NES: avoid crash when the frontend behaves in a naughty manner 2012-10-18 20:57:53 +00:00
zeromus 9e50d25c16 snes-support user override backdrop color 2012-10-17 18:39:44 +00:00
goyuken a43d02a422 fix: console no longer gets spammed with "Reset" if you use the menu soft reset item while the emulator is paused. if you want to log reset information, do it from a more appropriate location (core?) 2012-10-17 15:20:50 +00:00
adelikat 279b6980fe Add authors, etc, for each core to the about box 2012-10-17 02:10:13 +00:00
goyuken ea02d40c66 add a number of UNIF board mappings. every one of these is tested playable on at least one game, but that doesn't mean it's "right" overall. as always, the only true solution is a hash identify. 2012-10-17 02:08:19 +00:00
goyuken d465599044 mainform: hawkfile bind to .unf for archive loading 2012-10-17 01:04:45 +00:00
zeromus 8f0a884924 fix archive chooser keyboard behaviour, and add a feature to deduct 16Bytes from the size if it looks like iNES 2012-10-17 00:07:28 +00:00
goyuken cffc9293c1 nes mapper 164: fix final fantasy v graphics 2012-10-16 21:59:30 +00:00
zeromus e318718a21 change libco_msvc_win32 to use vs2010, so as to avoid dependency on another (vc8) runtime. 2012-10-16 19:11:02 +00:00
adelikat 2659caec94 Path Config - fix atari browse buttons 2012-10-15 20:52:55 +00:00
adelikat ef78db51c0 Atari - fix autofire B button on player 2 2012-10-15 15:15:44 +00:00
goyuken 6925df2154 ffmpegwriter and nutwriter: fix pathname select 2012-10-15 13:36:06 +00:00
adelikat 50b6a36661 Hex Editor - fix so that you can only highlight using left click (fixes the ability to highlight multiple addresses and use the context menu) 2012-10-15 00:56:47 +00:00
pasky1382 b43acd123a megaman 4 collision viewer. 2012-10-14 20:05:54 +00:00
goyuken 5661205bda event.onmemoryread(function f) : f is now passed the address in question. similarly for onmemorywrite 2012-10-14 15:19:31 +00:00
goyuken 8d8e636450 libgambatte: add memory read\write callbacks, maybe? not sure how to test it... 2012-10-14 15:10:33 +00:00
adelikat 6fedb67949 Fix the Write callback for the MemoryCallBackSystem and refactor the object more appropriately 2012-10-14 14:08:25 +00:00
adelikat 597f5419a2 Play Movie - automatically rescan directory when clicking the checkbox options 2012-10-14 02:57:23 +00:00
adelikat ec47305e4a another bot test 2012-10-13 21:53:28 +00:00
pasky1382 918a067ab0 Added default colors (white) to other drawing functions. 2012-10-13 21:40:00 +00:00
adelikat 2881d20333 mroe bot testing 2012-10-13 21:30:19 +00:00
adelikat 91a447c2a7 another dummy commit to test bot 2012-10-13 21:27:12 +00:00
adelikat 091125b181 another useless whitespace commit 2012-10-13 21:22:30 +00:00
adelikat 66611556b5 I like tabs, useless commit 2012-10-13 21:10:20 +00:00
adelikat 012d9007af Lua - change drawBox so that the line color is an optional parameter (white by default) 2012-10-13 20:57:02 +00:00
adelikat c29a074ea8 Open ROM - add smc and sfc to "Rom Files" on non Release builds 2012-10-13 20:41:14 +00:00
pasky1382 d2e6d50360 Rockman & Forte collision box viewer 2012-10-13 19:33:42 +00:00
adelikat 557fb150c3 Lua - implement onmemoryread and onmemorywrite for the NES and PCE cores 2012-10-13 18:59:09 +00:00
goyuken 1793483aa9 make lua loadstate not trigger impossible callbacks when it runs, so it can actually work without killing the script. there are still other callbacks might not make sense? 2012-10-13 12:44:52 +00:00
adelikat 613e801b22 Path Config - hook up SNES save ram folder button 2012-10-13 12:37:10 +00:00
adelikat 30098b0ab1 Remove emu.registerbefore and emu.registerafter in favor of event.framebefore() and event.frameafter() 2012-10-12 20:55:01 +00:00
adelikat b65064eb13 Lua - start an Event library and implement event.onloadstate(), event.onsavestate(), event.onframestart(), event.onframeend, event.oninputpoll(), All of these are aliases of other functions 2012-10-12 20:19:26 +00:00
goyuken 37a916f779 fix registerbefore\registerafter drawing memory leak?? 2012-10-12 15:05:06 +00:00
adelikat ab761066e9 Lua - rehook up emu.registerbefore() and emu.registerafter(), but they have memory leaks, don't use them yet 2012-10-12 14:33:54 +00:00
adelikat adeca3fd25 TAStudio - implement Genesis virtual pad 2012-10-12 14:22:52 +00:00
goyuken 900568f5ed flush rewind buffer on CloseROM() 2012-10-12 01:19:49 +00:00
goyuken 1f0189dd2c MainForm: fix sound-related crashes on CloseROM() 2012-10-12 01:13:55 +00:00
adelikat 2dacb356c2 OOPS! Undo my change with moving UpdateToolsBefore() 2012-10-11 22:37:44 +00:00
goyuken 932952ae61 oops 2012-10-11 20:05:02 +00:00
goyuken 92827272a6 reunbreak turbo (both normal turbo and turboturbo) with sound throttling 2012-10-11 01:00:36 +00:00
goyuken b40897bb77 sound api changes. added a new ISyncSoundProvider, which works similarly to ISoundProvider except the source (not the sink) determines the number of samples to process. Added facilities to metaspu, dcfilter, speexresampler to work with ISyncSoundProvider. Add ISyncSoundProvider to IEmulator. All IEmulators must provide sync sound, but they need not provide async sound. When async is needed and an IEmulator doesn't provide it, the frontend will wrap it in a vecna metaspu. SNES, GB changed to provide sync sound only. All other emulator cores mostly unchanged; they just provide stub fakesync alongside async, for now. For the moment, the only use of the sync sound is for realtime audio throttling, where it works and sounds quite nice. In the future, sync sound will be supported for AV dumping as well. 2012-10-11 00:44:59 +00:00
adelikat f234e15df6 Movie UpdateToolsBefore() earlier in the frame loop 2012-10-10 23:38:15 +00:00
adelikat d5885938de Update Statusbar slots when the emulator is loaded 2012-10-10 22:52:11 +00:00
goyuken 927fb7070c sound throttle now respects forced throttle off (user hits fastfoward button, etc) 2012-10-10 17:19:51 +00:00
goyuken a5e2c55a68 type oh 2012-10-10 17:09:55 +00:00
goyuken f32f74eb1d rewind: work with variable length savestates without shitting a brick. this won't give good performance, though 2012-10-10 15:04:13 +00:00
zeromus 2d8ea045f3 nes-fix bug where ppu viewer sometimes wouldnt refresh pattern display when the user changed selected palette 2012-10-10 05:06:14 +00:00
zeromus e2e0e6681e fix dll search path 2012-10-10 02:43:33 +00:00
goyuken 9f9aeb6609 move libco_msvc_win32.dll to dll subdirectory 2012-10-09 22:48:41 +00:00
goyuken 7ed6eac000 gamedb_snes: remove (Beta 2) entries for tmnt, mk3, which were hash identical to (Beta) entries 2012-10-09 22:41:13 +00:00
goyuken 32a39d3fad move musashidll.dll to dll subdirectory 2012-10-09 21:39:12 +00:00
goyuken da92c276a4 move ffmpeg to dll subdirectory 2012-10-09 21:25:58 +00:00
goyuken 07463fbdc5 move libspeexdsp.dll to dll subdirectory 2012-10-09 21:12:45 +00:00
goyuken ca40ed07a2 move libsneshawk.dll to dll subdirectory 2012-10-09 21:07:50 +00:00
goyuken a9de8b8f55 move libgambatte.dll to a "dll" subdirectory 2012-10-09 20:57:55 +00:00
goyuken 2a4bccbe12 update MakeRelease.bat for previous commit 2012-10-09 20:34:48 +00:00
goyuken 9417eac96c move NesCarts.7z to gamedb subfolder 2012-10-09 20:33:14 +00:00
goyuken 79731827f4 avoid using literal backslash in gamedb path loading 2012-10-09 01:54:15 +00:00
adelikat 16b1f28212 Path Config - on start up, set the open tab to match the console loaded, if null emulator, open up the tools tabs 2012-10-09 01:47:50 +00:00
goyuken 8c24417f8d gamedb stuffed into gamedb subfolder 2012-10-09 01:34:21 +00:00
jxq2000 16d12e8548 Autocomplete box now positions correctly, even with scrolling and different font face/size.
Still isn't very functional, nor does it move as you scroll after it appears.
2012-10-09 00:17:48 +00:00
stuyck 1b0f1a54be MokeUp for Control Config 2012-10-08 21:07:12 +00:00
goyuken 3832352dbe add default RomStatusDetails (name, sha1, md5). add pcecd specific RomStatusDetails generated from the Disc 2012-10-08 20:37:41 +00:00
goyuken c24abbcbad libsnescore: make deterministic mode savestates all the same size (previously, frame 0 savestates were slightly smaller)
rewind: throw a slightly more intelligible exception message when savestates differ in size
2012-10-08 18:18:43 +00:00
goyuken 039987cbd3 implement blurry mode for GDI drawing. it actually looks a good bit different than d3d blurry? 2012-10-08 15:35:18 +00:00
adelikat 0dfbfb592f Re-hook up Load Config, menu item got disabled at some point. Trace logger - update number of instructions when clear button is clicked, show OSD message when saving to disk 2012-10-08 00:27:21 +00:00
adelikat 39af30f481 Revert libsneshawk.dll, didn't mean to check that in 2012-10-07 20:24:07 +00:00
adelikat 8545f94315 Status Bar - right-clicking the status slots will invoke a savestate 2012-10-07 19:52:09 +00:00
adelikat 972d8f2f5b Status bar - make selected slot more obvious of a background color 2012-10-07 18:42:42 +00:00
adelikat 7fd74ecb04 dummy commit to mark the end of 1.1.1a and start 1.1.2 2012-10-07 15:41:22 +00:00
pasky1382 b0925d5631 Fixed dracula for the collision script. 2012-10-07 15:23:51 +00:00
goyuken 3d52ed49e5 fix GBC input config tab
fix GBC savestate locations
fix GBC saveram locations
fix GBC screenshot locations
fix GBC titlebar text
2012-10-07 14:52:03 +00:00
pasky1382 add29e846c Castlevania Collision box viewer. 2012-10-07 12:19:28 +00:00
brandman211 3b80905514 Added MovieOrigin to .ZMV...I knew I had to have forgotten something unimportant. 2012-10-07 04:58:12 +00:00
adelikat 2a9c78220f Update interim version number, dummy commit to mark the beginning of 1.1.2 2012-10-07 01:28:16 +00:00
adelikat c6165b8b27 Path Config - clean up interim vs release logic 2012-10-07 00:56:43 +00:00
adelikat cdc9459924 Unlock Trace Logger for releases 2012-10-07 00:51:24 +00:00
adelikat be594adb35 Lua - disable emu.registerbefore() and emu.registerafter() for now 2012-10-07 00:30:43 +00:00
goyuken b9b2292a3f restore recently lost behavior where the system-specific mainform menu is called "SGB" when running SGB instead of SNES. this involves no changes to internal passed IDs 2012-10-07 00:00:23 +00:00
goyuken 329ca16bdf unbreak toolstrip menu and controller function for GBC 2012-10-06 23:53:05 +00:00
goyuken 896e61b908 what 2012-10-06 23:27:40 +00:00
brandman211 d54b6d2f36 -Resets are imported. I don't think they count as frames.
--I think SNESHawk has a problem with processing resets!
-The author is imported. ImportZMV is probably, in effect, complete!
2012-10-06 22:36:50 +00:00
goyuken 5c4e147da3 fix loading a compressed archive containing a single .gbc file. the number of different places where you can find various extension lists is rather terrifying... 2012-10-06 22:14:10 +00:00
pasky1382 37b054ad43 Re-added the 'GBC' switch. 2012-10-06 22:02:24 +00:00
pasky1382 b1ba573695 Revert that fix, did not upload a GBC db (thought I did) 2012-10-06 21:58:44 +00:00
pasky1382 a52a9b0d44 Fixed a crash when loading a GBC rom (apparently there was no GBC case switch option) 2012-10-06 21:50:48 +00:00
adelikat 822c079011 Revert fix to emu.registerbefore/after functions because thee fix was leaking memory 2012-10-06 21:01:21 +00:00
goyuken a9ff371e63 mainform: add slightly informative error message to certain rom load exceptions 2012-10-06 20:59:44 +00:00
adelikat 29efa50eab RBIBaseball.lua - create a dialog with the forms library, that allows user to switch the handedness of each side, and batter power boost up/down buttons 2012-10-06 20:40:59 +00:00
pasky1382 c07d9686ab removed extensions in SNES db
GB and GBC now use no-intro rom set for verified good dumps.
2012-10-06 20:38:50 +00:00
brandman211 9199012b5f Finally figured out ZMV input...wasn't fun at all. Still need to figure out commands (Reset) and author data, but I removed the INTERIM flag check because this is functional enough to be included in the next release. 2012-10-06 20:28:32 +00:00
pasky1382 05cbd4c3bd Fixed for realz this time. 2012-10-06 20:11:46 +00:00
pasky1382 514299ee1e Thanks...NATT!! 2012-10-06 20:01:32 +00:00
goyuken c51d3f787c fix crash in snesgraphicsdebugger when it is immediately moused over after load 2012-10-06 20:00:59 +00:00
pasky1382 b8432b38d5 Ur mom 2012-10-06 19:50:45 +00:00
pasky1382 0945c6f937 wrong name... 2012-10-06 19:48:30 +00:00
pasky1382 2ab2c10bdf SNES Cart database 2012-10-06 19:47:24 +00:00
pasky1382 d1248e0379 Imported movies retain their original extensions + .bkm 2012-10-06 18:52:33 +00:00
adelikat f8a962294a Lua - fix memory leaks 2012-10-06 18:39:38 +00:00
pasky1382 03e4403b9c Imported movie files are now automatically copied over to .\Movies directory and no longer keep their old extensions (i.e. movie.fcm2 is not longer movie.fcm2.bkm but movie.bkm) 2012-10-06 18:19:07 +00:00
adelikat 0ca3fc3167 Movies - add PAL flag to movie (if recording in pal mode!) 2012-10-06 17:22:32 +00:00
adelikat b8070bc92f Lua - fix emu.registerbefore() and emu.registerafter() 2012-10-06 16:13:45 +00:00
pasky1382 ba95c5c5fc Added filtering for simon's quest. 2012-10-06 15:49:28 +00:00
adelikat 1c17f8dbed Lua Drawing - fix so that multiple scripts can draw at once 2012-10-06 14:36:02 +00:00
adelikat 644ed40f59 Move lua drawing to after the frame instead of before 2012-10-06 14:24:12 +00:00
goyuken ea32688bf8 on_snoop(nil) will unregister the callback 2012-10-06 13:37:31 +00:00
goyuken b545d79fb6 lua: add emu.on_snoop() 2012-10-06 13:34:04 +00:00
adelikat e7112a9a5d Make the Lua Function List dialog modeless 2012-10-06 13:09:45 +00:00
adelikat 6aa9608a77 GGHawk - Hook up Highlight Active Display Region option, make this and Show Clipped Regions take effect on Core load 2012-10-06 12:37:38 +00:00
adelikat b88d5ffd5e GGHawk - add option to show clipped regions, show GG menu item, also show on SG-1000, cleanup of the sms/gg/sg menu 2012-10-06 12:27:56 +00:00
goyuken 2229b0ab93 add "FirmwareSHA1" to movie header for SGB and PCECD 2012-10-05 21:04:46 +00:00
zeromus a080889483 oops 2012-10-05 18:37:20 +00:00
zeromus a00081386d fix some things related to sgb movies 2012-10-05 18:20:27 +00:00
pasky1382 e3e15d2136 Castlevania II Simon's Quest collision box viewer. 2012-10-05 11:59:52 +00:00
zeromus 96089026cd remove "SGB" systemid because its gonna cause a lot of trouble if we dont hook it up in a lot of places.. why can't we set it up as just a regular snes core? and run the sgb rom through the snes firmwares directory. 2012-10-05 04:47:45 +00:00
brandman211 515fd82b32 Fixed the savestate size calculation. 2012-10-05 01:10:58 +00:00
adelikat f78e901c79 Path Config - change Base Folder to Global Base 2012-10-05 00:57:27 +00:00
adelikat ec8451b6f6 Path Config - add an info icon that opens a popup for the special path options (., .., %recent%, %exe%) 2012-10-05 00:49:04 +00:00
goyuken 6c723e6815 move ramsearch\ramwatch\hexeditor from toolsbefore to toolsafter. for live play, there is real change. for frame advance play, you now get the most current value when paused between frames. this also fixes a host of minor bugs where tools could have their values change while paused because something else triggered an update to the most current state. 2012-10-04 21:56:40 +00:00
goyuken ab3377184a RamWatch: fix bug where the "Value" column showed previous and not current 2012-10-04 21:01:58 +00:00
goyuken 55b2e74dac SNESGraphicsDebugger: don't process hooks when form is not visible. fixes significant snes speed regression in r3300 2012-10-04 19:59:39 +00:00
pasky1382 909ccef52f DKC3 collision script. 2012-10-04 18:34:04 +00:00
brandman211 35bd1539f8 -Added entries for all of the .sha256 records to the header.
-Added support for the following .lsmv records: projectid, port1, port2, starttime.second, starttime.subsecond
2012-10-04 06:50:47 +00:00
brandman211 ae1f987061 -Removed the magic strings from MovieImport.
-Fixed some headers for ImportVBM.
-Treated .VBM SGB movies as GB movies with an extra comment.
-Confirmed that real SGB movies from LSNES import properly.
-Noticed glitchy graphics during SGB movie playback...will investigate.
2012-10-04 06:14:21 +00:00
adelikat 41ffc7c827 change name of the Bilinear filtering option menu item text 2012-10-04 02:09:40 +00:00
adelikat 6740b1b8bf Hide Sound Throttle option in non-interim builds 2012-10-04 02:05:07 +00:00
goyuken 98d9f13600 change IEmulator.DeterministicEmulation to get-only; the old interface implies that a core should be able to take a change to the property at any time, which isn't feasable. most existing cores changed to return true all the time. SNES now takes determinism parameter in Load() 2012-10-03 15:31:04 +00:00
goyuken e509b0cd9b snes: Add "BUS" memory domain. Like GB, caveat that it could possibly maybe affect sync, maybe... doubly so because I can't penetrate byuu code so well. 2012-10-03 14:54:32 +00:00
pasky1382 7c3551b918 Holy Diver collision viewer (NES) 2012-10-03 02:24:38 +00:00
goyuken 05500ac6b1 more efficient sleeping in sound throttle system 2012-10-02 22:05:07 +00:00
goyuken c8849a8422 work around memory leak in captureOSD; probable original cause: SysdrawingRenderPanel 2012-10-02 21:28:14 +00:00
zeromus 56f58caf4d snesgfx-preliminary work on bg tilemap entry viewer. 2012-10-02 09:28:57 +00:00
adelikat 3c3ec0f307 Trace Logger - misc cleanup - tab orders, good initial position of the maximum lines config pop up 2012-10-02 03:16:28 +00:00
adelikat 9b234aa193 Controller Config - make saving/loading work on NESGamePad 2012-10-02 02:35:04 +00:00
adelikat f5700351c9 Controller Config - make a GamepadConfigPanel base class to build the NESGamePad from 2012-10-02 01:22:52 +00:00
goyuken 2a2ce9891c round up number of samples requested in audio throttle mode to work around quirk in vecna metaspu. a better solution will be coming, sometime 2012-10-02 01:05:29 +00:00
adelikat 13150961cb Controller Config - make input widgets work, also consistent namespace on hotkey dialog (no ((intended)) functional change) 2012-10-02 00:23:37 +00:00
zeromus df039f3b89 snesgfx-add some preliminary tile viewing support 2012-10-01 21:51:55 +00:00
goyuken 66dd752f77 realtime sound throttling. i don't think this implementation is very good, but hopefully it's a starting point. to test it, disable other forms of throttling first (vsync, frame limit). 2012-10-01 15:20:41 +00:00
goyuken d4f5ed2f50 Movie playback and recording will now set IEmulator.DeterministicEmulation = true; only snes core actually does anything with this. It hasn't been explained before in a log; so I'll do it now: When in deterministic mode, the snes core internally does exactly one savestate each and every frame. Then, if the frontend calls savestate at all, it always gets the same internal cached savestate. If the frontend doesn't call savestate, then the internal savestate is simply discarded. This way, the exact same number of RunToSave() calls occur every time. 2012-10-01 14:39:52 +00:00
goyuken 2e70656dde add bilinear filter display option (d3d only) 2012-10-01 02:30:25 +00:00
adelikat 6e7a906cf5 Controller Config - some tweaks, but input widgets aren't working, dont' know why 2012-10-01 01:55:08 +00:00
zeromus 388f62f140 dont crash if xinput isnt available. i think thats important for some reason. 2012-10-01 01:03:04 +00:00
zeromus 1d64372aa3 snesgfx-pan in gfx viewport with middle button drag 2012-10-01 00:48:50 +00:00
adelikat d7a5c87e0a Oops, didn't mean to check that file in 2012-10-01 00:08:52 +00:00
zeromus 14958cef45 snesgfx-change bg props viewer to match viewport display selection, if you just changed to displaying a BG. also dont populate BG1 twice in the list 2012-09-30 23:59:56 +00:00
zeromus 05fabf9405 snesgfx-gain the ability to display a rectangle in the palette advising you of which colors could possibly be used by a BG 2012-09-30 23:53:12 +00:00
adelikat 108162a944 Controller Config - NES Pad proof of concept 2012-09-30 23:20:50 +00:00
zeromus f784766727 snesgfx-gain the ability to choose palettes for use in viewing tiles 2012-09-30 23:13:57 +00:00
adelikat 64b3b73464 Bizhawk - progress on new controller config 2012-09-30 21:31:32 +00:00
adelikat 075a97f1c4 Checking in my 2nd attempt at an input config overhaul, currently not hooked up 2012-09-30 19:57:33 +00:00
goyuken 878715301f i'm slightly concerned that i may have committed recently with an out of date libsneshawk.dll,
this is just a rebuild
2012-09-30 19:45:43 +00:00
zeromus f815cb5c62 tracelogger-use \r\n 2012-09-30 18:49:16 +00:00
adelikat 9d1289d8d5 Trace Logger - log to file has a textbox and browse button. Implement the Save menu item (saves what is currently logged to the window) 2012-09-30 18:37:59 +00:00
goyuken 3e139c7d7e libsnes: change frame boundary timing. from the perspective of the libsnes core, this choice is mostly arbitrary. from the perspective of the frontend, it's how input frames are divided up and lag frames are determined, and so can be rather important for TASing. the original choice of frame timing is a bit strange and causes excessive input latency and lag detection issues for pal224 and ntsc modes (but not pal239 mode). this change will most likely cause "off by one" errors in TAS sync; should be mostly easily correctable. 2012-09-30 18:05:23 +00:00
adelikat 68de3b48b7 Add a Log path option to path config, and have Trace Logger user it 2012-09-30 16:50:00 +00:00
adelikat 960d6771c8 Trace Logger - Ctrl+C on the instruction list now works 2012-09-30 15:33:54 +00:00
pasky1382 ec7522c11a Sorry, last commit. 2012-09-30 15:22:41 +00:00
pasky1382 f149873a90 2012-09-30 15:18:32 +00:00
pasky1382 d7dd4ce2e0 This wasn't already added? 2012-09-30 15:14:25 +00:00
pasky1382 32832f139b Super C Collision viewer. 2012-09-30 15:13:48 +00:00
adelikat 75c8739fb8 Trace Logger - log to file option, currently writes to Watch Filepath + GameName .txt with no option to change it 2012-09-30 14:52:36 +00:00
goyuken 89cf8e75fe mainform: fix the bug where choosing a small size from the menu (typically 1x) would cause unexpected black bars 2012-09-30 14:18:21 +00:00
adelikat 247cef6835 Trace Logger - log to the window only up to the maximum number of lines, ability to set max lines, save window position option, show status and instruction count on window, don't autoload trace logger if core doesn't have it available, close trace logger if switching to a non-traceable core 2012-09-30 13:38:37 +00:00
beirich 9b6bf79855 rewrite all controller defaults 2012-09-30 07:05:18 +00:00
beirich 1b43645d7e add XInput support, LT/RT are possible inputs now.
Any existing gamepad mappings are so, so very totally screwed.
2012-09-30 06:29:30 +00:00
adelikat 2d90368864 Trace Logger - UI changes, fix clear button crash 2012-09-30 04:28:06 +00:00
adelikat 427864841d Trace Logger - basic logging fixed 2012-09-30 03:49:53 +00:00
adelikat e865790086 Trace Logger - Hook up autoload 2012-09-30 03:09:41 +00:00
adelikat e964dfb1df Trace Logging hooked up for NES core, trace logger tool doesn't display rows for some reason 2012-09-30 02:37:00 +00:00
adelikat f8c508b1a3 Add a CpuTracingAvailable flag to CoreOutputComm and set to true for NES, set the Trace Logger menu item to be enabled/disabled based on this flag 2012-09-30 02:07:14 +00:00
adelikat 96b282ca96 Trace Logger - haz icon 2012-09-30 01:08:15 +00:00
adelikat c4e0f3516c Flag more SMS and PCE menu items as needs reboot 2012-09-30 00:58:08 +00:00
adelikat 52b8161b39 Start a Trace Logger, currently only NES has the right hooks, but it crashes when used 2012-09-30 00:53:08 +00:00
goyuken b5b164caf3 as far as i know, SGB movie recording is fully functional now. the mnemonic is the same as SNES, the system id is "SGB" 2012-09-30 00:27:00 +00:00
goyuken ddf99f789c when attempting to load SGB, unset SGB config mode if we fail to load the bios file. this avoids a catch-22 where you can't load an SGB because you don't have a rom, and you can't reset to GB mode because you can't get the menu item. 2012-09-29 23:21:55 +00:00
adelikat ff117d2c49 Add a status icon and notification system for settings that require a core reboot, status bar icon if clicked performs the reboot. Hooked up to the GB/SGB set, SMS Enable FM Chip and overclock settings. May need to flag some other settings too 2012-09-29 23:03:51 +00:00
adelikat 486d621657 Status bar icons - actually hide conditional status bar icons when not relevant 2012-09-29 22:37:34 +00:00
adelikat 0e09a071cf Hex Editor - allow drag highlighting with the mouse 2012-09-29 21:13:11 +00:00
adelikat a9cb3f65e8 TASTudio - middle clicking pauses/unpauses the emulator 2012-09-29 20:54:56 +00:00
goyuken a278015404 i never know where anything is in the input system 2012-09-29 20:30:27 +00:00
adelikat 5f4ad0242f Path Config - fix behavior of the folder browser dialog 2012-09-29 20:00:00 +00:00
goyuken 4fc714d0ad more generalized directinput handling.
all axes are handled as boolbuttons with hardcoded deadzones.
all boolbuttons are handled as expected.
"slider"s are not handled because i had nothing to test against.
button names for axes have changed; button names for boolbuttons have not.
2012-09-29 19:16:37 +00:00
adelikat 76619babc1 Input Config - better images for genesis, pce, and sms, also made atari controller background transparent 2012-09-29 18:55:04 +00:00
adelikat 68358c5e4b Input Config - better nes image I think, able to clearly see all button 2012-09-29 17:17:15 +00:00
adelikat 92411aae7c Add SNES Graphics config to the Toolbox dialog 2012-09-29 16:25:28 +00:00
goyuken 7e34e7f88b multiclient: add saveram backup feature, similar to savestate backup feature, and config\menu items. defaults to ON.
at the moment, there's no way in the ui to choose to load a backup saveram.  not sure if this is desirable....
2012-09-29 15:32:44 +00:00
goyuken 0a0f4e86d8 MainForm.ClearSaveRam() no longer deletes a disk file.
From my reading of the code, this should not affect movie playback; the saveram from disk is not used when starting playback or recording of a clean movie.
If for some reason I'm wrong though, that problem should be addressed directly instead of deleting the file.
2012-09-29 14:55:11 +00:00
goyuken 6e31862d23 Support win+L \ win+R \ win+U 2012-09-29 14:43:35 +00:00
adelikat 4c3571a938 Cheats - add "Values as Hex" menu item, when turned off, allows value and compare to be decimal instead of hex 2012-09-29 14:03:32 +00:00
adelikat a38e574695 Lua - implement mainmemory.writebyterange() 2012-09-29 02:26:51 +00:00
adelikat ed832036c1 Lua - Implement mainmemory.readbyterange() 2012-09-29 01:57:25 +00:00
adelikat a68b80ad36 Lua - implement functions: nes.getallowmorethaneightsprites() and nes.setallowmorethaneightsprites() 2012-09-28 17:32:01 +00:00
adelikat 8fce215f95 Hex Editor - fix typing values with the numberpad 2012-09-28 17:24:44 +00:00
adelikat 65a4f5010a Hex Editor - fix copy/pasting multiple highlighted addresses 2012-09-28 16:18:13 +00:00
goyuken 2a59e135ea snes: add lag counter for manual 4016\4017 polling
this shouldn't break existing lag counting.
this doesn't fix the issue observed in smw2 (i have no idea what is causing that.)
2012-09-28 13:37:42 +00:00
pasky1382 44f64078a3 Organized the scripts, ported the snake rattle n' roll script from game resources page on tasvideos.org 2012-09-27 17:59:41 +00:00
adelikat 965f0934e5 pointless commit to test bot 2012-09-27 17:53:00 +00:00
pasky1382 0eefabdd79 Zeromus is getting old and senile. 2012-09-27 13:41:20 +00:00
pasky1382 a69ee5fa81 Fixed a compile error, Zeromus's lack of sleep created a typo. 2012-09-27 08:06:22 +00:00
zeromus cee04551ad snes-firmwares-hook up to gui 2012-09-27 07:27:47 +00:00
zeromus d9a55fed37 snes-load firmware files from a CoreInputComm path, which must be named exactly right; show the requisite filename in a messagebox if it's missing; but theres no GUI for the firmware path hooked up yet. 2012-09-27 07:22:31 +00:00
brandman211 14126723c0 -Detecting subframes and delayed resets in ImportLSMV now results in a warning instead of an error.
-ImportLSMV can now import GB(C) movies created with LSNES's gambatte core.
--It doesn't sync perfectly because of the subframes, but it does for a while, so the conversion is sane.
--GB(C) .LSMV files currently always have SRAM files packaged with it, which is a bug with LSNES.
---Ilari told me that a fix for now would be to ignore 0 byte SRAM files, so that's what I did.
---There are some cases in which the spurious SRAM files aren't 0 bytes, but that's on Ilari to fix, so I'll let this case fail. Yay, I contributed to LSNES!
2012-09-27 06:23:05 +00:00
adelikat d8a256a212 Fix tooltip of the Movie icon in the status bar 2012-09-27 02:19:07 +00:00
adelikat 54d31789e0 Path Config - fix positions and tab orders 2012-09-27 02:09:39 +00:00
zeromus 6c8177a08b snes-print messages from libsnes. now you can see which dsp/firmware dependency it detected for the game (it has its own heuristics, not necessarily any need for gamedb yet). still not loading the firmwares though 2012-09-27 01:38:27 +00:00
adelikat 00f9e05d5e Path Config - when clicking a tab, focus on the base path textbox 2012-09-27 01:37:56 +00:00
adelikat d4c89015a7 Message Config - fix X/Y values not updating when typing directly into the numeric boxes 2012-09-27 01:01:35 +00:00
adelikat 8f9ef8ab88 Message config - fix positioning of icon on drawing area to not be partially "off screen" 2012-09-27 00:52:45 +00:00
adelikat ff86d6d5db Config dialogs - OSD message when cancelling 2012-09-27 00:14:51 +00:00
adelikat be89bd1f3e Message Config - fix logic for dragging when using anchoring 2012-09-27 00:04:16 +00:00
adelikat da5dbb18dd Message Config - fix drawing of the x,y coordinates to respect the anchoring 2012-09-26 23:41:11 +00:00
adelikat daab149764 Add autohold to message config 2012-09-26 23:25:43 +00:00
pasky1382 a59ff337d7 Added X2 and X3 collision script viewers. 2012-09-26 21:21:14 +00:00
goyuken fc8087c344 preliminary SGB support.
1) choose your SGB rom from the path config (should probably be an .smc file of about 256KB)
2) turn on Load GB as SGB from the GB menu.
3) load rom again.
To turn off, uncheck Load GB as SGB from the SGB menu.
2012-09-26 15:59:14 +00:00
goyuken f1a31bcac8 kill sound during d3d "reacquire" loop 2012-09-26 14:22:57 +00:00
goyuken 240a2e2425 fix d3d devicelost errors, maybe.
more feedback is needed.
2012-09-26 14:01:54 +00:00
pasky1382 72b1e1222a Minor edit: Renamed the boolean so that it makes more sense. 2012-09-26 04:30:35 +00:00
pasky1382 8b3e54b397 Added Megaman X Hitbox viewer lua script.
Fixed Hex Editor's FindNext/FindPrev functions.  FindNext/FindPrev now accept an additional argument (bool) that tells them to wrap around once.  Fixed a bug where if the matched address was the 1st byte of the array it was ignored.
2012-09-26 04:25:45 +00:00
adelikat 453b35e6f4 oops 2012-09-26 04:01:10 +00:00
adelikat df767b9b6f Message Config - ability to toggle the "stacking" effect on general OSD messages 2012-09-26 04:00:42 +00:00
adelikat 6a2e17f143 Hex Editor - don't show 0 length Memory domains (prevents showing SNES CARTRAM in situations it doesn't exist and thus crashing the hex editor) 2012-09-26 03:30:19 +00:00
adelikat 1a4962b8c8 Fix Hex boxes in various dialogs to allow ctrl+C/A/V, such as game genie, cheats, ram watch/search, etc 2012-09-26 02:46:13 +00:00
adelikat d5fc8f1c89 Hex Editor - fix Ctrl+C and Ctrl+A in the hex find box 2012-09-26 02:30:28 +00:00
adelikat f167551154 Add a "saved" OSD message when clicking ok/save on config dialogs 2012-09-26 01:28:48 +00:00
adelikat 2f8ce5e1d1 SNES - hook up autofire controllers, also probably hooked up player 3 & 4 that were probably not working up to now 2012-09-26 01:20:11 +00:00
goyuken 1f931b1551 gameboy game database. approximately 67% jesus crap+pokemon overdumps. 2012-09-25 20:22:43 +00:00
adelikat 88d17bbb1c Message Config - snazzier "X" 2012-09-25 04:11:54 +00:00
adelikat 1fe65754f1 Message Config - allow configuring of the position and anchoring of messages, fix the saving of the multitrack x,y variables 2012-09-25 04:04:54 +00:00
zeromus 52edee63d8 snesgfx-support mode7 direct color displays. still need an example of a mode 3 or 4 direct color usage 2012-09-24 07:46:54 +00:00
zeromus 4efea7605d snesgfx-support mode7ExtBg tiles & BG 2012-09-24 06:47:34 +00:00
adelikat b50839f8e3 Message Config - fix restore defaults for Multitrack settings 2012-09-24 03:24:17 +00:00
adelikat aa194ad350 NES Graphics Config Dialog - add restore defaults button, fix tab orders 2012-09-24 03:08:32 +00:00
adelikat 488a47ad5e Knock most of the filesize out of the .ico files by eliminating 256 and 128 options 2012-09-24 02:00:14 +00:00
adelikat 11c19976a4 compressing the controller images = a few kb off the file size 2012-09-24 01:48:38 +00:00
zeromus a792aba6cb never mind, i guess people in windows 7 need 256x256 icons for the same reason 2 year olds need toys with giant buttons 2012-09-24 00:49:57 +00:00
zeromus 348ea95523 shrink some icons which had about 100 32bpp variants of resolutions as high as 256x256 2012-09-24 00:44:39 +00:00
adelikat ea3172f168 Compress a bunch of png files 2012-09-24 00:38:28 +00:00
adelikat 80b73cab98 Hex Editor - pressing enter in the find box = click the find next button 2012-09-23 23:20:30 +00:00
goyuken 3280746e39 InputConfig: auto-focus the first control option when loaded
fixes issue 50
2012-09-23 22:42:27 +00:00
adelikat b6b939cb5c NES Game Genie Encoder/Decoder - pressing enter in the code box will add the cheat 2012-09-23 21:07:36 +00:00
adelikat c2bef262b9 Cheats - fixed column display, on and domain were reversed (domain names were being displayed in the on column). Also centered the On column text 2012-09-23 20:45:47 +00:00
adelikat 608dbf6316 Lua - implement nes.addgamegenie() and nes.removegamegenie() 2012-09-23 20:28:51 +00:00
adelikat 2f8561a81d Lua - nes library - get/set methods for sprites and background display 2012-09-23 18:57:33 +00:00
adelikat 48d6ca1fa0 Dummy commit to mark the start of version 1.1.1 2012-09-23 17:53:41 +00:00
goyuken 7e89882d42 lag counter in sneshawk
c++ is dum
2012-09-23 15:57:01 +00:00
adelikat 5d4703f71f If changing the status of a cheat in Cheats,Hex Editor, Ram Watch, Ram Search, update the other dialogs too if they are open 2012-09-23 15:37:25 +00:00
adelikat 943f1aed66 Ram Watch - show shortcut keys on context menu items that have shortcut keys 2012-09-23 15:24:06 +00:00
adelikat efbeac59b5 Ram Watch - add conditional Unfreeze All context menu item, allow unfreeze on multiple highlighted frozen addresses 2012-09-23 15:19:58 +00:00
adelikat c3c3fd6c20 Ram Search - add Unfreeze All context menu item, conditional upon there being at least one cheat in the system. Also, show an OSD message when removing all cheats 2012-09-23 15:09:29 +00:00
adelikat 076b1e9508 Ram Search - if highlighting multiple frozen addresses, show the unfreeze option in the context menu, redraw on freeze/unfreeze to update the coloring of the row(s) 2012-09-23 14:51:54 +00:00
goyuken ce482e24ad lua: gui.addmessage(string msg) 2012-09-23 14:43:33 +00:00
adelikat 2e19d31d33 lua - add nes.getclipleftandright(), nes.setclipleftandright(), also fix the previous nes library functions to work even if not in NESHawk 2012-09-23 04:26:07 +00:00
adelikat 8f3316e501 Lua - start NES library with nes.setscanlines(), nes.getbottomscanline(), and nes.gettopscanline() 2012-09-23 04:03:04 +00:00
beirich 03ebcb7ba1 add .MD = gen. because of pasky. 2012-09-23 02:44:04 +00:00
zeromus 67f484965c shrink reboot icon to 16x16 2012-09-23 01:06:22 +00:00
adelikat a7cdc8b1e9 increment build number, this marks the beginning of the 1.1.1 release 2012-09-22 23:40:11 +00:00
goyuken 56cacfe823 Fix inconsistent capitalization in IVideoWriter.ToString() 2012-09-22 22:15:06 +00:00
adelikat 7fd685c2e7 Rip out animated gif menu items in the screenshot submenu, in favor of the gif writer option in record avi 2012-09-22 21:48:22 +00:00
goyuken 911ebc38d1 add user selectable delay setting to GifWriter
may not always function exactly as expected due to web browser shortcomings
2012-09-22 21:24:20 +00:00
adelikat e156b3f722 Change SNES default controller L & R buttons to W & E (instead of Q & E) to avoid a conflict with the default Read-only toggle hotkey (Q) 2012-09-22 20:38:05 +00:00
adelikat 46ec39d7e3 Add gameboy/gbc to the open rom dialog, add gameboy palette folder to the build script 2012-09-22 20:19:39 +00:00
adelikat 16539541b4 When starting a new movie, save the old one first! 2012-09-22 20:04:37 +00:00
adelikat 42b504d363 add SNES to path config dialog 2012-09-22 19:58:58 +00:00
zeromus 6e094b673c snesgfx-this is uglier for now, but it feels more intuitive. we'll leave it until i fill in some more content. also fix it so that BG layers dont render squished nonuniformly sometimes 2012-09-22 07:57:56 +00:00
zeromus 6b81c6d91e snesgfx-animate palette details 2012-09-22 07:46:02 +00:00
zeromus 09307e8eb7 snesgfx-economize a bit more 2012-09-22 07:40:20 +00:00
zeromus 113cd53991 snesgfx-simplify viewport dimensions controls and add a couple of tooltips 2012-09-22 07:22:13 +00:00
zeromus 15cd1ef6c3 snesgfx-overhaul layout again; support bigger viewport windows and configurable viewport size; fix crashes in out of range palette area mouseovers 2012-09-22 07:07:58 +00:00
zeromus 90cdebbc30 snesgfx-change the way palette indices are displayed 2012-09-22 05:29:20 +00:00
zeromus 03cb238ae3 snes-add scanline render callbacks and add scanline selector to graphics debugger 2012-09-22 05:03:52 +00:00
zeromus 6f28003f48 rename snes.dll to libsneshawk.dll so nobody confuses it with a stock dll; static link some libs, eliminating need for libstdc++-6.dll and libgcc_s_dw2-1.dll 2012-09-22 05:02:43 +00:00
adelikat b7e8386af1 Add Capture OSD menu item in the screenshot submenu, when active, animated gifs and regular screenshots will show the OSD 2012-09-22 04:04:35 +00:00
goyuken dd4173cb3d the legacy gif writer is now also affected by Global.Config.AVI_CaptureOSD 2012-09-22 01:06:18 +00:00
goyuken a348acc1f2 add GifWriter, an implementation of AnimatedGif as an IVideoWriter
main advantage is that the emulator can be controlled while it records, like the others
the parameters for it are a bit different though...
2012-09-22 00:44:59 +00:00
adelikat 7bf325cb81 Add Capture OSD menu item to the AVI sub-menu, toggling turns on/off the OSD in AVI capture 2012-09-22 00:07:02 +00:00
goyuken e10e351e03 a\v dumping now uses a composited emu+osd+lua. (at the moment this is not toggleable; a setting must be added)
this needs a little work, but is functional...
2012-09-21 18:01:24 +00:00
zeromus 3c6549a7bb snesgfx-decode mode7 graphics 2012-09-21 17:21:21 +00:00
goyuken 600be3cc24 restore Nes PPU's old right click functionality on shift click... i think 2012-09-21 13:53:07 +00:00
andres.delikat 4bb0b87830 Ram Search - fix greater than previous value search 2012-09-21 13:32:09 +00:00
goyuken d21da3a847 NESGameGenie: fix inserting with on screen keyboard 2012-09-21 13:21:16 +00:00
brandman211 eb9f37d6bd -Fixed up warningMsg code for various importers.
-Made what seems to be progress with ImportZMV...still not functioning though.
2012-09-21 09:11:30 +00:00
brandman211 2d0d57f81d -Discovered that the infinite loop in ImportZMV is the result of RLE reading in a huge and impossible frame number.
-Made ImportZMV only work on interim versions. I don't think I will be able to get it done in time for 1.1.0.
2012-09-21 07:33:34 +00:00
zeromus ec91ebc84e fix quirks in hex editor scrolling 2012-09-21 06:33:57 +00:00
zeromus 526078f578 snes-work on graphics debugger. some relayout, plus palette viewer 2012-09-21 05:56:47 +00:00
adelikat 00b88131be Oops, fix snes movie recording I broke when hooking up hard reset recording! 2012-09-21 00:11:37 +00:00
goyuken 7e25a78566 disable previous commit when a\v dumping is active 2012-09-20 20:13:52 +00:00
goyuken 65cf5f842a MaxTurbo now tells the emulator to skip audio, if supported.
on my machine, gambattehawk goes from ~1600 to ~3200fps
2012-09-20 20:07:18 +00:00
goyuken 1b54e3c061 change previous revision to use default value param 2012-09-20 20:00:14 +00:00
goyuken 51fc8e695c add 'bool rendersound' to IEmualtor.FrameAdvance()
if false, the emulator is free to gain whatever speedup it can by not doing audio processing (shouldn't change anything sync related, though)
the core should still always call SoundProvider.GetSamples() after each FrameAdvance(), else DRAGONS
at the moment, only test-implemented in gambattehawk
2012-09-20 19:52:47 +00:00
pasky1382 e79bf2c684 2012-09-20 00:52:58 +00:00
zeromus 23f9b3e3dd fix that thing i just did 2012-09-20 00:42:50 +00:00
zeromus e8487b77d8 change lua drawing to use an offset specified by the emulator core, so that drawing in the nes core can have nes-relative coords instead of multiclient-display-relative coords 2012-09-20 00:22:24 +00:00
brandman211 755794baa8 Attempted to handle events, which clearly failed as the program freezes for some reason. The logic seems solid, though...I'll come back to it. 2012-09-19 06:40:16 +00:00
brandman211 4ebca847d0 ImportZMV
-Fixed the controllers used code. The docs had the reserved byte and the controller flags backwards.
-Properly advanced past the savestate bytes. I was reading the wrong size.
2012-09-19 01:52:54 +00:00
adelikat a9bd436b23 Ram Search/Ram Watch - when selecting "View in Hex Editor" pass the memory domain to the Hex Editor 2012-09-19 00:52:40 +00:00
adelikat 1402eb8470 Don't allow the Hard/Soft Menu Item/Hotkeys to be pressed while a movie is in playback mode (fixes issue #79) 2012-09-17 23:03:38 +00:00
adelikat e2a7fd0655 Input Config - clear mappings context menu 2012-09-17 22:43:42 +00:00
adelikat 8090ac64df Hotkeys - some ground work for showing conflicts with other hotkeys, no functional changes from this commit 2012-09-17 22:33:16 +00:00
rolanmen1 f173aee3f4 LuaImplementation: forms.setproperty now works on int, double and bool properties. Added try catch to avoid crashes with these functions. 2012-09-17 19:55:11 +00:00
goyuken c2bc20a729 add OSD messages when the menu power\reset items are used 2012-09-17 19:16:27 +00:00
goyuken 1fb75159ff reset menu items now work even when paused (note that you have to advance a frame before you'll see the effect).
i don't particularly like this, but it's the best non-intrusive fix for 1 week before release
2012-09-17 19:09:10 +00:00
brandman211 3d9d8607c3 Handled commands for ImportVMV, making resets translate properly. 2012-09-17 07:22:35 +00:00
beirich b04189b6b1 gen: rewind is working, savestates are not working [yet]. will fix more tomorrow 2012-09-17 05:48:24 +00:00
brandman211 bdd74e356c -ImportSMV
--Fixed "controller in use" handling.
---Applied the same logic to ImportVBM, refactored ImportVMV to match.
--Prevented more than 2 controllers from crashing the controller types check for 1.51 and up.
-ImportZMV
--Showed warning messages for both mouses if enabled.
--Marked the controllers used just like I mentioned previously, though it seems to show that no controllers are plugged in...
--Went past the savestate data.
2012-09-17 04:16:27 +00:00
adelikat f9b392511b Input Widget - clear out conflict colors when clearing out the widget with escape 2012-09-17 02:20:01 +00:00
beirich 71f1df97ba add alternate hash for Sapphire to gamedb_pce_cd.txt 2012-09-17 02:06:44 +00:00
adelikat 1c974fa5e0 Show error when trying to load a savestate slot that doesn't exist. (fixes Issue #86) 2012-09-17 01:52:17 +00:00
adelikat b5b372749d SNES - fix get/set mnemonics from my previous commit on this file 2012-09-17 01:26:05 +00:00
adelikat 3644acd173 Cheats - hide game genie button/menu item on load, not just on restart 2012-09-17 01:13:17 +00:00
zeromus c6a14d551c snes-work on graphics tools a tiny bit 2012-09-17 00:16:19 +00:00
pasky1382 099fea5c8e For some reason the SetColorDialog(); was erased in last commit, added back and working as intended now. 2012-09-16 20:28:56 +00:00
pasky1382 52bf8bf025 Changed color pickers for messageconfig window to single click. 2012-09-16 20:22:22 +00:00
zeromus b33fc4982c remove derelict CoreVersion/Introspection stuff 2012-09-16 20:08:36 +00:00
beirich 5742d69f6a 2012-09-16 19:03:44 +00:00
zeromus 7fc348446d etc 2012-09-16 18:44:58 +00:00
zeromus 52b7886f1c make avout chooser dialog more super 2012-09-16 18:41:30 +00:00
adelikat ea08b9faa4 Don't reset the frame counter on Soft or Hard resets 2012-09-16 18:11:28 +00:00
goyuken 6cdecc2b15 remove GB from exclusion list for cheat editor, as it is fully working
still todo: converter for game genie\game shark
2012-09-16 18:10:28 +00:00
adelikat 985cac53fe NES - Game Genie Encoder/Decoder - allow pasting into code box 2012-09-16 17:57:26 +00:00
adelikat 32ca8fba61 SNES - hook up power cycle to mnemonics for recording & input display, TAStudio - hook up the power button on virtual pad 2012-09-16 17:39:57 +00:00
goyuken ef710a84b9 fix up metrics on a few of my crappy winforms 2012-09-16 17:24:48 +00:00
zeromus a0d10058aa fix a critical bug in the caption of the GB palette config dialog. now, it is perfect. 2012-09-16 17:19:03 +00:00
adelikat 5d4b5e71c6 Add Hard Reset menu item (enabled conditionally per core) and hotkey 2012-09-16 17:10:33 +00:00
goyuken a87a9c1cd5 add "Default CGB" button to gambatte color chooser for default CGB grayscale
if no palette at all is available, the core will internally default to the "bsnes improved" palette
2012-09-16 17:09:52 +00:00
adelikat 77564c6daa TAStudio - change Reset button to Power on Gameboy Virtualpad, implement conditional Hard Reset menu item (dependent on the core implementing the power button) 2012-09-16 16:52:30 +00:00
goyuken 727e441bb4 change gameboy control "Reset" virtual button to "Power" virtual button
some consoles have both "Reset" and "Power" notions, so this is to be more consistent
i'm not sure that i got all references...
2012-09-16 16:25:54 +00:00
zeromus 88fab46b21 fix error in snes Select and Start button binding (was using the NES bindings due to copy/paste error) 2012-09-16 16:23:10 +00:00
adelikat 5888536ac3 TAStudio - fix an exception caused by an out of bounds check 2012-09-16 16:22:34 +00:00
adelikat 8812f4b0fb Add icon for reboot, change Reset menu item to say Soft Reset (makes it more accurate and consistent with the hotkey name) 2012-09-16 16:10:26 +00:00
adelikat 7ce6a27da9 Change Power Cycle menu item and hotkey to Reboot Core since that is what it really does, and does not emulate a power cycle 2012-09-16 16:06:28 +00:00
adelikat 640af8021d Gameboy - capture the Force DMG mode and GBA in CGB flags into movie files, still TODO: set these flags when loading a movie 2012-09-16 15:38:33 +00:00
goyuken b3ecb06354 how about this? 2012-09-16 15:19:20 +00:00
goyuken 4e7711b813 BGB (lcd green).pal 2012-09-16 15:05:31 +00:00
adelikat 12ea262de9 Movies - if in read+write mode and loading a post-movie savestate, the movie will now correctly go into movie finished mode, rather than stay in recording mode and cause desyncs 2012-09-16 14:57:57 +00:00
goyuken 2810a048f0 fix two minor ColorChooserForm bugs
add "bsnes v087.pal"
2012-09-16 14:36:42 +00:00
adelikat ac6cf7a18d Movies - fix a logical flaw in a case in movie finished mode. While in movie finished mode, a timeline check should still be done (if in read-only mode) before loading a state from a different timeline (even if that savestate is a post-movie savestate). This matches behavior in FCEUX 2.1.6 (all versions of FCEUX and BizHawk until now have this bug) 2012-09-16 14:12:42 +00:00
adelikat f3c68f2f3f Movies - fix bug I created since last release, where movie could not go from movie finished back to recording 2012-09-16 13:41:51 +00:00
adelikat 27b4439575 GB Palette config - add a "Default" button 2012-09-16 02:59:07 +00:00
adelikat f9b99b61bf TAStudio - oops, fix exception on gb virtualpads from the earlier commit 2012-09-16 02:15:43 +00:00
adelikat a334e069a2 GB Palette Config - fix usage of palette path in save/open file dialogs, use a default name based on game name for save when there is no palette file instead of crashing 2012-09-16 02:12:25 +00:00
goyuken 9a442d72f5 gambatte palette editor: save/load support 2012-09-15 23:50:18 +00:00
adelikat 4446ad07a7 Code cleanup on the input config dialog 2012-09-15 19:47:58 +00:00
adelikat ff0d5126f0 TAStudio - SNES Virtual Pads 2012-09-15 19:21:06 +00:00
goyuken c36441d016 add gambatte palettes, and make ColorChooserForm use the path config system 2012-09-15 18:57:17 +00:00
brandman211 5682f8dbe2 -Added CRC header items for formats that don't store any other reference to the ROM file.
--Added Checksum / GameCode for ImportVBM because those seem more relevant.
-ImportVMV has problems with resets. Not a high priority, but still something worth looking into.
-Parsed the header for ImportZMV. The remainder looks pretty ugly...
2012-09-15 18:46:41 +00:00
adelikat 61a1556f69 TAStudio - add GB virtual pad 2012-09-15 18:31:12 +00:00
goyuken a7bdd745c6 move ColorChooserForm to the MultiClient
also disable its menu item if the emulator is currently in CGB mode (since it doesn't do anything)
2012-09-15 18:30:11 +00:00
adelikat 1d9b6d5fbc Add gameboy palette folder to svn, and add palette path to Path Config 2012-09-15 18:15:55 +00:00
adelikat 644f7415b9 Remove some delete controller images from the .sln file, GB Palette Config - misc dialog tweaks 2012-09-15 17:44:17 +00:00
adelikat 48eb366392 Input config - transparent background on nes, snes, and ti83. Still eventually need better images than these though 2012-09-15 17:33:21 +00:00
goyuken a8fb28f652 finish wiring up reset control for gameboy. i recorded and played back a movie containing a "soft reset", and it worked correctly. 2012-09-15 16:59:21 +00:00
adelikat 77d0ff8ac8 Hokeys - hotkeys for obj and bg toggles for snes (in a SNES tab) 2012-09-15 16:43:16 +00:00
goyuken cfe73b292d add gambatte boot flags to menu and config. i don't like all that stuff in mainform, but it works anyway...
TODO: these flags must also be added to .chickenfucker file header
2012-09-15 16:14:03 +00:00
adelikat c17b0755a1 Hokey Config - clean up the positioning and tab orders of the general tab 2012-09-15 15:30:35 +00:00
adelikat dd64c9d1c9 Hex Editor - on restart don't reset the domain to domain 0 (unless the selected domain doesn't exist, such as in a core change) 2012-09-15 15:13:40 +00:00
adelikat 4a1c1be9ac Ram Watch - context menu for hide/show domain column 2012-09-15 14:53:34 +00:00
adelikat 2256ccc12b Re-add the Skip Lag Frames menu item, not sure when this got removed 2012-09-15 14:48:09 +00:00
adelikat 84cfa9c546 Ram Watch - menu item to hide domain column (still needs context menu item too) 2012-09-15 14:35:13 +00:00
adelikat b4a43c0d44 Hook up autohold-autofire fire pattern to the autofire config 2012-09-15 13:33:04 +00:00
adelikat a075f21af6 Implemented autohold for autofire keys 2012-09-15 13:11:29 +00:00
brandman211 e7b5f57a01 Fixed .SMV >= 1.51 extra ROM info by appropriately shrinking the size of the metadata. 2012-09-15 09:48:13 +00:00
brandman211 dbe985d3b9 -TODOs:
--It doesn't seem like I have to worry about PCECD anymore.
--I also don't think I can validate the CRC32 for .SMV because I don't have the original ROM bytes. This was probably used to compare a ROM loaded by Snes9x with the movie. I added it to the movie header in case a core could utilize it.
--I don't think the "start data" of a .VBM is important. After looking at the docs again, it's clear that it's just another term for either the movie's savestate or SRAM, and that the related note about controller data is just an approximation.
-Added Platforms for Import functions that were missing them.
-Merged the ImportSMV functions all into one; most of the stuff is the same.
-Implemented .SMV 1.51 handling. My Arcade's Revenge run synced and beat the first level!
--This also seems to work for 1.52; 3295S finished Act 2.
--1.53 seems identical as well...3587S syncs all the way through.
-Next comes ImportZMV.
2012-09-15 09:38:20 +00:00
goyuken 83e145c36f change the IEmulator saveram interface.
i don't like doing this, but there were already two emus with special bandaid logic in MainForm.cs
i hope this doesn't break something, but if it does i'll fix it
2012-09-14 22:28:38 +00:00
brandman211 feb503c502 -ImportSMV143
--Added platform name.
--Handled input.
---The input seems reasonable, but the frame counts were originally off by 2. Because the docs say "The controller data contains <number_of_frames + 1> frames," I connected the two and discarded the first frame read. I also noticed that Snes9x first accepts input at frame 0 whereas BizHawk does at frame 1, so that makes up for the other frame. I think this is correct.
--Apparently, Snes9x adds garbage bytes to the metadata when you play a movie. The stuff we want, however, is before a NULL character. As such, I refurbished RemoveNull into NullTerminated, which takes a string and returns everything before the first NULL character. Now the author will be displayed properly no matter what.
-Removed an unncessary dependence to Global.Emulator.SystemId in Get/SetControllersAsMnemonic which made it so that importing a movie without loading a game resulted in blank frames.
-ImportVBM now actually appends the frames it parses. Looks pretty good.
--Note that BizHawk cannot currently do anything with the platform (GB, GBC, GBA, SGB), nor are any of the "other" buttons handleable.
2012-09-14 22:15:42 +00:00
andres.delikat faed5ba5f7 1) Autohold and Autohold Clear hotkeys, same functionality as in FCEUX and other emulators (hold the autohold hotkey then press the controller buttons you want held)
2) Ram Poke - fix poking of signed/hex values, set the signed value to the value of the address on load, other misc fixes regarding signed
3) Hex Editor - add Poke to menu/context menu and Ctrl+P hotkey
2012-09-14 21:31:00 +00:00
goyuken 4101efb92d implement ClearSaveRam in gambatte core, and fix a bug with using memory domains before any frames have been run 2012-09-14 21:29:35 +00:00
brandman211 17567b4952 Fixed the author / game name handling. Now all that should be left is the actual input for SMV143. 2012-09-14 17:36:49 +00:00
brandman211 c949276815 -Parsed the gameName from the extra ROM info.
--I think the proper way to obtain this is through the metadata, which I still don't know how to handle.
-Fixed the savestate offset.
-Parsed out the CRC32 of the ROM, though I haven't done anything to validate this, which is probably a good idea.
2012-09-14 01:53:04 +00:00
adelikat 39b891c824 Lua Writer - when file is saved it is a recent lua file not a recent watch file! 2012-09-14 01:26:38 +00:00
adelikat 5c5b290c75 Ram Watch/Search - fix loading of watch files 2012-09-14 00:30:29 +00:00
adelikat 3959b5f4fc Lua Writer - don't crash when attempting to save (save & save as), also a new script = flag changes 2012-09-13 23:07:34 +00:00
goyuken 12d06a2c94 add system bus memory domain to gambatte
in order to guarantee correct resolution of mappings and mmio every time, all calls go straight to the core and are not cached
this makes this domain slower in performance than the other ones.  it can also be more difficult to use in some cases because you have to resolve mappings that you may not care about.
there is also the possibility of side-effects on reads, although i do not believe that this actually happens in any situations.  still, use at your own risk.
2012-09-13 21:03:34 +00:00
brandman211 1c4b218289 Progress with ImportSMV143. 2012-09-13 19:33:55 +00:00
andres.delikat 5d514e3294 remove empty menu item in gameboy menu 2012-09-13 16:17:22 +00:00
brandman211 9da5393ce3 -.LSMV: \r is considered off. Empty lines should be ignored. 2012-09-13 10:26:44 +00:00
brandman211 7f2a18b3af -.LSMV importer.
--Handled authors, gametype, systemid, coreversion, rom.sha256, moviesram.*, savestate, and subtitles.
--Skipped port1, port2, controlsversion, projectid, saveframe, lagcounter, pollcounters, hostmemory, screenshot, sram.*, rrdata, starttime.*, savetime.*, and prefix.
---I don't think any of these are useful for us, at least not at this stage.
---The other *.sha256 files will be useful if / when BS-X, Sufami turbo, and SGB are implemented.
--Handled flags.
---Handled resets.
---Disallowed subframes and delayed resets.
-.LSMV is good enough for now. .SMV and .ZMV coming next.
2012-09-13 10:21:25 +00:00
adelikat 64cac4c1a2 Cheats - if NES core - show a game genie menu item and tool bar button (Loads the Game Genie encoder/decoder) 2012-09-13 03:10:53 +00:00
adelikat 3e3748f87b Ram Poke - on load and signed type change, display the value in the value box accordingly 2012-09-13 02:59:32 +00:00
adelikat 24649e49e7 Ram Poke - make Value the default highlighted textbox, Ram Search - show shortcut keys of context menu items that have them 2012-09-13 02:47:16 +00:00
brandman211 c3fcbc5987 .LSMV importer now handles gamename and rerecords. 2012-09-13 02:45:08 +00:00
goyuken 34d97bc760 as gambatte does not support showing the boot rom at all, remove that menu option 2012-09-13 01:09:03 +00:00
adelikat 00a003f292 Hex Editor - fix alignment of column headers in 2 & 4 byte views 2012-09-13 00:52:16 +00:00
adelikat 99ace126d2 Fix Ram Poke dialog 2012-09-13 00:49:58 +00:00
adelikat f9bc7fd15e Movies/Paths - add a backup movie path to Paths config and have Movie backups use that path 2012-09-13 00:44:17 +00:00
adelikat bdc2198b3f Play Movie Dialog - fix duplicate movie bug 2012-09-13 00:29:19 +00:00
adelikat 68d79dd991 TAStudio - fix exception when loading states in record mode. Caused by a out of bounds exception on the StateRecords array. This is just a band-aid, tastudio should not be asking for out of bounds information, that needs to be fixed. 2012-09-13 00:17:39 +00:00
adelikat 01dec3762c SNES - fix movie recording! 2012-09-12 23:40:35 +00:00
goyuken 03caa3b32f gambatte dmg palette editor. blah. 2012-09-12 22:18:51 +00:00
brandman211 ae4dfbc00e -Imported .LSMV buttons.
--Haven't done anything with the flags because I don't know what they are supposed to do yet.
--Speedy Gonzales v2 doesn't sync after being converted, but I don't think that's my fault.
-Flags and other data will be parsed soon.
2012-09-12 05:59:09 +00:00
brandman211 8a24de458f -Added the SNES formats to the Import dialog.
-Figured out how to get files from the .LSMV archive. Will write the input parser shortly.
2012-09-12 04:11:35 +00:00
zeromus 9e1ecd02d2 snes-forgot to actually employ the ability to fix the random number seed which ilari's patches enabled. now the random seed is always 0. 2012-09-12 02:55:06 +00:00
zeromus 05f1608de5 add some helpful overloads to HawkFile for working with known filenames, instead of just extension lists 2012-09-12 00:41:07 +00:00
goyuken d57e195e52 gambatte: add oam, hram to memory domain list 2012-09-11 19:05:44 +00:00
pasky1382 c5e71487fd color edit 2012-09-11 18:31:02 +00:00
goyuken ed2b690f75 add memory domains to gambatte
appears to work, but i don't really have much of anything to test on it
ramwatch is horribly slow
2012-09-11 15:28:38 +00:00
andres.delikat 0afd4f3c09 Lua - fix gui.drawLine/Pie/Ellipse/Polygon/Pixel/Bezier from commit 2908, the way those were done was causing exceptions after the 1st draw 2012-09-11 14:47:41 +00:00
adelikat 7be2ea0946 Cheats - fix emulator freeze with bad config files 2012-09-11 03:25:39 +00:00
adelikat 2fd67585b0 Hex Editor - fix restart, addresses now update 2012-09-11 00:21:50 +00:00
adelikat eaa212fef7 Hex Editor - fix 6 digit domains (note that 8 digit will still fail should we have any) 2012-09-11 00:17:54 +00:00
adelikat 95cb43329b Hex Editor - remove a variable and references to it that is obsolete since I revamped the drawing, it was causing the highlighting to be off on anything other than 4 digit addresses. Partially fixes messed up hex editor in 6 digit domains such as SNES ram 2012-09-10 23:52:42 +00:00
goyuken 4e35cb566f functioning saveram support for gambatte 2012-09-10 23:40:53 +00:00
goyuken efbe114e76 remove libgambatte.pdb because it has cooties 2012-09-10 22:02:02 +00:00
brandman211 f11a790e34 -Added ImportLSMV, ImportZMV. Neither do anything substantial yet.
-Added .int to the Rom Files list.
2012-09-10 21:35:56 +00:00
andres.delikat 33969fd8bd Oops, checked in a change to the interim flag, also updated the interim version to 1.1.0 interim while I was at it, change experimental status on some things in rom loader. Overall, this is a useless commit 2012-09-10 21:26:22 +00:00
andres.delikat be3b97ece0 SNES - Graphics Debugger - hook up the usual auto-load and save window position, added a menu, put disabled screenshot menu items todo, some UI niceness 2012-09-10 19:44:44 +00:00
andres.delikat b6d317e0a6 SNES - menu items to toggle bg and obj layers 2012-09-10 19:12:34 +00:00
andres.delikat 622c75545f Move SNES Graphics debugger to a SNES menu (dynamically shows/hides for SNES roms) 2012-09-10 18:32:36 +00:00
andres.delikat 1068987a33 Add SNES controller image to input config, also some tweaks to the dialog. TODO: all these controller images could be better 2012-09-10 18:21:53 +00:00
andres.delikat 1460f7b860 Input Config - show when a button mapping conflicts with a hotkey mapping (but still allow it) 2012-09-10 17:49:33 +00:00
pasky1382 259be1c607 Changes to contra 3 lua 2012-09-10 13:34:13 +00:00
zeromus e87bddc2ee etc 2012-09-10 04:16:30 +00:00
zeromus 3cd5bfe375 stop blocking keystrokes from creating controller input when they match hotkeys 2012-09-10 04:13:02 +00:00
adelikat f7addb3419 Hotkey Dialog - fix tab orders, Hotkey/Input config - change highlighted color to light blue instead of red as that is a more logical highlight color 2012-09-10 04:11:17 +00:00
adelikat 75a1cd9e4a Ram Watch/Search - Save and Load the domain of each watch into .wch files (still maintains backwards compatibility with old bizhawk .wch files as well as .wch files from other emulators 2012-09-10 03:11:06 +00:00
adelikat 4df5293974 Hex Editor - pass domain on the Add to Ram Watch feature 2012-09-10 02:39:56 +00:00
adelikat acae69dc91 Ram Watch - Implement Domain column 2012-09-10 02:37:44 +00:00
adelikat 5adb7fcc91 Ram Watch - fix ability to watch multiple domains at once, New/Edit/Duplicate watch dialog - allow pasting into address box, reformat address box on blur 2012-09-10 02:03:24 +00:00
zeromus 8e42658702 completing the trifecta: fix the terrible nondeterminisms that made series of snes romloads act wacky 2012-09-09 21:19:54 +00:00
goyuken a6caa8680d fix up rom loading routines for libgambatte to use memory block directly (and not file) 2012-09-09 21:15:54 +00:00
beirich 90d1d12086 gen: fix some vram corruption issues
general: fix some build warnings
2012-09-09 21:15:20 +00:00
zeromus 52df58c84d change some instances of "AVI" to "AVI/WAV" since traditionally these are separate options. its sort of cool the way we've got it in bizhawk though, maybe we should make it a new standard and make new nomenclature 2012-09-09 19:52:08 +00:00
goyuken 19d62c44d5 new compiled version of libgambatte.dll
savestates appear to work
2012-09-09 19:02:33 +00:00
zeromus f3b6afa5ad change libco to use an msvc-compiled dll so that it doesnt get wrecked whenever the .net GC process suspends a thread in a coroutine. cant figure out how to get that same code working compiled by mingw32. 2012-09-09 19:02:13 +00:00
goyuken 0b332e1373 add indep libgambatte solution, plus release compiled libgambatte.dll in multiclient output folder 2012-09-09 12:21:02 +00:00
pasky1382 97f8676bce More swag 2012-09-09 05:52:41 +00:00
pasky1382 ee8e420e21 Swag Swag Swag 2012-09-09 05:27:11 +00:00
adelikat 64419fa501 Hex Editor - fix inability to paste into find box when in hex mode 2012-09-09 04:11:51 +00:00
pasky1382 0f47e005bb Contra 3 like a baws 2012-09-09 03:14:33 +00:00
beirich cbe1292e16 fix GB RewireInputChain crash 2012-09-09 02:06:07 +00:00
beirich e8de0327d2 Remove the 2 dead gameboy cores 2012-09-09 01:31:30 +00:00
goyuken d3cb60d833 remove a few notimplemented exceptions, and add .gb, .gbc to the standard open file dialog.
.gbc fails to load because of something else...
2012-09-08 22:01:47 +00:00
goyuken 588d6214d5 more gambatte wrapper stuff 2012-09-08 21:36:04 +00:00
zeromus 9c71a24666 display SNES and Intellivision in window title when the appropriate games are loaded 2012-09-08 21:09:10 +00:00
zeromus 285b9581f2 snes-work on graphics tools. can now render typical BGs for mode 1. SLOWLY!!!!! this is definitely getting turned into c++ code 2012-09-08 20:03:04 +00:00
zeromus e32f2ed67b try fixing new sram issue from r2848 2012-09-08 19:02:28 +00:00
goyuken 001b28c60e replace junk and bad license resamplers with libspeexdsp (using p/invoke). MIT licensed, sounds pretty decent.
the p/invoke wrapper class is a hackjob i was using for testing and will be replaced.
2012-09-07 18:49:18 +00:00
brandman211 2a41b8eda7 The EROM / GROM is now expected to be .int or .bin. 2012-09-07 06:36:23 +00:00
zeromus cfe1e749a1 hook up path config for intellivision and change erom and grom to use it. now you need erom.bin and grom.bin in the Intellivision directory by default. 2012-09-07 06:18:58 +00:00
zeromus b87af7d429 lua-try caching solidbrushes and pens for faster drawing 2012-09-07 03:34:16 +00:00
zeromus ad6910fd74 snes-some beginning steps on graphics debugging tools. nothing to see yet, move along 2012-09-06 08:32:25 +00:00
goyuken a85dadcf7d did a bunch of listening tests with libsnes and metaspu. switched to vecna metaspu
it seems to be the most stable when the system is fast enough to maintain approximately 100% speed.

also fixed up metaspu in dumping and switched it to vecna.  i can now have clean audio while running libsnes with lua script and ffmpeg dumping.
2012-09-06 00:07:37 +00:00
zeromus ade89fe798 snes-fix bug where loading more than one snes rom would wreck the emulator 2012-09-05 23:16:08 +00:00
pasky1382 60e267dd91 minor edit in the script. 2012-09-05 02:42:14 +00:00
pasky1382 d6a18f5f12 updated the metroid hitbox viewer script. 2012-09-05 02:35:09 +00:00
adelikat ead2d186cf SNES - hook up movie playback, probably, needs a frame counter to use it 2012-09-05 02:24:03 +00:00
adelikat f1de424aa3 Fix input display that I broke yesterday. Hook up SNES input display and movie recording (but not playback) 2012-09-05 02:07:30 +00:00
goyuken 9b8e54989c now that i've had a little more time to understand Metaspu, i see quite easily how it can be used in the place of DualSound, so do that. only actual effect of change should be how audio sounds while recording is going on. as an orphan, DualSound will likely be deleted soon. 2012-09-05 00:36:38 +00:00
pasky1382 34da5a0bb1 Added legend of toki hitbox viewer lua script for genesis. 2012-09-04 23:35:59 +00:00
pasky1382 46ccd190dd Added Super Castlevania 4 hitbox viewer lua script. 2012-09-04 22:51:39 +00:00
pasky1382 f5d728bd35 Edited the Super metroid lua, added super mario world hitbox viewer lua script 2012-09-04 21:55:41 +00:00
andres.delikat 71e07d0493 add a null check that could potentially crash the emulator in the HowMany() function I wrote for path and watch functions. No functional change probably. Also clean up the organization of this method 2012-09-04 20:40:39 +00:00
zeromus eb67d2b666 fix archive chooser opening issue with zips containing solely one .sfc 2012-09-04 20:29:37 +00:00
zeromus b2b1c8755c snes-apply lsnes patches 2012-09-04 20:23:18 +00:00
zeromus 4903ad240c snes-change libsnes color output to 32bpp to avoid having to uncrunch 16bpp pixels, for an indeterminate speedup 2012-09-04 19:25:09 +00:00
pasky1382 7d04b60b85 2012-09-04 19:23:23 +00:00
zeromus 9726b75ec4 snes-support layer toggles (needs gui hookups) 2012-09-04 19:12:16 +00:00
zeromus e364353131 add .sfc to fileselector UIs 2012-09-04 18:07:40 +00:00
zeromus 76cfbc47c1 fix loading of non-snes games, and try to make snes core reset a little more reliable by reconstructing more 2012-09-04 18:04:06 +00:00
zeromus dd6d0a47e1 hexeditor-print "0x100000 addresses" instead of "1048576 addresses" 2012-09-04 17:26:27 +00:00
zeromus d02f925e13 snes-support SNES subdirectory for sram and such 2012-09-04 07:14:29 +00:00
zeromus f5c0965045 snes-support save ram 2012-09-04 07:09:00 +00:00
zeromus caed262122 snes-try and determine whether game is snes based on libsnes's internal heuristics, and use .SFC for it anyway 2012-09-04 06:08:46 +00:00
adelikat 2de8e3c346 Ram Watch/Search/Poke - use Watch objects internal domain value, this commit doesn't add functionatility yet (may have even broke something), but will lead to eventually being able to watch multiple domains at once, and some ram search optimizations 2012-09-04 00:33:47 +00:00
zeromus 0cc6bf072e needed another mingw dep 2012-09-04 00:30:40 +00:00
zeromus 83d345c6f7 oops 2012-09-04 00:23:09 +00:00
zeromus 37e6f68370 bsneshawk step 1 of N - compile libsnes, make bsneshawk core, setup interop, support frameadvance, video, gamepad. games are playable, I think. 2012-09-04 00:20:36 +00:00
adelikat 2cd7af1c4c Ram Poke - use a nullable int, -99999999 is now a valid poke/readable number! 2012-09-03 23:45:41 +00:00
adelikat 1f454af2c3 Refactoring of Watch object and related tools, add domain into Watch object. No functionality changes in this commit 2012-09-03 23:42:00 +00:00
adelikat a48562bc36 NES Graphics Config - double clicking GB color opens up color selection (same as clicking change), clean up outdated TODO list 2012-09-03 21:52:51 +00:00
adelikat 632127fe0a NES - don't record lag frame status into movies, it is not necessary for TAStudio anymore 2012-09-03 21:38:11 +00:00
adelikat 80012d29c6 TAStudio - store whether or not a frame was a lag frame along with the state for green zoning, show lag frames in red based on this flag rather than something recorded into the movie file, also fixed a bug I introduced in the last commit 2012-09-03 21:28:10 +00:00
adelikat ac91ed67a6 Movies - refactor & cleanup the MovieLog class 2012-09-03 20:55:05 +00:00
adelikat 6142e2a8f1 Movies - a bit more cleanup 2012-09-03 20:26:51 +00:00
adelikat 1b20175a81 Movies - final round of refactoring, also removed all code relating to the StopOnFrame variable. The fast foraward button on TAStudio now loses some functionality, but the code that did it needed an overhaul 2012-09-03 20:17:57 +00:00
adelikat 8f408737da Movie refactoring - round 2 2012-09-03 19:42:53 +00:00
adelikat 27f4663125 Movies - round 1 of code cleanup (no functional changes) 2012-09-03 15:05:09 +00:00
adelikat eae73accf3 Hex Editor - text option in Find Box, this feature converts text to its byte codes and searches that byte array 2012-09-03 01:17:03 +00:00
adelikat ad162b614f Hex Editor - implement text area highlighting 2012-09-03 00:49:59 +00:00
adelikat 2e19451b0f Hex Editor - implement Save, and Save ROM file menu options 2012-09-02 23:12:00 +00:00
adelikat 86f3394be0 Hex Editor - support archived roms for the Rom File domain 2012-09-02 22:45:06 +00:00
adelikat 4031fd8324 Hex Editor - preliminary support for a ROM File memory domain (regardless of platform). Loads the actual contents of the ROM file into the Hex Editor. Note: this is the file, edits would have no effect on gameplay until the game is reloaded. Currently does not work with ROMs in archives, and needs some specifical menu items and tweaks. 2012-09-02 19:22:51 +00:00
adelikat d8393a5a71 Ram Search - move auto-load menu item to options menu instead of recent, since it only autoloads the dialog, not a file 2012-09-02 18:33:59 +00:00
pasky1382 d0c764e683 fixed the rondo lua script to include a scaler for text display. 2012-09-02 17:08:47 +00:00
adelikat 16bc441231 Lua - implement client.screenwidth() and client.screenheight() 2012-09-02 16:49:58 +00:00
pasky1382 df440e97ec (minor spacing edits in LuaImplementation.cs)
Added rondo of blood lua script in scripts folder for PC Engine.
2012-09-02 16:26:43 +00:00
adelikat 63ef0c0832 Lua - implement emu.registerbefore and emu.registerafter. Note that all lua work is done on the beginning of the frame (before) by default. also note that Registerbefore will run before normal lua processing. 2012-09-02 16:23:42 +00:00
adelikat b45a9b80a3 Fix lua drawing from disappearing while paused, only have it update once per frame, and have it draw before frame advance 2012-09-02 14:54:30 +00:00
pasky1382 bc3e9edb96 Fixed what i previously broke in the Lua bitwise functions. 2012-09-02 14:47:12 +00:00
adelikat 5c49a14344 Revert the moving of lua running in the frame loop 2012-09-02 14:33:30 +00:00
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