XBMC Community Forum  

Go Back   XBMC Community Forum > Development > Skin Development

Skin Development GUI and Web skins/themes, graphics development and suggestions.
No End-User Support Requests! Only skinners and graphic artists.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2004-06-22, 19:15   #1
Nickman
Fan
 
Nickman's Avatar
 
Join Date: Oct 2003
Location: Sweden
Posts: 467
Nickman is on a distinguished road
Cool

i made a bat file to make it easier (imho) to create a xpr file from the media dir. don't know if anyone cares but here it is

just make a textfile called buildxpr.bat and copy the folowing into it:

Quote:
@echo off

rem ----purpose----
rem create xbmc xpr skin files with a single click
rem ----------------------------------------------

title xbmc build skin xpr script

rem ----config------------------------------------
set tex=xbmctex.exe
rem ----------------------------------------------

if "%1"=="" (goto doh) else (set arg1=%1)
if "%2"=="" (goto remove) else (goto backup)

:remove
echo.
echo compressing skin files in media dir...
%tex% -input %arg1%\media -output %arg1%\media

echo removing old uncompressed skin files in media dir...
del %arg1%\media\*.jpg /q
del %arg1%\media\*.png /q
del %arg1%\media\*.gif /q
del %arg1%\media\*.bmp /q
goto end

:backup
echo compressing skin files to media_xpr\...
call mkdir %arg1%\media_xpr
%tex% -input %arg1%\media -output %arg1%\media_xpr
goto end

:doh
echo.
echo usage: buildxpr {skinfolder name} ({backup} optional)
echo.
echo !warning! if backup is not selected the original skin
echo files (jpg,png,gif,bmp) will be deleted.
echo.

:end
echo finished!
echo.
edit: ops! it had lots of bugs. removed now. hope no one saw it. v2.0 * :lol:
__________________
  • Xbox v1.3, 64MB, 120GB HD.
  • ASRock ION 330 Ubuntu XBMC.
  • 40" HDTV 720p, AC3/DTS Receiver.
Read the xbmc online-manual, faq and search the forums before posting.
Nickman is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
File manger broken 8-20 build xena XBMC for Xbox Specific Support 0 2005-08-21 06:10
YuYu's XBMC CVS download-build-rar batch file YuYu XBMC Tips, Tricks, and HOW-TO (Step-by-Step Guides) 126 2005-08-06 16:04
XBMC's 'My Files', file-name bug after copy files gamepc XBMC for Xbox Specific Support 3 2005-06-25 12:38
Working log file from 1-15-2005 build jkrell XBMC for Xbox Specific Support 0 2005-01-20 22:50
Can't playback .rm files: build 111604 princi XBMC for Xbox Specific Support 5 2004-11-20 03:14


All times are GMT +2. The time now is 19:45.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project