use wine paths relative to c:
authorRudolf Polzer <divVerent@alientrap.org>
Mon, 9 Aug 2010 12:03:34 +0000 (14:03 +0200)
committerRudolf Polzer <divVerent@alientrap.org>
Mon, 9 Aug 2010 12:03:34 +0000 (14:03 +0200)
misc/tools/compress-texture
misc/tools/rebrand-darkplaces-engine.sh

index 7b998fb7499ec606ea3255893216540a3ef72373..743992215a8af6548c0b1c99da307db88328360d 100755 (executable)
@@ -30,7 +30,7 @@ case "$tool" in
 
                # compressonator and wine suck, so we sometimes have to retry :(
                for retry in 1 2 3 4 5; do
-                       wine "$HOME/.wine/drive_c/Program Files/AMD/The Compressonator 1.50/TheCompressonator.exe" -convert -mipmaps "$dir_dos/src.$ext" "$dir_dos/dst.dds" $c $f "$@" -mipper BoxFilter.dll
+                       wine "c:/Program Files/AMD/The Compressonator 1.50/TheCompressonator.exe" -convert -mipmaps "$dir_dos/src.$ext" "$dir_dos/dst.dds" $c $f "$@" -mipper BoxFilter.dll
                        if mv "$dir/dst.dds" "$dst"; then
                                break
                        fi
index f26c5ea5bdb60b07d5d55a0d6ab233cf58983653..3ac3cbd844afd1c7e8f3c9ab0df9269e2528efbf 100755 (executable)
@@ -96,7 +96,7 @@ FILETYPE VFT_APP
 }
 EOF
                cd "$t"
-               wine ~/ResEdit/ResEdit.exe -convert darkplaces.rc darkplaces.exe
+               wine "c:/Program Files/ResEdit/ResEdit.exe" -convert darkplaces.rc darkplaces.exe
                cd "$d"
                mv "$t/darkplaces.exe" "$EXECUTABLE"
        fi