Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29 FamiTracker
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: 4208 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:

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

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).
[/quote]

Page 1 of 1 Sort: