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


- jmarshall - 2006-12-04

It's identical to the xbox version as far as "where to put things" goes. Just add a source via the GUI and point it to wherever your files are.

As for MC360 - you'll have to investigate the fonts yourself, but the key is to remove all the pointers to xpr fonts (as XBMC_PC doesn't support them).


- arielgr - 2006-12-05

Hi,

First of all - great work, I love XBMC and having the option of developing plugins on the computer will surely simplify things for developers.

I tried installing the WIN32 environment accodring to the instructions on both my desktop (with a matrox 550) and my IBM thinkpad laptop(I have executed the batch file before running the exe) and on the first the program runs, I head the first sound, but I only see a block screen. I can see the program is running as I when I click up/down on the keyboard I get the skin ticks.. the log (including advanced debug) doesn't show no error. It's running, but the screen is empty.

On my laptop the exe crashes, and the debug shows the same message others have reported.

I have used the compiled version that was posted here previously and I understand some fixes were made since then. It would be extremely helpful if someone could upload a new compiled version as we are not all capable of compiling the project by our selves...

Thanks.


- blittan - 2006-12-05

In the latest T3CH release there is a newer version compiled. Try that and see if you succeed.


- arielgr - 2006-12-08

Just tried it again with the latest t3ch SVN build from 03-12 and I still get a black screen. The program is running, but the window is completely black.

Here's my log:

Code:
22:22:17 M:225828864  NOTICE: -----------------------------------------------------------------------
22:22:17 M:225808384  NOTICE: Starting XBoxMediaCenter.  Built on Dec  3 2006
22:22:17 M:225804288  NOTICE: Q is mapped to: D:\software\xbox\xbmc\XBMC-SVN_2006-12-03_rev7295-T3CH\XBMC
22:22:17 M:225804288  NOTICE: Log File is located: Q:\xbmc.log
22:22:17 M:225804288  NOTICE: -----------------------------------------------------------------------
22:22:17 M:225644544  NOTICE: Setup DirectX
22:22:17 M:225071104  NOTICE: load settings...
22:22:17 M:225062912  NOTICE: loading T:\guisettings.xml
22:22:17 M:224903168  NOTICE: Getting hardware information now...
22:22:17 M:224899072  NOTICE: Checking resolution 10
22:22:17 M:224899072  NOTICE: Setting autoresolution mode 6
22:22:17 M:224878592  NOTICE: Per AV pack settings are on
22:22:17 M:224878592  NOTICE: Unknown found : loading T:\avpacksettings.xml
22:22:17 M:224858112  NOTICE: Getting hardware information now...
22:22:17 M:224849920  NOTICE: Checking resolution 10
22:22:17 M:224849920  NOTICE: Setting autoresolution mode 6
22:22:17 M:224907264  NOTICE: q:\userdata\sources.xml
22:22:17 M:221745152   ERROR: Window Translator: Can't find window myvideotitles
22:22:17 M:221757440  NOTICE: Checking the Date!
22:22:17 M:221782016  NOTICE: start dvd mediatype detection
22:22:17 M:221773824  NOTICE: initializing playlistplayer
22:22:17 M:221773824  NOTICE: DONE initializing playlistplayer
22:22:17 M:221765632  NOTICE: load default skin:[Project Mayhem III]
22:22:17 M:221437952 WARNING: file doesnt have <fontset> with name 'Default', defaulting to first fontset
22:22:17 M:218238976  NOTICE: initialize done

Is noone else seeing this?

I really want to get this working to start working on a great python extension.

Any help?


- jmarshall - 2006-12-08

Try running debug and see if you can actually figure out what is going on. In particular, turn on directx debugging, and see what you get dumped to the VS .net output window.

Cheers,
Jonathan


- raid517 - 2006-12-14

Hi I know maybe I am going to be chided for saying this but... I have made no secret of the fact that for years I have wished that XBMC would be fully ported to the PC, so this is definitely progress in that direction.

I know some folks will say that for now it's only a development environment - and I know this is true, however one day there will come a time (what with HD disks and new formats etc) when people will have to think about retiring the venerable old Xbox's.

So rather than continue to depend on a proprietary platform (be it the XBox or some other platform) and rather than always having to wait for these platforms to be cracked or whatever, and rather than depending on the somewhat absurd scenario of needing to use an essentially stolen SDK, to build an open source app, it just seems to make sense to think about moving to greener and more much more productive pastures.

All I have ever wanted is a bootable version of XBMC - maybe on a USB stick or whatever (hell I would even pay for that) and I know I would be sorted for life. I would build a small silent mac mini type dedicated XBMC box and stay faithful to the project for as long as the developers were able and willing to support it. (As I have done already over this last several years).

The only barrier to this dream is that there has never previously been an interest on behalf of the development team in doing this - nor indeed is it clear if there is now. The other barrier of course is that what has been built so far is Windows only - so having a small system who's resources are dedicated to running XBMC exclusively seems from this perspective to be as far off as ever. I do not know to what degree XBMC itself is dependent on direct X - but I do know that at least that many of the tools that XBMC uses for music and video decoding almost certainly don't depend on this at all.

I also know that there is an attempt at emulation of XBMC on a PC by another group - but this also does not allow for a truly dedicated XBMC experience (of the kind of direct experience that is possible on the Xbox) and also I know too from my own efforts to try it out that it lacks much of the finesse of the official XBMC teams builds too.

Anyway, bravo for making at least one step in the right direction - no matter how non significant in the wider scheme of things it might still be.


- jmarshall - 2006-12-14

What is this "other group" you speak of?


- blittan - 2006-12-18

jmarshall: have you considered implementing a "debug window" which displays the log in realtime (like tail -f on linux) ? or somekind of thing that show python / skin related output (selectable)

That would sure be a killer in this awesome (and I mean it, since it's a huge improvment when developing) port.

Think that is what is missing as of now.

right now, i am using a tail -f xbmc.log which works, but it would be much easier with it built in.


- jmarshall - 2006-12-18

Good idea. I'll add it to my todo's. Others are free to implement if I don't get time (highly likely!)

Cheers,
Jonathan


- Jezz_X - 2006-12-18

Am I the only one that the screenshot function in XBMC_pc is currently broken it says it saves the shot and no errors in debug log it just dosn't write the file


- blittan - 2006-12-19

jmarshall: if i could i would Rolleyes

jezz_x: dont work here either, states in log it is saved (the path exists) but no screenshot .. I know it worked in the earlier builds.


- jgawera - 2006-12-19

A nice tail utility for windows that I use is BareTail


- Jezz_X - 2006-12-20

jmarshall can you please fix the screenshot function in this Sad its killing me not being able to show people stuff


- jmarshall - 2006-12-21

Remove or comment the:

#define D3DPRESENTFLAG_LOCKABLE_BACKBUFFER 0x0l

at the top of guilib/GraphicContext.cpp and screenshot goodness should come back.

Cheers,
Jonathan


- Jezz_X - 2006-12-21

Indeed it does Smile