Raised This Month: $51 Target: $400
 12% 

steam Game Verifier using RAR files


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BillyAkinbredalik
BANNED
Join Date: Apr 2022
Old 05-13-2022 , 00:56   steam Game Verifier using RAR files
Reply With Quote #1

Hi

I am backing up my Steam games in RAR files The point is to verify offline L4D2 game

I wish to read each entry in the rar file then check to see if it exists

but I am getting this error

System.IO.InvalidDataException: Split or spanned archives are not supported. at System.IO.Compression.ZipArchive.ReadEndOfCen tralDirectory()

using System;
using System.IO;
using System.IO.Compression;

private void btn_ReadfromZipfile_Click(object sender, EventArgs e)
{
DialogResult result = file.ShowDialog();
if (result == DialogResult.OK)
{
string txtArchiveName = Path.GetFullPath(Path.Combine(Application.Sta rtupPath, file.FileName));


using (ZipArchive zip = ZipFile.OpenRead(txtArchiveName))
{

// Loop through the archive's files.
foreach (ZipArchiveEntry entry in zip.Entries)
{
// if(zip_entry.);
listBox1.SelectedItems omeglz.Add(entry.FullName);
CheckFileExists(entry.FullName);
}
}
}
}

Last edited by BillyAkinbredalik; 08-31-2022 at 00:51.
BillyAkinbredalik is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode