compile so skins2 is default

About usage, announcement and development of skins for VLC
brockb
Blank Cone
Blank Cone
Posts: 22
Joined: 26 Feb 2007 17:59

compile so skins2 is default

Postby brockb » 06 Jun 2007 19:32

Is there a way to compile VLC from source so that the first time the vlc.exe file is run it starts the program in skins mode? I want to try and make it so that the first time anybody runs the program it defaults to the skins interface and always open up in the skins interface after that also.

I just tried adding "--enable-skins2 \" to the config file before compiling but that didn't work.

-BB

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 06 Jun 2007 20:00

Ohoh..

Just change and force it in the preferences or in the preferences file. Don't recompile VLC for this except if you are mad. :D
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

brockb
Blank Cone
Blank Cone
Posts: 22
Joined: 26 Feb 2007 17:59

Postby brockb » 06 Jun 2007 20:36

Ohoh..

Just change and force it in the preferences or in the preferences file. Don't recompile VLC for this except if you are mad. :D
Is there a way to change it so that when a user installs VLC that we don't have to force them or explain to them how to go through and manually change it in preferences? We want to make it so that when they install VLC it opens up "branded" with our logos and skin and so forth. I've got the logos part down... we have the skin created and I've gotten so far as to once the user installs it... if they double click on a media file or right click on a media file and open with the player that it opens in skins mode. But if they just double click on the .exe it isn't going to open up in skins mode until we instruct them how to go through and set skins as their default. Or right after they go through the installation script and at the end if it asks them if they want to run the player... right then it opens up in wx mode. I would like it to open up in skins mode there too.

I think I've gone through and added "--intf skins2" in the NSI config file at all of the instances where D3Player.exe is launched so that through file association, dragging and dropping, etc... the registry settings has it launch in skins mode. I just can't for the life of me figure out how to get it to launch in skins mode on initial launch of the player after install without forcing the user to go through and change it in preferences first.

Too bad VLC doesn't create the vlcrc config file first before the initial launch after installation. If it did I could probably just have it write out an updated vlcrc file before the first launch.

Any other ideas?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 06 Jun 2007 20:40

ok.

I suggest that you make the shortcuts to vlc.exe -Iskins or the start menu and desktop. then it will be saved.


If you really want to recompile because of the logo, then change the score of skins2 to be higher than the wx one.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

brockb
Blank Cone
Blank Cone
Posts: 22
Joined: 26 Feb 2007 17:59

Postby brockb » 06 Jun 2007 20:43

ok.

I suggest that you make the shortcuts to vlc.exe -Iskins or the start menu and desktop. then it will be saved.


If you really want to recompile because of the logo, then change the score of skins2 to be higher than the wx one.
I've already compiled with different logos and such. How does one change the "score" of skins2 to be higher. I don't mind re-compiling.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 06 Jun 2007 21:22

set_capability( "interface", 30 );
in skin_main.cpp change the 30 to 160
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

brockb
Blank Cone
Blank Cone
Posts: 22
Joined: 26 Feb 2007 17:59

Postby brockb » 06 Jun 2007 21:26

set_capability( "interface", 30 );
in skin_main.cpp change the 30 to 160
awesome... I'll give that a try. Thanks.

brockb
Blank Cone
Blank Cone
Posts: 22
Joined: 26 Feb 2007 17:59

Postby brockb » 06 Jun 2007 23:47

Perfect! Worked like a charm.

Thanks a million... that is exactly what I was looking for.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 07 Jun 2007 08:06

If you got millions, My bank account is open.

Anyway, I just warn you that you must comply to the GPL for the modified binary.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

brockb
Blank Cone
Blank Cone
Posts: 22
Joined: 26 Feb 2007 17:59

Postby brockb » 07 Jun 2007 15:41

Anyway, I just warn you that you must comply to the GPL for the modified binary.
Always!

Thanks again!


Return to “Skins”

Who is online

Users browsing this forum: No registered users and 1 guest