User Tag List

Results 1 to 4 of 4

Thread: Ini Path

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Location
    Cape Town South Africa
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ini Path

    I have an Ini file where a list of sound files are listed that the user can change.

    My problem is the sounds are set to find the files on my pc and not the user.
    to start of with is there a way of puting in the INI something like appdrv+appdir+file.wav like in the event editor?
    Or sould I make the ini files create on install?(this will take forever)

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini Path

    I've always used "./" to denote the current folder rather than Appdrv$ + Appdir$, but the choice doesn't make any huge difference. If your default samples are in the same folder as your INI, then you can just use:

    "./" + GroupItemString$("Ini", "Group", "Item")

    to get the sample name - the items string in the INI would then just have to be the name of your sample, such as "sample1=sound.wav", for it to be played correctly.

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Location
    Cape Town South Africa
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini Path

    Wow! thanks it works.

    Is there any where we can learn all these extra "codes" ./
    I find there are codes in edit object aswell that are very handy but there is no documentation on them.
    Or do you have to be a real programer to remember them all?

    Thanks again.

  4. #4
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Ini Path

    "./" is just a pathname, the same as is used by Windows, rather than something to do with MMF itself. The same as ".." being used to mean "the folder above the current one". They're left over from the DOS days.

Similar Threads

  1. How to make path movements without path movement?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 25th February 2012, 06:49 PM
  2. Path Maker (Advanced Path Movement) for BIG levels
    By StingRay in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 22nd June 2010, 02:14 PM
  3. "Path Find" & "Advanced Path Movement" extensions
    By kikiriki in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 8th April 2010, 08:59 PM
  4. Advanced Path Movement "Path Maker"
    By Jarzka in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th September 2009, 09:00 PM
  5. Path Maker for Advanced Path Movement
    By Willi Leopold in forum Extension Development
    Replies: 9
    Last Post: 15th November 2006, 03:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •