[FIXED] Cant Read files by "./"

Give your feedback about the Interface Designer in this section

Moderator: NADEO

Post Reply
User avatar
NJin
Posts: 700
Joined: 26 May 2012, 20:16
Location: Hamburg, Germany
Contact:

[FIXED] Cant Read files by "./"

Post by NJin » 23 Jul 2014, 01:53

If i want to write for example a link for image, only "file://" can read it and not "./"
Example: I want to load an image called "quad.jpg". I can only load it with "file://Media/Manialinks/quad.jpg" and not "./quad.jpg".
Computer engineering student
German Moderator || TM Turbo Moderator
Web: https://n-jin.eu/ || Facebook: http://fb.com/NJinTM || Discord: N-Jin#2809

PC: i7-8700K @4,7GHz ; GTX 1080 ; 16GB DDR4

Image

User avatar
noyranea
Nadeo
Nadeo
Posts: 176
Joined: 29 Apr 2014, 14:50
Location: Paris, France

Re: Cant Read files by "./"

Post by noyranea » 23 Jul 2014, 14:45

Hi Jinzo,

Thank you for your report.

The problem is linked to the fact that, since you're in the editor, you may not have saved your file yet, so there is no absolute path on which we can build the path for you image. Thus, './' is, for now, automatically replaced by 'file://'.

The problem has been treated though : in the next update, you'll be able to use relative paths as soon as you've saved your file (and thus generated an absolute path for your manialink). If you try using a relative path before saving your file, './' will still be replaced by 'file://'.
Of course, a file you opened using the file toolbar will already have a path.

Do not hesitate to report any other problem, or even to give suggestions for further improvements to this tool. They're always welcome.

Have fun,

-- noyranea

User avatar
NJin
Posts: 700
Joined: 26 May 2012, 20:16
Location: Hamburg, Germany
Contact:

Re: Cant Read files by "./"

Post by NJin » 23 Jul 2014, 14:58

Ok thx for the info^^
Computer engineering student
German Moderator || TM Turbo Moderator
Web: https://n-jin.eu/ || Facebook: http://fb.com/NJinTM || Discord: N-Jin#2809

PC: i7-8700K @4,7GHz ; GTX 1080 ; 16GB DDR4

Image

User avatar
noyranea
Nadeo
Nadeo
Posts: 176
Joined: 29 Apr 2014, 14:50
Location: Paris, France

Re: Cant Read files by "./"

Post by noyranea » 23 Jul 2014, 16:41

It just got updated, you can use relative paths now :yes:

Post Reply

Return to “Interface Designer”

Who is online

Users browsing this forum: No registered users and 2 guests