just-harry / FancyScreenPatchForRecettear

Fancy Screen Patch for Recettear is a widescreen patch for the video-game Recettear.
10 stars 0 forks source link

Patcher throws an error; claims Split-Path "is null" #6

Open eggmanstudio opened 8 months ago

eggmanstudio commented 8 months ago

Attempting to run the batch version results in the following error when attempting to apply the patch:

Split-Path : Cannot bind argument to parameter 'LiteralPath' because it is
null.
At D:\Program Files (x86)\Steam\SteamApps\common\Recettear\Install-FancyScreenP
atchForRecettear.v1_0_3.FromBatchFile.ps1:2092 char:27
+         Split-Path -LiteralPath $ExecutablePath
+                                 ~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Split-Path], ParentContainsErr
   orRecordException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,M
   icrosoft.PowerShell.Commands.SplitPathCommand

Running Windows 10 Education, Ryzen 7 3700X, Nvidia RTX 4060ti, 32gb DDR4 RAM.

just-harry commented 8 months ago

Hi, how far does the script get through the patching process before the error occurs?

Does it get as far as printing The following installations of Recettear were detected.? Or, as far as Recettear is being patched as follows:? Or, further than those two messages?

eggmanstudio commented 8 months ago

It gets to "will be patched as follows", lists the patches to be applied, then shows the error with no further lines printed.


From: Harry Gillanders @.> Sent: Monday, February 5, 2024 6:51:26 PM To: just-harry/FancyScreenPatchForRecettear @.> Cc: eggmanstudio @.>; Author @.> Subject: Re: [just-harry/FancyScreenPatchForRecettear] Patcher throws an error; claims Split-Path "is null" (Issue #6)

Hi, how far does the script get through the patching process before the error occurs?

Does it get as far as printing The following installations of Recettear were detected.? Or, as far as Recettear is being patched as follows:? Or, further than those two messages?

— Reply to this email directly, view it on GitHubhttps://github.com/just-harry/FancyScreenPatchForRecettear/issues/6#issuecomment-1927804509, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKWLJ46FUD546G7POJ42CELYSES25AVCNFSM6AAAAABC2UUR36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRXHAYDINJQHE. You are receiving this because you authored the thread.Message ID: @.***>

just-harry commented 8 months ago

Okay, when the The following installations of Recettear were detected. message is displayed, which installations are available for selection? And, which installation are you selecting? If there are multiple installations, does the error occur for all the installations, or only some of them?

eggmanstudio commented 8 months ago

Oddly enough, I tried it again and it worked this time - the issue seemed to stem from the fact that I was running it from the game's directory directly. When I do that it gives me:

[R] Script-root: D:\Program Files (x86)\Steam\SteamApps\common\Recettear\recettear.exe [C] Current-directory: D:\Program Files (x86)\Steam\SteamApps\common\Recettear\recettear.exe [] :[D] A different installation: