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 2006-11-17, 07:02   #1
jmarshall
Team-XBMC Developer
 
Join Date: Oct 2003
Posts: 15,060
jmarshall is on a distinguished road
Post XBMC_PC Win32 GUI Development Environment for skinners (skin developers)

Quote:
A little over a month ago, I was away from home without the xbox and still wanted to get some development done. To solve this problem, I decided to port parts of XBMC to the PC.

Now, before everyone starts getting too excited, let's make some things clear:

1. It's not a full port, nor is it planned to be a full port. We are not planning on abandoning the xbox anytime soon.

2. With that said, most stuff works - at least stuff useful for the target audience.

3. It's designed primarily for skinners and python developers who can test out their skins and scripts without having to transfer everything to the xbox.

Okay, so with that out of the way, what is it?

Basically, it's a simple port of the majority of XBMC. This includes the entire gui system, file listing, some of the filesystem code (eg local, database files, zip + rar etc.), very simple audio playback, slideshows, python scripts and so on. Video playback is not supported, nor are screensavers or visualisations (basically anything that was relying on the xbox version of directx).

The source code is available in SVN and requires the directx sdk (I use the Summer 2004 version) installed to build the executable. You do not require the XDK. The executable that it produces may be distributed freely - it contains no XDK code whatsoever.

To run it, you basically just grab a full build of the usual xbox version of XBMC, place it somewhere on your PC, and replace the .xbe with XBMC_PC.exe. Note that you'll need a DirectX 8 compatible machine. Most graphics cards nowadays should be fine, but some older chipsets may have issues.

You then have to mount some drives so that the executable knows where to find stuff. You use the subst command under DOS to do so. I use the following .bat file:

Code:
subst q: c:\xbmc_pc
subst t: q:\userdata
subst p: q:\userdata
subst z: c:\xbmc_pc\cache
Obviously you just change the location of q: and z: to reflect wherever you want them. Note that p: is the "profile" directory, and should point to your profile folder if you are not the master user.

That's about it. It logs exactly the same as XBMC does, so if you get errors, it's likely logged about them.

We're not supporting general users running this to play their mp3's or whatever - but we'll be happy to help get skinners and python devs up and running, as that is the target audience.

Ofcourse, others may feel free to have a play all they like. If there's any Win32 developers listening in, then you are free to download the source from SVN and help extend it in anyway you like. One immediate improvement would be to have the executable auto-mount the drives it needs.
Discuss this announcement here.
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


jmarshall is offline   Reply With Quote
Old 2006-11-17, 07:48   #2
pash
Junior Member
 
Join Date: Nov 2006
Posts: 5
pash is on a distinguished road
Thumbs up

Wow, very nice idea. That was the only thing why i stopped workin on XBMC-Plug-ins!! Skinning is a hard job!

Quote:
You do not require the XDK. The executable that it produces may be distributed freely - it contains no XDK code whatsoever.
Did somebody compiled that exe already?
pash is offline   Reply With Quote
Old 2006-11-17, 08:07   #3
SleepyP
Fan
 
SleepyP's Avatar
 
Join Date: Nov 2005
Location: Portland, Oregon
Posts: 2,071
SleepyP is on a distinguished road
Send a message via ICQ to SleepyP Send a message via AIM to SleepyP Send a message via MSN to SleepyP Send a message via Yahoo to SleepyP
Default

wow! the DX SDK is like 500 MB! ETA on my horrible wireless connection is 3 hours
SleepyP is offline   Reply With Quote
Old 2006-11-17, 08:12   #4
Abe87
Skilled Skinner
 
Abe87's Avatar
 
Join Date: Mar 2006
Posts: 136
Abe87 is on a distinguished road
Default

Thanks for this jmarshall! This should speed up dev time on scripts and scripts. I know it will help me out a lot. Thanks again.
Abe87 is offline   Reply With Quote
Old 2006-11-17, 08:23   #5
jmarshall
Team-XBMC Developer
 
Join Date: Oct 2003
Posts: 15,060
jmarshall is on a distinguished road
Default

Grab the latest revision straight from SVN here:

http://www.xboxmediacenter.com/XBMC_PC_rev7133.rar

Read the readme that is contained for how to install/run.

Cheers,
Jonathan
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


jmarshall is offline   Reply With Quote
Old 2006-11-17, 09:51   #6
mbay
Junior Member
 
Join Date: Jun 2006
Posts: 20
mbay is on a distinguished road
Default Black Screen

Hi!

I want to use this to build themes and skins for xbmc.

when I use a full build and replace the xbe with the exe and run the .bat file as per the coding above, all I get when i launch the exe is a black, frozen app.

I made sure I downloaded the latest version of directx, but I think I'm missing something.

Any help is greatly appreciated.
mbay is offline   Reply With Quote
Old 2006-11-17, 10:50   #7
Jezz_X
Team-XBMC Skinner
 
Jezz_X's Avatar
 
Join Date: Jun 2006
Location: Earth
Posts: 2,509
Jezz_X is on a distinguished road
Default

mbay after you run the bat you should then have drives for q: p: t: and z: in windows explorer if they are not there then thats a good start for the problem
Jezz_X is online now   Reply With Quote
Old 2006-11-17, 10:59   #8
nnunodark
Member
 
nnunodark's Avatar
 
Join Date: Nov 2006
Location: PORTUGAL
Posts: 98
nnunodark is on a distinguished road
Default

great idea jmarshall. il will sure enjoy this.
__________________

XBMC 4ever
nnunodark is offline   Reply With Quote
Old 2006-11-17, 13:41   #9
jepper
Member
 
Join Date: Nov 2006
Posts: 52
jepper is on a distinguished road
Default

it works great
but how do you click some buttons, like the b button?
jepper is offline   Reply With Quote
Old 2006-11-17, 13:47   #10
jepper
Member
 
Join Date: Nov 2006
Posts: 52
jepper is on a distinguished road
Default

nevermind i found it: its backspace
jepper 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


All times are GMT +2. The time now is 08:00.


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