|
|
PRAGMA_PATH
#300276
12/01/09 06:00
12/01/09 06:00
|
Joined: Apr 2009
Posts: 248 Philippines
seecah
OP
Member
|
OP
Member
Joined: Apr 2009
Posts: 248
Philippines
|
Hello Guys,
I defined 25 files as
#define PRAGMA_BIND "1.lvl"; #define PRAGMA_BIND "2.lvl"; #define PRAGMA_BIND "3.lvl"; ... ... and so on..
for these to be included in the published folder. Indeed when I publish my codes in SED with just Compile EXE being checked all these files are copied on the .cd folder and the game runs successfully, but I don't want to published it that way, I need those files to be in resource file so during publish I checked Resource but unfortunately *.lvl are not copied successfully in .wrs file that's I got a pointer error when running the game.
Any idea how to include these files in the resource file.?
Any help would be much appreciated..
Can't is not an option™
|
|
|
Re: PRAGMA_PATH
[Re: seecah]
#300284
12/01/09 08:24
12/01/09 08:24
|
Joined: Apr 2009
Posts: 248 Philippines
seecah
OP
Member
|
OP
Member
Joined: Apr 2009
Posts: 248
Philippines
|
I have included already my files in the resource file but why do I still get an invalid pointer in reading it.. ???
Anybody please..???
Last edited by seecah; 12/01/09 08:38.
Can't is not an option™
|
|
|
Re: PRAGMA_PATH
[Re: Tobias]
#300399
12/02/09 03:33
12/02/09 03:33
|
Joined: Apr 2009
Posts: 248 Philippines
seecah
OP
Member
|
OP
Member
Joined: Apr 2009
Posts: 248
Philippines
|
@Ottawa: My *.lvl files contains characters..
@Lukas: Yes, I'm the one making my *.lvl files and just access it through file_open_read.. Actually that's what I think also that files starting with number are not possible in a resource file, then I've tried yesterday before your replies by just renaming 1.lvl to sample.lvl but still the same result.
@Tobias I'll try that approach..
Thanks all!!!
Can't is not an option™
|
|
|
Re: PRAGMA_PATH
[Re: seecah]
#300553
12/03/09 08:45
12/03/09 08:45
|
Joined: Apr 2009
Posts: 248 Philippines
seecah
OP
Member
|
OP
Member
Joined: Apr 2009
Posts: 248
Philippines
|
May I know what is the better approach.. Is it file_cpy or file_load for reading files from a resource file...???
Can't is not an option™
|
|
|
|
|
|