Commit Graph

2061 Commits

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