Skip to content
AppgineeringAppgineering
Shop
Read-only4 posts · 2,726 views · Started 09 Jun 2021, 02:21

Dynamic file path that's independent on exported theme location

Archived: discussion moved to DiscordDiscord
Zack R.Original poster
#1

So say I have a theme that uses custom numbers.

I know if I link the path to a specific folder on my computer, such as "C:\users\blah\Documents\numbers{0}.png", I can interchange number files without having to re-export the theme every time, I just have to reload the theme itself to apply the changes.

That's fine and dandy, but what about themes meant for use by multiple people? What path could I use so I can put the .adt file and relevant image files in whatever folder I want? I've tried a few different ways to get it but can't find the magic path that works.

#2

i think i meant dependent instead of independent
it's late
i'm tired
i've been trying to figure this out for too long

Nick ThissenAppgineering
#3

I think it should also work relative to the path of your adt theme file. But I would have to check the code to make sure. Maybe you can try it?

#4

I can confirm that you can call dynamic images from a relative path. That's how I'm bringing up my track maps for my race details overlay.

-Jeremy

This thread is archived.

New replies have moved to Discord.

Continue on Discord