Delphi Starter can compile zGameEditor?
Moderator: Moderators
Re: Delphi Starter can compile zGameEditor?
Can you please post your player.bin here?
Re: Delphi Starter can compile zGameEditor?
I pack it in a rar because i wasn't able to put the normal .bin in the message.
- Attachments
-
- Player.rar
- (128.06 KiB) Downloaded 840 times
Re: Delphi Starter can compile zGameEditor?
Your player.bin is missing a resource named "data_file".
It should be included by this line in ZzDC.dpr:
{$R 'Data.res' 'Data.rc'}
which includes resources from data.rc (that imports data from dummy.dat).
Maybe the starter edition do not support including windows resources?
Please check that you have the files data.res, data.rc and dummy.dat and that the {$R directive in ZzDC.dpr is compiled.
It should be included by this line in ZzDC.dpr:
{$R 'Data.res' 'Data.rc'}
which includes resources from data.rc (that imports data from dummy.dat).
Maybe the starter edition do not support including windows resources?
Please check that you have the files data.res, data.rc and dummy.dat and that the {$R directive in ZzDC.dpr is compiled.
Re: Delphi Starter can compile zGameEditor?
I have these three files, how i check that the {$R directive in ZzDC.dpr is compiled?
Re: Delphi Starter can compile zGameEditor?
Maybe try change the $R filenames to xdata.res xdata.rc. Do you get any error or warning message from the compiler that those files are missing?
Re: Delphi Starter can compile zGameEditor?
If i rename Data.rc there is an error, if i rename Data.res no.
Re: Delphi Starter can compile zGameEditor?
What if you rename dummy.dat, right click on Zzdc in project tree, select "Clean" from popup menu, and then build.
Here I get:
[BRCC32 Error] Data.rc(1): Cannot open file: dummy.dat
I'd expect you to get the same?
Here I get:
[BRCC32 Error] Data.rc(1): Cannot open file: dummy.dat
I'd expect you to get the same?
Re: Delphi Starter can compile zGameEditor?
Yeah same error here.
Re: Delphi Starter can compile zGameEditor?
That's good because it means it actually looks for the file. What if you do a Clean and then a Build, still no data_file resource in zzdc.exe? (verify by trying it with ZDesigner.exe or open with hex editor and search for string 'data_file')
Re: Delphi Starter can compile zGameEditor?
Now, there is no more "runtime error 216 at 00403FC1"
But the error in ZDesigner.exe "zgameeditor-master\tools\zdesigner\frmEdline 294" still exist
But the error in ZDesigner.exe "zgameeditor-master\tools\zdesigner\frmEdline 294" still exist
Re: Delphi Starter can compile zGameEditor?
I don't understand what's wrong then, since it clearly looks for the file but it doesn't link it into the binary. Either it is a bug or an intended limitation in Starter edition.
You can still do a lot of things in ZGE since you can build ZDesigner.exe though.
You can still do a lot of things in ZGE since you can build ZDesigner.exe though.
Re: Delphi Starter can compile zGameEditor?
Yeah, i think i will study/make change on the IDE, but yes this is strange, i hope isn't a limitation of the starter edition but a my problem :/ .
(just for do the last test, can you make a screen of your config of Zzdc.exe i will try to replicate it, thanks!)
Thanks anyway man, you are the best!
(just for do the last test, can you make a screen of your config of Zzdc.exe i will try to replicate it, thanks!)
Thanks anyway man, you are the best!
Re: Delphi Starter can compile zGameEditor?
Hi,
I've installed Delphi Starter to try compiling ZzDC on windows. But it gives me an error:
[dcc32 Eror] ZPlatform_Win32.inc(806): E2003 Undeclared identifier : 'TPath'
If I comment lines 806 to 810 (Open file relative to path of exe-file), it compiles fine the ZzDC.exe and it works great.
I've installed Delphi Starter to try compiling ZzDC on windows. But it gives me an error:
[dcc32 Eror] ZPlatform_Win32.inc(806): E2003 Undeclared identifier : 'TPath'
If I comment lines 806 to 810 (Open file relative to path of exe-file), it compiles fine the ZzDC.exe and it works great.