SwitchEmuModDownloader icon indicating copy to clipboard operation
SwitchEmuModDownloader copied to clipboard

An attempt was made to move the file pointer before the file

Open waxp69 opened this issue 3 years ago • 8 comments

Screenshot 2022-08-08 223538

waxp69 avatar Aug 09 '22 03:08 waxp69

Thanks for opening this! Are you able to provide me a couple of things please :)

  • Full path to yuzu.exe
  • Full path to Mod Load Root (this can be found in yuzu.exe > Emulation > Configure > System > Filesystem)
  • Full path to YuzuModDownloader.exe
  • All games within your Yuzu Library - so I can see which mods are being downloaded

Can you also run the program again. When the error pops up, click on the Details button and copy/paste the errors within there?

amakvana avatar Aug 09 '22 09:08 amakvana

I'm not the reporter. But I have exactly same message. so I report it in my case :) (but debug messages in Korean. Sorry :( )

  • Full path to yuzu.exe : D:\Emulators\nsw\yuzu\yuzu-windows-msvc
  • Full path to Mod Load Root : D:\Emulators\nsw\yuzu\yuzu-windows-msvc\load
  • All games within your Yuzu Library
  • Bayonetta 2
  • Mega Max X Legacy Collection
  • The Ninja Saviors Return of the warriors
  • Super Mario Odyssey
  • Xenoblade Chronicles 3
  • Xenoblade Chronicles: Definitive Edition

`이 대화 상자 대신 JIT(Just-in-time) 디버깅을 호출하는 방법에 대한 자세한 내용은 이 메시지의 뒷부분을 참조하십시오.

************** 예외 텍스트 ************** System.IO.IOException: 파일 시작 앞으로 파일 포인터를 이동하려고 했습니다.

위치: System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 위치: System.IO.FileStream.SeekCore(Int64 offset, SeekOrigin origin) 위치: System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin) 위치: System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()

************** 로드된 어셈블리 ************** mscorlib 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4515.0 built by: NET48REL1LAST_C 코드베이스: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

YuzuModDownloader 어셈블리 버전: 1.1.0.0 Win32 버전: 1.1.0.0 코드베이스: file:///D:/Emulators/nsw/yuzu/yuzu-windows-msvc/YuzuModDownloader.exe

System.Windows.Forms 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4515.0 built by: NET48REL1LAST_C 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4488.0 built by: NET48REL1LAST_C 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4395.0 built by: NET48REL1LAST_B 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4341.0 built by: NET48REL1LAST_C 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4515.0 built by: NET48REL1LAST_C 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4161.0 built by: NET48REL1 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.resources 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4161.0 built by: NET48REL1 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_ko_b77a5c561934e089/System.resources.dll

System.IO.Compression.FileSystem 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4161.0 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.IO.Compression.FileSystem/v4.0_4.0.0.0__b77a5c561934e089/System.IO.Compression.FileSystem.dll

System.IO.Compression 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4161.0 built by: NET48REL1 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.IO.Compression/v4.0_4.0.0.0__b77a5c561934e089/System.IO.Compression.dll

mscorlib.resources 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4161.0 built by: NET48REL1 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ko_b77a5c561934e089/mscorlib.resources.dll

System.IO.Compression.resources 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4161.0 built by: NET48REL1 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.IO.Compression.resources/v4.0_4.0.0.0_ko_b77a5c561934e089/System.IO.Compression.resources.dll

System.Windows.Forms.resources 어셈블리 버전: 4.0.0.0 Win32 버전: 4.8.4161.0 built by: NET48REL1 코드베이스: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ko_b77a5c561934e089/System.Windows.Forms.resources.dll

************** JIT 디버깅 ************** JIT(Just In Time) 디버깅을 사용하려면 이 응용 프로그램 또는 컴퓨터의 config 파일(machine.config)의 jitDebugging 값을 system.windows.forms 섹션에 설정해야 합니다. 또한 응용 프로그램은 디버깅할 수 있도록 컴파일되어야 합니다.

예:

JIT 디버깅을 사용하면 처리되지 않은 모든 예외는 이 대화 상자에서 처리되지 않고 컴퓨터에 등록된 JIT 디버거에 보내집니다.

`

fieldkim avatar Aug 09 '22 10:08 fieldkim

Thanks for this @fieldkim , can you also send me the full path from where you run YuzuModDownloader.exe from?

I will look into this as soon as possible and troubleshoot!

amakvana avatar Aug 09 '22 10:08 amakvana

@fieldkim can you also tell me if you have the following directory created?

D:\Emulators\nsw\yuzu\yuzu-windows-msvc\7z

If so, what is inside the directory?

amakvana avatar Aug 09 '22 10:08 amakvana

