#! /usr/bin/env python
# Taken from http://www.pygame.org/project-Splash+screen-1186-.html by Rock Achu (rockhachu2)
# and tweaked ;)
import pygame
import os
print 'Splash load...'
os.environ['SDL_VIDEO_CENTERED'] = '1'
pygame.init()
pygame.font.init()
splash = pygame.image.load("splash.png")
screen = pygame.display.set_mode(splash.get_size(),pygame.NOFRAME)
screen.blit(splash, (0,0))
pygame.display.update()
os.environ['SDL_VIDEO_CENTERED'] = '0'


@@ -246,16 +246,38 @@
 .init()%0A
+try:%0A    try:%0A        
 splash =
@@ -309,16 +309,100 @@
 h.png%22)%0A
+    except:%0A        splash = pygame.image.load(os.path.join(%22.%22, %22splash.png%22))%0A    
 screen =
@@ -460,16 +460,20 @@
 OFRAME)%0A
+    
 screen.b
@@ -491,16 +491,330 @@
  (0,0))%0A
+except:%0A    font = pygame.font.Font(pygame.font.get_default_font(), 48)%0A    buf = font.render(%22MCEDit is loading...%22, True, (128, 128, 128))%0A    screen = pygame.display.set_mode((buf.get_width() + 20, buf.get_height() + 20), pygame.NOFRAME)%0A    screen.blit(buf, (10, 10))%0A    splash = pygame.display.get_surface()%0A
 pygame.d

Fix for splash screen crash on Windows with .exe form.