Moving Files before playing them - Printable Version +- Playnite Forums (https://playnite.link/forum) +-- Forum: Playnite (https://playnite.link/forum/forum-1.html) +--- Forum: Support and Troubleshooting (https://playnite.link/forum/forum-4.html) +--- Thread: Moving Files before playing them (/thread-787.html) |
Moving Files before playing them - epson777341 - 08-24-2021 Hi there. I'm trying to run a couple Isos with an emulator, and the Isos are on a hard drive. Whenever I play one I start getting little bouts of lag, so to counter this, I thought i'd just copy the files from the hard drive to my system, then run the game, then when I exit, just delete the copy. I put this down for before I start the game: Copy-Item "{ImagePath}" -Destination "C:\Users\Owner\Documents" and then this when the game exits: Remove-Item "C:\Users\Owner\Documents\{ImageName}" And I also changed the pathfor the game to be "C:\Users\Owner\Documents\GAME NAME.iso" , but I seem to have done something wrong, as it won't boot up the game when I run it. Probably because it takes time to copy a file and it doesn't seem to want to give me it. Is there something I'm missing? Any help would be appreciated. RE: Moving Files before playing them - Crow - 08-24-2021 I think the main issue with this is that "{ImagePath}" will always point to the original location. So if you are passing that to an emulator, you will be using the old location always. RE: Moving Files before playing them - epson777341 - 08-25-2021 I got it to work. So, in the Emulator Config, under arguments, I changed it to "C:\Users\Owner\Documents\{ImageName}" That seems to work with stuff I posted before. Playnite will hang for a moment or two while it transfers, but that's just because it needs to move the file. |