Emulator Coder, Site Developer, Site Owner, Expert player
(3574)
Joined: 11/3/2004
Posts: 4754
Location: Tennessee
Ok, FCEUX 2.0.2 release. This is a massive update and address most every bug/complaint made in this thread
Important note, ifyou are using FCEUX 2.0.0 or 2.0.1, change the name of your .cfg to fceux.cfg if you want to keep your settings!
Fixed Crashing Bugs
* restore savestate error recovery functionality. Will prevent crashes after savestate error messages
* Fixed - Low speeds (1%) crash FCEUX
* fixes bug where palflag 1 in .fm2 files crashes fceux
* FCEUX no longer crashes when attempting to open a non movie file
* Buffer overflow (change vsprintf to vsnprintf)
Minor Bug fixes
* SRAM not wiped on power cycle (during movies)
* Moviefilenames without extension now automatically get fm2
* auto-fill .fcs extension in save state as dialog
* FCM>FM2 converter releases file handle
* fix a new bug in windows build which caused fourscore emulation to fail in some cases
* Player 3 no longer inputs when not used
* prints a special message when trying to open an FCM reminding user to convert.
* fixes bug where Avi recording with no sound messes up the format
* Fixed bug where Convert .fcm didn't do special characters
* fixed the (null) in the default lua directory listing
* Ctrl+X now works in the memory watch dialog
* Dialog window positions won't "disappear" (-32000 protection on all dialogs that remember x,y)
* fixed View Slots bug - will now always show the used slots
* added shift+L as default hotkey for reload lua script
* added input display to the FCEUX main menu
* change config filename from fceu98.cfg to fceux.cfg
New Features
* restore IPS patching capability which was lost when archive support was added
* restore ungzipping (and unzipping in sdl) capability which was lost when archive support was added
* re-enable an "author" text field in the record movie dialog
* re-enable support for old-format savestates. (Note: can not be loaded into a movie!)
* Added new toggle - frame adv. - lag skip (menu item + hotkey mapping + saved in config), will cause frame adv. to skip frames where input is not read
* Added support for loading movies from archives (just like ROM files). Note: Movies loaded from an archive file will be read-only.
* movie replay dialog displays fractions of a second on movie length
* Savestates now save the Lagcounter information.
* added a mute turbo option in sound config
* add an option to pick a constant color to draw in place of BG when BG rendering is disabled (look for gNoBGFillColor in config).
Mappers
* remove cnrom chr rom size limit for homebrew roms
* mmc5 - 64KB WRAM games now work correctly
* mmc5 - use of chr A regs for BG in sprite 8x8 mode is fixed
* upgrade to cah4e3's latest mapper 163&164 code to fix a crash in a game
Debugging Tools
* Debugger - restore snap functionality
* Debugger - add FORBID breakpoints - regions which block breakpoints from happening if they contain the PC
* Debugger - debugger window is now resizeable
* nametable viewer will display correct NT,CHR,ATTR data in more cases (specifically, including some exotic mmc5 cases).
Lua
* Savestates remember Lua painting
* add memory.readbyterange to emulua
SDL only
* SDL: fixed --input(1-4) options. input1 and 2 are regular inputs, input3 and 4 are famicom expansion inputs
* SDL fix configfile woes. configfile now goes to ~/.fceux/fceux.cfg
* SDL: fixed segfault when opening .fcm files
* SDL: Saner sound defaults for less choppy sound
* SDL: "--special" option fixed for special video scaling filters
* SDL: cleaned up the SConsruct
* SDL: fixed issue where fceu would lock up when file dialogs were opened during fullscreen
* SDL: fixed bug where fceux would close when file dialogs were closed
* SDL: File open dialog is now used to movie playback
* SDL: File open wrapper now takes a titlebar argument
* SDL: Cleanup of usage
* SDL: rename options --no8lim -> --nospritelim and --color -> --ntsccolor
* SDL: Screenshots now always prepend the game name.
* SDL: Changed default A/B from numpad 2 and 3 to j and k.
* SDL: Enable frameskip by default
* SDL: Fixed a bug that would crash fceux if the emulation speed was overincreased
* SDL: New default hotkeys to more closely match win32 defaults
* SDL: Added lua script loading hotkey (f3). Non win32 SDL requires zenity for this to function.
* SDL: Build script cleanup; also added option for DEBUG builds.
Major bug: I can't replay a movie without it to crash for fceux 2.02.
Edit: Updated the bugs list in other topic. Might be missing a few but that's all I know for the moment.
Just for kidding, where is FCEUX version 1? :P
Emulator Coder, Site Developer, Site Owner, Expert player
(3574)
Joined: 11/3/2004
Posts: 4754
Location: Tennessee
Ouch, something got messed up between the coding and the making of a release binary. If you compile the current svn code it works just fine.
We will get this issue fixed ASAP.
EDIT: Actually, I can not recreate a crash bug on movie replay. Can you elaborate? Does anyone else have this problem?
EDIT2: Have you tried different .fm2 files? Can you send me one that crashes?
Emulator Coder, Site Developer, Site Owner, Expert player
(3574)
Joined: 11/3/2004
Posts: 4754
Location: Tennessee
I wonder if it isn't something related to the auto-fm2 detection.
Try going to config > directories and changing your movie folder to something (preferrably an empty folder) and see if that prevents the crash.
FCEUX goes crazy whenever I hit the volume control keys on my laptop.
When I hit the Volume+ key, I see the "Save State" dialog box, then the "Load State" dialog box, then the "Record Input" dialog box, then it freezes at 100% CPU usage for a couple seconds, then it shows the "Replay Movie" dialog box, the "Save AVI" dialog box, then it opens the Memory Watch, Debugger, Hex editor, PPU Viewer, Trace Logger, and Code Data logger. Sound is also screwed up.
I'm guessing it's doing all commands at the exact same time from an invalid keypress!
All versions of FCEU Rerecording also had the same bug, but the FCEUXD series does not have that bug at all.
Can you please zip all your movies in whatever directory is involved here and post them somewhere? Perhaps you have created a file which can crash the parser. The code is still new, so this is possible.
XP and the "Replay Movie..." window doesn't open at all since it crashes. So, no chance to open an explorer window.
Ok, I've created a "test" directory and set the movies dir to it, and FCEU doesn't crash but freezes.
I guess my answer to adelikat should help more than sendng the files.
And there are only 2 FM2 at the moment which one is a FCM converted to FM2. There are also many FCM in my movies dir.
I have a similar bug to Phil. Whenever I load a ROM and then select "Replay movie", FCEUX locks up and after a while displays the same error message twice: "FCM File format is no longer supported. Please use Tools > Convert FCM"
After this, though, the movie replay dialog comes up like i suppose it's supposed to. But the recent Trojan and Hogan's alley both desynch, despite having the correct checksums.
Requests:
- Autoselect the .nes files in a zip file. As it is now I need to select the ROM file anytime I open a zip since all of them contain a readme.txt or similar.
- Default to read-only in the movie play dialog, or at least remember my choice.
Request:
Patch to remove the black frames with hit boxes in zapper games.
Every time you press the trigger on the zapper the screen goes black. If there is anything on the screen that is possible to shoot at, those things are shown as white rectangles. Would it be possible somehow to make a patch that doesn't show the black images with white rectangles in them?
I hate to get epilepsy from playing those games. :)
I know it is the correct way. But I don't like the correct way always. In this case the correct way is annoying and does not increase the entertainment at all if you ask me.
Joined: 12/27/2006
Posts: 532
Location: Göteborg, Sweden
Highness wrote:
adelikat wrote:
Highness wrote:
Every time you press the trigger on the zapper the screen goes black. If there is anything on the screen that is possible to shoot at, those things are shown as white rectangles. Would it be possible somehow to make a patch that doesn't show the black images with white rectangles in them?
I hate to get epilepsy from playing those games. :)
Why would we want to remove this? This is correct emulation of the game.
I know it is the correct way. But I don't like the correct way always. In this case the correct way is annoying and does not increase the entertainment at all if you ask me.
Unfortunately if we'd do that for these kind of things, we'd lose our credibility for not cheating.
My published movies
[03:45:05] <Naohiro19> Soulrivers: ...
[03:45:19] <Soulrivers> ?
[03:46:35] <Naohiro19> <Soulrivers> No! <Naohiro19> So? <Soulrivers> Yes!
[03:46:48] <Naohiro19> joke
in this 2.0.2, it DOESN'T tolerate special characters in FM2 file.
Phil, this is caused by you not having input UTF-8 into the fm2 file. You probably input in the form of the windows code page which can do Côté exactly in four bytes; versus UTF-8 which requires six. You can verify this in a hex editor.
The crash is caused by my not handling an error that I shouldve. That will be corrected shortly.
I can't offer you any advice on how to produce a UTF-8 text file other than to use save-as and change the filetype in notepad. I know nothing about internationalization in C and I have no idea how anyone handles any of this robustly.
Edit: I have posted an interim build which fixes phil and truncated's slow open followed by fcm bitching, as well as handles phil's crash from confusing fm2 metadata.
http://fceux.com/zip
Thanks very much for helping us track this down.
Would it be possible somehow to make a patch that doesn't show the black images with white rectangles in them?
The game told me to display black images with white rectangles. It turned all the colors to black except for one which is white. Then it changed the sprite to a solid block shape. Now, what am I supposed to display?
I have a similar bug to Phil. Whenever I load a ROM and then select "Replay movie", FCEUX locks up and after a while displays the same error message twice: "FCM File format is no longer supported. Please use Tools > Convert FCM"
I have this exact same problem.. but it won't even load up the movie in the end as it did for Truncated. :(
Mr. Kelly R. Flewin
Mr. Kelly R. Flewin
Just another random gamer
----
<OmnipotentEntity> How do you people get bored in the span of 10 seconds? Worst ADD ever.
Phil, this is caused by you not having input UTF-8 into the fm2 file. You probably input in the form of the windows code page which can do Côté exactly in four bytes; versus UTF-8 which requires six. You can verify this in a hex editor.
Damn, you are right :P I forgot about that but anyway, it shouldn't have crashed. It's cool that you did fix it.
I just got 2.0.2, and I'm simply trying to load an fm2 movie and watch it.
I load the game (double dragon 2 (U) [!].nes), which it still incorrectly identifies as a PAL rom even though it's a verified good (NTSC) dump.
Secondly, I select the fm2 movie file under "Replay Movie" and choose "Browse" from the dropdown. After that, it doesn't load any of the movie info and just displays the rom checksum.
I think a few things need to be ironed out with this new emu branch before more TASes are published. :/
Thanks for reporting this. I was able to reproduce it. It was caused by the replay dialog trying to do everything with paths relative to the emulator base directory, and then trying to open the file relative to the process current directory (which you had changed by opening a rom) which caused it not to be able to find the fm2 that you had just picked.
I think you can work around the problem for now by opening the rom from your recent file menu.
Alternatively, I have uploaded an interim build to http://fceux.com/zip which should fix the problem.. however, the build has a number of other untested changes in it. Hope it works for you!