Page 1 of 1
Reader for js debug output.
Posted: 21 Oct 2012, 23:47
by Duha
Hi,
I make some tool to read output of js debug. (it is useful for windows, linux show it in console)
Its crossplatform desktop app.
Screenshot:
Installation instructions:
Linux:
nw wz_output_reader (sorry, not tested)
Windows:
nw.exe wz_output_reader
Set path to game executable.
Run game.
Repository:
https://bitbucket.org/Cjkjvfnby/wz_output_reader
Re: Reader for js debug output.
Posted: 26 Oct 2012, 13:05
by Duha
He is any place where I can read about warzone command line avaliable params?
like --mod=<> and --debug
Re: Reader for js debug output.
Posted: 26 Oct 2012, 13:20
by aubergine
Command line params:
http://developer.wz2100.net/wiki/CommandLineOptions -- I don't think it's a full list.
IIRC many of the command line params were deprecated or moved to the config file:
https://warzone.atlassian.net/wiki/display/mod/config
Re: Reader for js debug output.
Posted: 28 Oct 2012, 20:29
by Duha
update:
Rewrite it on coffescript.
Add game launcher/stopper
Add show common log.
Add path to executable input.
Download link
https://bitbucket.org/Cjkjvfnby/wz_outp ... der_0.2.nw
Installation instructions:
Re: Reader for js debug output.
Posted: 09 Nov 2012, 01:02
by Duha
Re: Reader for js debug output.
Posted: 09 Nov 2012, 01:17
by aubergine
Why not just:
As that will have same effect, no?
Also, does that work in WZ env or just Node? (I've no experience with Node...)
Re: Reader for js debug output.
Posted: 09 Nov 2012, 08:21
by Duha
aubergine wrote:
Why not just:
As that will have same effect, no?
Yes same. It is CoffeeScript.compile
Also, does that work in WZ env or just Node? (I've no experience with Node...)
inspector.js works in WZ. (I check it in 3.1_RC3)
Re: Reader for js debug output.
Posted: 15 Nov 2012, 23:12
by Originway
oh cool, didn't see this topic before aubergine mentioned it! this should help we getting the warning message that Per was talking about. Thanks Duha!
does this work on 3.2 as well?
Re: Reader for js debug output.
Posted: 16 Nov 2012, 09:16
by Duha
I think yes.
Re: Reader for js debug output.
Posted: 16 Nov 2012, 09:18
by aubergine
I've added a link to this tool in the Notes section on this wiki page:
debug()
Re: Reader for js debug output.
Posted: 16 Nov 2012, 10:25
by Duha
aubergine wrote:I've added a link to this tool in the Notes section on this wiki page:
debug()
Did game write js debug to log file on Linux or just to console?
Re: Reader for js debug output.
Posted: 16 Nov 2012, 11:13
by aubergine
I don't know for sure, but I heard that on linux it writes to both log file and console! I think that was problem Per was facing when thinking about making debug() always write to log file, that on linux it would result in two copies of the debug() going in to log file.
Re: Reader for js debug output.
Posted: 16 Nov 2012, 14:35
by Per
It does not automatically log to file on Linux, either. You have to ask it to do that using a command line option.