Search found 14 matches

by Factis
Fri Aug 09, 2013 10:42 am
Forum: Support and Development
Topic: Display foreign letters
Replies: 7
Views: 5072

Re: Display foreign letters

OK, I've solved it. Thanks everyone who replied here. So in order to get and print file name in foreign letters you have to: 1. Create a dummy file (and make its name same as the file you wanted to print) in your save directory using standard io library.(E.G. %appdata%/YOURGAME/tmp/) 2. Get its name...
by Factis
Fri Aug 09, 2013 9:30 am
Forum: Support and Development
Topic: Display foreign letters
Replies: 7
Views: 5072

Re: Display foreign letters

But I can't get outside of .love archieve using love.filesystem.
Please tell me is it possible at all?
by Factis
Fri Aug 09, 2013 2:02 am
Forum: Support and Development
Topic: Display foreign letters
Replies: 7
Views: 5072

Re: Display foreign letters

Must be issues with font loaded by default. I've downloaded your file, and I can what is written there. But problem is when I try to get file name which is in Cyrillic, and when I try to display that name of the file, it gives me utf-8 error. UTF-8 error will also appear if I will write string.char...
by Factis
Thu Aug 08, 2013 10:29 pm
Forum: Support and Development
Topic: Display foreign letters
Replies: 7
Views: 5072

Re: Display foreign letters

It does contain it, but when I try to print some of cyrillic letters (string.char(128) returns "A" in cyrillic), it return UTF-8 error.
by Factis
Thu Aug 08, 2013 9:48 pm
Forum: Support and Development
Topic: Display foreign letters
Replies: 7
Views: 5072

Display foreign letters

Hello everyone, I want to know how do I print foreign letters?
For example, I got file, which is in Cyrillic letters, and I need to get and write its name, but unfartunatelly I can't, it keeps writing squares.
Do you know how to write in foreign characters?
Please, I really need it.
by Factis
Fri Aug 02, 2013 3:20 pm
Forum: Support and Development
Topic: love.filesystem.getWorkingDirectory returns user directory
Replies: 9
Views: 5178

Re: love.filesystem.getWorkingDirectory returns user directo

So is there no way to get directory where .love file located? Please, I really need it.
by Factis
Fri Aug 02, 2013 12:33 pm
Forum: Support and Development
Topic: love.filesystem.getWorkingDirectory returns user directory
Replies: 9
Views: 5178

love.filesystem.getWorkingDirectory returns user directory

Hello everyone, I got a problem. So, I need to load files from the folder where .love file is located, so I used love.filesystem.getWorkingDirectory() to get the directory, but this command only returns user directory as love.filesystem.getUserDirectory() command would do. So, I tried some other way...
by Factis
Tue Nov 06, 2012 9:59 am
Forum: Support and Development
Topic: How to get source directory's path?
Replies: 4
Views: 2181

Re: How to get source directory's path?

My game is located at C:/Love/Test
and this function returns me:
C:/Documents and Settings/ADMIN
nothing else
by Factis
Mon Nov 05, 2012 2:07 pm
Forum: Support and Development
Topic: How to get source directory's path?
Replies: 4
Views: 2181

How to get source directory's path?

I'm stuck with this :/

Which function can return source directory's path?
(My .love archive is located in "C:/Love/Test/", how do I return this path?)

Thanks.
by Factis
Wed Sep 26, 2012 5:29 pm
Forum: Support and Development
Topic: How to load a file from game directory
Replies: 29
Views: 10944

Re: How to load a file from game directory

No, I want load image not from .love file but from the folder where .exe file will be located