Page Index Toggle Pages: 1
Topic Tools
Normal Topic I just want text plz (Read 5612 times)
rush4hire
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Aug 16th, 2005
I just want text plz
Aug 22nd, 2005 at 5:22pm
Post Tools
I see all this stuff about decoding the text . how do I get the text in the first place ?

If I open a replay with like programmer's notepad or conTEXT . all i get is this kinda stuff.

Code
Select All
Warcraft III recorded fheF.|.2I.Gq.
_.t\/z2҈r㵑p.B>}G. +rG0XF.p=dv.].f.7.ri.5O8r.-.5*{a7/
.'Q{s]H@pەto=.VSgrXؼA?4$$L~p .{ؔ)SKӄDc\".
#:.WU.X4X.NԔ]mr|}?P.o+.|1Jk.>͠Ũׯ}H{k6_pt; 


then If i view in html I get this
Code
Select All
Warcraft III recorded #163;ÞI .Gµ¼Íq´.Ï
;.ž˜ 1;rÉ.-.5*{ÿæa¼ë˜7/
 



I just want those things that are interpreted as actions and such. And I'll work from there.
thx
  
Back to top
 
IP Logged
 
Julas.wtfwrongpass
Grunt
**
Offline



Posts: 84
Joined: May 11th, 2004
Re: I just want text plz
Reply #1 - Aug 26th, 2005 at 4:05pm
Post Tools
It's not that simple dude Wink What you need is a hex editor, but don't expect ur gonna see stuff like "here is action 0x19, blabla". You will see only numbers and you have to interpret them in a correct way. You can't think of files as of "text". They're not text, even if you see it like that. They are all numbers. A file with "I am a little file" written in it is also only numbers. Read something about ASCII codes if you don't understand what I'm talking about.
BTW w3g files are packed with zlib, so you have to unpack the whole thing before you can view it's structure.
  
Back to top
WWWICQ  
IP Logged
 
rush4hire
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Aug 16th, 2005
Re: I just want text plz
Reply #2 - Aug 28th, 2005 at 8:25am
Post Tools
Ok thanks.

I thought they where zipped in something . I saw unpack function in your scripts . and when I get time I'll try to make it print this data out.

I'm still studying PHP though.

I finally got these scripts to load in apache . i figured out there are 3 required files . 1.) example (or index but i dunno) . 2.) w3g-julas.php and 3.) w3g-julas-convert
and of course the css and img folder. 

I see great potential in this . it's just gonna take a LONG time to adapt it for custom maps like dota. Shocked

All just to make work in TDA bans forum go more efficiently . all so kids can play dota games in peace . lol 
Cry
  
Back to top
 
IP Logged
 
Fireblade
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Sep 24th, 2005
Re: I just want text plz
Reply #3 - Sep 24th, 2005 at 12:59am
Post Tools
Hey rush4hire,

I'm writing a parser for DotA replays using Perl. I've got the basic parsing and extraction of game name, players/colors, chat text, leaver events, etc. It's still in a pretty crude form as it just outputs text right now, but it wouldn't be hard to modify it to output HTML or whatever.

Do you have an idea what data you want and how you want it to look? Is this just something you want to post on the dota-allstars forums, or a separate page?
  
Back to top
 
IP Logged
 
wulfskin
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 30
Location: Germany
Joined: Jan 4th, 2003
Re: I just want text plz
Reply #4 - Sep 27th, 2005 at 12:38pm
Post Tools
What is Dota?
  
Back to top
ICQ  
IP Logged
 
Julas.wtfwrongpass
Grunt
**
Offline



Posts: 84
Joined: May 11th, 2004
Re: I just want text plz
Reply #5 - Sep 27th, 2005 at 1:23pm
Post Tools
If you knew what is Google, you would know what is DotA.
  
Back to top
WWWICQ  
IP Logged
 
wulfskin
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 30
Location: Germany
Joined: Jan 4th, 2003
Re: I just want text plz
Reply #6 - Sep 27th, 2005 at 2:35pm
Post Tools
Quote:
If you knew what is Google, you would know what is DotA.
You're right, but not very friendly...
  
Back to top
ICQ  
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools