Commit Graph

846 Commits

Author SHA1 Message Date
andres.delikat 7dc78cdaab Some widgets for volume control in sound config 2011-05-23 21:31:29 +00:00
andres.delikat 4a28b282f8 Fix typo that caused loadstate hotkey mapping to display on load config menu item, fix so that movie log loading from savestate doesn't crash if text line is null 2011-05-23 02:15:16 +00:00
andres.delikat 157d8b7152 Use EXE path instead of working directory for Nescarts.7z, config.ini, and gamedb.txt 2011-05-23 01:34:19 +00:00
andres.delikat 1d0a504704 Remove an erroneous duplicate message in savestate(), remove a debug message in movie 2011-05-23 01:23:32 +00:00
andres.delikat a52ccb5e6a .exe now uses the bizhawk icon 2011-05-23 01:04:56 +00:00
andres.delikat 18a32d35e6 Single Instance mode feature, currently though Bizhawk crashes on exit when in single instance mode 2011-05-23 00:33:05 +00:00
andres.delikat 36a0580dca Fix a bunch of crash issues with Ram Watch & Cheats related to having no list item selected. Implement Drag & drop for .cht & .wch files on Main form 2011-05-22 20:19:28 +00:00
andres.delikat 16d282a15d Drag & Drop savestates 2011-05-22 19:52:49 +00:00
andres.delikat a249d3b3ed Hook up TASStudio to main form, add a few buttons. 2011-05-22 18:38:44 +00:00
andres.delikat a2dede0bfa Use absolute path when creating the input log, hook up savestate logic to SaveStateAs() 2011-05-22 17:45:33 +00:00
zeromus 1700c22b17 dont crash when movies directory is missing 2011-05-22 17:41:22 +00:00
andres.delikat 9651f4fe5b Start a Starts From combo box in the Record Movie dialog, and use HawkFile instead of FileInfo for Play dialog 2011-05-22 14:51:22 +00:00
andres.delikat 2e71a9ab93 If movie is in Movie Finished mode and rewound, go back to playback mode 2011-05-22 13:29:32 +00:00
andres.delikat 555d7b17c6 More InputLog logic 2011-05-22 12:44:57 +00:00
andres.delikat 433ea55f18 Make InputLog log to the Movie folder, clean up some logic regarding InputLog 2011-05-22 12:40:11 +00:00
andres.delikat 848af8c664 Remove Replay Input Log menu item 2011-05-22 12:28:03 +00:00
andres.delikat 93b7a93806 Fix some small todos 2011-05-22 02:19:55 +00:00
andres.delikat 47886e7c40 Drag & Drop for ram search, cheat search, play movie, record movie 2011-05-22 02:12:36 +00:00
andres.delikat fe563656b9 Ability to set Bizhawk to Accept Background Input. TODO: currently only takes affect on bizhawk restart, find a way around this. 2011-05-22 01:46:39 +00:00
andres.delikat 839d1e3cca --movie commandline arg 2011-05-22 00:13:12 +00:00
andres.delikat e9186686f8 In recent menus make "None" grayed 2011-05-22 00:01:21 +00:00
andres.delikat 0d714aa6d1 Hook up movie autoload 2011-05-21 22:37:15 +00:00
zeromus 90e5090e0e change HawkFile.CanonicalName to CanonicalFullPath, and add a new HawkFile.CanonicalName which returns the archive|member where CanonicalFullPath would be c:\path\to\archive|member 2011-05-21 19:31:00 +00:00
andres.delikat 40f473d629 Option to Bind Savestates to Movies (on by default) 2011-05-21 18:44:45 +00:00
andres.delikat 27174be2a2 oops 2011-05-21 17:36:33 +00:00
andres.delikat ccc4960af1 Hooked up TI83 mnemonic functions. TI83 is now tasable (lol) 2011-05-21 17:31:15 +00:00
andres.delikat b019329f01 Run in Background toggle 2011-05-21 03:30:32 +00:00
andres.delikat ed6ca16431 Path Config - clean up todo list and cosmetic changes to dialog 2011-05-21 03:01:56 +00:00
andres.delikat 11ddd79229 Screenshot As menu item 2011-05-21 02:51:47 +00:00
andres.delikat 77906b80c5 Path config - set tab stops and hook up ROM path logic 2011-05-21 01:13:48 +00:00
andres.delikat b3502aebad Hook up cheats path config to Cheats dialog 2011-05-20 20:33:58 +00:00
andres.delikat f01d136d53 Hotkeys - fix movie hotkey ordering 2011-05-20 16:37:37 +00:00
offspring131313 2df4243695 Added saving customized settings to RamSearch dialog 2011-05-20 11:21:29 +00:00
andres.delikat fa503a17e9 Path Config - add SG-1000 tab and finish implementing GG stuff 2011-05-20 02:40:17 +00:00
andres.delikat 0c1077c651 Path config - implement for Game Gear, implemented SaveSettings() 2011-05-20 02:04:20 +00:00
andres.delikat 06873dc122 Hook up path config Paths to savestates, save RAM, and screenshots 2011-05-20 00:34:01 +00:00
andres.delikat c15c9217f7 Recent Movies menu implemented 2011-05-19 18:50:09 +00:00
offspring131313 917a9db83f Fixed a bug with the column reording save on RamWatch and added the feature to Cheats. 2011-05-19 07:31:50 +00:00
andres.delikat f8c1791908 GetMnemonic now looks at the frame count and truncate the movie if it is less than the movie length. Resuming recording now works 2011-05-19 02:15:55 +00:00
offspring131313 21b153bd5e Made the code more readable, and easier to add columns to ramwatch (also saving in case my next change fucks everything up!) 2011-05-19 01:48:20 +00:00
offspring131313 61e5721c53 Added config feature for saving column order for ram watch 2011-05-19 00:39:42 +00:00
andres.delikat 8966a16db4 Cheat search - rename "Restore original size" menu item to "Restore Default Settings" 2011-05-19 00:33:03 +00:00
andres.delikat 3f18d05ee1 Make text box for movie more idiot proof. Adds a file extension if the user did not provide one, takes into account if the user attempted to add a backslash at the beginning 2011-05-19 00:16:00 +00:00
andres.delikat 0da8d9da00 Fix PCE input recording 2011-05-18 23:53:19 +00:00
andres.delikat 2a3f7cde37 Play Movie dialog - Fix preloading 2011-05-18 01:56:35 +00:00
andres.delikat 97ef68e64e Record movie dialog now allows user to type in name of file to record, and will auto fill in directory path if user does not. Play movie now uses the PreLoad function so length calculation is significantly faster 2011-05-18 01:49:20 +00:00
andres.delikat 250f424629 Start a MovieConvert class for converting fcm, mmv, and such to .tas files 2011-05-18 01:30:25 +00:00
brandman211 6e98bfc978 Created an efficient frame calculation. 2011-05-18 01:24:26 +00:00
andres.delikat 2b41592c9b Load rerecord count when loading a movie 2011-05-18 00:08:51 +00:00
andres.delikat bee9eaf6f3 Movie finished mode savestate logic implemented though resuming recording after a movie is finished results in a desynced movie 2011-05-17 23:52:10 +00:00
andres.delikat 5a082bad2f Save input log into savestates. Also add more informative messages & frame counter for better debugging 2011-05-17 22:44:31 +00:00
andres.delikat e5af4418da Movies - CheckTimelines function, disabled until rerecording is smoothed out better 2011-05-17 01:10:04 +00:00
andres.delikat 311af36737 Add read-only checkbox to Play Movie dialog. Record movie dialog sets the emulator to read+write. 2011-05-17 00:27:22 +00:00
andres.delikat b9ec7e626e Various tweaks related to movie code 2011-05-16 17:58:59 +00:00
andres.delikat 2331e12c9f Movies - add hotkeys for play movie, record movie, stop movie, playbeginning, toggle read-only. Made multitrack tab just a movie tab. Other misc cleanups 2011-05-16 17:07:09 +00:00
andres.delikat 85e52c3bcb Some refactoring of savestate + movie code and laid out the logic for how these situations should be handled 2011-05-16 15:38:48 +00:00
andres.delikat 4a549631e5 Movie class - refactor time calculations. Make PCE_NTSC = PCE. Remove any 60.0 or 50.0 const ints in favor of the default case. Made a decision that time should be calculated based on the console framerate not the fps at which bizhawk will emulate. Thus SMS uses a ~60.1 fps 2011-05-16 13:56:22 +00:00
offspring131313 386b26ccbe Reverted some changes I thought was improving the readability, but was really just breaking the correctly programmed stuff =D 2011-05-16 07:44:03 +00:00
beirich 003a71cb5a PAL PCE has the same timings as NTSC 2011-05-16 04:07:05 +00:00
offspring131313 644106575e Refactored Movie folder. Added some functions, merged some functions, and added some comments regarding some questions I have about a few of the functions. 2011-05-16 03:55:17 +00:00
offspring131313 96b80f4789 Added a single variable in MainForm from which to derive the Emulator Version number. Just call MainForm.EMUVERSION
Only updated the new method for deriving this in MovieHeader, I'm unaware of anywhere else this information is requested as I'm still learning the system.
2011-05-16 02:54:53 +00:00
andres.delikat 24a713ee1f Implement record movie dialog enough to choose a movie and begin recording. Needs a way to set header info & settings 2011-05-16 00:56:16 +00:00
andres.delikat a91e7007a7 Play Movie - fixes so that .mc2 & .fm2 get the right system ID on load, and fix the rounding of the fractional part of the movie time 2011-05-15 23:25:25 +00:00
andres.delikat 229852d06c Play movie dialog now shows completion time. It also reads the entire movie in order to determine this. I have stressed tested this yet, it is probably very slow. 2011-05-15 22:59:54 +00:00
andres.delikat 99babf743f Movie class has a GetSeconds() function that returns the number of seconds based on frames / fps. It is loaded with lots of fps formulas for various consoles. 2011-05-14 12:46:41 +00:00
andres.delikat 3dbf342dbe Set system ID in input log 2011-05-14 02:34:18 +00:00
andres.delikat 8b313774eb Play movie auto-finds fm2 & mc2 2011-05-14 01:37:45 +00:00
kylethomson 122b35f6c3 Adding lua function lists. 2011-05-14 01:05:26 +00:00
andres.delikat 8814385916 Fix GetExePath function to remove "file:\\" from the directory string. That was causing directory code to freak out. Play movie dialog now successfully creates the movie directory and searches for movie files 2011-05-14 00:33:25 +00:00
kylethomson a82bb3718b Do controller binding in a loop, to reduce the repetitive code 2011-05-14 00:15:31 +00:00
andres.delikat dc288f4f3b Attempt to have the Play movie dialog preload movies in the Movie directory 2011-05-13 20:47:59 +00:00
andres.delikat 12adf89ca1 On movie playback - input display = gray (todo: make the color configurable in message config 2011-05-13 20:19:12 +00:00
andres.delikat 3ccd1b1f66 Restore input to the user after StopMovie or going into Movie Finished Mode 2011-05-13 20:02:28 +00:00
andres.delikat d95681c39e Rerecord count display 2011-05-13 19:07:11 +00:00
andres.delikat fe0363d80b Movies - Add all current valid movie file extensions to drag & drop, Hook up movie finished mode to frame loop & frame counter display, clean up some logic regarding the toggling of InputLog and UserMovie 2011-05-13 17:03:05 +00:00
andres.delikat 6825c9f84c Drag & Drop for .tas files, refactor play movie function 2011-05-13 01:44:20 +00:00
brandman211 d356b2f72f Added items to the Recent Movie selector. 2011-05-13 00:46:25 +00:00
andres.delikat 06f771292f Play Movie dialog - hook up details list 2011-05-13 00:17:59 +00:00
andres.delikat c6c96af860 Get virtual list view stuff hooked up on Lua Console 2011-05-12 23:58:06 +00:00
brandman211 b89412f2f8 Implemented Courier, a monospace font, as the font. 2011-05-12 23:57:37 +00:00
andres.delikat 890fa7fbe0 Display rerecord count on the frame counter message for now. I will eventually make it its own display option 2011-05-12 22:51:25 +00:00
andres.delikat 769a5d10ec bizhawk now compiles 2011-05-12 22:45:35 +00:00
andres.delikat f64767d223 oops, didn't check this in 2011-05-12 21:00:52 +00:00
andres.delikat ca457d4ce3 Implement Play Movie from beginning, add author & rerecord header params to file reading/writing code. 2011-05-12 21:00:04 +00:00
brandman211 c66b44923a -Fixed the reading of movie files for SMS and PCE. They did not consider the reset flag.
-Considered the case in which only some controllers are recorded, and prevented the errors that case would cause.
2011-05-12 18:28:38 +00:00
brandman211 3e6c2bda2d -Fixed PCE mnemonics. 2011-05-12 17:43:21 +00:00
andres.delikat 1813829c5f More movie code fixes 2011-05-12 17:29:34 +00:00
andres.delikat ced976a65d Misc cleanups on movie code 2011-05-12 16:56:30 +00:00
andres.delikat 477999f99d Fixes to movie code 2011-05-12 01:33:51 +00:00
andres.delikat 7d135a5d62 Lot's of fix ups to the Play Movie dialog and the Movie class. Cleaned up behavior of main form to allow for a user movie and an input log when the user movie is not active. Currently selecting a movie for playback crashes though. 2011-05-11 01:47:28 +00:00
andres.delikat c09260cc72 Various fixes to play movie dialog & movie class 2011-05-10 00:38:20 +00:00
brandman211 56af359405 Made the status bar hidden when in full screen. 2011-05-09 01:17:51 +00:00
andres.delikat 9f6c276b5f Fix NES set mnemonic to match the get method 2011-05-08 21:09:20 +00:00
andres.delikat 40379f898d Fixed NES mnemonic to match fm2. Fm2 files will now successfully playback. SMB TASes sync on bizhawk 2011-05-08 20:55:37 +00:00
andres.delikat 1c4fd5456e Restore input log playback 2011-05-08 17:09:34 +00:00
andres.delikat a3b996e4e2 Define active controller whenever a new null emulator is created 2011-05-08 14:25:51 +00:00
andres.delikat fcae514df5 Don't log input while a null emulator core is running 2011-05-08 14:16:38 +00:00
andres.delikat a5bf181621 active controls should be set to a null emulator as an option too (this still doesn't fix the crash on load though as it never gets to the code that sets active controls because that is triggered by the loading of a ROM) 2011-05-08 13:43:53 +00:00
andres.delikat 3ac209217c Basic rerecording! Inputlog is now saved into savestates, and input log is replaced by savestates contents if in record mode. Still TODO: lots of logic about proper error/timeline checking & logic 2011-05-08 12:51:39 +00:00
andres.delikat b9c334b93a As usual I forgot to check in new files 2011-05-08 11:29:34 +00:00
zeromus 646dd59ad6 disc subsystem progress 2011-05-08 09:07:46 +00:00
andres.delikat a91c8ecbd7 Movie class clean up, add movie version to header, save game name and emulator version to header, movie code will load any non-header or input log as a comment, GetFrame does bounds checks, cleaned up todos 2011-05-08 01:00:13 +00:00
beirich 33c300ff7b good news: movies work! bad news: 1) movies don't work for TI83 yet 2) I broke some NES things, to be fixed in a later commit 2011-05-08 00:06:43 +00:00
andres.delikat a02694b562 Start a TAS Studio dialog 2011-05-07 21:52:26 +00:00
andres.delikat a4cfea9a24 oops, meant to check in this file too 2011-05-07 21:20:05 +00:00
andres.delikat 42a5dbd7e5 Path Config - save use recent path for ROMs settings, enable/disable labels as well when clicking it, fix a typo in load function 2011-05-07 21:10:08 +00:00
andres.delikat b09cd5af9e Path Config - hook up all the browse buttons 2011-05-07 20:42:15 +00:00
andres.delikat dab3df8ea2 Path Config stuff 2011-05-07 19:14:52 +00:00
andres.delikat 65499148d4 Path config progress 2011-05-07 17:26:16 +00:00
andres.delikat 0a1dc8c06e Path manager - fix so that paths use their platform base (if there is one), then the global base, then the exe path 2011-05-07 02:54:09 +00:00
andres.delikat b53b9f7a42 start a LuaText object 2011-05-07 01:17:19 +00:00
andres.delikat db98f67772 Disabled LuaWindow in favor of LuaConsole 2011-05-07 01:06:01 +00:00
andres.delikat 3bca271d0e Yet another round of Lua Console 2011-05-07 00:33:15 +00:00
andres.delikat 9cb852664d Another round of Lua Console 2011-05-07 00:07:27 +00:00
andres.delikat b95a5dfc17 Progress on lua console window 2011-05-06 23:08:50 +00:00
andres.delikat 4914fa64d2 2011-05-06 01:40:52 +00:00
andres.delikat 508e00785a a multi-lua script dialog rough draft 2011-05-06 01:37:28 +00:00
andres.delikat e85326d340 Hook up Movies path to OpenFileDialog in the Play Movie winform. Doesn't actually do anything yet but I wanted to go ahead and get the path config calls in there 2011-05-05 19:55:43 +00:00
andres.delikat b37052693c Path Config - progress 2011-05-04 20:31:36 +00:00
andres.delikat a5e092bea3 Path Config - fix some bugs with PathManager functions. Hook up watch file path to Ram Watch dialog 2011-05-04 15:44:18 +00:00
andres.delikat fb6cef87fd Path Config - Move/Resize things so that text boxes are wider 2011-05-04 12:23:41 +00:00
andres.delikat 0177431335 Path Config - Moved helper functions into a PathManager class. Made Folder Browse function use current folder mapping as starting folder. Other fix ups. 2011-05-04 02:00:08 +00:00
andres.delikat dae63bc513 Path Config - helper functions for forming absolute paths from relative or special identifiers 2011-05-03 20:48:51 +00:00
andres.delikat 255818b801 Path Config - Better anchoring of widgets, progress on setting proper default folders in a FolderBrowserDialog 2011-05-03 15:53:12 +00:00
andres.delikat 344e50e33d Path Config - implement path config for watch files 2011-05-03 02:32:21 +00:00
andres.delikat dc4c1d54d3 Path Config - If always use recent path for ROMs is checked disable ROM path config for each platform 2011-05-02 20:37:01 +00:00
andres.delikat a8b684e536 PathConfig - fixed up positioning of widgets, made platform specific cheat paths rather than one all encompassing one in the tools tab 2011-05-02 20:17:22 +00:00
andres.delikat ed52c85895 Path Config - grunt work, renamed all relevant widgets 2011-05-02 19:05:55 +00:00
andres.delikat ee34f316cc Make alert messages color and last input colors configurable in message config dialog. 2011-05-02 01:49:53 +00:00
andres.delikat becbbc88ea Input display now shows the previous frame input as well. The display currently doesn't look good, but I will improve on that soon. Save last input into NES savestates 2011-05-01 21:19:18 +00:00
andres.delikat 57672564a5 Path config - tabbed layout approach 2011-05-01 18:58:19 +00:00
andres.delikat c4403a2959 Start path config dialog. Made a rough draft of how it might look 2011-05-01 18:17:04 +00:00
andres.delikat f440f843dd Add IsLagFrame bool to IEmulator and implement in all platforms. Make an alert font in Render panel and make input display use it when a frame is a lag frame 2011-05-01 16:04:53 +00:00
andres.delikat 2fa3561c45 Add LagCounter int to IEmulator, returns 0 on every emulator at the moment. Hook up RenderPanel's LagCounter display 2011-05-01 00:20:39 +00:00
andres.delikat a4f4c59e9c More fix up to toolbox - adding some icons 2011-04-30 23:45:02 +00:00
andres.delikat 843d679ce7 Toolbox - add emulator dependent tools to toolbox. 2011-04-30 21:19:11 +00:00
andres.delikat 880b3a7a5b ToolBox - set toolstrip as a tabstop, now the user can arrow key to the dialog of choice after pressing the toolbox hotkey 2011-04-30 20:50:32 +00:00
andres.delikat a195d36772 Add stuff to tool box 2011-04-30 20:18:42 +00:00
andres.delikat 0927af96f5 TI83 Keypad - a few minor changes 2011-04-29 16:55:50 +00:00
andres.delikat fe175031a6 TI83 Keypad - yet more dialog cleanup 2011-04-29 01:21:14 +00:00
andres.delikat 2e30ab89a8 Make backgrounds transparent on arrow images for TI83 2011-04-29 00:25:34 +00:00
andres.delikat 724a5b3bd8 TI83 Keypad - tiny change 2011-04-28 18:41:37 +00:00
andres.delikat f45293c009 TI83 - more keypad fixups, use special characters in text 2011-04-28 17:06:07 +00:00
andres.delikat 8d284c1250 TI83 Keypad - ability to turn on/off the hotkey tooltips 2011-04-28 02:12:35 +00:00
andres.delikat 6bf24b4531 TI83 Keypad - dialog fix ups 2011-04-28 01:22:34 +00:00
andres.delikat 2a54d8a8cd TI83 Keypad - fixed forcebutton issue, all buttons now implemented 2011-04-27 17:29:09 +00:00
andres.delikat 969ff85d9d TI83 Keypad has buttons all with proper text and colors, some buttons hooked up. 2011-04-27 16:23:16 +00:00
andres.delikat 916ae58dbb oops, forgot to check in these files 2011-04-26 22:30:04 +00:00
andres.delikat 0c5b5f328d TI83 specific menu with stuff 2011-04-25 01:28:48 +00:00
andres.delikat c9bca52ccb Fix up more TI83 buttons stuff, input display no longer crashes when navigating away from the TI83 section. 2011-04-25 00:45:22 +00:00