Commit Graph

56 Commits

Author SHA1 Message Date
ansstuff 84ae16d8c2 * HideMenu (Esc) only works when FCEU window has focus
* moved "Display movie status icon" from Config->Movie options to Config->Display
* File->AVI/Wav->Enable HUD recording
2011-09-23 18:09:40 +00:00
brandonevans 72f17fb40c Button Count
-Made it so that the registerload / registersave functions are only used if registerload exists. I'll presume there is no emulator that supports one and not the other. This will allow VBA to use this script, although it'll be missing one of the better features until it supports this function.
-Made the number of controllers tracked configurable. VBA was counting everything twice when this was set to 2. It will still default to 2, but it'll be easier for people to modify this for VBA now.
2011-07-20 09:22:09 +00:00
brandonevans a1b6392832 Button Count
-As Lua starts counting from 1, and there may be a slot 0, increment the slot before saving / loading, storing data for slot 0 in states[1]
-Prevented the script from loading non-existent data.
-Removed the space from the file name so that it is more consistent with the FCEUX Lua repository, which this script is now a member of. :)
-Added messages when you save or (fail to) load data to / from a state.
-Made it so the script displays the button counts when you save / load a state.
2011-07-17 20:15:41 +00:00
adelikat d3c2998c8e Add Button Count lua script written by Brandon Evans 2011-07-15 23:57:52 +00:00
adelikat b5487e4acd Add AVI-HeadsUpDisplay lua script which is a script that allows the input display & frame counter to be captured into AVIs 2011-06-30 11:18:18 +00:00
adelikat c99ab3e42c RBI Baseball script written by me 2011-06-26 23:35:30 +00:00
adelikat a9d81c7e66 Add Nightmare on Elm Street lua script (displays coordinates and other handy addresses for all 4 players) 2010-10-09 04:20:26 +00:00
fatratknight 9d357153d3 Whoops, overwrote a useful function without realizing it. It was a function that wrote to a text file. It's back in, now. 2010-06-08 02:12:32 +00:00
fatratknight cda4ce2eda Decided to implement the ability to insert the subtitles stuff directly into the movie file itself... Or rather create a copy, in case I screwed things up script-wise. Hit page up twice to see it in action! 2010-06-08 01:10:12 +00:00
fatratknight bb767b0d49 Throwing in an experimental subtitler script. Anyone wish to play around with it? 2010-06-06 21:51:24 +00:00
ugetab a874412b61 Added option for palette selection as color for LUA colors. Included an LUA script to display all choices with the value used to pick displayed color.
Documented new color option and missing gui.text information.
2010-05-15 05:03:53 +00:00
fatratknight 092f2a2632 Fixed a glitch introduced in the last commit in the display for when ignoring the input list. Also added a rudimentary "save to file" function, which is promptly placed in emu.registerexit, hopefully mimicking .fm2 format. No loads, however. 2010-05-03 21:53:14 +00:00
fatratknight 37b563361c Slightly bulky auxiliary script, but has a few handy functions for dealing with input.get, displaying numbers, and adding new functions to the registers without kicking out old ones. 2010-05-01 21:44:20 +00:00
fatratknight 98a22a6cc1 Reverted the choice to put the rewinder in registerafter. Separated out the backup options for individual players. Made the backup display slightly smarter. Also, updated changelog. 2010-04-26 02:17:55 +00:00
ugetab b9955ea463 Minor addition to LUA documentation, and a Super Mario Bros. Competition Recorder, which tracks one's best attempts at recording a 'from reset' movie that achieves a high score, then saves the results in a text file, and sorts them by high score. 2010-04-21 22:04:31 +00:00
fatratknight efa51e4d35 By request of dwangoac, I have added backup functionality. Might need tweaking with the colors, and some instructions to go with it, but at this moment, I'm satisfied enough with it to commit this lovely addition. Poor numpad, scarcely having any buttons left untouched. 2010-04-20 06:39:21 +00:00
fatratknight e6edd5ab16 The display is smarter now. It also now runs entirely on registers, so another script can include it and do stuff in its own main loop. ... I hope. Unpaused rewinds no longer auto-pause, however. 2010-04-12 18:19:38 +00:00
adelikat 4cf0532e30 Lua - fixed zapper.read() to read movie data if a movie is playing. Also changed the struct values to x,y,fire. This breaks lua scripts that used it previous, sorry. Fixed the zapper lua scripts to be compatible with the new zapper code. Updated documentation to reflect this change.
[[Split portion of a mixed commit.]]
2010-03-28 04:47:02 +00:00
adelikat 2393cfca49 Lua scripts - a simple "target" display for zapper 2010-03-12 17:40:03 +00:00
fatratknight 39c6b906ca Created fake box routines to avoid double-painting the corners for translucent display. Separated control cursor from the display. Added a few more instructions. 2010-01-30 21:12:54 +00:00
fatratknight 1393cec73e Changed a default button. All the default keys are now on the numpad or close to it! Also used the Output Console as a window for instructions and information. 2010-01-12 02:44:44 +00:00
fatratknight 6e7efd3380 Fixed how rewind handles inserted/deleted frames. Implemented more helpful texts. Now I'm happy. 2010-01-11 16:08:18 +00:00
fatratknight 682e128849 Fixed inserts (table library didn't do what I initially thought). Fixed up control option display a little. 2010-01-09 16:02:37 +00:00
fatratknight b9ce61c38c Rewind added. Keyboard support for control options added. Awesomeness added. It feels somewhat polished now. Any testers? 2010-01-08 03:00:30 +00:00
fatratknight 70f353fbc6 Still prototype-ish. Made things look fancier when setting control options and even has a little help text! Still missing rewind... 2010-01-07 16:08:14 +00:00
fatratknight 34a6afbdef Added in inserts, deletes, and control options. Still a prototype. Lacks instructions and rewind. 2010-01-06 16:23:08 +00:00
fatratknight 7527972ac0 Prototype Multitrack script. Practically rewritten from scratch. Missing insert, delete, and various control options of original. Has all the display options neatly done. 2010-01-06 01:25:48 +00:00
fatratknight 458bed7b82 The input display actually has unique symbols now! Also replaced the pseudo-stateload detector with an actual stateload detector. Instructions are thrown in, too. 2009-11-10 02:58:17 +00:00
adelikat 888febcd19 Added some backwards compatible lua functions. Cleaned some lua stuff up, added documentation on lua changes to the help file. 2009-10-11 21:11:30 +00:00
adelikat c3e6bb0013 PunchOutChallenge - more customizations added. 2009-10-10 04:19:55 +00:00
adelikat 193583641c Punchout challenge lua script - more additions. 2009-10-09 22:36:09 +00:00
adelikat 11cc53bab7 Adding a WIP of my Punch-out!! Challenge lua script. 2009-10-09 17:56:17 +00:00
adelikat 99d2e02893 Added a lua script for Mike Tyson's Punch-Out!! (Works for Punch-out!! as well). Displays various stats like enemy HP, and damage amounts 2009-10-09 14:57:44 +00:00
fatratknight 995d178b42 Added two more counters. Select will now toggle the bar. 2009-09-17 04:49:27 +00:00
fatratknight 680396a4c3 Now sums up number of frames off from perfect timing. Just because I feel like it, it also counts perfect hits. 2009-09-17 03:56:03 +00:00
fatratknight f7bce819be Added a threshold so that it doesn't instantly detect the next button press. Timing could be tweaked. 2009-09-17 03:17:16 +00:00
adelikat f4b7f1d71a PunchOutTraining.lua - Made it so that it only reads if opponent's health decreases (since it can increase if the opponent hits mac and has a low enough health). 2009-09-17 01:19:08 +00:00
fatratknight 40f03042ef Added ability to disable or enable joypad input. May as well take advantage of my changes to joypad_set routine and related functions. Won't work pre-change, though. 2009-09-16 19:18:53 +00:00
fatratknight bfb67729ee Polished. Should be very shiny now. Look at the sparklies! Anyway, now it pops up some text letting you know what you did. 2009-09-16 16:55:38 +00:00
adelikat 88b4c24baa MTPO script - more cosmetics, TMI is now 23 to match realtime playing, bar is moved even closer to the players to see it easier while playing. 2009-09-16 04:41:21 +00:00
fatratknight 42a808b099 Well, at least that silly rectangle stops now. Unused code is in there, so experiment with stuff if anyone feels like it. 2009-09-16 04:32:39 +00:00
adelikat 3e3c2af93a cosmetic fixes 2009-09-16 03:50:58 +00:00
fatratknight 529845ff36 ... Er, uh... Just this little file I made under a request... Fairly bare, right now. 2009-09-16 03:38:48 +00:00
fatratknight 9f23ee011f Option: Script keys instantly affect input table, rather than wait for frameadvance. Also, more robust unpaused rewind antics. 2009-09-14 18:10:29 +00:00
fatratknight c469b93aae Added the ability to change how much input to display. I'm running out of buttons on the numpad! 2009-09-10 15:44:38 +00:00
fatratknight 2e8d11b4e4 Testing my write access, nothing more. 2009-09-10 00:44:48 +00:00
adelikat b7dbc544ef Adding a multitrack input recorder lua script made by FatRatKnight 2009-09-09 23:53:02 +00:00
adelikat f4bd60246a Added a Rewinder lua script by Jonathan Blow 2009-08-02 00:37:19 +00:00
adelikat 24f1e23c47 Added a lot of luaScripts by XKeeper 2009-03-29 22:47:19 +00:00
adelikat 22c8ec62b0 Adding Miau's SMB-RainbowRiding and a Lua Function listing 2009-03-29 15:04:39 +00:00