Commit Graph

153 Commits

Author SHA1 Message Date
adelikat e60ba05e66 Gui.text - fix inverted default fore/back colors, fix lua scripts to use new gui.text parameter scheme 2012-04-30 00:45:37 +00:00
adelikat fffe30f4f9 Atari - add a version of Magicard to the gamedb 2012-04-29 19:40:28 +00:00
adelikat d9134ac6ce TI-83 add a bunch of rom versions to gamedb, mark bad dumps accordingly, and display the version number when displaying the rom name 2012-04-29 03:58:06 +00:00
brandman211 cb3e0ec666 Applied the renames for "minimum buttons pressed", "minimum buttons inputted". 2012-04-25 04:56:48 +00:00
Rolanmen1 152f6f37e8 Added a HitBox Script for SMB2U, it runs but still a bit buggy. 2012-04-18 15:06:07 +00:00
zeromus 7b86f66353 nes-oops. now, actually pass all mmc3 tests 2012-04-14 09:40:41 +00:00
zeromus 73fba31c34 nes-add mapper012 (mmc3 variant, for dragon ball z 5). add concept of mmc3 chip revision variants to mmc3 code and game database, and add proper emulation thereof. pass a bunch of mmc3 tests. simplify (to almost nothing) iNES board detection to correspond to new paradigms of virtual board types. your savestates for mmc3 games are invalidated. 2012-04-14 08:28:42 +00:00
zeromus a1d798cc8f nes-mark banana bad dump variants as bad in gamedb 2012-04-11 18:17:59 +00:00
zeromus 9f6820b83f revise nes gamedb to be more organized and useful hopefully with respect to the actual kinds of scenarios we run into 2012-04-07 18:34:05 +00:00
adelikat da2062d373 Atari - add avgn game to gamedb 2012-04-05 23:57:57 +00:00
zeromus 4c817b20c8 add konami collection games to gamedb so they show as good dumps 2012-04-01 16:25:59 +00:00
brandman211 557f437195 -As much as I dislike the new joypad.set() setup, the least I could do is make it consistent with joypad.get().
--If there is no controller parameter, then all of the buttons are returned as they are stored in the system, just like joypad.set(input) takes button names as is.
--If there is a controller parameter, all of the buttons for that controller are returned without the "PX ", just like joypad.set(input, controller) takes button names without the "PX " and assigns them to the matching buttons for that controller.
--No one approved this change, but seriously, this is common sense. I expect some "change denied" April Fool's stuff tomorrow...
-Implemented a blacklist for ButtonCount. By default, Lag, Pause, and Reset are blacklisted. I don't think any of these buttons should be tracked.
2012-04-01 08:08:40 +00:00
adelikat 4c958584f5 Add Lua scripts folder to MakeRelease.bat 2012-03-31 00:44:17 +00:00
zeromus 37d58f1a4f add a2600 game database 2012-03-29 23:55:10 +00:00
brandman211 7e75d983ae Came up with a solution for the joypad.get() issue.
-adelikat has informed me that in FCEUX, savestates contained the button state of the frame on which you saved on. He claims that this is redundant because you could retrieve the state from the frame you're loading on, so BizHawk will not do this.
-As such, I just retrieved the input for the frame you're saving on before associating the data with the state.
--This essentially includes the missing info without having to depend on a movie frame to get the data from.
--In order for this to make sense, I made it so that the main joypad.get() doesn't run on a frame you're saving / loading on.
--Finally, in order to show the data from before the save frame when loading the data, I cached that data as well.
---The two above steps require collecting the data for a state once and using that until the frame is advanced or a state is loaded. Otherwise, I'd be able to increase the count significantly by saving multiple times.
-All this said and done, I think this script is perfect now, and is way more convenient to use than the FCEUX counterpart.

