YoshiRulz
Any
Editor
Joined: 8/30/2020
Posts: 79
Location: Sydney, Australia
You can't copy-paste the input log because Nymashock has different available inputs. Octoshock is "Disc Select", "Open", "Close", "Reset", "P1 LStick X", "P1 LStick Y", "P1 RStick X", "P1 RStick Y", "P1 Up", "P1 Down", "P1 Left", "P1 Right", "P1 Select", "P1 Start", "P1 Square", "P1 Triangle", "P1 Circle", "P1 Cross", "P1 L1", "P1 R1", "P1 L2", "P1 R2", "P1 L3", "P1 R3", "P1 MODE". Nymashock is "Disk Index", "Power", "Reset", "Open Tray", "Close Tray", "P1 Left Stick Up / Down", "P1 Left Stick Left / Right", "P1 Right Stick Up / Down", "P1 Right Stick Left / Right", "P1 D-Pad Up", "P1 D-Pad Down", "P1 D-Pad Left", "P1 D-Pad Right", "P1 Select", "P1 Start", "P1 △", "P1 X", "P1 □", "P1 ○", "P1 L1", "P1 L2", "P1 R1", "P1 R2", "P1 Left Stick, Button", "P1 Right Stick, Button", "P1 Analog". So soft reset was moved before tray open/close, hard reset was added before soft reset, X and Y were flipped for both sticks (why?), the face buttons were switched from □△○X (WNES) to △X□○ (NSWE), and L2 and R1 were swapped. Also note the "neutral" position for the disk switch axis is 0 in Nymashock rather than 1, and the stick axes have more precision now. To convert the input log programmatically, replace the input lines |AAAAA,BCD|EEEEE,FFFFF,GGGGG,HHHHH,IJKLMNOPQRSTUVWXY| with |aaaaa,zDBC|fffff,eeeee,hhhhh,ggggg,IJKLMNPROQSUTVWXY|, where a = A-1, e = 256*E, f = 256*F, g = 256*G, h = 256*H, and z is the new hard reset so put a .. You could get most of the way with the regex s/^(\|.{5},)(..)(.)\|(.{5}),(.{5}),(.{5}),(.{5}),(.{6})(.)(.)(.)(.)(.)(.)(.)(....\|)$/$1.$3$2|$5,$4,$7,$6,$8$10$12$9$11$13$15$14$16/g.
I contribute to BizHawk as Linux/cross-platform lead, testing and automation lead, and UI designer. This year, I'm experimenting with streaming BizHawk development on Twitch. nope Links to find me elsewhere and to some of my side projects are on my personal site. I will respond on Discord faster than to PMs on this site.
Hey look buddy, I'm an engineer. That means I solve problems. Not problems like "What is software," because that would fall within the purview of your conundrums of philosophy. I solve practical problems. For instance, how am I gonna stop some high-wattage thread-ripping monster of a CPU dead in its tracks? The answer: use code. And if that don't work? Use more code.