WIP URGENT removal of all code that may reference DMCA material or creat DMCA offensive splash loader. #228
Loading…
Reference in a new issue
No description provided.
Delete branch "(deleted):main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The splash-style preload loader is now removed from the project, and a search of the whole project finds no references to it. I couldn't run PowerShell or build the Rust here, so none of this has been run. I only checked bracket balance and that both locale files are still valid JSON.
What I removed:
scripts/preload-window.ps1: deleted. That file was the whole GTA-splash window: it loaded the game's splash image and drew the progress bar over it.
scripts/play-nvidia.ps1:
The loading of that script and every call into it are gone.
The -Splash and -SplashWindow options are gone, and so is the image-fetching code.
The preload now always uses the green window. -NoPreloadWindow is still there if you want console-only progress.
locales/en.json and locales/zh-CN.json: I removed 34 text strings each that only the splash window used, such as "Skip and start the game" and "Translating the game's shaders". I kept the five the launcher still prints in its console summary.
README.md: the two places that described the "progress window over the game's splash" now describe the green window.
The only remaining "splash" text is two lines in crates/darner-hle/src/modules/icon.rs. That code reads the game's own config file for icon handling, so it has nothing to do with the loader and I left it alone.
Tested unable to recreate DMCA offisive loader. Fixed percentage loading tracking in the preloading window.
Review of
1850bc6b(read only, not built or run). Hold: changes needed before testing.Removing the splash loader looks complete.
scripts/preload-window.ps1is gone. Nothing in the tree still callsStart-PreloadWindow,Update-PreloadWindoworGet-SplashImage, and nothing refers to the script.-Splashand the splash image fetch are gone. The new stringspreload.progress.shader_percentandplay.preload.quitare in both locale files. It merges cleanly with main (f3840d73).Must fix:
translate::progress_linewent frompub(crate) fnto a privatefn, butpreload_ui.rstesta_progress_line_with_no_shaders_yet_moves_the_window_to_step_onestill callscrate::translate::progress_line(...). That function is private totranslate, socargo teststops with E0603. Keep itpub(crate).play-nvidia.ps1runsdarner preload <folder> --window, which hands off topreload_ui::run, and that starts the child with--all. Before, the launcher ran a plaindarner preload <folder>, which uses the used-pipeline list when an earlier run wrote one. Players with a list would get a much longer preload, and-NoPreloadWindowwould still behave the old way. Either pass the plain preload through to the child for--window, or say in the PR that this is wanted.Should fix:
3. Commit
34f90567(PRESETS only on the picture page of F1) has nothing to do with removing the loader. Please split it into its own PR, or at least describe it here, so it can be reviewed and tested on its own.4. The progress change is reasonable: it reports the share of bytes and prints a line at every half percent, using
fetch_maxso it doesn't print twice. One gap: a file with no shader sources prints nothing. The window then waits for the next file instead of moving forward, which is minor.Before it can come off WIP: run
cargo test --workspace --locked, then do two real-Preloadruns, one with the window and one with-NoPreloadWindow. Check that "Play now" starts the game, that "Quit" starts nothing, and that the bar reaches 100 %.No testcall-ok: hold.
Not sure what the issue was here. There wasn't any bundled assets, and any metadata was extracted from user-provided files.
If you're saying that referencing user-provided files is an issue, then the whole repo is a problem. Which it's not. It's perfectly legal.
@xrobau wrote in #228 (comment):
I am not a lawyer and want to be especially safe. There is reference to splash screen in code, as well as ripping the asset to use on a different program (which is against their terms without a doubt) I think this is more dangerous than making a program that makes their code run their game. I don't understand the subtle nuances in law across several location that this may be attacked from. I am just trying to help the project be safe.
Pull request closed