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

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/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


- elupus - 2006-12-21

#define D3DPRESENTFLAG_LOCKABLE_BACKBUFFER 0x0l

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


- donno - 2006-12-24

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

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

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


- kzr1y2 - 2006-12-31

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

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

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

Cheers,
Jonathan


- matthuisman - 2007-01-02

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

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

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.


- spiff - 2007-01-08

renamed the xbe. my oh my. renaming a file doesnt magically turn it into another file format you know (although windows sure gives that impression).

xbe != exe

even if you change the extension. you need a EXE built for WIN32


- zap brannigan - 2007-01-24

Coolgamer30 Wrote:I've tried a new build with that fix but it still crashes after the splash. I guess my graphics card is just not supported. Here is the log file:
Code:
21:21:36 M:147902464  NOTICE: -----------------------------------------------------------------------
21:21:36 M:147881984  NOTICE: Starting XBoxMediaCenter.  Built on Nov 19 2006
21:21:36 M:147881984  NOTICE: Q is mapped to: \
21:21:36 M:147881984  NOTICE: Log File is located: Q:\xbmc.log
21:21:36 M:147881984  NOTICE: -----------------------------------------------------------------------
21:21:36 M:147746816  NOTICE: Setup DirectX
21:21:36 M:147296256  NOTICE: load settings...
21:21:36 M:147288064  NOTICE: loading T:\guisettings.xml
21:21:36 M:147128320  NOTICE: Getting hardware information now...
21:21:36 M:147120128  NOTICE: Checking resolution 10
21:21:36 M:147120128  NOTICE: Setting autoresolution mode 6
21:21:36 M:147099648  NOTICE: Getting hardware information now...
21:21:36 M:147099648  NOTICE: Checking resolution 10
21:21:36 M:147099648  NOTICE: Setting autoresolution mode 6
21:21:36 M:147099648  NOTICE: Per AV pack settings are on
21:21:36 M:147099648  NOTICE: Unknown found : loading T:\avpacksettings.xml
21:21:36 M:147079168  NOTICE: Getting hardware information now...
21:21:36 M:147070976  NOTICE: Checking resolution 10
21:21:36 M:147070976  NOTICE: Setting autoresolution mode 6
21:21:36 M:147124224  NOTICE: q:\userdata\sources.xml
21:21:36 M:145666048  NOTICE: Checking the Date!
21:21:36 M:145666048  NOTICE: start dvd mediatype detection
21:21:36 M:145657856  NOTICE: initializing playlistplayer
21:21:36 M:145645568  NOTICE: load default skin:[Project Mayhem III]
21:21:36 M:145604608 WARNING: file doesnt have <fontset> with name 'Default', defaulting to first fontset
21:21:36 M:145551360   ERROR: CGUIFontTTF::CreateShader - Failed to create pixel shader
21:21:36 M:145477632   ERROR: CGUIFontTTF::CreateShader - Failed to create pixel shader
21:21:36 M:145231872   ERROR: CGUIFontTTF::CreateShader - Failed to create pixel shader
21:21:36 M:145227776   ERROR: CGUIFontTTF::CreateShader - Failed to create pixel shader
21:21:36 M:145149952   ERROR: CGUIFontTTF::CreateShader - Failed to create pixel shader
21:21:36 M:145141760   ERROR: CGUIFontTTF::CreateShader - Failed to create pixel shader
21:21:36 M:145063936   ERROR: CGUIFontTTF::CreateShader - Failed to create pixel shader
21:21:36 M:145035264   ERROR: CGUIFontTTF::CreateShader - Failed to create pixel shader
21:21:36 M:144003072   FATAL: EXCEPTION_ACCESS_VIOLATION (0xc0000005)
                              at 0x6d9f764f

Have same issue as Coolgamer30 on this one. Running it on a VIA C3 with S3 Unichrome type graphics (DX9 "compatible").


- kricker - 2007-01-28

Is there a more recent version of this available?


- blittan - 2007-01-28

http://www.xbmcscripts.com/index.php?option=com_docman&task=search_result&Itemid=Array&search_mode=phrase&search_phrase=XBMC PC Emulator


- Nuka1195 - 2007-01-28

I believe T3CH includes it with his/her build.