|
Post by jayviking on Dec 27, 2019 18:06:11 GMT
First of all thank you for providing this exciting tool! I am a total noob at this, so my troubles may be self induced - but any help is greatly appreciated.
1) I can't seem to get the exports to work. I have saved the project, and when I export the source code and press YES on the prompt to make an assembled file, a temporary .tap file is generated and fed into the Speccy emulator, which fires up automatically. However, after loading and getting the blue and yellow stripes for about 30 sec, the emulator just resets? Any clues as to why this doesn't work for me? (I have made a manual work around where I compile the .agd file via the CompilerZX.exe and then run the .asm file through SJasmPlus -s and then finally running the resulting .bin file through bin2tap.exe including the basic loader(-b) and setting the memory addresses manually. Have made this into a .bat file, so it's super fast, but it would be easier and maybe better to use the built in function.
2) When testing the game, both on the FUSE emulator and the real hardware, the game just exits to Basic after the last life is lost. I can't seem to figure out how to avoid this. I am looking for a way to get it to either revert to the intro menu or at least just reset to the first room?
Again, I apologize for my non existing coding skills - any help is greatly appreciated.
Sincerely Jay
|
|
mulder
Wacky Amoebatron
Posts: 41
|
Post by mulder on Jan 5, 2020 17:08:43 GMT
It sounds like what is happening to me. For some reason it doesn't compile correctly.
Can you succesfully compile and run the Diamond Geezer example?
Does the output window give you errors such as the following?:
ZX Spectrum build .... The system cannot find the file specified. The system cannot find the file specified. AGD Compiler for ZX Spectrum version 0.7.5 (C) Jonathan Cauldwell September 2019 Sourcename: Project.agd Output: Project.asm 1 file(s) copied. leader.txt Project.asm trailer.txt 1 file(s) copied. SjASMPlus Z80 Cross-Assembler v1.07 RC8 (build 06-11-2008) Pass 1 complete (0 errors) Pass 2 complete (0 errors) agdcode.asm(89): error: Label not found: WINDOWTOP agdcode.asm(90): error: Label not found: WINDOWLFT agdcode.asm(91): error: Label not found: WINDOWHGT agdcode.asm(92): error: Label not found: WINDOWWID agdcode.asm(99): error: Label not found: WINDOWTOP agdcode.asm(100): error: Label not found: WINDOWLFT agdcode.asm(101): error: Label not found: WINDOWTOP agdcode.asm(101): error: Label not found: WINDOWHGT agdcode.asm(102): error: Label not found: WINDOWLFT agdcode.asm(102): error: Label not found: WINDOWWID agdcode.asm(146): error: Label not found: frmlst agdcode.asm(147): error: Label not found: chgfx agdcode.asm(148): error: Label not found: bcol agdcode.asm(149): error: Label not found: bprop agdcode.asm(150): error: Label not found: scdat agdcode.asm(151): error: Label not found: nmedat agdcode.asm(739): error: Label not found: ptcusr agdcode.asm(1119): error: Label not found: evnt12 agdcode.asm(1132): error: Label not found: stmap agdcode.asm(1136): error: Label not found: evnt13 agdcode.asm(1179): error: Label not found: evnt10 agdcode.asm(1185): error: Label not found: evnt11 agdcode.asm(1212): error: Label not found: numsc agdcode.asm(1218): error: Label not found: evnt18 agdcode.asm(1225): error: Label not found: evnt16 agdcode.asm(1229): error: Label not found: evnt17 agdcode.asm(1248): error: Label not found: evnt19 agdcode.asm(1254): error: Label not found: evnt14 agdcode.asm(1625): error: Label not found: bcol agdcode.asm(1760): error: Label not found: evnt09 agdcode.asm(2137): error: Label not found: numsc agdcode.asm(2342): error: Label not found: evnt20 agdcode.asm(2370): error: Label not found: chgfx agdcode.asm(2413): error: Label not found: bcol agdcode.asm(2889): error: Label not found: evnt00 agdcode.asm(2890): error: Label not found: evnt01 agdcode.asm(2891): error: Label not found: evnt02 agdcode.asm(2892): error: Label not found: evnt03 agdcode.asm(2893): error: Label not found: evnt04 agdcode.asm(2894): error: Label not found: evnt05 agdcode.asm(2895): error: Label not found: evnt06 agdcode.asm(2896): error: Label not found: evnt07 agdcode.asm(2897): error: Label not found: evnt08 agdcode.asm(2988): error: Label not found: sprgfx agdcode.asm(3267): error: Label not found: mapdat agdcode.asm(3267): error: Label not found: MAPWID agdcode.asm(3269): error: Label not found: MAPWID agdcode.asm(3293): error: Label not found: MAPWID agdcode.asm(3296): error: Label not found: MAPWID agdcode.asm(3301): error: Label not found: mapdat agdcode.asm(3351): error: Label not found: evnt15 agdcode.asm(3565): error: Label not found: evnt09 Pass 3 complete Errors: 52, warnings: 0, compiled: 3851 lines, work time: 0.140 seconds 1 file(s) copied.
For me: - Diamond Geezer compiles just fine. - An older project also compiles just fine. - A newer test project, which I've gone over a few times to make sure I've got enough in it to produce a running game, gives the errors that I have posted above. I'm still playing around with this, but does this look like what happens to you?
|
|
mulder
Wacky Amoebatron
Posts: 41
|
Post by mulder on Jan 5, 2020 18:20:40 GMT
I tried making an even quicker test project and it compiled with no trouble, once I'd made sure that it had all of the event scripts in place (make them using the generator and make sure that any you don't use are created as empty ones!)
Unfortunately, while playing about and deleting excess test projects where I was trying to replicate the bug, I selected the wrong folder and permanantly deleted my first one with the bug, so that's gone :/
If I manage to replicate the bug ever, I'll upload a copy of the project.
I did look through the list.txt for the buggy project though, the one that is generated in the SJasmPlus folder. It was complaining of not finding the labels, but on checking just WINDOWTOP there were no fewer instances of WINDOWTOP in the list.txt than I could find in the raw engine listing, so I don't think anything was missing as such, just that SJasmPlus wasn't picking it up.
|
|
|
Post by oss003 on Jan 5, 2020 21:00:18 GMT
Can you try to save the AGD file in the directory where WINAGD.EXE is located when you select Export source code?
|
|
|
Post by muddyfunster on Jan 7, 2020 1:01:12 GMT
I'm having an identical problem, but I can't even get Geezer to compile arcadegamedesigner.proboards.com/thread/705/export-source-code-issue-playI've spent hours (quite literally) trying to get this to work, I've tried exporting the AGD to each folder and i've tried following the logical order in the batch files to see if something there is going awry. Pretty confused, any help to get things working would be appreciated. I did look but I couldn't see a "setup" tutorial.
|
|
|
Post by oss003 on Jan 8, 2020 22:10:47 GMT
Looks like a path error because the first error message is: The system cannot find the file specified. If you downloaded the 32-bits version, can you try replacing this batch file and post the output? Greetings Kees Attachments:build-zx.bat (158 B)
|
|
mulder
Wacky Amoebatron
Posts: 41
|
Post by mulder on Jan 10, 2020 7:17:27 GMT
Hi Kees. Personally, I've still not managed to recreate the problem since I lost my original bugged project, but I will use your alternative bat file and keep playing around until I get the problem.
|
|
|
Post by oss003 on Jan 10, 2020 19:43:10 GMT
Jay, what does SjasmPlus -s do ...... I can't find any documentation about the -s parameter?
|
|
|
Post by oss003 on Jan 10, 2020 20:52:57 GMT
|
|
|
Post by jayviking on Jan 10, 2020 22:03:02 GMT
Jay, what does SjasmPlus -s do ...... I can't find any documentation about the -s parameter? Hi! Thank you for the replies. I just edited my reply about the -s. It just says to do it in the documentation provided with MPAGD. I also tried to save the .agd in the directory where winagd.exe is located but to no avail. I have tried to delete all of the event.* files before exporting the source code, but no matter what I try and where I save the file, it refuses to compile a usable file via the built in fuction. It does however compile a file without error messages, but the compiled file does not work in the emulator. I wrote up a very simple .bat file that works for me. I requires me to save the .agd in a specific folder(the MPAGD root where the winagd.exe is) and to the same name every time (gameexport.agd). PLEASE BEAR IN MIND THAT I AM NOT A PROGRAMMER AND BASICALLY DON'T KNOW WHAT I'M DOING - so please don't hate(too much) on the content of the .bat, which is: " REM AGD to ASM compilerzx.exe gameexport -s copy gameexport.asm ".\Suite ZX\SjasmPlus" del gameexport.asm REM ASM to BIN cd Suite ZX\SjasmPlus sjasmplus.exe gameexport.asm del gameexport.asm REM BIN to TAP bin2tap.exe -a 24576 -r 24576 -b gameexport.bin del gameexport.bin copy gameexport.tap "C:\TEST" del gameexport.tap " Sincerely Jay
|
|
|
Post by oss003 on Jan 11, 2020 13:27:36 GMT
Hi Jay, Did you download your MPAGD version here: jonathan-cauldwell.itch.io/multi-platform-arcade-game-designer?downloadIt is not clear to me which MPAGD version you downloaded and installed: - MPAGD32v0.7.4.zip - MPAGD64v0.7.4.zip - V0.7.5.zip Because MPAGD32v0.7.4.zip and V0.7.5.zip already have pre-installed suites for the ZX Spectrum and automatically create tapefiles which are opened in the Speccy emulator. If you get blue and yellow stripes then the fastloaders are disabled, loading should be done within a second. These options should be checked in Speccy: - Hardware -> Autoload Tapes and Disks - Hardware -> Fast Tape Loader MPAGD64v0.7.4.zip doesn't have the suites and should be manually loaded in an emulator as shown in Jonathan's video's at: jonathan-cauldwell.itch.io/multi-platform-arcade-game-designer
|
|
mulder
Wacky Amoebatron
Posts: 41
|
Post by mulder on Jan 12, 2020 16:03:38 GMT
Yes! Excellent, that's good to see. Is there some difficulty in shooting those blocks though? It's been a while since I played it, I don't remember if the Speccy version was like that.
|
|
mulder
Wacky Amoebatron
Posts: 41
|
Post by mulder on Jan 12, 2020 18:32:15 GMT
I've managed to recreate the errors I was getting before. Here is a project which generates them any time you try the menu option for generating the code: Testing.zip (5.88 KB) I was very slap-dash putting this together, it was just an attempt to mess about until I got the problems to happen. Having jumped from one editor to the sprite editor at one point, the left mouse button appeared to be locked down so that it drew all over the sprite window until I clicked away from it. I'm not quite sure which editor I was on previously. This has happened before, I think in one case it was when I changed to the block editor instead though. Let's hope somebody can debug and find out what is wrong/missing from the project that is causing this.
|
|
|
Post by oss003 on Jan 13, 2020 11:39:05 GMT
Looks like the problem are spaces in the project- and filename. Your project is called "project[space]1" and I don't know how you called the AGD file. Can you try renaming all project[space]1 names to project1 names? I saved the AGD file as TESTING
|
|
mulder
Wacky Amoebatron
Posts: 41
|
Post by mulder on Jan 14, 2020 17:19:16 GMT
Kees - Thanks! I thought I'd played around with filenames the last time I was getting the errors, but maybe I didn't play around enough. This worked.
It seems that AGD is not passing the full filename to the build batch files if it contains a space.
If all those having trouble can remove the spaces from all files in their troublesome projects, who is still having issues?
|
|