[FIXED] Cant Read files by "./"

Give your feedback about the Interface Designer in this section

Moderator: NADEO

Post Reply
User avatar
NJin
Posts: 712
Joined: 26 May 2012, 20:16
Contact:

[FIXED] Cant Read files by "./"

Post by NJin »

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".
n-jin.xyz || Instagram || Twitter || Twitch || Discord: njin

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

Re: Cant Read files by "./"

Post by noyranea »

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: 712
Joined: 26 May 2012, 20:16
Contact:

Re: Cant Read files by "./"

Post by NJin »

Ok thx for the info^^
n-jin.xyz || Instagram || Twitter || Twitch || Discord: njin

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

Re: Cant Read files by "./"

Post by noyranea »

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 1 guest