Commit Graph

3304 Commits

Author SHA1 Message Date
adelikat e990f04317 Controller Config - C64 needs a Keyboard tab, don't show analog tab if there are no analog controls for that core. 2013-07-27 18:44:51 +00:00
adelikat 00e1469dfc Controller Config - don't need the save all button anymore 2013-07-27 18:22:15 +00:00
adelikat fcddc9f038 Defaults for c64, and a dialog tweak 2013-07-27 17:59:40 +00:00
adelikat 54626e57d1 controller defaults for sms, pce, atari 2600, atari 7800, Coleco, and Intellivision 2013-07-27 01:52:11 +00:00
adelikat 3bf18a1325 add defaults for SNES and GBA controllers, also don't allow controller config to be opened when in null emulator mode 2013-07-27 01:03:15 +00:00
zeromus 1d0aeff4d1 add system to whack all MOTW attributes in dll directory recursively before booting bizhawk apps, to eliminate the cant-boot-without-copying-dlls-to-bizhawk-rootdir problem (?) 2013-07-27 00:30:08 +00:00
adelikat 921c34dd17 Fix input display to work with N64 analog boolean buttons 2013-07-25 01:09:27 +00:00
goyuken 03fba8ee9d controller config: random layout issue 2013-07-25 00:28:11 +00:00
adelikat 19b7f2cc8d Fix anchoring of some buttons on controller config dialog 2013-07-25 00:12:35 +00:00
adelikat 1588c25893 make 2012 project compile 2013-07-24 23:52:45 +00:00
goyuken d1ad9be83d forgot to commit this 2013-07-24 02:19:38 +00:00
goyuken 9b423d77e9 analog controller stuff should work now 2013-07-24 02:14:25 +00:00
goyuken 686960da75 more analog controller config stuff, not done yet 2013-07-24 01:38:52 +00:00
goyuken 66f4e10e9e more analog controller stuff 2013-07-24 00:08:50 +00:00
adelikat fdb8098f90 oops 2013-07-21 23:07:29 +00:00
goyuken a5ec2f0f6d some xinput stuff, can't test it here 2013-07-21 21:19:51 +00:00
adelikat 77a4eb098f Add Rewind Settings dialog and remove the old Rewind enable menu item. New dialog let's the user set the rewind frequency and/or enable/disable rewind for small, medium, and large savestates separately 2013-07-21 20:39:11 +00:00
adelikat 55471ce891 Implement a rewind frequency option, for now it is hardcoded to 2 for SNES and similarly sized states, and 60 for n64/saturn sizes, else it is 1. TODO: some time of UI for the user to set this 2013-07-20 14:38:09 +00:00
goyuken 3169968858 analog input support. this is bad code and should all be reverted as soon as possible.
binds (along with sensitivity, deadzone, flip customization) are not supported yet.  to test out, try using the first two axes of dinput joystick #5 on N64 player #1
2013-07-18 16:18:17 +00:00
adelikat dac80789e6 set default controls for the controllers we have defaults for so far 2013-07-18 01:33:39 +00:00
goyuken 6c57b723a2 make the error message on json deserialize fail slightly more informative 2013-07-17 21:08:33 +00:00
goyuken 5903cfbe48 conttroller config default schtufff 2013-07-17 01:20:21 +00:00
adelikat 2beebec8da some misc code cleanup 2013-07-17 01:05:36 +00:00
adelikat 91a13bf8f4 Misc Code refactoring, no functional changes 2013-07-16 01:59:59 +00:00
adelikat 13d045f27f make 2012 project compile 2013-07-16 00:32:51 +00:00
adelikat 802046f686 oops 2013-07-15 01:20:22 +00:00
adelikat a3aa3b4f76 N64 video plugin icon 2013-07-14 23:30:48 +00:00
adelikat 0f628dfcbc N64 - plugin dialog UI tweaks 2013-07-14 23:23:35 +00:00
adelikat af8a041727 N64 - make input display for analog better 2013-07-14 23:08:37 +00:00
adelikat 0853da8165 slight positioning fix to Saturn virtualpad 2013-07-14 22:47:06 +00:00
adelikat c5204487a7 Saturn - implement virtual pads, also break movie mnemonics for this core, hope nobody was making a movie yet. 2013-07-14 22:18:22 +00:00
goyuken fa79cdc63b controller config 2013-07-14 21:23:09 +00:00
adelikat 0613bc6b23 Controller Config - better management of columns, and some more dialog cleanup 2013-07-14 21:09:42 +00:00
adelikat 2c21a89c21 Controller Config - UI cleanup 2013-07-14 20:38:23 +00:00
goyuken 2ea817c5d9 rework some of the controller infrastructure to be more accepting of floats
this should neither change anything nor break anything
2013-07-14 16:35:22 +00:00
goyuken 04bbf8482c move all of the movie mnemonic reading\writing stuff to one new file 2013-07-14 14:53:32 +00:00
goyuken 158ac4d94a controller config: cleanup 2013-07-14 05:05:29 +00:00
goyuken a4ea33aa6e new controller config: split into tabs by player number. this is done by examining the names in the controller definition for "P#" strings, so if it doesn't work for a particular definition, that's why... 2013-07-14 03:27:54 +00:00
goyuken 5cf95ae5f1 controller config: delete 2000 lines of code 2013-07-14 02:36:20 +00:00
goyuken 454e94a4bb controller config rework: more cleanup 2013-07-14 02:30:57 +00:00
goyuken 34223780c2 new controller config: re-add the controller images 2013-07-14 02:21:41 +00:00
goyuken f7e8273dad controller config: remove some old unused code 2013-07-14 02:04:55 +00:00
goyuken 0825c4181c multiclient: rework everything controller config related. there is still some transitional cruft and whatnot, so be patient. 2013-07-14 01:48:05 +00:00
adelikat dba02ffb85 Add config menu to context menu when in full screen mode 2013-07-10 18:04:05 +00:00
adelikat cbb35fc3ce Ram Search - introduce "Fast Mode" in order to support large domains such as for N64. In fast mode, the previous value will be defined as last search (or original value), and change counts will not be incremented but the previous value/change counts will not be processed saving huge amounts of processing. 2013-06-30 21:50:17 +00:00
adelikat e1212c75e3 Ram Search - clear undo history when starting a new search, and add a Clear Undo History menu item 2013-06-30 20:10:52 +00:00
goyuken b8eec16d8c rework mainform disc image code to work with r4551 changes. on cursory examination, both PSP and saturn games are loading correctly. it's likely that something PSX related was broken, but that's OK for now... 2013-06-25 21:57:45 +00:00
goyuken 92d71ee89f revert r4551 changes to .csproj files 2013-06-25 21:34:06 +00:00
pasky1382 23d71a3b87 Commented out unworking code for disc.DetectSegaSaturn() in MainForm.cs
Added 'Always On Top' option to settings in hex editor/tas studio/ram search
2013-06-25 08:50:42 +00:00
goyuken 1de395ca2a psphawk: sound, except it doesn't work. i will figure it out later 2013-06-25 02:06:06 +00:00
goyuken c8577fc361 psphawk: clean up some logging stuff. fix upsidedown image. redirect special PSP paths to PSP/ subfolder (still not much control over them, but at least they wont be shatting all over the place) 2013-06-25 01:06:35 +00:00
goyuken 5ec0cf2831 psphawk: add the c# interfaces, as well as a compiled final dll (note: debug mode). to use psphawk, first uncomment the hack in MainForm.cs, then ensure that you have a valid PSP ISO located at "D:\Games\jpcsp\umdimages\Final Fantasy Anniversary Edition [U] [ULUS-10251].iso", then try to load a valid sega saturn game. 2013-06-25 00:38:15 +00:00
goyuken 39f82cbca9 psphawk 2013-06-25 00:14:35 +00:00
goyuken b6ac0ff88a fix tab naming bug on sms controller config 2013-06-20 00:28:19 +00:00
goyuken a68be5f014 show debug vs release mode in About Box 2013-06-20 00:16:51 +00:00
pasky1382 72b78e8dc9 Crystalis collision box viewer 2013-06-14 00:46:21 +00:00
pjgat09 a4a88ff139 N64: Tweaked the virtual pad layout 2013-06-10 00:08:31 +00:00
pjgat09 4225ef55af N64: Fixed the analog control in the virtual pad to look and behave better 2013-06-09 23:54:19 +00:00
pjgat09 fc596038e5 N64: Added NumericUpDown controls for X and Y on the virtual pad, but they don't work quite right yet. Also the analog control is being odd now. 2013-06-08 21:59:06 +00:00
pjgat09 4307e138ba N64: Load video plugin settings from movies. 2013-06-08 20:13:11 +00:00
pjgat09 3d6c99139a N64: Removed the old video settings screen, and renamed the menu option for the "temp" screen 2013-06-08 03:56:34 +00:00
pjgat09 6ab3f6a463 N64: Added SaveType to the gamedb, but only for 16K EEPROM since all the other options are ignored. This fixes a "no controller" issue with Banjo Tooie 2013-06-08 03:36:57 +00:00
goyuken 511fcf4bd0 mainform: excise the old gif code. it's still in svn history if you want to resurrect it. doesn't really serve much purpose now that there's a full-fledged gif writer integrated to the AV dump system 2013-06-07 19:46:15 +00:00
goyuken 032595c24e saturn controller image 2013-06-05 17:07:59 +00:00
pjgat09 40efe45bd0 N64: Re-compiled the audio plugin dll in release mode 2013-06-05 01:45:42 +00:00
pjgat09 9694792cfb N64: Improved the M64 reader lua script. It now uses the forms.openfile function, and displays some info about the movie. Also improved the handling at the end of the movie 2013-06-02 03:16:11 +00:00
goyuken 56d5d1ef5a direct sound: you can now choose which of your devices to play out of. note that although you can make the change in the UI at any time, you actually have to restart the whole bizhawk to initialize on the new device. 2013-06-02 00:49:40 +00:00
pasky1382 15bdff9ac8 Faxandu collision box viewer 2013-06-01 12:10:33 +00:00
adelikat c680c1b7ad make 2012 project file compile 2013-05-27 20:51:10 +00:00
adelikat 980254e448 N64 - add controller image to controller config dialog 2013-05-27 20:47:55 +00:00
pjgat09 a43645a87b N64: Plugin settings from the movie header are now loaded into HeaderParams. There is also code to parse these settings, but it is commented out for now 2013-05-27 20:25:06 +00:00
pjgat09 8dc13f5216 N64: Simplified some plugin code 2013-05-27 19:17:19 +00:00
pjgat09 b1138c4128 N64: Wire glide settings to the m64p core 2013-05-27 02:14:43 +00:00
pjgat09 19fc24aeb5 N64: Glide settings now save 2013-05-27 01:59:45 +00:00
pjgat09 f183654b5a N64: More work on glide settings. Per-game settings now load into the setting screen from the gamedb. 2013-05-27 01:35:56 +00:00
pjgat09 d47b0b1cc1 N64: Added the analog data to the (currently unused) mnemonic for the virtual pad 2013-05-27 01:31:29 +00:00
pjgat09 4de1389810 N64: Add per-game hacks for glide to the gamedb 2013-05-27 00:35:45 +00:00
pjgat09 7b43126f50 N64: Added a glide config object and loaded it into the plugin screen 2013-05-26 05:11:00 +00:00
pjgat09 99498b680b N64: Added Glide settings, but they don't do anything yet 2013-05-25 04:25:42 +00:00
pjgat09 1c570e41d3 N64: Moved the microcode list for the glide plugin into the code 2013-05-24 02:34:57 +00:00
adelikat 46ee7af765 Save and Load the n64 video plugin setting in movies. Also save all rice plugin settings if rice is the video plugin, however it does not load those settings yet 2013-05-23 01:11:30 +00:00
pjgat09 2245975217 N64: Implement the reflection method to store and retrieve the plugin settings 2013-05-23 00:16:04 +00:00
pjgat09 40cea9085a N64: Removed the now redundant "Rice" from the variable names in the config object 2013-05-22 22:26:24 +00:00
adelikat da8bcff826 proof of concept for better organizing N64 plugin settings 2013-05-21 02:15:15 +00:00
goyuken d7380d1952 console debug notification when a sega saturn disc is autodetected 2013-05-20 14:03:19 +00:00
pjgat09 1e1466a0f9 N64: Some improvements to the virtual pad. 4 pads are now shown and work, input display works 2013-05-20 01:53:02 +00:00
pjgat09 ac9d053895 N64: Actually use the input for the other three controllers 2013-05-20 00:03:08 +00:00
pjgat09 dd349818f5 N64: Fixed bug where video settings from the gamedb didn't get loaded 2013-05-19 23:49:21 +00:00
pjgat09 ff0d3c4beb N64: Fixed a typo in the gamedb 2013-05-19 20:56:27 +00:00
pjgat09 82a5989f28 N64: Refactored the memory domains 2013-05-19 20:14:34 +00:00
pjgat09 cc4d1c579c N64: Add per-game hacks for rice to the gamedb. Also fix a mistake with the plugin settings screen. 2013-05-17 03:02:39 +00:00
pjgat09 e46cc95eaa N64: Re-hashed the roms in the gamedb to be in z64 format 2013-05-17 00:30:08 +00:00
pjgat09 f8a180bacd N64: When loading an N64 rom, fix the swapping to be in z64 format (no swapping) 2013-05-15 22:10:17 +00:00
pjgat09 2b81570151 N64: Wire the manual settings for the per-game hacks to the core 2013-05-15 03:38:23 +00:00
pjgat09 d0ba05eb28 N64: Fix an exception with the plugin config system 2013-05-15 03:31:05 +00:00
pjgat09 e64011e1c2 N64: Wire up per-game hack options to the plugin screen and to the m64p core. 2013-05-14 23:06:47 +00:00
goyuken a754aba126 saturn: hook up GL mode to user interface. in GL mode, one can choose resolutions like pcsx2: 1x, 2x, 3x, 4x, or user selected w*h 2013-05-14 03:06:37 +00:00
masterofpuppets152001 d3efbb6d3b Lua: Added forms_openfile(filename, path, filter) to LuaImplementation.cs, usage ex: forms.openfile(nil,"C:") or forms.openfile(nil,nil,"Movie Files(*.SMV;*.BKM;*.FMV) etc... 2013-05-14 02:08:05 +00:00
goyuken 656e7a3862 saturn: connect the openGL rendering core. has some graphical glitches of its own, but can be a good deal faster than the soft core. not hooked up in options yet (so without code editing, you'll get soft core every time) 2013-05-13 16:49:02 +00:00
pjgat09 52161e9cc0 N64: Commit the dlls for the previous change 2013-05-13 03:38:03 +00:00
pjgat09 32cc22e361 m64p: Hooked up the per-game hacks in the rice plugin to the config system 2013-05-13 03:08:22 +00:00
pjgat09 076989f1ab N64: Added a lua script to try and play M64 format movies 2013-05-13 00:46:06 +00:00
pjgat09 a7a045bb87 Removed some debug code... 2013-05-12 03:57:21 +00:00
pjgat09 a0f470b1bb Lua: Added joypad.setanalog, with the same calling format as set but with float values instead of bools. Still not sure that the analog wiring is the best, but this works for now. 2013-05-12 02:43:33 +00:00
pjgat09 7da2ede59d N64: Refactor some input code to use callbacks and (hopefully) be compatible with on_snoop 2013-05-11 23:44:20 +00:00
pjgat09 ba3feac259 N64: Hook up the rest of the buttons on the virtual pad 2013-05-11 20:21:29 +00:00
adelikat 9b9e9b71ec oops, this really fixes the 4.5 project, also some misc code cleanup 2013-05-11 19:08:42 +00:00
goyuken 4553d74106 saturn - fix a few savestate issues (that i caused in the first place, of course) and fix a possible problem with memory not being initialized. or maybe not. didn't actually solve any problems, la la la.... 2013-05-11 18:52:19 +00:00
pjgat09 7b2ad6a1f8 N64: Fixed a bug with saving/loading a state before the first frame, causing the audio frequency to be very wrong, and breaking the resampler 2013-05-11 15:34:07 +00:00
adelikat effdf1f6dc update 4.5 project with the recently added files 2013-05-11 14:37:07 +00:00
pjgat09 fd26695fff N64: Added X and Y axises to the mnemonic, which now get saved and replayed in movies. Fixed an issue in the virtual pad which caused the Y axis to go from -127 to 128 instead of -128 to 127 2013-05-11 02:04:55 +00:00
masterofpuppets152001 f8f9c3ea4a Made NES sound channel update instantly when changed, easier to fine tune what you want from it. 2013-05-10 23:46:01 +00:00
pjgat09 0811ff4e41 N64: Wired up the analog control in the virtual controller. I probably did the float wiring badly, but it works for now. 2013-05-10 23:29:14 +00:00
pjgat09 e25d58eecb Restrict the analog control to it's own drawing area 2013-05-10 23:25:31 +00:00
goyuken 6849f72baf NES: volume control on each channel 2013-05-10 18:38:58 +00:00
goyuken 99615d9afd GB: rtc is pegged to emulated elapsed time. maybe. don't know what to test it with. time at core restart is always 1970, or something like that, which isn't as bad as it sounds, because the GB rtc doesn't keep track of anything past days 2013-05-09 23:15:59 +00:00
pjgat09 0a3dfa697e N64: Added a video plugin settings class, filled it with the values from the rice settings screen, and wired it up to the core 2013-05-09 02:58:35 +00:00
goyuken bf7544793d add some missing n64, saturn boilerplate to the path config. fixes screenshots, savestates, saverams 2013-05-07 23:24:27 +00:00
pjgat09 fffc9d676e N64: Setup saveram, but it doesn't always work right yet. Sometimes switching games loses the save ram. Sometimes bizhawk crashes when saving saveram. 2013-05-07 22:37:26 +00:00
pasky1382 4001ade4e1 2013-05-07 22:23:10 +00:00
goyuken ed2553621f saturn: memory domains, and saverammodified flag 2013-05-07 21:35:55 +00:00
pasky1382 83c36c29a8 Vice Project Doom collision box viewer 2013-05-07 20:32:32 +00:00
pasky1382 dd1ac590f8 Error on SHA1, all is well. 2013-05-07 18:56:41 +00:00
pasky1382 0fa298dc2a forgot the system label 2013-05-07 18:49:56 +00:00
pasky1382 2c66918172 Added N64 gamedb, updated gamedb to include it. 2013-05-07 18:46:07 +00:00
pjgat09 08f6fdaf8d N64: Implement the video plugin (rice or glide64) option 2013-05-07 01:38:12 +00:00
pjgat09 8c16b78849 LuaWriter: Commented out code that checks if the file to save to doesn't exist. That code causes an infinite recursive loop, popping up a save dialog box every time. I'm not sure exactly what the logic was supposed to be here, but this seems to take care of the problem. 2013-05-07 01:17:52 +00:00
masterofpuppets152001 f5019825ff Rice Plugin config, will eventually have default buttons, and better tooltips and combobox text, feel free to move stuff around if you find they belong on another tab. 2013-05-07 00:46:10 +00:00
pjgat09 a6600a5c0a N64: Implemented the lag indicator and lag count 2013-05-06 23:50:24 +00:00
pjgat09 371dcc8f40 Reversing some faulty bit-shifting to fix 4 byte poking. 2013-05-06 23:33:13 +00:00
pjgat09 a5d7fdd870 Replace some buggy divisions with bit-shifting to fix s problem freezing an address in the ram watch 2013-05-06 23:17:44 +00:00
pjgat09 80a622b5d1 m64p: Why did I comment this out? Just, why? Audio works now after loading a state. 2013-05-06 22:13:20 +00:00
goyuken 0302820db5 implement binary\text savestate type switching in multiclient. 2013-05-06 21:41:21 +00:00
pjgat09 61a7dea31f Disabling L+R/U+D should not disable the N64's C-up C-down/C-right C-left 2013-05-06 21:37:30 +00:00
zeromus beb0452275 2013-05-06 05:14:52 +00:00
zeromus 2316721200 add memory.getcurrentmemorydomainsize 2013-05-06 04:59:59 +00:00
pjgat09 e4437a54a9 m64p: Fixed another input typo which reversed c up and c down 2013-05-06 03:23:02 +00:00
pjgat09 a374641460 m64p: Changed the output formula for the framebuffer from glide64 to actually be correct. We actually don't need a formula... Changed glide64 to not force vsync. You apparently need to read the back buffer or else you get choppy video.
N64: Changed the hardcoded video plugin to use glide. Glide apparently requires you to set the video mode before initializing the plugin
2013-05-04 23:51:50 +00:00
pjgat09 74817e740b m64p: Added post-build hooks to copy the dll into bizhawk after building. Built the dll and adding it for the first time. Glide64.ini is needed to make it work right now, but the need for it should be removed if possible 2013-05-04 23:36:28 +00:00
adelikat 29226acd54 N64 virtual pad - graphics for the analog control, not hooked up to anything yet, and not tweaked 2013-05-04 19:04:23 +00:00
masterofpuppets152001 9c80ea5ec7 Moved it to N64, hope all is right 2013-05-04 17:56:24 +00:00
masterofpuppets152001 47cf4c3cb9 Early Vid plugin, is this how you want it Adelikat? 2013-05-04 16:54:34 +00:00
adelikat a638ea6f41 N64 - hook up virtual pad, currently only 1 player and only the digital buttons 2013-05-04 13:37:20 +00:00
pjgat09 27c21db9b6 m64p: Change the savestate code to store the default PC address if not already setup (ie before the first VI) 2013-05-04 04:25:06 +00:00
pjgat09 55c7fc55ab m64p: Made two new functions for saving and loading states, directly based on the m64p methods but without files
N64: Copied savestating code from other cores. States take a while to save, and the audio is weird when loading.
2013-05-04 04:07:04 +00:00
adelikat 04ae097832 N64 - fix L and R buttons for mnemonics 2013-05-04 03:33:50 +00:00
adelikat 494a20c801 N64 - fix C pad input stuff 2013-05-04 03:19:53 +00:00
adelikat de6c055c3d N64 - fix bug where all controllers were being set to the default buttons, for anyone who used bizhawk since impelmenting N64 buttons will have all the controller buttons saved, will need to clear them out 2013-05-04 03:12:07 +00:00
adelikat b4e3d864e3 Fix a null check exception when a GBA bios fails to load 2013-05-04 02:57:28 +00:00
pjgat09 7f3e01e3b3 N64: Use the config value to set the video size 2013-05-04 02:48:37 +00:00