Tapatalk

UE3 auto-complete file not portable?

UE3 auto-complete file not portable?

8
NewbieNewbie
8

    Jun 03, 2008#1

    I'm using UE3 14.00b and one problem I'm having is that when I go to different machines and my U3 USB drive partition gets mapped to different drive letters the Advanced->Configuration->Editor->Word Wrap/Tab Settings->Auto-complete file doesn't work and I get an error dialog that pops ups telling me that the file doesn't exist.

    I've tried using relative paths in the edit control but that doesn't seem to work. Each time I pop in the USB drive on a different machine I have to change this setting to make it work which is annoying.

    6,685587
    Grand MasterGrand Master
    6,685587

      Jun 04, 2008#2

      Well, relative paths are always problematic because there is always the question: Relative to which base directory - the program directory, the start in directory, the current working directory, a directory specified by an environment variable, the directory of the INI?

      The solution would be very easy if Windows file systems would work with volume names instead of drive letters as many file systems on other operating systems do. On my very old Amiga 500 and Amiga 2000 I don't have such problems because I simply specify "volume name:directory/file name" and that's it.

      However, maybe there is a workaround using UNC paths. On the stick create a directory where you want store files which are user specific like the auto-complete file. Next right click on that directory, select "Sharing and Security", select "Share this folder" and specify that everyone can read (and maybe also write) without a password required from/into this shared directory. Select also an appropriate caching option. Now specify in UE3 the auto-complete file using the UNC path like \\localhost\sharename\auto-complete_file.txt I hope this workaround works because I have not tested if anything written here is really possible. I don't know where the sharing information is saved. If it is saved in the registry of the current computer, then this method will not work. If it is saved on the drive itself, it could work.

      A second workaround would be to have always the same drive letter for your stick. That can be reached by a batch file on your stick which has for example following lines:

      @echo off
      set /P StickDrive="Drive letter of the stick is: "
      subst B: %StickDrive%:\


      That uses good old DOS command to substitute drive B to the drive letter your stick has got.

      (And don't ask me why Microsoft has not come to the idea to automatically assign an USB drive first to letter B if this letter is not already used by a drive. Interesting is that it is possible to assign permanently a stick to letter B for example, so when you next time plug-in the same stick on the same computer it will be assigned again to letter B. But Windows remembers such drive mapping on a per stick base and not as general mapping for all USB sticks. And what many users don't know is that Windows takes only the local drives into consideration when assigning automatically a drive letter to a stick volume. If you have for example the local drives C, D and E and drive F is a network drive, the stick will nevertheless get the drive letter F and therefore you can't access the files on the stick - wonderful!)

      Maybe you can create an autorun.inf on your stick which executes that batch file to be automatically asked immediately after plugging-in the stick. Of course you will need a second batch file with just 1 line which you must execute before you unplug the stick to remove that substitution:

      subst B: /D

      The last possibility you have is to send a feature request email to IDM with the request for a place holder like %up which should be replaced by UE3 with the current program directory to be able to specify a path relative to the UE3 program directory or something similar.
      Best regards from an UC/UE/UES for Windows user from Austria

      8
      NewbieNewbie
      8

        Jun 04, 2008#3

        I appreciate the input Mofi 8)

        I had already tried UNC paths and couldn't get them to work. I've also tried to put just the filename in the config and then copy the file around the application heirarchy to see if it picks it up. No luck.

        The marketing claims of this product being portable implies this functionality should work. If they can't get it to work, they should take it out of the UE3 version of the product and make a note of it in the literature. Or, they just need to put a "auto-complete" folder within the application heirarchy so they know where to look for them and get rid of the need to put a path in (just a filename). Seems simple enough.

        In my mind this is a bug in UE3 and this functionality was clearly not tested. Other configuration properties work. For example, the word list path seems to get updated as the drive letter changes (i.e. the config dialog shows a full path that gets updated).

        6,685587
        Grand MasterGrand Master
        6,685587

          Jun 06, 2008#4

          I agree to your statement. But you have to report this by email to IDM support to get in a future UE3 version an improved handling for the auto-complete files setting.
          Best regards from an UC/UE/UES for Windows user from Austria