The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: gauthier on May 14, 2010, 06:30:28 pm

Title: missing error message
Post by: gauthier on May 14, 2010, 06:30:28 pm
Using makeobj 50 (about 50 ...) with windows 7 pro 32 bits
Using makeobj by .bat command files
create.bat with :
Quote
makeobj pak128 2>err.txt

When a picture isn't well sized (there it was a picture of 1025*768 instead of 1024*768), no error message is displayed in err.txt (so I spent a quarter of hour to find the problem).
Title: Re: missing error message
Post by: prissi on May 14, 2010, 09:15:27 pm
Does it generate anyway a working pak? I mean it should do anyway, if you are not requested the 1 pixel slide. I will lokk into it.
Title: Re: missing error message
Post by: gauthier on May 14, 2010, 09:18:07 pm
No it doesn't, there were five vehicles on the picture and makeobj stoped working after the first.
Title: Re: missing error message
Post by: vilvoh on May 14, 2010, 09:26:49 pm
If I remember correctly, when you use pakhelper with makeobj 50 and error log option selected, it shows an error message if the image hasn't got the right size according to the pakset you chose. so maybe you forgot to add some parameter..
Title: Re: missing error message
Post by: gauthier on May 14, 2010, 10:37:58 pm
I don't use pakhelper ... and I don't know what paramater I could forget.
Title: Re: missing error message
Post by: VS on May 15, 2010, 11:14:02 am
You're redirecting with 2> , perhaps it's in stdout?
Title: Re: missing error message
Post by: gauthier on May 15, 2010, 11:20:56 am
I don't know how does it work ...
Title: Re: missing error message
Post by: VS on May 15, 2010, 03:57:19 pm
Code: [Select]
2> 1> >
Find what's the difference and try ;)
Title: Re: missing error message
Post by: gauthier on May 15, 2010, 06:17:17 pm
possible to use the both at the same time ?
Title: Re: missing error message
Post by: VS on May 15, 2010, 09:20:59 pm
That's what the version without number is for (I hope).
Title: Re: missing error message
Post by: gauthier on May 15, 2010, 10:05:44 pm
okay, thanks ... I don't know why the person who gave me this command line put 2 ...