|
So the warcraft 3 replays are compressed using some known algorithm and julas has been able to provide an open source php parser that is very flexible. http://w3rep.sourceforge.net/
I am determined in doing something similiar to the starcraft replays. Someone on this board made a text file containing a large portion of the replay format already. I intend to use and possibly add to this text file.
The reason I want to do this is there is no way of parsing starcraft replays in .NET . bwrep.dll is not accessible from C#. If I can make a php parser, I know of a php compiler that will make a dll out of it that can be used with .NET. http://www.codeplex.com/Phalanger
</more effort into post>
|
So... What will this do that BWChart and sites that use these methods don't already do? If my understanding is correct that you're just pulling information from the replay (what I've gathered from the WC3 link).
Make a description of what this means to common folk like me
|
So you want to parse the SC replays in .NET...what, are you thinking of making a nifty app to watch replays outside of SC? I don't think that would work, if I remember right, the replay file just tells the SC game engine what to do, unless you are planning on running that without running SC itself, and in an external application...although I have no clue on the possibility or even how to do that.
So.. what is your goal for this exactly?
|
Taiche
France1963 Posts
IMHO, parsing replays in C# can be made easily if you build a wrapper around JCA's bwreplib (or even some RepASM source code ; I was emailed by some Korean programmer who did it for his own website) in managed C++. Do not bother to rewrite the whole thing, as you will definitely lose your time...
GL with it anyway !
|
|
|
Taiche
France1963 Posts
I don't have the mail anymore, that was like 2 years ago, sorry :/ I asked him for the sources then but did not get any reply IIRC.
Look for "managed C++", you'll see what I mean.
|
|
|
Yes they did thanks. Now I need a korean friend to negiotate a deal for me .
I think I may be able to create a managed wrapper. The repasm code is *really* helpful. When I figure this out, I'll release the code.
|
|
|
|
|
|