Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Pages: [1] 2  All

Author Topic: Problem in compiled game  (Read 7621 times)

0 Members and 1 Guest are viewing this topic.

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Problem in compiled game
« on: August 24, 2007, 11:33:02 AM »

Hello again.
I have a problem with the compiled version of our game ..
if i run the game from project manager it runs without any problem.
if i compile the project and run the executable file it runs fine too, except in one scene change it hangs up.
i know there is a log somewhere where these errors are noted.
where can i find this ? or does anybody know what the problem could be ?!?

greets from leipzig
stucki

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re: Problem in compiled game
« Reply #1 on: August 24, 2007, 12:03:45 PM »

To generate a log file in a compiled game create a file named "wme.ini" in the game folder and add in it the lines

[Debug]
DebugMode=1
Logged
fl*p

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: Problem in compiled game
« Reply #2 on: August 24, 2007, 01:59:35 PM »

thanks for the quick reply !! i will try this as soon as i am back from leipzig
 

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Problem in compiled game
« Reply #3 on: August 24, 2007, 03:10:11 PM »

Alternatively, ProjectMan in WME 1.8 allows you to generate the wme.ini file automatically when building a testing/beta version of your game (check the project settings window).
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: Problem in compiled game
« Reply #4 on: August 24, 2007, 05:14:28 PM »

cool feature  ... cant wait to try it and see why my compiled game crashes and the uncompiled works ...
thanks for helping

stucki

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: Problem in compiled game
« Reply #5 on: August 31, 2007, 10:00:13 PM »

here is the log to my problem ...

-----------------------------------------------------------------
---------- wme 1.7.093 crash report: 31-08-2007, 14:09 ----------
-----------------------------------------------------------------
wme_D3D9.exe caused a EXCEPTION_ACCESS_VIOLATION in module d3d9.dll at 001B:7310061D, Direct3DCreate9Ex()+130627 byte(s)
EAX=00000001  EBX=00000000  ECX=00000000  EDX=00000000  ESI=003E6CE4
EDI=00000000  EBP=0012FC40  ESP=0012FC30  EIP=7310061D  FLG=00210212
CS=001B   DS=0023  SS=0023  ES=0023   FS=003B  GS=0000
Stack trace:
001B:7310061D (0x0185E5A0 0x00000000 0x003E6CE4 0x00000000) d3d9.dll, Direct3DCreate9Ex()+130627 byte(s)
001B:73100680 (0x00000001 0x07FD68C0 0x01806D20 0x0185E5A0) d3d9.dll, Direct3DCreate9Ex()+130726 byte(s)
001B:7310077D (0x0185E5A0 0x00000000 0x00000000 0x0008C564) d3d9.dll, Direct3DCreate9Ex()+130979 byte(s)
001B:73100852 (0x0185E5A0 0xA3759B4E 0x017D9EE0 0x017B2860) d3d9.dll, Direct3DCreate9Ex()+131192 byte(s)
001B:731007B1 (0x017B2860 0x017B510C 0x0012FD30 0x73129485) d3d9.dll, Direct3DCreate9Ex()+131031 byte(s)
001B:730D510C (0x017B2860 0x00000004 0x00000000 0x00000000) d3d9.dll
001B:730D4F7B (0x017B2864 0x00000004 0x00000000 0x00000000) d3d9.dll
001B:0045FEC2 (0x0B996D98 0x004092D4 0x0B94BEA8 0xA3750913) wme_D3D9.exe, CBGame::IsDirectXBound()+170898 byte(s)
001B:00458FFE (0x01380BC8 0x00000000 0x10AE09F0 0x00000000) wme_D3D9.exe, CBGame::IsDirectXBound()+142542 byte(s)

can you read something out of this .... all i can imagine ... a problem with d3d9.dll ....
greets
stucki

my problem is i must have a compiled demo running on monday ....

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: Problem in compiled game
« Reply #6 on: August 31, 2007, 10:54:36 PM »

Try running the game in DX8 mode instead to see if it generates the same problem.
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Problem in compiled game
« Reply #7 on: September 01, 2007, 08:24:51 AM »

Is that the same problem you mention above, i.e. it happens in scene transition and only for compiled game? Are there any errors in wme.log? Is it the same problem you uploaded the crash report yesterday? More info please.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: Problem in compiled game
« Reply #8 on: September 01, 2007, 09:30:03 AM »

Yes its the same problem. and yes its happens in scene transition and so far as i know only in compiled game. But it does not happen every time ...
the crash report is exactly this problem !!
i am trying to generate this problem again and will post crash report

thanks
stucki

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: Problem in compiled game
« Reply #9 on: September 01, 2007, 09:45:58 AM »

so i tried to reproduce the error. and in compiled game without wme.ini the error happens again and i send you the new error report.
but if i activate wme.ini and run the game the error does not happen....
i will try again for some times but could this be and do you have any ideas what it could be ..
thanks
stucki

so i have tried for some times again.
when wme.ini is in the game folder the error is not happening.
when i delete wme.ini or rename it so the engine can not find it the error is happening ..
hope this helps ...

« Last Edit: September 01, 2007, 09:51:17 AM by Stucki »
Logged

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: Problem in compiled game
« Reply #10 on: September 01, 2007, 09:52:57 AM »

this could be probably related to incorrect path (are you loading some 3d model in that particular scene?)
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: Problem in compiled game
« Reply #11 on: September 01, 2007, 10:00:44 AM »

no no 3d actors...

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Problem in compiled game
« Reply #12 on: September 01, 2007, 10:09:41 AM »

It crashes in the particle emitter, once the emitter tells DirectX to paint the sprites. No idea why though ??? You could probably work around the bug by stopping the particle emitters in the original scene.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: Problem in compiled game
« Reply #13 on: September 01, 2007, 10:12:47 AM »

thanks i will see if it changes ...

but do you know why it works with wme.ini and not withou it ??


so tested it now. And it is really the particle funktion ...
but why does is work when wme.ini is in the folder and it does not work when wme.ini is not in the folder ??
so temporary i stoped these particles but i would like to have them back working .... is there a chance you get behind this confusing problem ?

regards
stucki
« Last Edit: September 01, 2007, 02:58:04 PM by Stucki »
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Problem in compiled game
« Reply #14 on: September 02, 2007, 02:29:31 PM »

I tried adding some safeguards to the code and made a testing build of wme_d3d9.exe (download). I'd appreciate if you could test it with the problematic scene change.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
Pages: [1] 2  All
 

Page created in 0.021 seconds with 20 queries.