|Joel||it seems that although AGI Studio can compile empty code blocks, it still has trouble reading them in. In working on the updated Base Logic Generator, I generated a compiled logic where the option "first room" was turned on but the options for the first room were such that there was no code placed inside that command block (i.e., the if statement in the compiled logic wound up looking something like ff fc 01 01 00 01 01 01 fc ff 00 00) -- AGI Studio said "encountered code block with length 0" and said the resource might be corrupted. I created a logic in AGI Studio with the code that I wanted to generate, compiled and extracted it, opened it in the Visual C++ hex editor and they're exactly the same. As its obviously not a problem with the code I'm generating, a suggestion for the next release of AGI Studio would be to fix this problem.|
|Joel||As a side note, I will probably have the BLG warn a user if their options will cause an empty code block to be generated -- or I guess if a source file is going to be defined then I could put the empty code block in the source but not in the compiled logic.|
|Nailhead||I scanned through that section of the code and it looks to be an easy fix. Thanks for mentioning it.|
How are things Nailhead? You been away for a while. Been busy?|
Yeah, I've been busy with a new job, it seems that it's dipping into my "fun time". ;)|
My game is slowly getting fleshed out. I was going to release a demo but I think I'll just wait until it's finished (can't wait for that). I think you guys will get a kick out of it.
Any chance of a screenshot? :) I'm glad you're still hanging around though. |
|Nailhead||A screenshot eh? I think I'd do that. I may make a section about it on my AGI Studio site.|