ATVO by Appgineering
Download
Read-only

Dynamic file path that's independent on exported theme location

4 posts 2,726 views Started 09 Jun 2021, 02:21
Showing 1–4 of 4 posts
Zack R.
Original poster

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.

Zack R.
Reply #1

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 Thissen Appgineering
Reply #2

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?

Jeremy K.
Reply #3

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

Archive · Read-only

New replies have moved to Discord.