EXAPUNKS

EXAPUNKS

View Stats:
RickL Aug 11, 2018 @ 3:08pm
Swizzle?
Can someone please explain how the SWIZ function works? I just don't understand it in the zine. I'm stuck trying to figure out the password for the gaming console and I've read somewhere on here that the SWIZ command is an easy way to figure out the 3-digit password, but I can't figure it out for the life of me. Thanks!
< >
Showing 1-8 of 8 comments
WolfWings Aug 11, 2018 @ 3:17pm 
MAKE COPY 0864 X SWIZ X 0003 F SWIZ X 0002 F SWIZ X 0001 F

. . . would result in . . .

8, 6, 4

. . . in the file held by the robot. Make sense now? :) 0's are always replaced by 0, 1 by the one's digit, 2 by the ten's, 3 by the hundred's, and 4 by the thousand's digit. There's some special handling and cases around negatives, but the majority of the time code similar to the above to 'unpack' a number digit by digit.
Last edited by WolfWings; Aug 11, 2018 @ 3:17pm
RickL Aug 11, 2018 @ 9:08pm 
Thanks OK yeah I can see its use in breaking down a number into digits... but now I can't figure out how to use this function to brute force a 3-digit password I don't know. I... guess you could start X at 1000, send three digits, +1, send three digits, etc 999 times and the door's bound to open then... and then maybe I can get an EXA to try to enter the room every time and stop the counter when it's in? OK maybe I have a solution now? lol thanks for the help! Hopefully this works ;)
DK Pepper Aug 11, 2018 @ 9:35pm 
I first found the example in the zine confusing as any result digit is 10 sub corresponding mask digit. when i worked out what swizzle was actually doing i realised this pattern was due to the fact that all example inputs are 6789. Varying the input for the zine's examples would of helped
mreed2 Aug 11, 2018 @ 10:36pm 
RickL -- yes, you have to brute force the password. It is different for every test case, so no better solution is possible.
Razhan Aug 11, 2018 @ 11:44pm 
Originally posted by RickL:
Thanks OK yeah I can see its use in breaking down a number into digits... but now I can't figure out how to use this function to brute force a 3-digit password I don't know. I... guess you could start X at 1000, send three digits, +1, send three digits, etc 999 times and the door's bound to open then... and then maybe I can get an EXA to try to enter the room every time and stop the counter when it's in? OK maybe I have a solution now? lol thanks for the help! Hopefully this works ;)

You don't need to start at 1000 (although it would work), You can start counting at 0, swizle will work
nulian Aug 12, 2018 @ 12:07pm 
It's doable without swizzle but takes so much more lines did it with 50 lines just within the limit.
Because you need to store the number in a file then and use a file as a buffer.
Enyss Aug 12, 2018 @ 3:20pm 
Actually, you don't need to store it in a file, you could store it in the T register, keeping the X register intact.

SWIZ X 0001 F
SWIZ X 0002 F
SWIZ X 0003 F

is equivalent to

MODI X 10 F
DIVI X 10 T
MODI T 10 F
DIVI T 10 F


So just an additionnal line
Last edited by Enyss; Aug 12, 2018 @ 3:21pm
kadzooks20 Nov 20, 2022 @ 6:41am 
Originally posted by WolfWings:
MAKE COPY 0864 X SWIZ X 0003 F SWIZ X 0002 F SWIZ X 0001 F

. . . would result in . . .

8, 6, 4

. . . in the file held by the robot. Make sense now? :) 0's are always replaced by 0, 1 by the one's digit, 2 by the ten's, 3 by the hundred's, and 4 by the thousand's digit. There's some special handling and cases around negatives, but the majority of the time code similar to the above to 'unpack' a number digit by digit.
Thank you, Swizzle has been confusing to use and yours is the first explanation that actually explained how it works
< >
Showing 1-8 of 8 comments
Per page: 1530 50