mrkite / TerraFirma

Mapping for Terraria
http://seancode.com/terrafirma
BSD 2-Clause "Simplified" License
278 stars 61 forks source link

"Use Textures" is grayed out #11

Closed Kroll closed 10 years ago

Kroll commented 11 years ago

I put Terrafirma.exe in same directory with Terraria.exe or install it in different directories. "Use Textures", "Show NPC Houses" and "Show Wires" are still gray :(

How to make Terrafirma.exe "find my Terraria directory"?

Windows 7, Terrafirma 2.0.3

ForgetfulAlien commented 11 years ago

Same issue here.

And I've a pretty good idea what causes this for me: In Textures.cs:263--271 you seem to assume that Terraria is installed in the Steam library whose path you get from the registry key. But this just gives you one (the primary?) Steam library. The user may in fact have several libraries (for example, I've got one on my SSD and one on my HDD) and if Terraria is in the other you miss it.

If automatically searching all Steam libaries for Terraria is too complicated for now, then an option to specify the path to Terraria manually would certainly settle this problem.

By the way, I like Terrafirma a lot, great work!

mrkite commented 10 years ago

HEAD now reads the steam config and finds the install directory for terraria. So if you use steam's new "install to directory" feature, terrafirma should find it.