PhoenicisOrg / scripts

Phoenicis scripts
GNU Lesser General Public License v3.0
64 stars 49 forks source link

Check Verb Scripts #1150

Open madoar opened 4 years ago

madoar commented 4 years ago

After the last changes to the verb scripts the structure of many verbs has changed. Therefore we are not sure at the moment which verb scripts are currently in a working state.

This issue will function as a summary of the testing progress of the verb scripts. It contains a list of all implemented verbs with a checkbox that should be ticked if the verb script has been tested and it is working as intended. If it is not working the checkbox will be replaced with a comment containing what is not working so that we can fix the verb.

If some verbs are missing feel free to add a comment with the missing verbs and I will add them to the list

plata commented 4 years ago

What is the definition of "works"? Is it sufficient if it installs without crashing?

Zemogiter commented 4 years ago

@plata "working as intended" means installing the files, putting correctly dll overrides and regedits. Tahoma crashes with:

[ERROR] org.phoenicis.multithreading.ControlledThreadPoolExecutorService (l.64) - Path "/home/jonasz/.Phoenicis/containers//wineprefix//The Sims 3//drive_c/windows/Fonts" does not exist
    at org.phoenicis.tools.files.FileUtilities.copy(FileUtilities.java:139)
    at <js> cp(Unnamed:56:1251-1284)
    at <js> go(Unnamed:40:1244-1308)
    at <js> install(Unnamed:56:1774-1794)
    at org.graalvm.polyglot.Value.invokeMember(Value.java:459)
    at org.phoenicis.engines.VerbsManager.lambda$installVerb$0(VerbsManager.java:71)
    at org.phoenicis.scripts.session.PhoenicisInteractiveScriptSession.eval(PhoenicisInteractiveScriptSession.java:35)
    at org.phoenicis.scripts.interpreter.BackgroundScriptInterpreter.lambda$createInteractiveSession$1(BackgroundScriptInterpreter.java:45)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)
Caused by host exception: java.lang.IllegalArgumentException: Path "/home/jonasz/.Phoenicis/containers//wineprefix//The Sims 3//drive_c/windows/Fonts" does not exist

[WARNING] 
org.graalvm.polyglot.PolyglotException: Path "/home/jonasz/.Phoenicis/containers//wineprefix//The Sims 3//drive_c/windows/Fonts" does not exist
    at org.phoenicis.tools.files.FileUtilities.copy (FileUtilities.java:139)
    at <js>.cp (Unnamed:56)
    at <js>.go (Unnamed:40)
    at <js>.install (Unnamed:56)
    at org.graalvm.polyglot.Value.invokeMember (Value.java:459)
    at org.phoenicis.engines.VerbsManager.lambda$installVerb$0 (VerbsManager.java:71)
    at org.phoenicis.scripts.session.PhoenicisInteractiveScriptSession.eval (PhoenicisInteractiveScriptSession.java:35)
    at org.phoenicis.scripts.interpreter.BackgroundScriptInterpreter.lambda$createInteractiveSession$1 (BackgroundScriptInterpreter.java:45)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
    at java.lang.Thread.run (Thread.java:834)

Despite the directory Fonts existing there. Both repos are up to date. Also dotnet45 https://github.com/PhoenicisOrg/scripts/issues/1143

Zemogiter commented 4 years ago

corefonts works fine, tested with Anno 2070

Zemogiter commented 4 years ago

vcrun2010 and vcrun2013 works, tested with The Sims 2

Zemogiter commented 4 years ago

amstream,d3drm,devenum and quartz are working, tested with Lego Rock Raiders.

Zemogiter commented 4 years ago

xact works, tested with GOG Galaxy

Zemogiter commented 4 years ago

[WARNING] org.graalvm.polyglot.PolyglotException: TypeError: invokeMember (get) on JavaObject[org.phoenicis.tools.http.Downloader@7c776fc2 (org.phoenicis.tools.http.Downloader)] failed due to: UnsupportedTypeException at .get (Unnamed:135) at .get (Unnamed:110) at .go (Unnamed:20) at .install (Unnamed:43) at org.graalvm.polyglot.Value.invokeMember (Value.java:459) at org.phoenicis.engines.VerbsManager.lambda$installVerb$0 (VerbsManager.java:71) at org.phoenicis.scripts.session.PhoenicisInteractiveScriptSession.eval (PhoenicisInteractiveScriptSession.java:35) at org.phoenicis.scripts.interpreter.BackgroundScriptInterpreter.lambda$createInteractiveSession$1 (BackgroundScriptInterpreter.java:45) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628) at java.lang.Thread.run (Thread.java:834)

- ~~`quicktime76` crashes with this error:~~ fixed by #1166 

[ERROR] org.phoenicis.multithreading.ControlledThreadPoolExecutorService (l.64) - TypeError: wine.quicktime76 is not a function at install(Unnamed:49:1322-1339) at org.graalvm.polyglot.Value.invokeMember(Value.java:459) at org.phoenicis.engines.VerbsManager.lambda$installVerb$0(VerbsManager.java:71) at org.phoenicis.scripts.session.PhoenicisInteractiveScriptSession.eval(PhoenicisInteractiveScriptSession.java:35) at org.phoenicis.scripts.interpreter.BackgroundScriptInterpreter.lambda$createInteractiveSession$1(BackgroundScriptInterpreter.java:45) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)

[WARNING] org.graalvm.polyglot.PolyglotException: TypeError: wine.quicktime76 is not a function at .install (Unnamed:49) at org.graalvm.polyglot.Value.invokeMember (Value.java:459) at org.phoenicis.engines.VerbsManager.lambda$installVerb$0 (VerbsManager.java:71) at org.phoenicis.scripts.session.PhoenicisInteractiveScriptSession.eval (PhoenicisInteractiveScriptSession.java:35) at org.phoenicis.scripts.interpreter.BackgroundScriptInterpreter.lambda$createInteractiveSession$1 (BackgroundScriptInterpreter.java:45) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628) at java.lang.Thread.run (Thread.java:834)


- `vcrun6sp6` crashes, see #1162 
- `mfc42`, `dotnet20` works, tested with `The Sims 3`
- `mspatcha` works, tested in `Adobe Acrobat Reader DC`
plata commented 4 years ago

Can you create issues for each failing verb? It will be easier to track.

Zemogiter commented 4 years ago

@plata done

Zemogiter commented 4 years ago
Zemogiter commented 4 years ago
Zemogiter commented 4 years ago
plata commented 4 years ago

I will try to test it next week. Otherwise it should also be enough if we check that it installs in any container via the verbs tab.

Zemogiter commented 4 years ago
plata commented 4 years ago

I've tested PhysX by installing it from the verbs tab.