April 21, 2025, 10:26:40 AM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Forum rules
-
please read before posting, it can save you a lot of time.
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Trouble compiling packages
« previous
next »
Pages: [
1
]
Print
Author
Topic: Trouble compiling packages (Read 3377 times)
0 Members and 1 Guest are viewing this topic.
G.o.D
Lurker
Karma: 0
Offline
Gender:
Posts: 3
Trouble compiling packages
«
on:
June 06, 2008, 06:53:25 AM »
Hello,
so i have finished my first room and want to build a package.
if i run the game by pressing f5, everything just works fine, but when compiling the package and running it from the packages directory, there are a lot of things missing and the game gets unplayable.
the following facts are common between the missing sprites in the scene:
All missing sprites are set *not* active as initial state in the scene and activated later by script
All missing sprites are animations
It seems (though not sure) that all missing sprites are lying under the \entities directory
any ideas what could go wrong here?
thanx in advance
Logged
Mnemonic
WME developer
Administrator
Addicted to WME forum
Karma: 41
Offline
Gender:
Posts: 5683
Re: Trouble compiling packages
«
Reply #1 on:
June 06, 2008, 07:00:04 AM »
In ProjectMan, go to Project -> Project settings. Check the "Enable error logging" check-box. Compile game, run the compiled game, examine the generated wme.log. It will tell you which files cannot be found, and from the filenames it should be apparent why.
«
Last Edit: June 06, 2008, 07:11:41 AM by Mnemonic
»
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum.
G.o.D
Lurker
Karma: 0
Offline
Gender:
Posts: 3
Re: Trouble compiling packages
«
Reply #2 on:
June 06, 2008, 07:13:02 AM »
Great, thank you very much
i have set the sprites via something.SetSprite("data\entities\....") which works when running it from wme project manager, but i had to remove data\ for getting it to work from the compiled game
Logged
Mnemonic
WME developer
Administrator
Addicted to WME forum
Karma: 41
Offline
Gender:
Posts: 5683
Re: Trouble compiling packages
«
Reply #3 on:
June 06, 2008, 07:16:05 AM »
Yes, the package name must not be used in the filenames.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum.
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Trouble compiling packages