Page 1 of 2
OTTD latest nightly and Mini-IN Problem
Posted: 06 Dec 2006 13:59
by gunniebear
Hi,
I use both, one version of actual nightly and one version of MiniIN
I downloaded latest rev of both.
And when I try to start one of both, I get the following message:
"No available language packs"
What can I do?
Does anybody have a clue why that message appears?
I don't have any! Please help "a desillusioned user"!

Posted: 06 Dec 2006 17:41
by belugas
Do you see a directory "lang" under the root of both nightlly and miniIN directories?
And if you do, do you see some files with extension ".lng" ?
If you said no to both questions, look in the archive you've downloaded. There you will find the expected files
Good luck
Posted: 06 Dec 2006 18:00
by gunniebear
belugas wrote:Do you see a directory "lang" under the root of both nightlly and miniIN directories?
And if you do, do you see some files with extension ".lng" ?
If you said no to both questions, look in the archive you've downloaded. There you will find the expected files
Good luck
yes, i know that directory
and yes, i have those files.
Otherwise I wouldn't have asked my question ;o)
But I don't know, why the programs I downloaded don't find these .lng files??
Posted: 06 Dec 2006 18:34
by Darkvater
OpenTTD is looking for those files in the subdirectory lang/ relative to the working directory of the executable.
Eg if you have OpenTTD in c:\openttd\openttd.exe:
C:\] c:\openttd\openttd.exe - will NOT work!
C:\] cd openttd
C:\openttd\] openttd.exe - WORKS
Posted: 06 Dec 2006 20:44
by gunniebear
Darkvater wrote:OpenTTD is looking for those files in the subdirectory lang/ relative to the working directory of the executable.
Eg if you have OpenTTD in c:\openttd\openttd.exe:
C:\] c:\openttd\openttd.exe - will NOT work!
C:\] cd openttd
C:\openttd\] openttd.exe - WORKS
Well ok, if you say so, I should be in directory where openttd.exe is installed to, that it should work.
Well now i use the Win version with WinME and I was in the directory.
All with openTTD 0.48 works fine all with openTTD 0.47 works fine, some revs before actual nightly all worked fine.
I just don't know why it doesn't work now??!!
I am quite firm in DOS orders, so it's quite clear what you wrote there but I don't know what I can do more in WinME than just go to the directory and start openttd.exe.
on my system it's installed in c:\Programme\OpenTTD\openttd.exe
so I opened that directory and started openttd.exe as I did before many times. And suddenly the program doesn't find my lang files that are right there where they should be in c:\programme\openttd\lang
Now i attached openttd.cfg maybe there someone can find the fault? I don't!
greets
gunnie
Posted: 06 Dec 2006 22:24
by Moriarty
You can download earlier nightlies from:
http://nightly.openttd.org/win32/
(assuming you're windows user)
Posted: 07 Dec 2006 07:05
by gunniebear
I tried, it always brings up that message.
I cannot explain to myself, why this happens.
Maybe there is a fault in my config I don't know.
Maybe someone can tell me
greets
Gunnie
Posted: 07 Dec 2006 07:18
by Moriarty
Simply delete your config file if you think it's that. OTTD will create a new one automagically.
Posted: 07 Dec 2006 11:03
by gunniebear
Moriarty wrote:Simply delete your config file if you think it's that. OTTD will create a new one automagically.
Ok was quite nice idea but, also that did not help.
Just one Question, where if not in lang-directory could I place lng-files so that openTTD.exe can find it?
Or how can I tell openttd.exe where it shall look for them under Windows?
Posted: 07 Dec 2006 11:20
by orcaz
Are the lng files are the same rev as the exe one?
Posted: 07 Dec 2006 11:21
by gunniebear
orcaz wrote:Are the lng files are the same rev as the exe one?
how can I see that?
normally I have a folder of openTTD and copy the whole zip-file of nightly into that folder.
normally it worked, now it doesn't?!
Ok I downloaded older revs of nightly and found out that the lng-file problem starts with revs of nov29
Until nov17 all works fine.
So maybe it's a problem with newer versions?
between these days there were problems with compiling win-rev is that right?
Was something changed while these days with lng-files or openttd.exe so that now it can't find my lang-folder?
greets
Gunnie
Posted: 07 Dec 2006 17:27
by orcaz
If ottd directory is folder/openttd.exe , the lng files should be folder/lang/(lng files).see attachment to see what I mean
If you downloaded the zip file, the rev for ottd and lng files are the same.
If you extract the lng files and dont ovewrite the older ones, the rev dont be updated.
No such error with nightly r_7403 and Mini-IN r_7311.
Posted: 07 Dec 2006 17:49
by Moriarty
gunniebear wrote:Ok I downloaded older revs of nightly and found out that the lng-file problem starts with revs of nov29
Until nov17 all works fine.
Yep, that implies that someone did something nov 29th, which in turn suggests you're not going to be able to do much to fix it yourself.
Try downloading and using the MiniIN nightly instead:
http://nightly.openttd.org/MiniIN/files/
Tell us if that works (it's built from the trunk also I believe).
Not being a dev I can't come up with many more suggestions.
Posted: 07 Dec 2006 18:20
by gunniebear
orcaz wrote:If ottd directory is folder/openttd.exe , the lng files should be folder/lang/(lng files).see attachment to see what I mean
If you downloaded the zip file, the rev for ottd and lng files are the same.
If you extract the lng files and dont ovewrite the older ones, the rev dont be updated.
No such error with nightly r_7403 and Mini-IN r_7311.
I've got that error with all revs since Nov29 as I wrote.
So I also got that error with r_7403 of Dec06
So as i wrote before it seems to me that there must be a thing in software that is unable to work on my WinME machine.
I always download the files and unzip them to the folder with older rev.
So i always overwrite all files that are asked for overwriting.
So as moriarty said, it seems to be a Problem that is not solvable by myself as I'm no programmer but just a normal user.

Posted: 07 Dec 2006 18:52
by gunniebear
Moriarty wrote:
Yep, that implies that someone did something nov 29th, which in turn suggests you're not going to be able to do much to fix it yourself.
Try downloading and using the MiniIN nightly instead:
http://nightly.openttd.org/MiniIN/files/
Tell us if that works (it's built from the trunk also I believe).
Not being a dev I can't come up with many more suggestions.
no, sorry also MiniIN from Dec05 doesn't work. Same error message.
Maybe it's because it also is conform with trunk.
If someone has the miniIN nightly rev mentiuoned above, please tell me.
Posted: 07 Dec 2006 20:06
by RiTi
Maybe this screenshot will help. In the main directory tree I have a TDD_R dir (can be another name on your computer). You can see this in the upper part of the screenshot. In/under that tree there are subdirs. One subdir is named "LANG". In the subdir LANG you must have several language files. You see this in the bottom part of the screenshot. If this is the same on your computer then double-left-clicking on openttd.exe the game should start.
Posted: 07 Dec 2006 20:45
by Moriarty
Just downloading todays nightly I noticed something:
The file size on nov 29th build is 1.5MB
The file size thereafter is 1.8MB.
Noting that's the last working revision for our friend here, I suspect this is more than a co-incidence.
Posted: 07 Dec 2006 21:35
by DarkFenX
Now freetype library is statically linked (and ofc it has caused filesize growth), and probably unicows too (not sure if it hadn't been linked before).
Posted: 07 Dec 2006 21:57
by Born Acorn
Delete the existing lang folder so it doesn't exist anymore.
Now extract the new one.
A problem with unzipping things is that sometimes it doesn't overwrite by default.
Posted: 08 Dec 2006 07:21
by gunniebear
Born Acorn wrote:Delete the existing lang folder so it doesn't exist anymore.
Now extract the new one.
A problem with unzipping things is that sometimes it doesn't overwrite by default.
I tried as you said I should do so but, that's not the Problem, all is extracted fine, lang folder was created new and all is still the same.
Error comes up again.
I ask again. Is there something in the program that isn't compatible with systems like mine? (WInME)
It definately works with revs before nov29 and BEFORE big crash with windows revisions but it does not work with my machine AFTER nov29. And it's not dependable if I use MiniIN or the normal nightlys. The error comes up with everything. I tried a lot with lang-folder, changed config etc.
It's no fault in config and all lang files are where they should be.
Was there done some big change in program between nov17 and nov29 that could cause such error?