zraw - rawvideo.bin to AVI

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

creaothceann
Seen it all
Posts: 2302
Joined: Mon Jan 03, 2005 5:04 pm
Location: Germany
Contact:

Post by creaothceann »

RealmRPGer wrote:Oh, and I took a quick look at vSNES, and I don't see how it's supposed to suit my sprite ripping needs. If you followed the links I gave, you'd see that my rips are animated sprites that are also exact frame captures, meaning the number of frames for each, er, frame of animation is exactly the same as it is in the game. This is the kind of sprite ripping that I need.
Yeah, it's not really suited or even intended for animations. I suggest AVI output (as you did) or a ZSNES DOS version that has a working "screenshot + incr. frame" function.

DOS version because there're 8-bit gfx modes and palettes in the dumped images.
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
RealmRPGer
Rookie
Posts: 35
Joined: Thu Jul 13, 2006 2:41 pm

Post by RealmRPGer »

Yeah, back in the day I did the inc frame method, but 1) that's slower and 2) that's less accurate. The movie option has really saved me a lot of time and headaches, as has the zmv + chapters ability.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Glad you find chapters useful.

Someone told me recently that chapters are pointless and he's very upset about them because he's very confused on getting his ZMV editor to work properly.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

Chapters are nifty, even if I don't ever use it...
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

Nach wrote:Glad you find chapters useful.

Someone told me recently that chapters are pointless and he's very upset about them because he's very confused on getting his ZMV editor to work properly.
Well I kinda had issues with chapters for my parser because I couldn't find an easy way to remove them all or one-by-one interactively (which is still on the todo list -_-).
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

grinvader wrote:
Nach wrote:Glad you find chapters useful.

Someone told me recently that chapters are pointless and he's very upset about them because he's very confused on getting his ZMV editor to work properly.
Well I kinda had issues with chapters for my parser because I couldn't find an easy way to remove them all or one-by-one interactively (which is still on the todo list -_-).
Hmm, I don't see the problem with that, I'm pretty sure I can write the code to do it.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Sidrack
New Member
Posts: 8
Joined: Fri Jun 06, 2008 5:52 am

Post by Sidrack »

Your software is not working. What should I do to convert the rawvideo.bin to one AVI file? :(

Here's the error when I tried to save AVI:

ZRaw Converter
rawvideo.bin - 241 MB - at least 20 seconds
using: ZSNES 1.51 (last version) - Windows XP SP1
Unhandled exception has occurred in your aplication. If you click Continue, the application will ignore this error and attempt to continue.

If you click Quit, the application will close immediately.

error for AVIFileOpenW.

Details from the Error:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
AviWriter+AviException: error for AVIFileOpenW
at AviWriter.Open(String fileName, UInt32 frameRate, Int32 width, Int32 height)
at AVI_Convert.Form1.SaveAVI(String filename)
at AVI_Convert.Form1.saveAVIToolStripMenuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
AVI Convert
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Diego/Backup%20pro%20CD/P%E2nico%20na%20TV/Resident/DVD%2021/ZSNES/zsnesw151/zraw.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
RealmRPGer
Rookie
Posts: 35
Joined: Thu Jul 13, 2006 2:41 pm

Post by RealmRPGer »

You posted in a dead thread, but it's relevant so I guess it's okay.

I'm really not sure what your problem is. I'm guessing perhaps you're trying to save it with unrecognized characters (though that probably isn't the case), you don't have enough memory or possibly you need XP SP2.. As I believe Visual Studio 2005 requires SP2. The dll may or may not also.
gia
New Member
Posts: 3
Joined: Mon Mar 19, 2007 7:12 am

Post by gia »

Would it be possible to get the source code? I am having problems because videos over 4gb get corrupted or something like that, which is a limitation on many windows avi dumpers, I feel I can edit it to fix my issue otherwise this is much better than having to figure out how to tell mencoder to create an uncompressed file that can be read by avisynth...
Gew
New Member
Posts: 4
Joined: Sun Mar 27, 2011 12:31 pm

Re: zraw - rawvideo.bin to AVI

Post by Gew »

Here's a late year bump! ;)

I just find your little utility "zraw.exe", it's awesome.
Any chance for a -NIX build? Command line options would be neat also.

Cheers! :mrgreen:
paulguy
Zealot
Posts: 1076
Joined: Sat Jul 02, 2005 2:01 am
Contact:

Re: zraw - rawvideo.bin to AVI

Post by paulguy »

For linux there's mencoder and ffmpeg. You can probably find some guides on doing it. From that you can just make a shell script.
Maybe these people were born without that part of their brain that lets you try different things to see if they work better. --Retsupurae
gia
New Member
Posts: 3
Joined: Mon Mar 19, 2007 7:12 am

Re: zraw - rawvideo.bin to AVI

Post by gia »

like mencoder was easy... all i wanted is to dump uncompressed rgb avi on windows, never could
Post Reply