Nope. no 7z folder.

fieldkim avatar Aug 09 '22 15:08 fieldkim

.......and YuzuModDownloader.exe ran on D:\Emulators\nsw\yuzu\yuzu-windows-msvc directory

fieldkim avatar Aug 09 '22 15:08 fieldkim

Usually the load folder is populated inside the User folder if Yuzu is set up as a standalone version. Can you take a screenshot of the entire directory structure where yuzu.exe resides? @fieldkim, sorry for the specific questions.

amakvana avatar Aug 09 '22 19:08 amakvana

image

it won't source of the problem. I changed load folder from default (in user folder) to that (in sub folder), after I got same exception error. (yes. in default setting, i got same exception error)

fieldkim avatar Aug 10 '22 00:08 fieldkim

@fieldkim I haven't forgotten about this. Thanks for getting back to me! Can you confirm if the following directory exists on your PC. Hold the Windows Key + R down, in the Run prompt, enter the following below:

%appdata%\yuzu

If a folder launches, can you take a screenshot of the entire folder structure for me please

amakvana avatar Aug 15 '22 08:08 amakvana

image

fieldkim avatar Aug 15 '22 08:08 fieldkim

@fieldkim thanks! Can you also take a screenshot of the 7z folder and the load folder?

Also within the load folder, can you check if anything has been downloaded into any of the subfolders.

amakvana avatar Aug 15 '22 08:08 amakvana

image image

fieldkim avatar Aug 15 '22 08:08 fieldkim

Oh, after deleting contents in load folder, Exception error gone! huh.

fieldkim avatar Aug 15 '22 08:08 fieldkim

Can you delete the 7z folder, also delete the contents of the load folder too;. Rerun the application and see if the exception goes away

amakvana avatar Aug 15 '22 08:08 amakvana

I did, and yes. Exception errors went away.

fieldkim avatar Aug 15 '22 08:08 fieldkim

Can you just screenshot me the 7z folder again now that the exception errors have gone. Also, can you confirm the mods successfully downloaded for your games?

amakvana avatar Aug 15 '22 09:08 amakvana

@waxp69 try running the following:

  1. Start > Command Prompt
  2. Copy & Paste the commands below into Command Prompt, pressing Enter after typing each one:
rd /s /q "%appdata%\yuzu\7z"
rd /s /q "%appdata%\yuzu\load"
md "%appdata%\yuzu\load"
  1. Rerun YuzuModDownloader and see if the errors persist

amakvana avatar Aug 15 '22 09:08 amakvana

image And yes. mods are successfully downloaded and could be enabled. thanks.:)

fieldkim avatar Aug 15 '22 11:08 fieldkim

Thanks for confirming this @fieldkim

@waxp69 are you able to confirm the problem is resolved if you follow the steps in this reply

amakvana avatar Aug 15 '22 14:08 amakvana

@waxp69 try running the following:

  1. Start > Command Prompt
  2. Copy & Paste the commands below into Command Prompt, pressing Enter after typing each one:
rd /s /q "%appdata%\yuzu\7z"
rd /s /q "%appdata%\yuzu\load"
md "%appdata%\yuzu\load"
  1. Rerun YuzuModDownloader and see if the errors persist

I do not have 7z

waxp69 avatar Aug 15 '22 20:08 waxp69

I do not have 7z

Are you able to provide me a couple of things please

  • Full path to yuzu.exe
  • Full path to Mod Load Root (this can be found in yuzu.exe > Emulation > Configure > System > Filesystem)
  • Full path to YuzuModDownloader.exe
  • Folder structure of %appdata%\yuzu
  • All games within your Yuzu Library - so I can see which mods are being downloaded

Can you also run the program again. When the error pops up, click on the Details button and copy/paste the errors within there into here.

amakvana avatar Aug 15 '22 21:08 amakvana

yuzu: C:\Users\moham\AppData\Roaming\yuzu Mod downloader: C:\Users\moham\AppData\Local\yuzu\yuzu-windows-msvc yuzu folder yuzu games

waxp69 avatar Aug 15 '22 21:08 waxp69

Thanks for that! Can you also show me the path to Mod Load Root, this can be found in yuzu.exe > Emulation > Configure > System > Filesystem.

Also, can you also run the program again. When the error pops up, click on the Details button and copy/paste the errors within there into here.

amakvana avatar Aug 15 '22 21:08 amakvana

oh wow, it works now for whatever reason

waxp69 avatar Aug 15 '22 22:08 waxp69

oh wow, it works now for whatever reason

Okay good! Can you confirm mods are being downloaded? If so, I'll close this

amakvana avatar Aug 15 '22 22:08 amakvana

they are

waxp69 avatar Aug 15 '22 22:08 waxp69