Posts for Phil


Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
Raiscan wrote:
Dude, just rename your savestates. It's not hard and FCEUX offers more protection this way.
It doesn't work like that. You didn't read what I wrote.
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
Ok so, I understand the principles of that savestates naming system. But since we can have many savestates from same game in same directory, why not keep the old naming system but instead, it creates a directory for savestates for one movie and the ones that aren't from any movies are still kept in state directory. Example, I'm starting recording a movie, the name of the movie file is "That's so funny.FM2", so states from that movie should be stored in ./statesdir/That's so funny/ So, if I want to use a state from one movie, I could easily just copy it. Of course there is the "Load state from..." feature which obsoletes copying a file. But if you have a couple savestates that you want to copy, it's faster by copying than by using that feature. Another bug, a really small bug while I was testing how FCEUX handles long filename with the current savestates sytem because it is theoritcally possible that such scenario occurs. If you try to write a file with 256 or more characters, FCEUX is crashing. By opening a ROM with long filename also makes FCEUX to crash or just don't react. I think at 250 characters FCEUX crash and 251 to 256, FCEUX just do nothing at all like if nothing has been requested. 256 is the limit for the filename including the extension and the directory name of where it is. It works like that for ntfs and it's similar for most modern filesystems. Example: Savesates are stored in ./states and also, you record a movie from "Famicom Doubutsu Seitai Zukan! - Katte ni Shirokuma - Mori wo Sukue no Maki! (J) [!].nes" Then one creates a movie and put for movie filename "Famicom Doubutsu Seitai Zukan! - Katte ni Shirokuma - Mori wo Sukue no Maki! (J) [!] Played by Brian Peter George St. Jean le Baptiste de la Salle Eno for blah blah.FM2" So when you try saving a state, FCEUX tries to write a long filename which is theoritically named "Famicom Doubutsu Seitai Zukan! - Katte ni Shirokuma - Mori wo Sukue no Maki! (J) [!].Famicom Doubutsu Seitai Zukan! - Katte ni Shirokuma - Mori wo Sukue no Maki! (J) [!] Played by Brian Peter George St. Jean le Baptiste de la Salle Eno for blah blah.fc1" But FCEU crashes instead. It's impossible to write such long filename in my filsesystem, NTFS, but FCEUX shouldn't crash either. Edit: Forgot to mention that the old system is more reliable in that aspect but not perfect too. So, if you load a ROM with 256 characters, FCEU should save that 256 characters.fcX. The only problem I could see is that if the number of characters for states dir is higher than the one from where the ROM is, I think FCEUX should also crash. :P But the chances to have long filename with the old sytem is slimmer than this new system. Edit 2: After doing some things, I rethought about what I wrote, and damn, my idea of a directory system is good but not better for number of characters as the same problem will happen too because there will be the same number of characters as the curent system. So damn it, the old system in FCEU was way better. :P Edit 3: Just thinking of that, why the name of the ROM is put in filename of a state? All my objections about that system is mainly about that. Why not just "movie_filename.fcX"? What's the point of having 2 times the same thing. Old system, which imo is good was, romfilename.fcX. Now, it's romfilename.moviefilename.fcX. So, maybe just moviefilename.fcX? Since usually, people use the name of the game for movie filename. So people like me which like the old system will be pleased since we will keep the name of the game for the FCS as well as other people that wants something like the current system, that really still indicates that savestate Z is really for movie Z like the current system. Example of the use moviefilename.fcX: By default, when starting recording a movie, FCEUX puts «"Romfilename"-0.FM2"». So, if I record a movie from Akumajou Dracula (v1.0).nes, FCEUX puts Akumajou Dracula (v1.0)-0.fm2. So states are named "Akumajou Dracula (v1.0)-0.fcX". (I don't understand why it should have that "-0". There shouldn't have anything like that and if it really should, it should be 1. Version 0 = something that doesn't exist :P.) But when someone wants to put something different for movie filename, it really associates states with the proper movie because I think that's what the new system was created. So one creates a movie "Roflmao.FM2" so, states are labeled "Roflmao.fcX"
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
adelikat wrote:
Are you trying to load a savestate from a previous FCEU? They are not compatible in fceux movies.
Phil wrote:
False. Savestate is not corrupted and it's from the very same FCEU version as it's loading well in the movie it came from. And it the end, the state isn't loaded at all, but the graphics become corrupted.
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
adelikat wrote:
Request denied. This naming system has been in GENS for years and is a good system.
That's one of the reasons I haven't used Gens... It thinks it's not really a good system if it causes bugs like that.
adelikat wrote:
If you want to load a state into another movie, just use Load State As
There are still the same 2 errors which one of them is a bug and the graphics are still corrupted while the state is not loaded at all.
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
It seems that savestates are associated with their movie. Because states filename does have the filename of ROM + filename of movie. So, a states from another movie doesn't work as it's no more available in the svaestates list. Renaming the filename to match with the current movie doesn't work too. In that case, you got 2 errors message that stays on top of screen until you press ok: "Mismatch between savestate's movie and current movie. current: xxxxxxxxxxxxxxxx savestate:yyyyyyyyyyyy" That looks fine to me. The 2nd error message which imo is a bug: "Warning: Found unknown save chunk of type 0. This could indicate the save state is corrupted or made with a different (incompatible) emulator version." False. Savestate is not corrupted and it's from the very same FCEU version as it's loading well in the movie it came from. And it the end, the state isn't loaded at all, but the graphics become corrupted. Now, let's try renaming the savestate file to Romfilename.fcX to check if state is working well in non-recording/playing mode... It is working. So, now, What the hell with those states filename? I want it like it was before. What the hell we CAN'T load state from one movie to another one? Just keep the 1st error message to warn the person that it's not from the same movie with a yes/no question to be sure that this person really wants that. And it solves everything.
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
ok cool
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
FCEUX no more allows "Reset" when playing in read only mode which makes the movie to restart. It's a useful feature. Instead of "Go to File menu, Click on "Replay Movie...", select that SAME file and press OK". Why selecting many times the same file... When one feature, which was there, ignores that.
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
Ok, since I don't intend to do that game for awhile and as a gift for working on FCEUX. ;) here are my ideas of improvements. I did watch the run 3 times to be sure they are probable. 1. After killing the first Williams, Jimmy should "flying knee" at Billy so the screen scrolls faster to the right which makes the enemies appear sooner. 2. Use the flying knee at stage 1 boss to make it to left quicker. 3. At stage 4 after using the elevator, make Billy uses the flying knee on Jimmy so he goes to left sooner. 4. In same stage, you're using the flying knee after the elevator where there are columns of spikes, like Contra, and one of them only makes Billy go to the right. If you could do it on both, you could do an extra flying knee for extra move to the right. 5. At the beginning of level 7, I wonder if the flying knee trick could help. And at screen 3 too where there are rotating gears. yes, you use it but on Billy only. For those next ones, it is just some thoughts. Jimmy takes some 2 or more extra frames to enter the doors. There might be something possible to enter at same time as Billy. But I guess that's how the game is. I've noticed that you tend to use the turbo button. I know those Double Dragon 2 games to be 2 frames based to do an action so it probably doesn't matter but maybe... Btw, a yes vote. Edit: Ok, just watched it an extra time, I am wondering something. At stage 1, after climbing the ladder once and killing Lindas, there are 2 groups of Williams. The way the 2nd group is killed annoys me. I wonder if it wouldn't be best to make Jimmy stay at left of them and flying knee to the right, then he should be closer to Billy then at the top platform after Billy kills the 1st group of Williams, Jimmy flying knee to Billy so Billy goes to the right and kill a 2nd group of Williams faster. Edit2: Ok my idea is that when Billy flying knee at Williams, Jimmy flying knee at Billy before Billy touches the ground. Not only it would be faster but it would be damn cool. I didn't see anything like that in the movie.
Experienced Forum User, Published Author, 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.
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
No, when I have created that topic, it was to report bugs in first post, the subject was Something like "Things to be improved/fixed in FCEU" then the topic was changed for "FCEU development". But yes, maybe a new topic should be created since this one does have 35 pages now.. I don't agree with the "Sourceforge bugs page serves more adequately" as I don't trust that anymore. I've noticed that developers tend to ignore people there or just give some stupid replies. And in the end, the bugs aren't fixed.
Experienced Forum User, Published Author, 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.
Experienced Forum User, Published Author, 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.
Experienced Forum User, Published Author, 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.
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
That's an interesting feature you're asking. Just save state and copy paste the remaining of the movie. Probably something simple to program in FCEUX.
Experienced Forum User, Published Author, 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
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
Apparently, there is a sequel for the GBA. It's Magical quest 2. So, you might take a look.
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
Someone should tell them that FCEUX is not FCEUXD.
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
zefiris wrote:
You could add some symbol that workd as "start comment" or "end comment beginning in the start of line" and add comment with frame number every 100th frame. Just a thought. it also may already be in there, I did not download and try, sorry :3.
Yes, it is a good idea, that was something that I was expecting for a long time in FCEU. Afaik, only zsnes does that.
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
I already started learning C, I will continue it someday when I will have more free time. I still thank you for your suggestion and I might check Lua someday but I have some serious doubt that Lua will make suddenly appear the options I'm requesting in FCEU.
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
qFox wrote:
Script it :)
Only if I could... :S But I will give you more ideas. In the metadata we can see key and value. So here is my idea. For a key, one could choose a key, there will be a selection tab like in the current replay dialog when you choose a file by pressing the arrow, like author, and others( I don't know the others). So, he selects, "Author" for example then he edits the value and write his name.
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
Well, the movie record dialog like it was. Well, while you're talking about it, yes in replay dialog too. The "movie metadata" is just one step to be an editor. So, why not there too.
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
adelikat wrote:
Phil wrote:
There is just that high pitched sound that is annoying. Maybe it could be muted when turboing at max speed like that. Only at max speed because I think the sound might be good at 150% in case someone forgot he is turboing.
Funny, I much prefer it to the old turbo sound.
While it's true that it looks like Alvin And the chipmunks, which is kinda cool for some people, I think muted is less annoying.
The problem is that it didn't convert the author info well. "Côté became" "Côté" It seems like the converter, or FCEUX doesn't support UTF-8. Or it's just the new movie file format that is too "ASCIIed"!? Special characters are important.
Good catch, I'll look into that.
Ok, it might be the converter after all because editing the movie file and replacing the wrong characters with Côté was a success.
adelikat wrote:
Might be a newb question but I don't know how to write the author info when starting to record a movie or after. Why was it removed first of all?
It is not suprising that you couldn't figure this out because I realize now that it is very undocumented. But the author line is replaced with a metadata button. This will display a ton of infomation that the author puts in (including his name :P) To add thsi info, open the .fm2 with a text editor and do this at the beginning of the file: comment Author Phil It was my intention to provide a nice example of metadata use with a couple of completed submissions I have. But unofortunately Bisqwit was unable to get the site ready for .fm2 in time for this release.
I think being editable within FCEU would be the best.
adelikat wrote:
One extra question. Is the "*Fix the "freezing upon load state" problem in Legend of Zelda, Bionic Commando, Guerilla War and some other games. (It seems to happen when there is lag in the game. It was happening in Double Dragon and Nitsuja fixed it(Maybe some hack!??) but I think they are all related.) It happens while recording but as well as playing the movie in read only mode(High priority) " been fixed in this version?
Yes, this is fixed. It was also fixed in FCEU.28 btw.
Oh well, I guess I have missed that one. :P
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
Here are my quick report of small bugs. In hotkeys configuration, I saw the "escape" button was set to "Hide Menu Toggle" so my guess was that escape could be used to any function. But no, you can't set escape to anything. You said that this version uses less CPU, YES MAN! There is just that high pitched sound that is annoying. Maybe it could be muted when turboing at max speed like that. Only at max speed because I think the sound might be good at 150% in case someone forgot he is turboing. I did convert one of my FCM to FM2 and the movie has played fine. The problem is that it didn't convert the author info well. "Côté became" "Côté" It seems like the converter, or FCEUX doesn't support UTF-8. Or it's just the new movie file format that is too "ASCIIed"!? Special characters are important. Might be a newb question but I don't know how to write the author info when starting to record a movie or after. Why was it removed first of all? I will study this version furthermore later to test more features and try TASing with it. One extra question. Is the "*Fix the "freezing upon load state" problem in Legend of Zelda, Bionic Commando, Guerilla War and some other games. (It seems to happen when there is lag in the game. It was happening in Double Dragon and Nitsuja fixed it(Maybe some hack!??) but I think they are all related.) It happens while recording but as well as playing the movie in read only mode(High priority) " been fixed in this version?
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
Holy shit!
Experienced Forum User, Published Author, Active player (410)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
It's kinda funny that someone created that topic because I was about to create such topic someday. I don't play those modern boardgames mainly because they are so so so expensive. I bought a lot of old used(sometimes they are new old) games at cheap price. The other day, I saw a Donkey Kong game and bought for 2$ CAD. I didn't know such game existed. Then I have realized there exist many Super Mario Bros. games. The game I'm playing a lot recently with one of my friend and which don't make me continue the SCV4 TAS so much :P is Careers. Imo, it's way better than Monopoly. I have bought some other couple games that I haven't played yet. One game that I don't own but would like is Axis and Allies, any version. That really worth the play.