|
Post by Anacl3to on Aug 31, 2022 6:45:47 GMT
Hi,
I have the same problem. It won't let me compile and gives me the attached error
How can i fix it ?
Thanks
SjASMPlus Z80 Cross-Assembler v1.07 RC8 (build 06-11-2008) Pass 1 complete (0 errors) Pass 2 complete (0 errors) agdcode.asm(747): error: Label not found: scdat agdcode.asm(748): error: Label not found: nmedat agdcode.asm(1845): error: Label not found: numsc agdcode.asm(2770): error: Label not found: numsc Pass 3 complete Errors: 4, warnings: 0, compiled: 4484 lines, work time: 0.312 seconds 1 file(s) copied.
|
|
|
Post by oss003 on Aug 31, 2022 8:26:54 GMT
That's not easy but can you upload your APJ file so I can have a look?
|
|
|
Post by Anacl3to on Aug 31, 2022 11:29:26 GMT
Hi oss003, This is my apj file: demo.apj
Thanks in advance
|
|
|
Post by oss003 on Aug 31, 2022 13:15:25 GMT
Looks like the screen data is lost ..... did you have 6 screens? The problem mostly occurs when you delete a sprite. If you delete the frames of the sprite in descending order, it should be ok. Attachments:test-v1.apj (3.51 KB)
|
|
|
Post by Anacl3to on Sept 1, 2022 5:43:28 GMT
|
|
|
Post by oss003 on Sept 1, 2022 13:41:25 GMT
Hmmm ... this is not a Spectrum green colour, can you select Machine -> Spectrum standard Can you also upload DELETEME.AGD which is created in the project directory?
|
|
|
Post by Anacl3to on Sept 2, 2022 5:58:19 GMT
Good morning, This is my deleteme.agd file: deleteme.agdThanks in advance
|
|
|
Post by oss003 on Sept 2, 2022 7:53:12 GMT
The DELETEME.AGD files runs without problems ... are you sure this is the latest one? Attachments:
|
|
flopping
Processing Plant

Always still learning
Posts: 26
|
Post by flopping on Sept 2, 2022 8:37:55 GMT
Ok, this is what I was able to restore ...... View AttachmentI know that there can occur a problem when you want to delete sprites. The right way is to first delete all frames in descending order and then delete the sprite. Greetings Kees Ok, so I have to first delete the last frame of the sprite in descending order until it is completely deleted, right? What I see, this is a bug in the MPAGD program, that happens sometimes, right? But, now that I know it, I hope it doesn't happen again, thank you very much for your help. Greetings Juan
|
|
|
Post by oss003 on Sept 2, 2022 8:47:02 GMT
If you want to delete a sprite, start with deleting the highest numbered frame first and so on until the sprite is deleted. This is indeed a bug in MPAGD and hopefully it will be gone in a new release.
Good luck with your game..
Greetings Kees
|
|
|
Post by Anacl3to on Sept 2, 2022 9:41:39 GMT
Hi oss003,
How can you check the agd file without apj file ?
How can i do it ?
I think the apj file is corrupted. Not the agd file
Thanks
|
|
|
Post by oss003 on Sept 2, 2022 11:55:40 GMT
All the graphic objects arestored in the APJ file like: game data, blocks, sprites, objects, screens, map and the character set. All the code is stored in A00, A01 ... A15 files and messages are stored in the MSG file. I have attached a file with the APJ file format explained .... this is for v0.7.10 I restored your corrupted demo.apj as far as possible and uploaded it as test-v1.apj Erased data can not be restored but the format can be rebuild so that the APJ file doesn't generate errors. In your case, all screen data was erased. When you compile your game, all data (graphics and code) is collected and written in an ASCII file -> DELETEME.AGD I use the DELETEME>AGD file to check the code for errors. DELETEME.AGD is only generated when there are no errors in compiling. Attachments:APJ header.txt (2.45 KB)
|
|
flopping
Processing Plant

Always still learning
Posts: 26
|
Post by flopping on Sept 3, 2022 19:38:13 GMT
Hi again.
The same thing has happened to me again, and this time I have deleted the frames correctly, but even so the apj file has been corrupted.
oss003, can you give me an email address to send you the apj file to see if you can fix it?
|
|