1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

File matcher

Discussion in 'Modding Help' started by GoldenGuy, Apr 17, 2017.

  1. GoldenGuy

    GoldenGuy Haxor Tester

    Messages:
    105
    CFileMatcher@ cant find files outside of base folder, i need to find files in Cache folder. How do i fix it?
    p.s "../Cache/file" doesnt work.
     
  2. Verrazano

    Verrazano Flat Chested Haggy Old Souless Witchy Witch Witch THD Team Global Moderator Forum Moderator Tester
    1. Practitioners of War Extreme Revolution - POWER

    Messages:
    477
    CFileMatcher only works with things in the base folder or mods folder.
     
    makmoud98 likes this.
  3. GoldenGuy

    GoldenGuy Haxor Tester

    Messages:
    105
    Ok, can this be changed somehow in new update?
     
  4. Verrazano

    Verrazano Flat Chested Haggy Old Souless Witchy Witch Witch THD Team Global Moderator Forum Moderator Tester
    1. Practitioners of War Extreme Revolution - POWER

    Messages:
    477
    I don't think so, what do you need to search the cache folder for?
     
  5. GoldenGuy

    GoldenGuy Haxor Tester

    Messages:
    105
    There is a shiprekt mod, where you can save and load ships (they saving in cache folder), and i need to make a command, to print all saved ships names in chat.
     
  6. Verrazano

    Verrazano Flat Chested Haggy Old Souless Witchy Witch Witch THD Team Global Moderator Forum Moderator Tester
    1. Practitioners of War Extreme Revolution - POWER

    Messages:
    477
    I might consider looking into it.

    However I would suggest making a config file that has all the file names of the saved ships.
    So whenever you save a ship you add the filename to the list.
    When you need to check all the ships available you just look at the file.
    The list file name never needs to change.
     
    GoldenGuy likes this.
  7. Geti

    Geti Please avoid PMing me (poke a mod instead) THD Team Administrator Global Moderator

    Messages:
    3,730
    This is the solution I was going to suggest.
     
    Verrazano likes this.