Page 1 of 1

VLC on a USB flashdrive

Posted: 25 Oct 2005 19:18
by Hubbabub
Hi

I have tested vlc-0.8.4-test1-20051025-0000-win32.zip
on a USB flashdrive in Win Xp pro sp2 (English with Swedish settings),
and it works great :)

But I have one question.
I saw that VLC creates a directory in the Application Data directory.
Are there some way to prevent VLC to create that directory on the harddrive ?


/Hubbabub

Is there any way to change where VLC stores the config?

Posted: 12 Dec 2005 23:54
by spchtr
I run VLC from a usb Flash drive, and would like it to look at .\vlc\vlcrc instead of %CURRUSER%\Application Data\vlc\vlcrc

Would anyone know where in the source code I would need to change this?
I've such a small amount of programing background as to be laughable, but I have occasionally compiled some very simple C programs before.

Posted: 13 Dec 2005 08:46
by ipkiss
No need to change the code, you can use 'vlc --config .\vlc\vlcrc'.

Posted: 15 Dec 2005 01:25
by Guest
Doing as ipkiss suggests does successfully read the VLC configuration file from the path used in the command line. However I also had to use the "--no-plugins-cache" switch to keep VLC from creating a cache directory with files in the %CURRUSER%\Application Data\ path. I'm not sure what else must be done to ensure VLC doesn't leave "junk" on the host PC's hard drive.

--config <>

Posted: 15 Dec 2005 19:03
by spchytr
Awesome!

It worked great, now I am definetly going to be working on reskinning this great program. Thanks guys.

Posted: 23 Dec 2005 14:43
by Another Guest
Following ipkiss' instructions I can get VLC to leave its configuration data on the flash drive with 'vlc --config .\vlc\vlcrc'. Following the first Guest's instruction I can get it to not create a cache on the hard drive with "--no-plugins-cache".

How can I get it to create a cache on the flash drive in vlc\cache?

Posted: 24 Dec 2005 00:38
by dionoea
The dir is hardcoded in VLC. I guess that it wouldn't be hard to add an option to change that.

Posted: 24 Dec 2005 15:05
by Another Guest
Thanks for the info.

With the move towards portable apps that would be a great option. I'll keep watching my newsletter.

Jim

Posted: 28 Dec 2005 06:44
by another guest 2
When i play dvds in vlc from my flash drive, i still get a dvdcss directory created in my application data directory with the titles of dvds i have played. is this vlc or is it windows2000?