XBMC Community Forum
XBMC_PC Win32 GUI Development Environment for skinners (skin developers) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Skin Development (/forumdisplay.php?fid=12)
+--- Thread: XBMC_PC Win32 GUI Development Environment for skinners (skin developers) (/showthread.php?tid=23235)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36


- elupus - 2006-12-21 15:37

#define D3DPRESENTFLAG_LOCKABLE_BACKBUFFER 0x0l

ehrm... I added that. apperently didn't check fully how it was done previously. sorry.


- donno - 2006-12-24 05:44

The other day i got a FATAL: XBAppEx: Could not create D3D device!
With some pointers for Jmarsh, I remember that i dropped my display device color depth from 32bit to 16bit. This seemed to cause problems for me.

Putting it back to 32bit fixed the problem and XBMC PC started working again.

Hope this helps is some help to others who can't get it working because they only using 16bit color.


Applaud - e-bart - 2006-12-31 12:11

Although this port is done purely for development reasons, I'd like to say I'm very happy to see that XBMC is able to move away from an aging environment. This may be the first step to a new future for XBMC! Smile I really think the XBMC community has done an incredible job creating the best media center in the world and hope that it will stay that way for times to come.

I wish you all the best and may 2007 be a wonderful year for XBMC!


Return - Asteron - 2006-12-31 20:30

Hey all! I used to pretty much live on the python forums with lots of scripts in development but then lost the drive 6 months back.

This project has completely renewed my interest and is very sweet Smile

Wooo!
[Image: tetriskq0.png]


- kzr1y2 - 2006-12-31 21:13

Hi all,

Just starting to explore the possibility of skinning XBMC; to that end I altered the .BAT file posted above to simulate my xbox config.

Figured I'd post it here in case others can use it ... took out the G/X/Y Partition references in the code below.

Code:
@ECHO OFF
REM
REM Prep virtual drive letters
REM

@ECHO SUBST F: and Q:
subst f: .
subst q: .

@ECHO SUBST P: and T:
IF NOT EXIST q:\userdata  MD q:\userdata
subst p: q:\userdata
subst t: q:\userdata

@ECHO SUBST E: (edrive) for Cache, UDATA, TDATA and Z: for Temp Cache
IF NOT EXIST q:\edrive MD q:\edrive
subst e: q:\edrive

IF NOT EXIST e:\cache  MD e:\cache
IF NOT EXIST e:\udata  MD e:\udata
IF NOT EXIST e:\tdata  MD e:\tdata
subst z: e:\cache


REM
REM Lauch XBMC_PC
REM

@ECHO Launching XBMC PC (win32)
xbmc_pc.exe


REM
REM Cleanup before exit
REM

@ECHO Remove SUBST E:, F:, P:, T:, and Z:
subst e: /d
subst f: /d
subst p: /d
subst t: /d
subst z: /d

@ECHO Purge 'edrive' and remove SUBST F: and Q:
IF EXIST q:\edrive RD /s /q q:\edrive
subst q: /d


Cheers,

KZ


ImageLib_win32.dll required ? - kzr1y2 - 2006-12-31 21:34

Hi Jonathan,

Noticed that the T3CH build doesn't include 'ImageLib_win32.dll' which resides in the \SYSTEM folder. Is it required? Noticed you did include it in the 7133 RAR posted above.

I also noticed the following warnings:

...\xbmc\lib\UnrarXLib\os.hpp(30) : warning C4005: '_WIN32_WINNT' : macro redefinition
command-line arguments : see previous definition of '_WIN32_WINNT'

...\xbmc\utils\Win32Exception.cpp(7) : warning C4535: calling _set_se_translator() requires /EHa
the command line options /EHc and /GX are insufficient

...\xbmc\cores\DllLoader\exports\emu_socket\getnameinfo.c(212) : warning C4133: '=' : incompatible types - from 'hostent *' to 'mphostent *'
...\xbmc\cores\DllLoader\exports\emu_socket\getaddrinfo.c(537) : warning C4133: '=' : incompatible types - from 'hostent *' to 'mphostent *'
...\xbmc\cores\DllLoader\exports\emu_socket\getaddrinfo.c(589) : warning C4133: '=' : incompatible types - from 'hostent *' to 'mphostent *'


As well, the Release compilation yielded warnings in the following objects:

action.obj
control.obj
controlbutton.obj
controlcheckmark.obj
controlimage.obj
controllabel.obj
controllist.obj
controlspin.obj
controltextbox.obj
dialog.obj
GUIPythonWindow.obj
infotagmusic.obj
infotagvideo.obj
keyboard.obj
listitem.obj
player.obj
pyplaylist.obj
PythonPlayer.obj
pyutil.obj
SpyceModule.obj
window.obj
xbmcguimodule.obj
xbmcmodule.obj
XBPython.obj
XBPyThread.obj
zlib.lib(zutil.obj)


The compilation does complete successfully so I'm assuming these warnings fall in the 'It's not a full port, nor is it planned to be a full port' category and have no impact to Skinners and/or Python coders.

Thanks for taking the time out to make an XBMC Lite for other dev folks.

KZ


- jmarshall - 2007-01-01 05:47

Correct - none of those are things you should be concerned about.

Cheers,
Jonathan


- stanley87 - 2007-01-02 09:51

Hi all,

Something i noticed while writing my XBMCMail script.

This will work on XBMC_PC:
DATA_DIR = SRC_Dir + "Data//"

but will not on XBOX - make sure the "//" are "\\"
eg. it has to be:
DATA_DIR = SRC_Dir + "Data\\"
to work on the XBOX.


Maybe this will stop others sharing my frustration when trying a working script on the PC but then finding it to be a dead script on the xbox. :-D


- FinestCall - 2007-01-08 16:30

I know some of you will hate me for this... i know i hate myself for asking Blush but if i dont ask ill just be an ignorant Blush

I have no clue how to do this...

Renamed the xbe to XBMC_PC... done

Made a bat (about 50 of them)... stuck

How do you make the bat file? how ? please i must know Sad Sad Sad Sad


- kricker - 2007-01-08 17:06

FinestCall Wrote:I know some of you will hate me for this... i know i hate myself for asking Blush but if i dont ask ill just be an ignorant Blush

I have no clue how to do this...

Renamed the xbe to XBMC_PC... done

Made a bat (about 50 of them)... stuck

How do you make the bat file? how ? please i must know Sad Sad Sad Sad
I used the one from kzr1y2, postee above and it worked great. You can use that as well as the original one as a guide to make your own.