praydog / UEVR

Universal Unreal Engine VR Mod (4.8 - 5.4)
http://uevr.io
3.08k stars 158 forks source link

Zip file name determining executable name causes issues #88

Open sicsix opened 9 months ago

sicsix commented 9 months ago

Currently UEVR uses the zip file name as the marker to determine which exe it applies to. This prevents having version names on the zip file without nesting the zip, Nexusmods renames zip files that are uploaded and appends the mod number among other things, and Nexusmods also flags nested zip files as suspicious and quarantines them. This means any config file uploaded to Nexusmods will need to be manually renamed before importing.

Would it be possible to shift the name of the exe into a file within the config directory rather than using the zip file name itself?

praydog commented 9 months ago

You can make another zip file inside the zip file with the name of the executable to work around this. Or make only a folder inside if it with all the files. This is something I intentionally did for cases like this.

It must be the only file at the top level of the zip to make this work. Let me know if it works.

sicsix commented 9 months ago

Zip within a zip doesn't work on Nexus due to being flagged as suspicious, but I can confirm that a folder within a zip works perfectly fine, cheers, I'll use this method from now on.

sicsix commented 9 months ago

I take that back, after testing this properly the folder within-a-zip method doesn't actually work, it extracts the archive to UnrealVRMod/ with the zip file name as the root folder, and the folder named after the executable becomes a subfolder within that.