Commit Graph

2613 Commits

Author SHA1 Message Date
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