Kodi Community Forum
[REQUEST] Recompiled XBMC 10.0 with full-screen splash - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: [REQUEST] Recompiled XBMC 10.0 with full-screen splash (/showthread.php?tid=91030)

Pages: 1 2 3


[REQUEST] Recompiled XBMC 10.0 with full-screen splash - DurhamDev - 2011-01-19

Hi everyone,

I know that there's somebody here who has experience recompiling XBMC from the source code, so I'm hoping they would be open to giving me a bit of a hand. I've read the Wiki and have tried my hand at it, but it never worked properly for me, and I'm not sure why.

The only thing I would really, really appreciate, is the ability to show the XBMC Splash Screen at full resolution. I believe I've read the thread a million times saying you only need to edit the "splash.cpp" and modify it as shown in this thread, but I have not been able to recompile the file so that everything works.

Would somebody be able to do this for me, and post a link in this thread? It would be greatly appreciated!

Thanks in advance.

Rick // The DurhamDev

Nod


- DurhamDev - 2011-01-20

Hopefully someone who has done this could read this thread, and share their work. Please guys, I'd really appreciate it! I'll be sure to host it on my MediaFire account to share, if anyone else wants it.

Thanks for reading!

Rick // The DurhamDev


- kricker - 2011-01-20

I could take a look tomorrow.


- DurhamDev - 2011-01-20

kricker Wrote:I could take a look tomorrow.

Much appreciated!

Nod


- DurhamDev - 2011-01-25

Hey kricker,

Not to be a pain or anything, but were you able to take a look at this for me? Much appreciated!

Rick


- kricker - 2011-01-25

Sorry, not yet. I got busy then forgot. This bump reminded me Wink


- DurhamDev - 2011-01-25

kricker Wrote:Sorry, not yet. I got busy then forgot. This bump reminded me Wink

Many thanks! I know *exactly* what you mean. Here, I'll just leave this guy here to thank you properly.

Image

Rick


- kricker - 2011-01-27

Okay, I've done some looking and it appears the code to change the splash screen to full screen is different now. I have some ideas on what to change and I'll give it a try.


- DurhamDev - 2011-01-27

kricker Wrote:Okay, I've done some looking and it appears the code to change the splash screen to full screen is different now. I have some ideas on what to change and I'll give it a try.

Thanks very much! I'm excited for the end result... ...and have my full-screen backgrounds ready to go!

Big Grin


- kricker - 2011-01-27

Well, I gave it a go last night. Whenever I modify the splash.cpp file XBMC fails to compile. I'll try again tonight.


- jhsrennie - 2011-01-27

Go to http://swarchive.ratsauce.co.uk/XBMC/ and grab XBMC-fullscreensplash.zip. This contains a modified XBMC.exe that you can copy over a Dharma installation.

In case it's of interest, the change is to Splash.cpp. Change the lines:

Code:
float w = g_graphicsContext.GetWidth() * 0.5f;
  float h = g_graphicsContext.GetHeight() * 0.5f;
  CGUIImage* image = new CGUIImage(0, 0, w*0.5f, h*0.5f, w, h, m_ImageName);

to:

Code:
float w = g_graphicsContext.GetWidth();
  float h = g_graphicsContext.GetHeight();
  CGUIImage* image = new CGUIImage(0, 0, 0, 0, w, h, m_ImageName);

JR


- kricker - 2011-01-27

Thank JR.

I had changed the code to:
Code:
float w = g_graphicsContext.GetWidth() * 1f;
  float h = g_graphicsContext.GetHeight() * 1f;
  CGUIImage* image = new CGUIImage(0, 0, w*1f, h*1f, w, h, m_ImageName);

Which caused my build to fail. Thanks for posting the proper code.


- DurhamDev - 2011-01-27

jhsrennie Wrote:Go to http://swarchive.ratsauce.co.uk/XBMC/ and grab XBMC-fullscreensplash.zip. This contains a modified XBMC.exe that you can copy over a Dharma installation.

Thanks JHSRennie! Will this be updated as new 'full release' versions come out? (Such as 10.1, which I understand should fix the add-on failures?) I'm excited to try it out, thanks so much!

kricker Wrote:Thanks for posting the proper code.

Thank you for all your hard work as well! Very much appreciated!


- jmarshall - 2011-01-27

jhsrennie: if you modify it further to ensure the image is centered regardless of the size, this can hit trunk. You probably need only specify the align attribute(s).


- DurhamDev - 2011-01-27

jmarshall Wrote:jhsrennie: if you modify it further to ensure the image is centered regardless of the size, this can hit trunk. You probably need only specify the align attribute(s).

Quoted for me giggling like a schoolgirl. Awesome, awesome, awesome. (I guess you ask for something long enough, and people get tired of hearing you ask.)

Wink Nod Laugh