Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: compiled game - black screen  (Read 3599 times)

0 Members and 1 Guest are viewing this topic.

Dan-D

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 89
    • View Profile
compiled game - black screen
« on: July 10, 2008, 01:35:05 PM »

so i have a black screen when i'm trying to run a compiled game. The only thing i can see is corsair. And yes i set up a start up scene in game.script. Don't know where could be the problem
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: compiled game - black screen
« Reply #1 on: July 10, 2008, 01:47:51 PM »

Enable error logging for the compiled game (there's an "Enable error logging" check-box in project settings window). Recompile the game. Run the compiled game. Scan the generated wme.log file for errors. There are probably some wrong file paths or some similar problem.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Dan-D

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 89
    • View Profile
Re: compiled game - black screen
« Reply #2 on: July 10, 2008, 02:17:49 PM »

damn it! Can't see anything wrong in the log file (except needs to be compiled but compiler is not available stuff). Here's the log
Quote
16:19: ********** DEBUG LOG OPENED 10-07-2008 (Release Build) *****************
16:19: Wintermute Engine ver 1.8.6, Compiled on Apr  6 2008, 13:49:35
16:19: Platform: Windows XP Service Pack 2 (Build 2600)
16:19: DirectX version: 9.0
16:19:
16:19: Scanning packages...
16:19:   Registered 1077 files in 1 package(s)
16:19: Initializing scripting engine...
16:19:   Script compiler is NOT available
16:19: Loading plugins...
16:19: Loading string table...
16:19:   UTF8 file detected, switching to UTF8 text encoding
16:19:   68 strings loaded
16:19: First run / crash recovery
16:19: Enumerating Direct3D devices...
16:19: Enumerating DirectSound devices...
16:19: Available video devices:
16:19:   ATI Radeon 9550 / X1050 Series (accelerated)
16:19:     ati2dvag.dll 6.14.10.6727
16:19: Available audio devices:
16:19:   Первичный зв
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: compiled game - black screen
« Reply #3 on: July 10, 2008, 02:33:14 PM »

Quote
except needs to be compiled but compiler is not available stuff
That's the problem. Apparently your compiled game doesn't contain compiled scripts. Go to project settings, the "Filters" tab. Make sure the "Use script compiler" field contains "*.script". That means when compiling the game, ProjectMan will apply script compiler on all files with .script extension.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Dan-D

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 89
    • View Profile
Re: compiled game - black screen
« Reply #4 on: July 10, 2008, 03:07:11 PM »

Yup. That's where the problem was. Thanks Jan!
Logged
 

Page created in 0.031 seconds with 19 queries.