Locked

1 2 3 4 5 6 7 8 9
Former player
Joined: 12/5/2007
Posts: 716
Thanks for the fix! :)
Post subject: 2.0.2 release (major update)
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3584)
Joined: 11/3/2004
Posts: 4737
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.
It's hard to look this good. My TAS projects
Joined: 11/26/2005
Posts: 285
This just keeps getting better and better! :)
Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
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
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3584)
Joined: 11/3/2004
Posts: 4737
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?
It's hard to look this good. My TAS projects
Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
I just click "Replay Movie..." and it crashes. Any ROM and it's not my cfg file since even the default cfg doesn't change anything.
Joined: 11/11/2006
Posts: 1235
Location: United Kingdom
What OS are you using? If XP, can you visit your My Documents folder without explorer crashing?
<adelikat> I am annoyed at my irc statements ending up in forums & sigs
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3584)
Joined: 11/3/2004
Posts: 4737
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.
It's hard to look this good. My TAS projects
Dwedit
He/Him
Joined: 3/24/2006
Posts: 692
Location: Chicago
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.
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
Phil wrote:
I just click "Replay Movie..." and it crashes. Any ROM and it's not my cfg file since even the default cfg doesn't change anything.
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.
Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
Raiscan wrote:
What OS are you using? If XP, can you visit your My Documents folder without explorer crashing?
XP and the "Replay Movie..." window doesn't open at all since it crashes. So, no chance to open an explorer window.
adelikat wrote:
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.
Ok, I've created a "test" directory and set the movies dir to it, and FCEU doesn't crash but freezes.
zeromus wrote:
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.
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.
Active player (324)
Joined: 2/23/2005
Posts: 786
Is the sound channel disabling feature going to be considered at all? I, for one, would find that extremely useful.
Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
Now, I found the reason of those crashes. When I have converted a FCM to FM2 with FCEUX 2.0.0, special characters weren't converted, so I did manually put them in the FM2. With FCEUX 2.0.0, I could replay the movie without troubles and special characters were in author info. But in this 2.0.2, it DOESN'T tolerate special characters in FM2 file. So Côté in FM2 is still Côté but FCEUX auto-convert it in replay dialog. Kinda some hack imo. It would be better the FM2 to be UTF-8, at least, for author info not ascii.
Editor, Reviewer, Experienced player (968)
Joined: 4/17/2004
Posts: 3107
Location: Sweden
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.
Player (70)
Joined: 8/24/2004
Posts: 2562
Location: Sweden
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. :)
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3584)
Joined: 11/3/2004
Posts: 4737
Location: Tennessee
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.
It's hard to look this good. My TAS projects
Player (70)
Joined: 8/24/2004
Posts: 2562
Location: Sweden
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.
Former player
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
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
Phil wrote:
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.
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
Highness wrote:
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?
Player (70)
Joined: 8/24/2004
Posts: 2562
Location: Sweden
last frame or next?
Joined: 5/29/2004
Posts: 757
Truncated wrote:
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.
Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
zeromus wrote:
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.
Joined: 5/24/2004
Posts: 262
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. :/
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
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!
1 2 3 4 5 6 7 8 9

Locked