Patreon Logo Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal Logo PayPal. You can also buy games using our partner links for GOG and Humble Store.
Title: SteamPlay/Proton Skyrim SE
Gryxx 25 Aug 2018
User Avatar
To make it short:
I want to continue save that is alredy modded. Prviously i used mod organizer, now i just need to copy some files (see PS). The thing is, some of mods needs feature calld SKSE64, so i need SteamPlay to launch custom exec from within Skyrim installation files. Anyway to do that?

PS. Someone with scripting knowledge to copy all files from many directoris to single directory like from 3456/* to /temp, 3124/* to /temp and so on?
Echoz 26 Aug 2018
  • Supporter
The copying should be doable with something like:
find -maxdepth 1 -mindepth 1 -type d -print0 | while read -rd '' dir; do echo "cp -r \"$dir/\"* ." | bash; done
You can remove | bash if you want to see what commands it will execute.
Gryxx 26 Aug 2018
User Avatar
Quoting: chris.echozThe copying should be doable with something like:
find -maxdepth 1 -mindepth 1 -type d -print0 | while read -rd '' dir; do echo "cp -r \"$dir/\"* ." | bash; done
You can remove | bash if you want to see what commands it will execute.
Thanks, that really helps.
tuubi 26 Aug 2018
User Avatar
You can get rid of the unnecessary pipes by using find's -exec parameter to call cp, but even a simple cp with globs (*/*) would probably do the trick in this case.
Gryxx 26 Aug 2018
User Avatar
I should seriously start learning advanced bash. @chris.echoz command seems to do the job (but seriously, 6 to 7 cores at 100%, what is it doing?). For the rest of my question I'm currently trying to follow second method from [there](https://www.reddit.com/r/skyrimmods/comments/8ahj5u/three_methods_to_run_skse64_through_steam/)

I'll let you know if it is working.
Gryxx 1 Sep 2018
User Avatar
I was able to launch it with this method, but unfortunately SKSE64 does not work in Protan. Bethesda.net mods and mods installed manually seems to work as long as they don't require SKSE.
Echoz 1 Sep 2018
  • Supporter
Quoting: GryxxI should seriously start learning advanced bash. @chris.echoz command seems to do the job (but seriously, 6 to 7 cores at 100%, what is it doing?). For the rest of my question I'm currently trying to follow second method from [there](https://www.reddit.com/r/skyrimmods/comments/8ahj5u/three_methods_to_run_skse64_through_steam/)

I'll let you know if it is working.
The command runs a new instance of bash for every single folder it's copying files from, which is probably pretty CPU-intensive.
Maybe using -exec with find is faster, though I don't know how it works with wildcards.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon Logo Patreon. Plain Donations: PayPal Logo PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register