#The level ASR is not passable
15 messages · Page 1 of 1 (latest)
Interesting. It works for me, but I'm on Linux, though 🤔
Can you try the level with the following change to test.si?
diff --git a/byte_asr/test.si b/byte_asr/test.si
index ab1521d..f9143ee 100644
--- a/byte_asr/test.si
+++ b/byte_asr/test.si
@@ -33,7 +33,7 @@ def check_output(tick: Int, input: Input, output: Output) TestResult {
ui_set_text("table[3][1]", get_binary_repr(Int output.result, 8))
}
- if output.result != U8 expected {
+ if U8 output.result != U8 expected {
return fail
}
Works for me on Windows. I'm on version 2.1.75.
Right, better try it without the change on 2.1.75 first, because it might have been fixed already.
It's still broken for me in v2.1.76.
And changing test.si has no effect: #development-branch-feedback message
"no effect" is a bit too broad of a term.
I usually end the game, edit test.si and then restart the game.
However, maybe by "no effect" you mean that the level is still not completeable for you? (That would be different from "editing test.si files has no effect at all in general".)
Has a recent version changed where campaign files are installed?
Because you should at least be able to introduce syntax errors and notice that.
Oh yeah. the campaign has been moved inside the app package on MacOS
So you go into the package, checkout the Resources folder
Try changing that and see if it works
Now I can debug. I get the message below by adding set_error(`output.result = {output.result}, U8 expected = {U8 expected}.`):
output.result = 253, U8 expected = 18446744073709551613.
to work around it, try ANDing it with 0xff.
I.e. U8 expected & 0xff, expected & 0xff or (U8 expected) & 0xff (whichever of those works)
But regarding the actual problem: It seems that it compiles slightly incorrectly on MacOS
PM me your save please