Re: Torcs command line arguments problem - Windows

Liat Sless <[email protected]> Wed, 10 May 2017 07:47:43 +0000
Newsgroups gmane.games.torcs.general
Message-ID <[email protected]>
--===============8352326450281209915==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_f1e9d28b1ad14468999af96d1ad0d8acgmcom_"

--_000_f1e9d28b1ad14468999af96d1ad0d8acgmcom_
Content-Type: text/plain; charset="windows-1255"
Content-Transfer-Encoding: quoted-printable

Hi,

So I found a solution:
It turns out that for Torcs 1.3.7 from binary installer the command line wo=
rks as expected.
For the Torcs 1.3.4 plus scr patch, from examining the binary they switched=
 the =96r command line argument with =96T. It is not documented anywhere an=
d the change doesn=92t allow for external config file usage anymore.

Hope this helps!

From: Liat Sless [mailto:[email protected]]
Sent: =E9=E5=ED =E1 08 =EE=E0=E9 2017 11:30
To: [email protected]
Subject: [EXTERNAL] [Torcs-users] Torcs command line arguments problem - Wi=
ndows

Hi,

I'm using torcs version for Windows, using the binary installer.

I haven't been able to run torcs without GUI, i.e., in text mode. The comma=
nd wtorcs.exe -r <path to config file> opens up the GUI.
Also, the command  wtorcs -h which should show help doesn't do anything oth=
er than opening the GUI, which leads me to suspect there is a problem with =
command line arguments for torcs in Windows.

Both commands execute normally on Ubuntu.

Versions of torcs I checked on Windows (both don't respond to command line =
arguments):
Torcs 1.3.7 from binary installer
Torcs 1.3.4 plus scr patch from binary installer.

Windows version: 7.

How can I troubleshoot this?

Best,
Liat


--_000_f1e9d28b1ad14468999af96d1ad0d8acgmcom_
Content-Type: text/html; charset="windows-1255"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1=
255">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">So I found a solution: <o:p></o:p></p>
<p class=3D"MsoNormal">It turns out that for Torcs 1.3.7 from binary instal=
ler the command line works as expected.
<o:p></o:p></p>
<p class=3D"MsoNormal">For the Torcs 1.3.4 plus scr patch, from examining t=
he binary they switched the =96r command line argument with =96T. It is not=
 documented anywhere and the change doesn=92t allow for external config fil=
e usage anymore.
<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal">Hope this helps!<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span style=3D"font-size:11.0pt;font-family:&quot=
;Calibri&quot;,sans-serif">From:</span></b><span style=3D"font-size:11.0pt;=
font-family:&quot;Calibri&quot;,sans-serif"> Liat Sless [mailto:liat.sless@=
gm.com]
<br>
<b>Sent:</b> </span><span lang=3D"HE" dir=3D"RTL" style=3D"font-size:11.0pt=
">=E9=E5=ED</span><span dir=3D"LTR"></span><span dir=3D"LTR"></span><span s=
tyle=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><span =
dir=3D"LTR"></span><span dir=3D"LTR"></span>&nbsp;</span><span lang=3D"HE" =
dir=3D"RTL" style=3D"font-size:11.0pt">=E1</span><span dir=3D"LTR"></span><=
span dir=3D"LTR"></span><span style=3D"font-size:11.0pt;font-family:&quot;C=
alibri&quot;,sans-serif"><span dir=3D"LTR"></span><span dir=3D"LTR"></span>
 08 </span><span lang=3D"HE" dir=3D"RTL" style=3D"font-size:11.0pt">=EE=E0=
=E9</span><span dir=3D"LTR"></span><span dir=3D"LTR"></span><span style=3D"=
font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><span dir=3D"L=
TR"></span><span dir=3D"LTR"></span> 2017 11:30<br>
<b>To:</b> [email protected]<br>
<b>Subject:</b> [EXTERNAL] [Torcs-users] Torcs command line arguments probl=
em - Windows<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Hi,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I'm using torcs version for Windows, using the binar=
y installer.&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I haven't been able to run torcs without GUI, i.e., =
in text mode. The command wtorcs.exe -r &lt;path to config file&gt; opens u=
p the GUI.
<o:p></o:p></p>
<p class=3D"MsoNormal">Also, the command &nbsp;wtorcs -h which should show =
help doesn't do anything other than opening the GUI, which leads me to susp=
ect there is a problem with command line arguments for torcs in Windows.&nb=
sp;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Both commands execute normally on Ubuntu.&nbsp;<o:p>=
</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Versions of torcs I checked on Windows (both don't r=
espond to command line arguments):<o:p></o:p></p>
<p class=3D"MsoNormal">Torcs 1.3.7 from binary installer<o:p></o:p></p>
<p class=3D"MsoNormal">Torcs 1.3.4 plus scr patch from binary installer.<o:=
p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Windows version: 7.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">How can I troubleshoot this?&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Best,&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal">Liat<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
</div>
</body>
</html>

--_000_f1e9d28b1ad14468999af96d1ad0d8acgmcom_--


--===============8352326450281209915==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--===============8352326450281209915==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Torcs-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/torcs-users

--===============8352326450281209915==--