-
Notifications
You must be signed in to change notification settings - Fork 8
Description
The other day I was trying to show off colorizations using VPX standalone and zedmdos.
This is kinda cool because now Android and iOS can wirelessly send dmd data with no latency.
Since VPX does not send across the cRZ files via dmdserver, the cRZ files needed to be installed locally.
The typical layout of zedmdos is:
The dmdserver.ini file is configured as:
[DMDServer]
AltColor = 1
# Overwrite the AltColorPath sent by the client and set it to a fixed value.
AltColorPath = /boot/configs/altcolor
So the problem we have is /boot/configs/altcolor is a read-only partition, so extract the files in the same directory will not work. Instead, the files need to be extracted to somewhere like /tmp.
We had a similar issue with iOS and leveraged an environment variable called TMPDIR.
I would propose that instead of using TMPDIR for just iOS, we use it for all platforms if it is not null.
I've proved this could work here: f2b5694
However I did not test in Windows.
It's also worth noting, that it would be neat to also use just a cROM file from VPX standalone, but I noticed some files extract as cRom and some as cROM. I will put this fix in VPX standalone, however, the extension detection code in libserum needs to be case insensitive:
