NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) Community Skin v
« Previous 1 … 3 4 5 6 7 … 10 Next »
[DEV] Installation options

 
  • 0 Vote(s) - 0 Average
[DEV] Installation options
Hairy
Offline

Senior Member

Posts: 703
Threads: 39
Joined: Nov 2007
#1
2009-02-21, 10:48 AM
I was wondering if it's possible for the installation process to load a file, like the currenttheme.xml, during installation and load the relevant graphics and formatting into the skin folder from the plugin resource folder.

Given than we now have the skin and plugin in the same package there is quite a bit of file duplication and if it was possible to do the above then we could remove all those duplicated files from the skin folder and reduce the overall package from approx 11mb to 5/6mb, (and it would come in even more useful for the Hi-Def version, going from approx 30mb to 15/18mb)
The Hairy Man

HTPC: Core Duo E4300 - 2GB DDR2 - HD 3650 - 500GB storage
Capture: 1 Nova-T 500 - 1 PVR 500
TV: S-Video to 32" Philips CRT

Support the Community Skin
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#2
2009-02-21, 10:56 AM
It's possible. How did you calculate the 5/6mb saving!?
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
Hairy
Offline

Senior Member

Posts: 703
Threads: 39
Joined: Nov 2007
#3
2009-02-21, 11:32 AM
Based really on the size of the "_TaskImages" folder (by far the largest part of the skin folder). In CS-SD it's currently almost 5mb and I estimate that CS-HD would be close to 12/15mb.

It's a point though, we could achieve the vast majority of that file size reduction by loading just the taskimages list (from the SkinPluginConfig.xml), I guesstimate that the other options wouldn't top 1mb for the SD version and 3mb for the HD version.
The Hairy Man

HTPC: Core Duo E4300 - 2GB DDR2 - HD 3650 - 500GB storage
Capture: 1 Nova-T 500 - 1 PVR 500
TV: S-Video to 32" Philips CRT

Support the Community Skin
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#4
2009-02-21, 11:40 AM
Saving a few MB on the installer is always worth it in my book. All that would be required is to ensure CurrentTheme.xml reflects the theme we want to install by default, and then run SkinPluginHelper.exe (with no command line options) at the end of the install process.

Do you agree fatman_do?
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#5
2009-02-21, 09:21 PM
Yes we could do that. That would also be a good thing for additional theme downloads as well.
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#6
2009-02-22, 12:16 AM
themechanges.xml would need to be set also.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#7
2009-02-25, 01:51 PM
McBainUK Wrote:It's possible. How did you calculate the 5/6mb saving!?
Just tried this. As the installer compresses the files it's more like 200k saved Sad

I still think it's a good idea though as it simplify how to distribute and apply a default theme. Testing things out now...
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#8
2009-02-25, 02:03 PM
Must be due to redundancy picked up by the compression algorithm.
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
Hairy
Offline

Senior Member

Posts: 703
Threads: 39
Joined: Nov 2007
#9
2009-02-25, 02:33 PM
McBainUK Wrote:Just tried this. As the installer compresses the files it's more like 200k saved Sad

Was that with the actually graphics removed from the "Community Skin SVN\shared\skin\pvrx2" folder ???. It's gotta be able do better than 200k. If we remove 5/6mb from the folder it really should reflect in the package ???
The Hairy Man

HTPC: Core Duo E4300 - 2GB DDR2 - HD 3650 - 500GB storage
Capture: 1 Nova-T 500 - 1 PVR 500
TV: S-Video to 32" Philips CRT

Support the Community Skin
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#10
2009-02-25, 02:35 PM
Hairy Wrote:Was that with the actually graphics removed from the "Community Skin SVN\shared\skin\pvrx2" folder ???.
Yes. Current Community-SD_4x.exe size is 10,850KB.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  [DEV] Plugin: Text Options Hairy 22 7,267 2009-03-06, 04:42 PM
Last Post: Fatman_do

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode