Editor, Active player (297)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
Do you have trouble hex-editing your FCM file? Just want to see what your FCM file has eaten? Use this utility: http://bisqwit.iki.fi/utils/fcmparser.php Screenshot:
Active player (411)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
Are you sure it is a good idea displaying all frames?
Editor, Active player (297)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
Phil wrote:
Are you sure it is a good idea displaying all frames?
Why not? The idea is to ease hex-editing by interpreting all bytes of the file (except for the savestate contents).
Active player (411)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
I mean for your bandwith and all of this. It takes so long to display.
Joined: 11/22/2004
Posts: 1468
Location: Rotterdam, The Netherlands
Very nice, Bisqwit. :) I don't think I'll be doing any hex editing, but it's a really cool module.
Editor, Active player (297)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
Phil wrote:
I mean for your bandwith and all of this. It takes so long to display.
Well... for the 1 hour Solomon's Key 2 movie, it produces about 4.5 MB of output, but for the 7 minute Trojan movie, it's only 34 kB of output (90% gzip-compressed) and a few seconds of processing time.
Player (206)
Joined: 5/29/2004
Posts: 5712
What is all that junk in the middle, anyway? Is it supposed to be the file's savestate, represented by dot-sized characters? I don't really see the point of it, whatever it is. But otherwise it's nice. Imagine how I felt upon finding out that FCEU wasn't storing ANY disk system operations into my movie files.
put yourself in my rocketpack if that poochie is one outrageous dude
Former player
Joined: 10/29/2004
Posts: 79
So, will there have a plan to implement gamepad info while watching movies like VirtuaNES ? It's very useful.
Mr. and Mrs. Rerecord: Why do we fall ? So that we might better learn to pick ourselves up.
Joined: 3/7/2005
Posts: 41
Bisqwit, I was wondering if you'd care to share the PHP source for this handy doodad. I don't know PHP at all, but I'd like to take this program offline and slap a Java frontend on it. Save you some bandwidth. I know I could just re-implement it all from this info, but I'd like to try converting the PHP first before doing all the hard thinking ;)
Founding member of GerbilMechs
Editor, Active player (297)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
Monthenor wrote:
Bisqwit, I was wondering if you'd care to share the PHP source for this handy doodad.
Sure! http://bisqwit.iki.fi/utils/fcmparser-source.zip Includes a PHP frontend (.php) and a C++ backend (.cc). (In the first version, the backend was also PHP code, but I changed it to C++ for effeciency reasons. The C++ code is straightforward converted from the PHP code, thus it may not be as tidy as it should be.)
Post subject: Re: source
Joined: 3/7/2005
Posts: 41
Bisqwit wrote:
Monthenor wrote:
Bisqwit, I was wondering if you'd care to share the PHP source for this handy doodad.
Sure! http://bisqwit.iki.fi/utils/fcmparser-source.zip Includes a PHP frontend (.php) and a C++ backend (.cc). (In the first version, the backend was also PHP code, but I changed it to C++ for effeciency reasons. The C++ code is straightforward converted from the PHP code, thus it may not be as tidy as it should be.)
C++ backend? Score! That will be super-easy to convert...I'm lucky I have such a lax job. >.> Boss isn't watching, is he?
Founding member of GerbilMechs
Joined: 3/7/2005
Posts: 41
Java FCM Parser, third public release! Source code also available. Unfortunately Java doesn't handle CSS, so it's not as pretty/colorful as the web version. And of course it's slower then the PHP+C version...it takes its sweet ol' time rendering the HTML pages. I think I may have to ditch the HTML in favor of speed. But it does work, with full tabbed browsing for viewing multiple files at once. EDIT: 2nd version now. I removed all the HTML rendering...it looks worse, but it runs like five hojillion times faster. RE-EDIT: 3rd version. File chooser now filters for FCM files and remembers the last directory used (in that session). ROM checksum un-flipped. Movie length given in frames and hours-minutes-seconds-milliseconds. Is anybody listening? Format change to clean up Input tab.
Founding member of GerbilMechs
Active player (411)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
I am not listening but I am reading :P Ok, more seriously, I think what interest people here is a tool that let us edit the movie file. Here's what Genisto have done in PHP. http://hiddendragon.sytes.net/ If you can do something similar, it will be better than a PHP script. Although, I suggest checking nesmock source and port it to JAVA. If you want Genisto's editor source, I can send it to you.
Joined: 3/7/2005
Posts: 41
Phil wrote:
Ok, more seriously, I think what interest people here is a tool that let us edit the movie file.
They have those, it's called an emulator :P I was trying to justify that feature myself. I couldn't think of a way to make the process simple...you and Genisto came up with checkboxes, which is okay, but... Hm. Maybe I should just let people type into the Input list and try to reverse that into hex. That just seems fraught with peril.
Founding member of GerbilMechs
Player (36)
Joined: 9/11/2004
Posts: 2631
That's what we have peril-sensitive sunglasses for, silly. "You'll never see it coming, guaranteed."
Build a man a fire, warm him for a day, Set a man on fire, warm him for the rest of his life.
Joined: 3/7/2005
Posts: 41
Right, but the main problem there is making sure everybody is wearing the glasses so as not to collapse the quantum state of fraught-ness through observation. Otherwise the situation will remain fraught whether or not you personally can see it.
Founding member of GerbilMechs