Sponsored links


Go Back   Sat Industry Forums > Dreambox > DB Images > DS images
Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-28-2006
dsteam's Avatar
Registered User
 
Join Date: Nov 2005
Posts: 100
Thanks: 0
Thanked 2 Times in 1 Post
dsteam is on a distinguished road
How to Build ADDONS for DS Images??

Small faq for DS Team images - Building Addons

At first of all you must create folder called - addon
Then put files which you want include in addon to this folder.

Create xml file called - install.xml ( it must be named install.xml ! )

example install.xml for

plugin

Code:
<?xml version="1.0" encoding="iso-8859-1" ?>
<install>
    <addon type="plugin" />
    <cpfile permission="755" from="/tmp/addon/pip.so" to="/var/tuxbox/plugins/" />
    <cpfile permission="644" from="/tmp/addon/pip.cfg" to="/var/tuxbox/plugins/" />
    <cpfile permission="644" from="/tmp/addon/pip.conf" to="/var/tuxbox/config/" />
    <dir permission="755" make="/var/uninstall/pip/" />
    <cpfile permission="644" from="/tmp/addon/install.xml" to="/var/uninstall/pip/" />
</install>
<addon type="plugin" /> - this type of addon (possiable: plugin, locale, emu )

<cpfile permission="755" from="/tmp/addon/pip.so" to="/var/tuxbox/plugins/" />

cpfile permission="755" - permission copied file
from="/tmp/addon/pip.so" -from where it must be copied ( always is /tmp/addon/ )
to="/var/tuxbox/plugins/" - location where file must be copy
<dir permission="755" make="/var/uninstall/pip/" /> - create folder to uninstalling addon ( must be always that !! )
<cpfile permission="644" from="/tmp/addon/install.xml" to="/var/uninstall/pip/" /> - copy install.xml to created folder befor for uninstall.


locale

Code:
<?xml version="1.0" encoding="iso-8859-1" ?>
<install>
    <addon type="locale" language="French fr_FR" />
    <dir permission="755" make="/var/share/locale/fr/" />    
    <cpfile permission="644" from="/tmp/addon/tuxbox-enigma.mo" to="/var/share/locale/fr/"/>
    <dir permission="755" make="/var/uninstall/localefr/" />
    <cpfile permission="644" from="/tmp/addon/install.xml" to="/var/uninstall/localefr/" />
</install>
<addon type="locale" language="French fr_FR" /> - language the name of lines which must be written to locale.alias


emu

When we're doing emu addon we must also create file called - emulist.xml and put it also to /addon

Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<emulist>
<emu emulator="Camd3 v830" osdname="CAMD3" emuscript="" daemon="camd3"/>
</emulist>
Code:
<?xml version="1.0" encoding="iso-8859-1" ?>
<install>
    <addon type="emu" />
    <cpfile permission="755" from="/tmp/addon/camd3" to="/var/bin/" />
    <cpfile permission="755" from="/tmp/addon/pcamd" to="/var/bin/" />
    <cpfile permission="644" from="/tmp/addon/camd3.config" to="/var/****/" />
    <cpfile permission="644" from="/tmp/addon/camd3.servers" to="/var/****/" />
    <cpfile permission="644" from="/tmp/addon/camd3.users" to="/var/****/" />
    <cpfile permission="644" from="/tmp/addon/camd3.****" to="/var/****/" />
    <cpfile permission="644" from="/tmp/addon/destination" to="/var/****/" />
    <dir permission="755" make="/var/uninstall/camd3830/" />
    <cpfile permission="644" from="/var/tmp/addon/emulist.xml" to="/var/uninstall/camd3830/" />
    <cpfile permission="644" from="/tmp/addon/install.xml" to="/var/uninstall/camd3830/" />
</install>
<cpfile permission="644" from="/tmp/addon/emulist.xml" to="/var/uninstall/camd3830/" /> - in emu type addons we also must copy emulist.tmp to uninstall folder.

After create install.xml and put all files into /addon folder just pack *.tar.gz

To build GAME, SKIN addons we must use type="plugin" and do everythink like in this faq...


Now,I think everythink will be easier...



Regards..
Reply With Quote
Sponsored links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't build Neutrino CamouflageJJ Dreambox Development 17 08-26-2007 04:49 AM
How to build Addons for DS image??? dsteam DS Team Forum 0 08-25-2006 09:53 PM
help me please to build my own server astrasw New Dreamers 0 04-22-2006 08:18 PM
Addons for the PiČ Images !!! spacy 2Gether-Images 12 09-08-2005 05:10 PM
Addons for the PiČ Images !!! satlove 2Gether-Images 1 05-24-2005 12:14 AM


All times are GMT +10. The time now is 11:58 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Page generated in 0.18828 seconds with 10 queries