-
Notifications
You must be signed in to change notification settings - Fork 54
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
Pinball FX3 volume 6. Not working #258
Comments
A possible option for this is finding out where in memory the alphanumeric characters are stored and emulating them to the DMD. The only problem I can currently foresee is that we need to know X/Y positions of each digit. |
Quick check into pinball FX3 showed that when not showing the backbox, the display has 2 rows and a fixed amount of character for all the 3 alphanumeric tables. If I have some time I can take a look at what the data is pointing to (my DMD widget stopped working since upgrading to VS2019/newer QT), wishful thinking here, but if that data is valid and it's pixel data and the resolution is the same, this should be a relatively easy fix :) |
As described above, DMDEXT doesn't display anything for the three new FX3 alphanumeric games. I'm using an LCD panel not a real DMD. I also noticed that although DMDEXT still works with FX3 DMD games, it doesn't pick up the correct color. For example, in the FX3 game Jaws, the DMD dots should be blue but DMDEXT is displaying them as amber. DMDEXT handled this and displayed the correct color prior to the Pinball FX3 Volume 6 update. |
I believe a possible culprit is this switch statement: |
I'm not getting any varying colors at all from dmdext's switch statement nor @BlackStar-EoP 's code. Are we sure those memory offsets are correct? If I change the ingame dmd color I'm not getting any different values from colorCode nor from blackstar's r g b variables... |
Ideally we would like to have the actual segment data, For the DMD we're grabbing the texture, which works well because we can easily extract the pixel values from that. However, segment data is probably stored differently, so we'll need to find the right position again. I have dropped a message to NoEx. @BlackStar-EoP Patch welcome. |
@freezy did you get any response from NoEx ? |
Yes, he hasn't forgotten about it, but he's currently short on time. |
Just tested this using DMDEXT 1.10.2. The issue persists. DMDEXT doesn't display anything for FX3 alphanumeric games on a virtual DMD (i.e. LCD display). Also, with FX3 DMD games, DMDEXT doesn't render the correct color. For example, in an FX3 game like Jaws, the DMD dots should be blue. DMDEXT displays amber dots. DMDEXT detected and displayed the correct color prior to the Pinball FX3 Volume 6 update that introduced alphanumeric games. |
As far as I can remember, the amber color is the default color if the memory for the color cannot be read. I don't really have a patch at the moment, and it's all a bit foggy. The issue I had with the current implementation is that it's a table and thus by definition is not future-proof on its own. In my own DMD widget I took the 32 bit color, and made it in such a way that if FX3 introduces a new color, it will automatically work. As far as I can tell, FX3 will not be updated anymore so my implementation is pointless. As stated above, the memory offset for the color table likely changed. I have to look into the code again to see what happened, but I think I have a global idea of how their internal data structure works. If they added a few members into their classes all the offsets change so it's pretty likely the offset is just a couple of bytes from where the current implementation tries to read this. I might have a look at this this week when I've had a bit more sleep but I can't make any promises. |
Yup, the memory address got moved slightly (0x5C instead of 0x58, if you want to update your code @BlackStar-EoP) |
@GyroJoe Thanks, I've updated my code ;) |
I'm closing this, since I don't think anyone would ever implement this, and the latest Pinball FX works with all display types now. |
PFX3 WMS VOL. 6
New alphanumeric games from PFX3 don't function, all other PFX3 boards functions. Please advise
The text was updated successfully, but these errors were encountered: