1 registered members (TipmyPip),
18,449
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Subfolders don't work anymore after publishing?
#239927
12/08/08 11:22
12/08/08 11:22
|
Joined: Aug 2002
Posts: 3,258 Mainz
oliver2s
OP
Expert
|
OP
Expert
Joined: Aug 2002
Posts: 3,258
Mainz
|
Yesterday I wanted to publish my first Lite-C game. I have different subfolders: #define PRAGMA_PATH "models";
#define PRAGMA_PATH "textures";
#define PRAGMA_PATH "temp";
#define PRAGMA_PATH "gfx"; While development they worked fine. But after publishing the game the files in these subfolders weren't found anymore. Only if I copy the files into the root folder (where the exe lies) they were found. What I'm doing wrong?
|
|
|
Re: Subfolders don't work anymore after publishing?
[Re: Xarthor]
#239974
12/08/08 16:00
12/08/08 16:00
|
Joined: Apr 2007
Posts: 3,751 Canada
WretchedSid
Expert
|
Expert
Joined: Apr 2007
Posts: 3,751
Canada
|
Erstell nen .wdl skriptmit demselben Namen wie dein Mainskript und pack da "path = "xyz";" rein. Das funktioniert dann auch mit gepublisheten Spielen (auch wenn du als .exe kompilierst). Nur werden da keine Skripts draus geladen.
Shitlord by trade and passion. Graphics programmer at Laminar Research. I write blog posts at feresignum.com
|
|
|
Re: Subfolders don't work anymore after publishing?
[Re: badapple]
#240240
12/10/08 07:41
12/10/08 07:41
|
Joined: Jul 2008
Posts: 23 Turkey
Hatean
Newbie
|
Newbie
Joined: Jul 2008
Posts: 23
Turkey
|
Me, too. Could you use English guys? I was trying to use PRAGMA_PATH yesterday but I couldn't ...
Last edited by Hatean; 12/10/08 07:41.
The Life Game is disgustingly bad but the graphics and reality are extremely cool...
|
|
|
|