Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Compiling with [-letter]

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
msw188




Joined: 02 Jul 2003
Posts: 1041

PostPosted: Thu Jul 13, 2006 10:02 am    Post subject: Compiling with [-letter] Reply with quote

I recently decided to try using those bracket letters when compiling my plotscripts to avoid long lists of pointless 'warnings'. However, I think I am having a problem, or perhaps I do not understand how these things work. I type in:

hspeak [-w] script1.txt

and the next thing the compiler asks me is whether I would like to overwrite script1.TXT. Shouldn't it send the compiled plotscript to a .HS file? This has me too scared to press y (for fear of deleting the first page of my source). I then thought that maybe if I used the brackets, it would want me to specify the destination too, so I typed:

hspeak [-w] script1.txt [script1.hs]

and it STILL asked me about overwriting script1.TXT. I gave up on it and just compiled 'normally', but I just thought of it again now, and so I thought I'd ask for help while I'm here.
Back to top
View user's profile Send private message Visit poster's website
Inferior Minion
Metric Ruler



Joined: 03 Jan 2003
Posts: 741
Location: Santa Barbara, CA

PostPosted: Thu Jul 13, 2006 11:53 am    Post subject: Re: Compiling with [-letter] Reply with quote

msw188 wrote:
I recently decided to try using those bracket letters when compiling my plotscripts to avoid long lists of pointless 'warnings'. However, I think I am having a problem, or perhaps I do not understand how these things work. I type in:

hspeak [-w] script1.txt

and the next thing the compiler asks me is whether I would like to overwrite script1.TXT. Shouldn't it send the compiled plotscript to a .HS file? This has me too scared to press y (for fear of deleting the first page of my source). I then thought that maybe if I used the brackets, it would want me to specify the destination too, so I typed:

hspeak [-w] script1.txt [script1.hs]

and it STILL asked me about overwriting script1.TXT. I gave up on it and just compiled 'normally', but I just thought of it again now, and so I thought I'd ask for help while I'm here.


You're just misreading the command-line description. The elements in brackets are meant to signify optional elements.

OHR Wiki wrote:
HSPEAK.EXE [-cdefwy] source.hss [dest.hs]

-c colors will be disabled
-d dump debug report to hs_debug.txt
-f fast mode. disables some optimization
-w suppress minor warnings
-y overwrite the destination file without asking
-z write error messages to hs_error.htm


To run hspeak while suppressing minor warnings, you would use this command:

Code:
HSPEAK.EXE -w source.hss


By including the brackets, hspeak was interpreting [-w] as the source file, which made it think script1.txt the destination.
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
msw188




Joined: 02 Jul 2003
Posts: 1041

PostPosted: Tue Jul 18, 2006 12:32 pm    Post subject: Reply with quote

Thank you for clearing that up for me.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group