jaboles / DVA5

CityRail DVA/Plasma Screen Emulator
60 stars 4 forks source link

DVA 5 not having the default sound libraries #38

Closed BlueARL44 closed 7 months ago

BlueARL44 commented 8 months ago

I downloaded the DVA5 SETUP.exe as I operate in Windows. There is very few videos online regarding this app, but all of them seem to have all the announcers already in place in the voice libraries, whereas mine simply is none. Screenshot (117) Is there a way to solve this?

Super-McTea commented 8 months ago

I have the same issue unfortunately

InvraNet commented 7 months ago

Having issue too, I built the app myself to be sure, nothing so far.

InvraNet commented 7 months ago

This is the fix as of right now.

Go to the releases tab. Click on Source code (zip). Unzip the DVA5-[MAJOR.REALASE.MINOR} Navigate inside of the unzipped folder. Navigate to sounds directory Select all folders, and copy Hit Win + R then in dialog type %localappdata%\DVA. Paste all contents inside of the folder that has opened on a new Windows Explorer instance. Restart the app and everything will pop up. This is supposed to be for custom sounds, but works. Your DVA directory should look a little like: Screenshot 2024-04-15 221050

mrpalmerisagit commented 7 months ago

One problem with this - some of the longer file names will not transfer over, Windows claims that the path is too long.

NathanGP846 commented 7 months ago

How Can I Unzip It

InvraNet commented 7 months ago

How Can I Unzip It

You should be able to just double-click then Windows will inflate it. If that does not work, then you can try to install 7Zip-FM then right-click then there should be in your right-click context menu Extract Here...

One problem with this - some of the longer file names will not transfer over, Windows claims that the path is too long.

That is seems to be that NTFS issue, you can change the "Directory Path Length" via This if you do this Window's HK(LM,CU,CR,CC) is CaSe SeNsItIvE, meaning if it tried to search for Key but you have key: key will not be recognized as Key as it is theoretically a completely different file. Some apps are encompassed to not have this issue, windows explorer, and file system tables do NOT have this for reasons like if you have a duplicate file it will know which one to pick.

There is another way with this link. This will only work if you are on Windows 8/8.1/10/11 Professional. The Regedit.msc is the only way on Windows 8/8.1/10/11 Home users.

NathanGP846 commented 7 months ago

Ok

NathanGP846 commented 7 months ago

InvraNet I Cant Find Enable NTFS Long Paths

InvraNet commented 7 months ago

image Looking at my Virtual Machine, ill tell you my exact steps to get here. Windows + R and type regedit Navigate to your HKLM (this is abbreviated) Navigate to SYSTEM Navigate to CurrentControlSet Navigate to Control Navigate to FIleSystem If LongPathsEnabled doesn't exist create it by right-clicking and clicking New > Dword 32-bit image

If it exists, or when it exists, Double click on it then type "1". Then hit Ok. image

Reboot your computer then it should all work.

NathanGP846 commented 7 months ago

OMG IT WORK!! TY INRVANET FOR HELP ME!!! OMG IM SO HAPPY!!

NathanGP846 commented 7 months ago

I WAS ABOUT TO CRY

InvraNet commented 7 months ago

You are welcome.

NathanGP846 commented 7 months ago

:)

jaboles commented 7 months ago

Sorry about this. The sound libraries should be downloaded during the running of the installer but it looks like this isn’t happening. Possibly due to expiry of the code signing certificate which I’ve posted about in another issue. I’ll think about possible solutions.

NathanGP846 commented 7 months ago

It Ok :)

NathanGP846 commented 7 months ago

I Got It Back!

InvraNet commented 7 months ago

Sorry about this. The sound libraries should be downloaded during the running of the installer but it looks like this isn’t happening. Possibly due to expiry of the code signing certificate which I’ve posted about in another issue. I’ll think about possible solutions.

If you create a proper installer and get it to pull all of the data into its desired places it should work. Also where would the equivalent of %localappdata%\DVA be on linux?

GaRoMe119 commented 7 months ago

Curious about a fix for Mac as well! Thanks 👍

jaboles commented 7 months ago

Looks like this issue is happening when making HTTPS requests to Azure but I have no idea why./

 [exec] javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
 [exec] javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
 [exec]     at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:956)
 [exec]     at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:133)
 [exec]     at jb.common.FileUtilities.readFromUrl(FileUtilities.java:77)
 [exec]     at jb.dvacommon.WAzureUpdater.getLatestVersion(WAzureUpdater.java:54)
 [exec]     at jb.dvacommon.Updater.lambda$updateAvailable$1(Updater.java:44)
 [exec]     at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
 [exec]     at java.base/java.util.stream.ReferencePipeline$15$1.accept(ReferencePipeline.java:541)
 [exec]     at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1708)
 [exec]     at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
 [exec]     at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
 [exec]     at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
 [exec]     at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
 [exec]     at java.base/java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:662)
 [exec]     at java.base/java.util.stream.ReferencePipeline.max(ReferencePipeline.java:698)
 [exec]     at jb.dvacommon.Updater.updateAvailable(Updater.java:47)
 [exec]     at jb.dvacommon.ui.DVAShell.lambda$setVisible$4(DVAShell.java:153)
 [exec]     at java.base/java.lang.Thread.run(Thread.java:1583)
jaboles commented 7 months ago

I found the issue and there will a new version out shortly that fixes it.

jaboles commented 7 months ago

Fixed in 5.5.19. Note that you will need to uninstall/delete the old version and then install the newer version manually.