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


- djdafreund - 2008-03-07

Oh well. I'm thought that "SKINNING TOOL" totally changed since that was before XBMC went multi-platform, and started growing to linux and win32. I know it started that way as just a skinning tool, but that was, to be fair, before the whole direction of change of where XBMC started heading after wards. Specially with the OGL versions for win32 instead of dx version.
I mean, since it was working before, and it got broke, should we not care and leave the linux version the only working one? If it's considered multi-platform by you and the rest of the XBMC team, have we not moved away from a skinning test program, and towards that part of multi-platform?
These are simply questions i'm asking, since it hasn't really been touched much in the forums since it was mentioned going multi-platform and being developed for mac/linux/win32, i just wanted to get a more clear image of what that meant, as well as it was to my understanding that we moved well beyond the original concept of it being just a skinning tool.


- spiff - 2008-03-07

it's very simple. the dx version will never be developed any further by us. the opengl version will be maintained, crossplatform. as you know, dx is a msft spawn and certainly isnt multiplatform friendly.

so; the dx version is STILL a skinning tool only. did you really think our lead skinner didnt know what he was on about?


- agathorn - 2008-03-07

djdafreund Wrote:Oh well. I'm thought that "SKINNING TOOL" totally changed since that was before XBMC went multi-platform, and started growing to linux and win32. I know it started that way as just a skinning tool, but that was, to be fair, before the whole direction of change of where XBMC started heading after wards. Specially with the OGL versions for win32 instead of dx version.
I mean, since it was working before, and it got broke, should we not care and leave the linux version the only working one? If it's considered multi-platform by you and the rest of the XBMC team, have we not moved away from a skinning test program, and towards that part of multi-platform?
These are simply questions i'm asking, since it hasn't really been touched much in the forums since it was mentioned going multi-platform and being developed for mac/linux/win32, i just wanted to get a more clear image of what that meant, as well as it was to my understanding that we moved well beyond the original concept of it being just a skinning tool.

Unfortunately its a tad cofnusing, but there are two versions of XBMC that run on Windows. there is XBMC for Windows which is a port project designed to give full functionality but is not supported by the developers per se at this point. That is the OGL version. the other is XBMC_PC which is what you built, and what t3ch includes, and is based on DirectX and is NOT a port. It is simply designed for skinners/scripters to use for easier testing and development. That is what you built.

I dare say adding that to the .BAT file though might have been a mistake as I think its going to add confusion. Perhaps it would have been better as a seperate BAT file?


- WiSo - 2008-03-07

djdafreund Wrote:I mean, since it was working before, and it got broke, should we not care and leave the linux version the only working one?
What was working before? The build from Art was unofficial and hacked by him. Not all changes arrived us via a patch so video playback is still broken.
My first priority is to get the svn sources for the windows build in a state that it can be compiled and doesn't break the other ports. Maybe this will invite other developers to join because you don't can imagine how much is still to be done for the win32/sdl build.

BTW: the sdl binary will be renamed to XBMC.exe to differ from the directx build Laugh


- djdafreund - 2008-03-07

I think i get the just of it. What was working before though was video, using builds made from the official svn, until a certain somewhat recent date. I wasn't aware it hacked to work though as you said. So in the future, will the Build.bat offer to build the OGL version instead of the dx version? That would be nice. I do use the sdl version still for helping out skinning Back-Row, but that would be nice to have the Build.bat file stick to building more closely ports, like the xbox one does already. It seems to make more sense that way at least.


- agathorn - 2008-03-11

What level of DirectX support is required for this tool?

My powersupply died yesterday. I've replaced it with an older one that unfortunately can't run my PCI/E cards, so I have a very old, don't laugh, Graphics Blaster card in there right now to at least be able to use the machine. dxDiag shows the card handles DirectDraw but not Direct3D. When I try to run the XBMC_PC I just get a white window so my guess is its a DX error. Does it require D3D support?


- spiff - 2008-03-12

yes


- agathorn - 2008-03-12

spiff Wrote:yes
bleh ok thanks


- NickyZero - 2008-04-24

I am using the build in t3ch's latest build, i have the problem where i run run_me_first.bat, and xbmc_pc loads, but the t3ch splash creen glitches and the windows error pop up appears (the send error report one).

my log looks like this:
Code:
21:10:16 M:110497792  NOTICE: -----------------------------------------------------------------------
21:10:16 M:110481408  NOTICE: Starting XBMC, Platform: Windows.  Built on Apr 20 2008
21:10:16 M:110481408  NOTICE: Q is mapped to: C:\Documents and Settings\Owner\Desktop\XBMC-SVN_2008-04-20_rev12746-T3CH-REPACK\XBMC
21:10:16 M:110481408  NOTICE: The executeable running is: C:\Documents and Settings\Owner\Desktop\XBMC-SVN_2008-04-20_rev12746-T3CH-REPACK\XBMC\XBMC_PC.exe
21:10:16 M:110481408  NOTICE: Log File is located: Q:\xbmc.log
21:10:16 M:110477312  NOTICE: -----------------------------------------------------------------------
21:10:16 M:110280704  NOTICE: Setup DirectX
21:10:16 M:109727744  NOTICE: load settings...
21:10:16 M:109727744  NOTICE: loading T:\guisettings.xml
21:10:16 M:109551616  NOTICE: Getting hardware information now...
21:10:16 M:109551616  NOTICE: Checking resolution 10
21:10:16 M:109551616  NOTICE: Setting autoresolution mode 6
21:10:16 M:109539328  NOTICE: Per AV pack settings are off
21:10:16 M:109580288  NOTICE: q:\UserData\sources.xml
21:10:16 M:109596672   ERROR: CSettings::Load Error loading q:\UserData\sources.xml: Line 0, Failed to open file
21:10:16 M:107540480  NOTICE: Checking the Date!
21:10:16 M:107536384  NOTICE: start dvd mediatype detection
21:10:16 M:107528192  NOTICE: initializing playlistplayer
21:10:16 M:107515904  NOTICE: DONE initializing playlistplayer
21:10:16 M:107499520  NOTICE: load default skin:[Project Mayhem III]
21:10:16 M:105783296   ERROR: unable to load Q:\skin\Project Mayhem III\language\english\strings.xml: Failed to open file at line 0
21:10:16 M:105775104   ERROR: unable to load Q:\skin\Project Mayhem III\language\English\strings.xml: Failed to open file at line 0
21:10:16 M:105496576   FATAL: EXCEPTION_ACCESS_VIOLATION (0xc0000005)
                              at 0x6d9f764f

Any Ideas?


- jmarshall - 2008-04-24

Turn debuglogging on (advancedsettings.xml) and try again.


- NickyZero - 2008-04-25

Hmmm, interesting, I dont have an advancedsettings.xml, as I said, this is straight out of t3ch's rar, should i copy the one from my Xbox?


- NickyZero - 2008-04-25

Sorry, just remembered why its not there (has to be made)...


- NickyZero - 2008-04-25

Sorry for 3x post, that made no difference, i still get "FATAL: EXCEPTION_ACCESS_VIOLATION (0xc0000005) at 0x7c910de3


- BigBellyBilly - 2008-04-25

you don't have some of the required xbmc drive letters already mapped do you, eg. Q: T: P: etc (as listed when the run_me_first.bat runs) ?
If you've got debug enabled, I think jmarshal would stil prefer to see the full new log.


- NickyZero - 2008-04-25

Code:
11:57:09 M: 68739072  NOTICE: -----------------------------------------------------------------------
11:57:09 M: 68722688  NOTICE: Starting XBMC, Platform: Windows.  Built on Apr 20 2008
11:57:09 M: 68722688  NOTICE: Q is mapped to: C:\Documents and Settings\Owner\Desktop\XBMC-SVN_2008-04-20_rev12746-T3CH-REPACK\XBMC
11:57:09 M: 68722688  NOTICE: The executeable running is: C:\Documents and Settings\Owner\Desktop\XBMC-SVN_2008-04-20_rev12746-T3CH-REPACK\XBMC\XBMC_PC.exe
11:57:09 M: 68722688  NOTICE: Log File is located: Q:\xbmc.log
11:57:09 M: 68722688  NOTICE: -----------------------------------------------------------------------
11:57:09 M: 68182016  NOTICE: Setup DirectX
11:57:09 M: 66809856  NOTICE: load settings...
11:57:09 M: 66809856  NOTICE: loading T:\guisettings.xml
11:57:10 M: 66629632  NOTICE: Getting hardware information now...
11:57:10 M: 66629632  NOTICE: Checking resolution 10
11:57:10 M: 66629632  NOTICE: Setting autoresolution mode 6
11:57:10 M: 66584576  NOTICE: Getting hardware information now...
11:57:10 M: 66584576    INFO: Using analog output
11:57:10 M: 66584576    INFO: AC3 pass through is disabled
11:57:10 M: 66584576    INFO: DTS pass through is disabled
11:57:10 M: 66584576  NOTICE: Checking resolution 10
11:57:10 M: 66584576  NOTICE: Setting autoresolution mode 6
11:57:10 M: 66584576  NOTICE: Per AV pack settings are off
11:57:10 M: 66629632  NOTICE: q:\UserData\sources.xml
11:57:10 M: 66658304   ERROR: CSettings::Load Error loading q:\UserData\sources.xml: Line 0, Failed to open file
11:57:10 M: 66605056    INFO: Checking skinpath existance, and existence of keymap.xml:Q:\skin...
11:57:10 M: 65953792    INFO: load language info file:Q:\language\english\langinfo.xml
11:57:10 M: 65970176    INFO: load language file:Q:\language\english\strings.xml
11:57:10 M: 65646592    INFO: load keymapping
11:57:10 M: 65642496    INFO: Loading P:\Keymap.xml
11:57:10 M: 65150976    INFO: Checking skin version of: Project Mayhem III
11:57:10 M: 65425408    INFO: Skin version is: 2.1
11:57:10 M: 65388544    INFO:  GUI format 720x576 PAL 4:3
11:57:10 M: 65384448    INFO: install unhandled exception filter
11:57:10 M: 65384448    INFO: creating subdirectories
11:57:10 M: 65384448    INFO: userdata folder: q:\UserData
11:57:10 M: 65384448    INFO:   recording folder:
11:57:10 M: 65384448    INFO:   screenshots folder:
11:57:10 M: 65306624    INFO:   thumbnails folder:q:\UserData\Thumbnails
11:57:10 M: 65396736  NOTICE: Checking the Date!
11:57:10 M: 65392640    INFO: - Current Date is: 25-4-2008
11:57:10 M: 65392640  NOTICE: start dvd mediatype detection
11:57:10 M: 65388544  NOTICE: initializing playlistplayer
11:57:10 M: 65384448   DEBUG: Compiled with libcdio Version 0.72
11:57:10 M: 65269760  NOTICE: DONE initializing playlistplayer
11:57:10 M: 65363968  NOTICE: load default skin:[Project Mayhem III]
11:57:10 M: 65363968    INFO:   load skin from:Q:\skin\Project Mayhem III
11:57:10 M: 65363968    INFO:   delete old skin...
11:57:10 M: 65323008    INFO: Default 4:3 resolution directory is Q:\skin\Project Mayhem III\PAL
11:57:10 M: 65323008    INFO: Default 16:9 resolution directory is Q:\skin\Project Mayhem III\PAL16x9
11:57:10 M: 65323008    INFO: Skin version is: 2.1
11:57:10 M: 65323008    INFO: Loading skin includes from Q:\skin\Project Mayhem III\PAL\includes.xml
11:57:10 M: 65474560    INFO:   load fonts for skin...
11:57:10 M: 65462272    INFO: Loading fonts from Q:\skin\Project Mayhem III\PAL\Font.xml
11:57:11 M: 64925696   DEBUG: CGUIFontTTF::Load Scaled size of font Q:\skin\Project Mayhem III\Fonts\FrancophilSans.ttf (14.000000): width = 16, height = 17, lineheight = 17
11:57:11 M: 64839680   DEBUG: CGUIFontTTF::Load Scaled size of font Q:\skin\Project Mayhem III\Fonts\FrancophilSans.ttf (16.000000): width = 18, height = 20, lineheight = 19
11:57:11 M: 64782336   DEBUG: CGUIFontTTF::Load Scaled size of font Q:\skin\Project Mayhem III\Fonts\FrancophilSans.ttf (17.000000): width = 20, height = 21, lineheight = 20
11:57:11 M: 64720896   DEBUG: CGUIFontTTF::Load Scaled size of font Q:\skin\Project Mayhem III\Fonts\FrancophilSans.ttf (19.000000): width = 19, height = 23, lineheight = 23
11:57:11 M: 64655360   DEBUG: CGUIFontTTF::Load Scaled size of font Q:\skin\Project Mayhem III\Fonts\FrancophilSans.ttf (19.000000): width = 18, height = 23, lineheight = 23
11:57:11 M: 64651264   ERROR: unable to load Q:\skin\Project Mayhem III\language\english\strings.xml: Failed to open file at line 0
11:57:11 M: 64651264   ERROR: unable to load Q:\skin\Project Mayhem III\language\English\strings.xml: Failed to open file at line 0
11:57:11 M: 64651264    INFO:   load new skin...
11:57:11 M: 64647168    INFO: Skin version is: 2.1
11:57:11 M: 64647168    INFO: Loading skin file: Home.xml
11:57:11 M: 64176128    INFO: WEATHER: Downloading weather
11:57:11 M: 64139264    INFO: Get URL: http://xoap.weather.com/weather/local/GMXX0154?cc=*&unit=m&dayf=4&prod=xoap&par=1004124588&key=079f24145f208494
11:57:11 M: 64110592   DEBUG: Load Home.xml: 200.25ms (37.95 ms xml load)
11:57:11 M: 64110592    INFO: Loading user windows, path Q:\skin\Project Mayhem III\PAL
11:57:11 M: 64106496    INFO: Loading skin file: Q:\skin\Project Mayhem III\PAL\custom2_SkinSettings.xml
11:57:11 M: 63938560   DEBUG: Load Skin XML: 254.29ms
11:57:11 M: 63938560    INFO:   initialize new skin...
11:57:11 M: 63938560    INFO: Loading skin file: Pointer.xml
11:57:11 M: 63807488   DEBUG: Load Pointer.xml: 64.66ms (63.30 ms xml load)
11:57:11 M: 63418368   DEBUG: Alloc resources: 190.75ms (64.86 ms skin load, 54.78 ms preload)
11:57:11 M: 63418368    INFO: Loading skin file: DialogVolumeBar.xml
11:57:11 M: 62566400   DEBUG: Load DialogVolumeBar.xml: 112.72ms (110.42 ms xml load)
11:57:11 M: 63717376 WARNING: ERROR: Problem accessing the DNS.
11:57:11 M: 63717376   ERROR: Unable to connect to xoap.weather.com: 11001
11:57:11 M: 63713280   ERROR: WEATHER: Weather download failed!
11:57:11 M: 63647744   FATAL: EXCEPTION_ACCESS_VIOLATION (0xc0000005)
                              at 0x6d9f764f
11:57:11 M: 63684608   FATAL: EXCEPTION_ACCESS_VIOLATION (0xc0000005)
                              at 0x7c910de3

Spiff helped me with drive mapping last night, and the CMD opened by "run_me_first.bat" reports no errors, but sometimes the PC window opens, shows the glitched t3ch splash, then closes, and sometimes it opens, and the MS error appears "XBMC has encountered a problem and needs to close. We are sorry for the inconvenience.".