Notes:
-As mentioned before, it seems that the scripts are disabled when the console is reset / a movie begins playing. I don't like this to begin with, but worse yet, I noticed that this somehow makes the button data carry over from before the reset. Why is this?
-It seems that using gui.text in savestate.registersave/load causes the text to be written over the previous text instead of clearing the screen and then writing. Is this expected? How can I avoid overlapping text?
2012-03-28 17:06:25 +00:00
brandman211 40e2d5f543 Refactored for the register functions. This seems to work fairly well, but when loading a state, joypad.get() contains the button states for the frame you were on BEFORE loading instead of the frame you are now on. This results in small errors. The issue might be deeper than my script or even the Lua implementation, so I can't do anything about this. 2012-03-28 03:41:46 +00:00
brandman211 be807c3def -Used the new movie.getinput() function to simplify parse(), now frames().
--TODO: Disallow Reset, Lag, and other non-buttons. Pause?
--If this works like adelikat says, my missing load state idea will be possible.
-Made the loading information show up on the console instead of the gui.

Note: Still need savestate.registersave/load!
2012-03-27 21:11:34 +00:00
brandman211 d1b00e6d4d Added my converted ButtonCount.lua script (Original here: http://code.google.com/p/brandon-evans-tas/source/browse/Lua/ButtonCount.lua)
-As you'll recall, the script has 3 methods of keeping track of input:
--1. Tracking the button counts in real time. This took some minor adjustments, but seems to work fine.
--2. Parsing the button presses from a loaded, read-only TAS file when starting the script, if possible.
---This works well enough after a good amount of refactoring, but I only have it rigged to work for NES.
---As always, note that this method is very slow for big movies, which is why we only use it once.
--3. Caching the counts when saving a state and loading them when loading a state.
---savestate.registerload and savestate.registersave are not currently supported by BizHawk, so this is not functioning at all.
-I propose that a function called movie.getframe(frame) be added that gets status of all of the buttons, just like joypad.get(), for a given frame of a movie.
--This makes the would make method 2 trivial and fast.
--It would allow me to generalize the function for all platforms easily.
---Certainly there might be some discrepancies about which buttons should be disallowed, if any (Is Reset a button press?), but still. 
--If this method could somehow work for non-readonly movies, then I'd be able to use the movie to get the counts when I load a state that doesn't have cached data.
---Trust me when I tell you that this would be immensely useful for minimum button TASing. The process would be seamless, and all of these methods combined would provide perfect accuracy while being fairly efficient and only using intensive routines when absolutely necessary.

Note: Earlier, I came up with the idea for a function that lets you set what frame of the movie you are on, which would be useful for endless TASes like we've already discussed, adelikat. Do you still think this is worth having?
2012-03-27 06:44:47 +00:00
adelikat 5d483b9e55 revamp rbi baseball script for bizhawk special functions, such as sending script info to the output window. And right aligning display stuff 2012-03-27 02:56:59 +00:00
adelikat 701e0823d5 Really fix PunchOutStats.lua 2012-03-27 02:26:01 +00:00
adelikat 9e0e6407b3 Revamp the Punchout stats using the anchor property of gui.text() 2012-03-27 02:17:17 +00:00
adelikat 74648bd806 add punchout stats lua script 2012-03-26 02:06:04 +00:00
adelikat 588888d439 check in my RBIBaseball luaScript modified for bizhawk (only had to change memory.writebyte to mainmemory.write_u8 and it worked fine) 2012-03-26 01:58:04 +00:00
zeromus fa25305d67 atari-add player 2 controls? 2012-03-22 06:33:28 +00:00
adelikat 863f3fc4e5 fix an error in chr rom size for a CNROM game 2012-03-13 02:10:18 +00:00
beirich ca47082737 fix some PCE savestate desyncs 2012-03-12 00:14:44 +00:00
adelikat 49c751e4c4 variation of a game added to gamedb.txt 2012-03-10 13:55:36 +00:00
adelikat efd4c5cbab Make...a certain game...work 2012-03-10 13:30:39 +00:00
adelikat f9e43cf3d7 Mapper 46 - fix gamedb entry, put in high bits 2012-03-09 03:24:05 +00:00
adelikat 5655262df6 Start Mapper 46, could not get the gamedb.txt entry to work properly 2012-03-09 02:57:04 +00:00
taotao54321 434bfebb1f set svn:executable on BizHawk.MultiClient/output/7z.dll 2012-03-08 15:23:08 +00:00
zeromus 9a6d6a63bd improve nes rom detection log, and set svn:executable on some files 2012-03-07 19:14:15 +00:00
zeromus 14ae31dfbf vs wants to manage copying of lua51.dll itself as a dependency of LuaInterface.dll, and thats why it keeps deleting it sometimes when cleaning it. so move the lua51.dll alongside LuaInterface.dll and let it do the copying 2012-03-04 03:15:03 +00:00
zeromus e5fb7a6958 fix release script 2012-03-02 04:16:28 +00:00
zeromus ff12c2c5ef dxwebsetup.exe not needed here anymore 2012-03-02 03:40:43 +00:00
zeromus e73dee15b9 fix lua 2012-01-09 00:15:54 +00:00
beirich dcc0a34d93 Add NBA Jam [Proto] SMS to gamedb 2011-10-03 13:01:27 +00:00
zeromus 58738c1af3 nes-sunsoft reorg yet again. think we've got it under control this time though. i even added a doc specially for sunsoft to describe whats going on 2011-09-26 08:05:17 +00:00
beirich e5f1c142f8 pce-cd: fix Snatcher, Madou Monogatari, Tangai Makyo, ValisIII playable now 2011-09-25 23:34:53 +00:00
andres.delikat 4f072f8623 Oops, neglected to check these in with the last commit 2011-09-25 22:36:13 +00:00
andres.delikat 7943ff5781 Start Mapper 164 and add Final Fantasy V (Unl) to gamedb.txt 2011-09-25 21:52:10 +00:00
andres.delikat 075c4ea3dd NES - some work on classifying mapper 16/159 roms: Added to gamedb various versions of roms, added board cases to BANDAI-FCG-1, misc cleanup of board. Most of these games don't work but a few did. 2011-09-25 17:16:26 +00:00
zeromus 1d29b0c39b nes-upgrade nescartdb 2011-09-25 09:47:33 +00:00
andres.delikat fece5fd7e2 NES - Start HVC-CNROM-256K-01 board (for mapper 185). Finishing will require finding a rom with the right sha1. 2011-09-25 01:20:32 +00:00
andres.delikat f808cd4009 Add goodnes 3.14 version of
Rad Racket: Deluxe Tennis II to gamedb.txt.  Maps to NINA-06 board, however it crashes on ReadPPU()
2011-09-25 00:01:11 +00:00
andres.delikat 754b4ee2ee NES - Started JALECO-JF-13 board (Mapper 86). The only copy of Moero!! Pro Yakyuu (Red) I could find doesn't work and doesn't match bootgod's db. However, it worked in FCEUX 2011-09-24 19:48:18 +00:00
andres.delikat 12c664ea00 NES - Implement board BANDAI-74*161/161/32 (Mapper 70). Family Trainer - Meiro Daisakusen, Kamen Rider Club, Space Shadow tested and verified to work. Updated compatibility list. Added goodnes3.14 version of space shadow to gamedb.txt 2011-09-24 18:47:02 +00:00
andres.delikat d17934b395 Fix TAITO_74_161_161_32 board (mapper 152), arkanoid 2 now works. Added Goodnes3.14's version of arkanoid 2 to the gamedb (even though it is actually a bad dump, our policy is to support 3.14 roms). Fixes to other mappers, Holy Diver now works properly (among other games). 2011-09-24 14:04:21 +00:00
zeromus 6a570c89fc nes-fix a little bug in MMC2 and support MMC4 while i am at it 2011-09-21 05:47:41 +00:00
beirich f9d7ff62f4 pce-cd: support arcade card, fix cd-audio playback bug
add new emulation options to gui for SMS and PCE/CD
2011-09-19 00:39:28 +00:00