adelikat
d68e46e990
Win32 - prelminary AVI from commandline support. -avi filaname will being an avi capture but bring up the codec select dialog box on startup.
2010-06-09 14:33:21 +00:00
adelikat
b03401b198
Movies - Fixed read-only loadstate error logic & messages
2010-06-09 13:01:30 +00:00
punkrockguy318
c9d5c168a2
SDL: fixed a compile error with gcc
2010-06-07 22:02:57 +00:00
mart0258
f0cda70dea
Movie loading now faster:
...
* TAS Savestates moved from MovieRecord to MovieData.
* Calls to LoadFM2() no longer provide INT_MAX as the size, and now use the actual size of the file.
2010-06-07 21:39:10 +00:00
adelikat
3bfa40572e
New lua function: gui.savescreenshotas()
2010-06-07 16:38:47 +00:00
adelikat
f171bd3f72
Fix broken SDL build. Annoying have core & win32 files with the same name!
2010-06-07 16:26:41 +00:00
adelikat
dc1f95afea
Whoops - forgot to un-ifdef some code.
2010-06-07 15:45:12 +00:00
adelikat
6faa55b21f
Clean up Deign's screenshot as code. Internally it is now set up for easy implementation in the SDL build.
2010-06-07 15:41:52 +00:00
deign85
cacd846515
Added Save Screenshot As... functionality. It's messy, so please feel free to fix it up a bit.
2010-06-07 04:26:16 +00:00
fatratknight
a8fa67db16
Edited gui.text to return a value, the x position where it would paint the next character. This should hopefully allow scripters to place a useful box around the text, perhaps for looks or clicking like it's a button.
2010-06-06 22:50:46 +00:00
adelikat
e2274f2e8b
Win32 - fix bug that caused gamegenie to turn on when ppu is toggled.
2010-06-06 02:22:59 +00:00
adelikat
b9a361e004
Win32 - minor change to a pop up box, Ok Cancel (not OK CANCEL)
2010-06-06 01:40:39 +00:00
adelikat
45a8c717b0
Win32 - Movie Options Dialog - Fix so Full Savestate Load checkbox is updated on load
2010-06-01 12:37:18 +00:00
adelikat
94c12f0116
Change version back to 2.1.5 interim
2010-06-01 02:33:43 +00:00
adelikat
8e8bbec3e0
getting stuff ready for a 2.1.4a maintenance release.
...
[[Split portion of a mixed commit.]]
2010-06-01 01:54:30 +00:00
adelikat
0a677d74e1
Fix inaccuracy in documentation comments (sorry for the tiny commit)
2010-06-01 01:03:50 +00:00
zeromus
0f873d9812
fix crash in fcm convert
2010-06-01 00:53:52 +00:00
adelikat
d2526bc795
Movie loadstates - Undo a "fix" I made in previous revisions. Not sure what it was supposed to fix but it definitely broke things.
2010-05-31 23:52:29 +00:00
adelikat
1bae153646
Change version to 2.1.5 interim
2010-05-31 03:25:33 +00:00
adelikat
9cc28a4ebd
Compile Help docs & webpages, Fix version string, fix up web pages for release. Update changelog to reflect release date + svn.
...
[[Split portion of a mixed commit.]]
2010-05-31 01:46:29 +00:00
adelikat
487074a6b5
Better document new loadstate logic and fix up changelogs
...
[[Split portion of a mixed commit.]]
2010-05-30 23:45:55 +00:00
CaH4e3
283c298e2f
fixed ID: 3009161 zapper autodetection for Gotcha! is on, any others?
2010-05-30 16:39:49 +00:00
smelenchuk
1337b3eb84
Add emufile.cpp to SConscript so that this can actually build under Linux.
2010-05-29 20:37:43 +00:00
adelikat
7c6c8d0941
Added lua function movie.getfilename() which returns the current movie filename without the path included.
2010-05-29 04:06:49 +00:00
adelikat
626528ade6
Fix wrong comparison during loadstate+read-only checking. Post-movie savestates can now be loaded in read-only without an erroneous error.
2010-05-28 19:59:06 +00:00
adelikat
5ed6637f60
Movie errors - again, stopping the movie and informing user in the event of backup savestates being disabled. This time for savestate after movie end + read-only
2010-05-28 19:48:49 +00:00
adelikat
ed6e4258e0
Movie errors - fix GUID mismtach error to stop movie if backups are disabled. On Win32 this option is only done if user selects cancel. In both cases an error message informing of the lack of backups is presented.
2010-05-28 19:39:16 +00:00
adelikat
c2a9da0adc
Movie errors - fix timeline error so that it stops movie if backups are disabled (since it will be unable to restore previous state). Also informs user of the situation.
2010-05-28 19:25:42 +00:00
ugetab
271815d60e
Updated the code for the last commit. I added it rather in a bit of a hurry, but didn't account for a few things. Should work well enough now.
2010-05-28 16:45:57 +00:00
ugetab
ead5e3f1ae
Bug 3008383 had some merit, on further testing. Added something to hopefully fix the debugger updating problem for all situations.
2010-05-28 16:08:33 +00:00
zeromus
d607cee1c4
enjoy the same speedups in the replay dialog
2010-05-28 04:04:47 +00:00
zeromus
bccf3f2f85
movie speedups
2010-05-28 03:59:19 +00:00
adelikat
988753e116
Bind SSLOADPARAM_BACKUP to backupsavestates bool
2010-05-28 03:28:44 +00:00
ugetab
fcdbf68117
Put some more work into the stack breakpointing code, so it works closer to what is expected.
2010-05-27 22:18:52 +00:00
ugetab
186a9544c8
Added imperfect PAL scanline readout in debugger. It's quite possible that the NYSC version is imprecise to begin with.
2010-05-27 19:07:21 +00:00
ugetab
ff284dd29c
Made debugger able to break on and distinguish Stack reads/writes, regardless of the source of the stack change. Addresses bug 2809881, which asked for the address push from an NMI/IRQ to cause a break
2010-05-27 17:01:29 +00:00
adelikat
ed2a319661
Win32 - TASEDit - more mapping out logic & structure.
2010-05-26 02:26:31 +00:00
adelikat
95d40beaee
ditto
2010-05-25 18:15:10 +00:00
adelikat
50928c86fa
Win32 - TASEdit - more cleanup and commenting about what needs to be done.
2010-05-25 18:04:33 +00:00
adelikat
042feb025f
Win32 - TASEdit - project class - lots of notes as to the proper implementation of this (will need a slight overhaul) as well as adding a lot of private member data.
2010-05-25 17:42:52 +00:00
adelikat
5d590e4054
Win32 - TASEdit - Pause toggle button
2010-05-25 16:48:52 +00:00
adelikat
bb4ef400b6
Win32 - Cheats - addded "Delete selected cheats" context menu item
2010-05-25 15:36:46 +00:00
adelikat
23277bc4df
Win32 - Memwatch - ignore spaces at the beginnign of an address in the address boxes
2010-05-25 04:34:34 +00:00
mart0258
43938a1999
Disable auto-savestates during turbo
2010-05-25 03:31:03 +00:00
mart0258
b33b01febd
Prevent .zip files containing no valid files from causing crash
2010-05-25 03:20:48 +00:00
adelikat
68e300e7a2
Fix FCEUI_MovieGetInfo. It was keeping info.reset from being initialized and causing garbage to be used to determine if a movie began from soft-reset. As such the Win32 replay dialog was always reporting savestate movies as soft-reset.
2010-05-25 03:09:53 +00:00
adelikat
f9fbb68208
Win32 - Replay dialog - one of the info labels was being cut off slightly by another.
2010-05-25 02:59:38 +00:00
adelikat
0fdd04954e
Fix playmovie from beginning for movies that begin with savestate.
2010-05-25 02:34:10 +00:00
adelikat
1aafbe1a62
Fixed so that Play movie from beginning has no affect on a movie that starts from a savestate rather than attempting to and using a power cycle to do it. TODO: properly replay a movie from beginning that starts from savestate.
2010-05-25 00:50:27 +00:00
CaH4e3
1dd4e93cec
mapper 19 savestate fix
...
mirroring for "Dream Master (J)" corrected to "four-screen" by CRC check
2010-05-23 18:37:31 +00:00
ugetab
b2195e188b
Accidentally added a compiler warning too. Fixing that now.
2010-05-23 16:11:13 +00:00
ugetab
bf27edd686
Altered the previous commit to handle every known method of run and pause.
2010-05-23 16:04:13 +00:00
qeed
bc334c4cac
add nes_ntsc to the build script
2010-05-23 15:56:39 +00:00
ugetab
b05cb472da
Fixed bug 3005909, which involved pausing emulation outside of the debugger, then trying to use the debugger commands, and having the CPU registers become corrupted.
2010-05-23 15:52:42 +00:00
ugetab
3d244249d6
Made cheat menu's Pause When Active effect immediate
2010-05-23 04:34:13 +00:00
ugetab
2f4384c1d5
Made a minor error when adding the multi-select coding to cheat.cpp. This fixes it.
2010-05-23 03:47:28 +00:00
ugetab
0008e1313e
Enabled multi-select in the cheat menu, so one can use the Right-click menu to toggle multiple cheats easily, and a safe multiple delete that asks for user confirmation if more than 1 item is selected. Doesn't seem to interfere with previous activity, beyond being able to hold a click longer than desired.
2010-05-22 15:13:46 +00:00
adelikat
bff9590dbd
Code cleanup - made a function I wrote awhile back more effecient slighty. Removed/edited some stale comments. Nothing of this commit should change functionality of anything.
2010-05-22 04:39:08 +00:00
ugetab
0e7752fc4c
Forgot to include the new files in the last commit. Now it will compile.
2010-05-21 20:42:05 +00:00
ugetab
e5f12da441
After much effort, added NTSC 2x scaler option to both Windows and SDL. Includes new config option NTSCwinspecial.
2010-05-21 20:36:24 +00:00
adelikat
4e83ad049d
Updated changelog for last commit, reverted the commenting of UpdateCheatsList(), we want that to happen every frame.
2010-05-20 13:43:19 +00:00
CaH4e3
f1f21bb00e
cdlogger: fixed bug preventing correct interrupt vectors logging (there is no IRQ loggead at all)
...
cdlogger: various code refactoring and cleanup
2010-05-20 12:45:20 +00:00
ugetab
892758907d
Made the Message Log more verbose about header info on load. Changed in response to tracker item 2805970, but I don't trust that the document provided is accurate, so verbosity was increased instead.
2010-05-20 07:01:41 +00:00
adelikat
aa42fa2369
Win32 - Hooked up SingleInstanceMode to a checkbox in GUI config.
2010-05-20 02:16:57 +00:00
ugetab
b68d9a91b8
Added Single Instantiation mode, which makes starting a second copy of FCEUX with a path to a game make it load the file into the first, then exit. To enable, set SingleInstanceOnly 1 in the config file. If someone else wants to edit things to make this easy on the user, go for it. If started with nothing in the command line, it will simply start a second copy.
2010-05-19 21:51:25 +00:00
zeromus
bca41a8c4b
fix up opening roms from archives
2010-05-19 16:26:26 +00:00
adelikat
642ef6e568
frame counter turns red on MOVIEMODE_FINISHED
2010-05-19 03:46:52 +00:00
adelikat
83fb3e9ffa
Code cleanup - moved ppu toggling to a function called FCEU_TogglePPU() in fceu.cpp
2010-05-19 02:12:11 +00:00
qeed
ccf831a2fb
fixed fceud_fstream to use EMUFILE to open the file, should be compilable again
2010-05-18 19:00:54 +00:00
qeed
11e94c3e99
fixed 2 compile errors for gcc, more awaits..
2010-05-18 18:22:20 +00:00
adelikat
da875309c1
Win32 - Add messages to screen & messagelog on PPU change.
2010-05-18 18:20:52 +00:00
adelikat
88e7627162
Remove stopmovie() on old savestate load attempt when a movie is active. The error checking prevents anything destructive from happening so there is no reason to stop the movie.
2010-05-18 18:10:17 +00:00
adelikat
fdbbb5bbc0
Implemented a "full savestate-movie load" mode similar to the implementation in VBA-rr & SNES9x-rr.
...
In this mode loading a savestate in read+write doesn't truncate the movie to its frame count immediately. Instead it waits
until input is recording into the movie (next frame). For win32 this feature is togglable in movie options and the context
menu. For SDL this is off by default and a toggle will need to be added.
2010-05-18 15:31:53 +00:00
adelikat
8f222b3c91
More efficient if logic in CheckTimlines(). Added a flag for a feature of full copy savestates. This is a VBA/SNES9x type feature where a savestates full movie content can be loaded in read+write. Those emulators perform this option with a bit of trickery by not truncating the movie data until the next frame. Instead we are going to give the user an option to use this mode through the user interface.
2010-05-18 12:54:54 +00:00
adelikat
fb579eb4b2
Made gamepad 2 off by default.
2010-05-18 04:52:05 +00:00
adelikat
cec1766f34
Read-only loadstate - revert a logic error I had in determining a "future event" error.
2010-05-18 04:07:25 +00:00
zeromus
4e66aaef9c
replace most of the crappy iostream stuff with EMUFILE
2010-05-17 21:02:38 +00:00
adelikat
fb1240c262
Fixed the timeline checking function. The mistake was assuming that FCEUX didn't save the entire movie in a savestate. Now that I know it does, the fix was rather simple.
2010-05-17 15:51:11 +00:00
adelikat
5993feb80c
Getting the ball rolling on replacing the movie savestate ostream usage. Porting over the emufile class for desmume. Had to impport its types.h as types-des.h to get it to compile. Added the files to both the vc9 & vc10 proj files.
2010-05-16 19:41:11 +00:00
adelikat
7480101827
Timeline error messages now report the frame where the savestate branches from the movie file.
2010-05-16 19:26:29 +00:00
ugetab
64fd9f0c44
Fixed the input display auto hold code I put in yesterday, and optimized the code slightly.
2010-05-16 14:23:23 +00:00
gocha
ffb708a23e
RAM Search: fix reset to update previous values
...
RAM Search: redraw the list when search size/format is changed.
Probably those are common bugs of the Gens-style RAM search dialog.
2010-05-16 10:26:11 +00:00
ugetab
e277aa9e24
Improved the Hold status display considerably.
2010-05-16 04:50:56 +00:00
ugetab
046617c693
Added player 3 and 4 to autohold notification window. Made FCEU_DispMessage able to display to different screen locations to do it. Fixed up the input display code for autohold.
...
Wow, that's a lot of stuff changed for something so basic.
2010-05-16 04:18:49 +00:00
adelikat
a56ad34cea
Mostly implemented auto-hold input display, only controller 1 works completely.
2010-05-16 03:18:17 +00:00
adelikat
0aa8d22ca5
Attempt at auto-hold in input display
2010-05-16 02:34:51 +00:00
adelikat
a1a74c6e9c
Implemented read+write logic for handling a "post movie" savestate. Also fixed a slight error where rerecordcount wouldn't increment if _S9XLUA_H is not defined.
2010-05-16 01:46:04 +00:00
adelikat
7e48d40dfc
This should be the final step in proper post-movie savestate loading.
2010-05-16 01:23:01 +00:00
adelikat
7c06c4d2ab
Fixed up more loadstate logic. We had a slight logic error this whole time that wasn't a problem until now. Checking to see if a state is a future event, we assumed frame counter of the state matched the length of the movie. Now that movie finished is a mode, that is no longer true. Fixed that, and fixed the input display updating at the end of a load state to always look at the state input rather than the statemovie last record. This fixes proper behavior of saving and loading states during movie finished mode as per the "Laws of TAS": http://tasvideos.org/Adelikat/LawsOfTAS.html
2010-05-15 21:22:16 +00:00
adelikat
473b954991
Cleaned up some logic with read-only saving/loading and better error handling. Also made movie finished mode save movie content.
2010-05-15 18:09:11 +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
adelikat
dc61c4c414
Better error handling in the event of wrong timeline. Loadstate is canceled, error message displayed, and movie continues playing.
2010-05-15 04:24:29 +00:00
adelikat
1415fb402c
Revert some changes to MovieRecord class. savestate vector is de-pointered & public again as well.
2010-05-15 04:08:16 +00:00
adelikat
2cd959fd84
More robust way to handle previous fix. Put the string manipulations into generic functions in common.cpp
2010-05-15 02:38:32 +00:00
adelikat
e8bed97821
Replay dialog, when selecting a movie in a relative path (.\movies for example), the recent movies list stores an absolute path instead.
2010-05-15 02:06:15 +00:00
adelikat
191196a2bb
Win32 - When recording a movie, add it to recent movies
2010-05-15 01:48:53 +00:00
adelikat
6c474065fe
Fix typo in command button checking of the compare() method
2010-05-15 01:40:39 +00:00
adelikat
ddcd8f3566
Overhaul of MovieRecord class so it has a default contructor that initializes everything to 0, A deconstructor, and a get method for savestate vector. Fixes my timeline issues, but creates crash problems in TASEdit related to the deconstructor.
2010-05-15 01:05:42 +00:00
adelikat
691662f4c9
Make last commit compile, also replace command comparing methods
2010-05-14 23:51:42 +00:00
adelikat
d5aa6a69b2
An attempt add doing "timeline" checks on movie savestates while in read-only mode. Commented out the function call since it isn't performing as expected.
2010-05-14 23:31:47 +00:00