-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build output map with empty war3map.j, on Raspberry Pi #978
Comments
You should use the package manager commands |
Just tried |
I misread the original post and thought u were calling wurstscript.jar instead of setup/grill. So except for some suspicious runargs it seems fine and should work. Can you check if |
Yep, been doing |
So it sounds like a jmpq issue since the output.j is correctly generated, but not inserted into the map? |
Yeah that sounds right. Weird because everything else gets inserted - I have an |
any update on this? |
Not exactly the same environment, but I recently tried this on a new mac with an Apple silicon chip (ARM 64bit) and saw no issues. I also had to fix some pjass errors before the build fully worked, so now I'm wondering if it was those errors causing the issue to begin with. I can re-test on my raspberry pi in a few weeks. |
Okay, might also have been fixed in the meantime. Some test case would be helpful. |
Describe the bug
I recently got a Raspberry Pi 4, and decided it would be fun to use it as a CI runner for Wurst map builds. Since this is Java, it must simply work anywhere, right? Turns out, it almost works! However, it seems the output map has an empty
war3map.j
, even though the code is correctly compiled and saved intemp/output.j
.Environment is a Raspberry Pi 4 (ARM linux), with Java version:
Starting only with my map project and
WurstSetup.jar
:java -jar WurstSetup.jar install wurstscript
java -jar ~/.wurst/WurstSetup.jar install
java -jar ~/.wurst/WurstSetup.jar build base.w3x -runcompiletimefunctions -injectobjects -stacktraces -noExtractMapScript -opt
_build
to a Windows machine and inspect with an MPQ editor. Everything looks good exceptwar3map.j
is 0 bytes.temp/output.j
has all the code, though...EDIT: I also tried replacing all
java -jar ~/.wurst/WurstSetup.jar
commands with the standard~/.wurst/grill
- same results.compiler.log
Speculation
When I do a Windows build,
compiler.log
at first is similar/equal to the one in the Pi. After build is done, the previous logs get totally overwritten, and in the new ones, there is a final MPQ editing section with justAdded file war3map.j
and a few others. This suggests to me that there are 2 MPQ editing/packing passes in the Wurst build, # 1 with almost everything except thewar3map.j
, and # 2 with the rest. It's possible that the 2nd one just isn't running on the Pi. There is noAdded file war3map.j
log there.EDIT: Just saw #937, not sure if that would address this.not relevant, nvmThe text was updated successfully, but these errors were encountered: