Uh oh!
There was an error while loading. Please reload this page.
Fixes CD disk stacks - #3593
Conversation
BingusSS13
commented
Apr 26, 2026
I might be a bit stupid because it genuinely took me a day to figure this out |
AlexALX
commented
Jun 16, 2026
this fixes only usage of tracks or also alters what disk report in reader information? because not sure if this change will broke cd drive in my alx e2 pc & os as well. |
BingusSS13
commented
Jun 17, 2026
im not entirely sure if it would break your cd drive or not but you can download my branch and test it if you'd like to |
Astralcircle
commented
Jul 7, 2026
@AlexALX yea, it would be great if this was tested, my main concern is that this PR could break something |
BingusSS13
commented
Jul 8, 2026
Maybe I could add a "legacy mode" input to the CD ray that switches it to use the old logic for CD stacks? |
thegrb93
commented
Jul 8, 2026
It would be helpful if there was a diagram showing what changed. If the old behavior didn't even work then there's no point in supporting it. |
BingusSS13
commented
Jul 9, 2026
AlexALX
commented
Jul 9, 2026
Can you remind me how we change stacks when we need read for example stack 3 ? in my system i have two sides reader, one on bottom, one on top, and reading stacks, but not remember how |
BingusSS13
commented
Jul 9, 2026
So this does change the broken behavior. You need to add a Legacy setting that will be disabled by default on new cd disks |
thegrb93
commented
Jul 9, 2026
I'm against supporting the legacy behavior. People can update their dupes. |
AlexALX
commented
Jul 9, 2026
well, just need to test this change in some free day to see how it works... but if it broke for example "dual-side" reading behavior then thats huge change.. + moving vertically cd ray another hard part for automated work like on my pc |
Bilbard
commented
Jul 12, 2026
Excuse me for dropping in, but why are we reading stacks by moving the ray into the disc in the first place? At this point wouldn't it be way better for everyone if stacks were swapped with a simple input/memory address? You could even maintain automatic backwards compatibility by leaving the broken method of reading stacks as it is when the stack input is 0. |
BingusSS13
commented
Jul 13, 2026
Fair, if the maintainers agree I'll do that instead. |
No, and I'm getting the feeling @AlexALX isn't going to bother testing anytime soon, so I don't see any reason to keep legacy broken stack behavior. |
Well whatever you guys want, just if someone can test at least one thing - if place ray at top of disk, does it will read "stack 4" and not "stack 1" ? if reading from top is not possible now at all - then its not just broken stack behavior, its removing one of features. Like on this image (see second cd ray at top): its aka "double-sided disk" |
BingusSS13
commented
Jul 13, 2026
I'm pretty sure you can read from both the top and bottom at the same time yeah |
BingusSS13
commented
Jul 13, 2026
AlexALX
commented
Jul 13, 2026
well then thats good, just tested a bit, and it changes stack # (which is right), but how exactly read stack 1 in this situation? moving cd raw closer to disk does nothing. so i my tests just changed stack numbers but nothing else. |
then this design is awful, who will move cd ray inside physical object, it has to be done on focus distance between disk and cd ray, imho anyway its not related to this pull request so if it only changes # of stack compared to old legacy way - then guess not a big issue, as long as i'll update my pc anyway later, besides that old written disks will lost data |
BingusSS13
commented
Jul 14, 2026
I'm just going off of what the original intended behavior seemed to be |
AlexALX
commented
Jul 14, 2026
nit of off topic - well just in real bluray discs, cd ray actually changes focus using lens for read proper stack, so never changes laser emitter position. however in wiremod we don't have such lens, but moving physically inside disk also wrong way. i'd say stacks probably should be based on distance to disk, or just set "stack" via Command, since this will be more like real ones. as said earlier, this PR has nothing to do with original behavior what are wrong initially... So we can fix wrong behavior or completely redo how stacks actually works... |
BingusSS13
commented
Jul 15, 2026
should be fixed |
AlexALX
commented
Jul 15, 2026
ok seems fixed indeed! and since i didn't used discs with more than 2 stacks - it even don't affect my pc at all, just tested. |









Trying to use the other stacks on CD disks is like completely broken.
Large disk, you can't use the fourth stack.
Medium disk, you can't use the first and fourth stack.
Small disk, you can only use the third stack.
This will (hopefully) fix that issue.
I've tested this with different disk models like circle4x4 and it seems to work fine.