Login:
Menu:
Post: Author:
FamiTracker > General > Bug Reports & Feature Requests > Plugins directory enumeration Owner: clueless New post
Page 1 of 1 Sort:  
Plugins directory enumeration Posted: 2010-12-12 19:25 Reply | Quote
clueless



Member for: 5666 days
Location: Wisconsin, USA
Status: Offline

#11693
I was having difficulty getting FT to load some export plugins. I believe that I've identified the problem. I would like you to consider making a change that I suggested in the nesdev forums:

    http://nesdev.parodius.com/bbs/viewtopic.php?p=71365#71365


The guts of my original post:

Quote:
Famitracker looks for the "plugins" directory relative to the processes current working directory (which is normally whatever directory contains the FTM file that I double-clicked on from Windows Explorer).

Famitracker should instead use the win32 api "GetModuleFileName (NULL, ....)", then strip the EXE off with "PathRemoveFileSpec", then append "Plugins" with "PathAppend" (or at least, that is how I would do it).


Page 1 of 1 Sort: