Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #1  
Old 17-04-2021, 07:19
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 729
Thanks: 159
Thanked 760 Times in 381 Posts
Masquerade is on a distinguished road
Make zip from command line

How do I make a simple zip file through 7z command line?

I am trying to replicate these settings:


I tried:
Code:
7z a -bt -bb3 -mx=7 -mm=deflate outfile infile
However this still makes a 7z archive as shown by this hex editor screenshot:


It should look like this:

Reply With Quote
Sponsored Links
  #2  
Old 17-04-2021, 08:00
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 3,552
Thanks: 934
Thanked 5,796 Times in 2,138 Posts
KaktoR is on a distinguished road
You can use tar.exe from windows itself

Code:
tar.exe -cf Archive.zip <InputDir>
__________________
Haters gonna hate
Reply With Quote
  #3  
Old 17-04-2021, 10:06
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 729
Thanks: 159
Thanked 760 Times in 381 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
You can use tar.exe from windows itself
That does not create an archive as specified in the second hex edit screenshot.
Reply With Quote
  #4  
Old 17-04-2021, 10:14
ffmla ffmla is offline
Registered User
 
Join Date: Nov 2014
Location: Digital world
Posts: 110
Thanks: 523
Thanked 62 Times in 40 Posts
ffmla is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
That does not create an archive as specified in the second hex edit screenshot.
had some doubts..
Decoded text shows PK & 7z is it the identifier..
EDIT:
Clarified.!

Last edited by ffmla; 17-04-2021 at 10:24.
Reply With Quote
  #5  
Old 17-04-2021, 10:17
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 772
Thanks: 1,287
Thanked 1,639 Times in 558 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
How do I make a simple zip file through 7z command line?

I am trying to replicate these settings:


I tried:
Code:
7z a -bt -bb3 -mx=7 -mm=deflate outfile infile
However this still makes a 7z archive as shown by this hex editor screenshot:


It should look like this:

You must enter the zip format type on the command line.
I don't know if this resolves, take the test.
Code:
7z a -tzip -bt -bb3 -mx=7 -mm=deflate outfile infile
Reply With Quote
  #6  
Old 17-04-2021, 10:18
ffmla ffmla is offline
Registered User
 
Join Date: Nov 2014
Location: Digital world
Posts: 110
Thanks: 523
Thanked 62 Times in 40 Posts
ffmla is on a distinguished road
^^Solved...!
if u used tzip.
Reply With Quote
  #7  
Old 17-04-2021, 10:57
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 729
Thanks: 159
Thanked 760 Times in 381 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
I don't know if this resolves, take the test.
Code:
7z a -tzip -bt -bb3 -mx=7 -mm=deflate outfile infile
Brilliant thanks very much!

This makes the correct file.
Reply With Quote
  #8  
Old 17-04-2021, 12:49
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,706
Thanks: 10
Thanked 297 Times in 188 Posts
Joe Forster/STA is on a distinguished road
Why not use Info-ZIP instead? That's the open-source ZIP implementation.
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
Reply With Quote
The Following User Says Thank You to Joe Forster/STA For This Useful Post:
Cesar82 (17-04-2021)
Reply

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem to make audio protection kasseb CD/DVD Copy Protections & Utilities 7 06-05-2009 13:38
Need advise on how to make identical copy of PS2 CDs UraniUm PS2 Games 10 18-07-2002 18:32
how do i make all songs the same volume in mp3 format milani Media Files 2 30-04-2002 02:58
how to make copies of selfbootable and nonbootable copies... amol00 DC Games 3 27-03-2002 15:35
How do i make a copy of B&W ??? hacker2233 PC Games 0 10-06-2001 11:53



All times are GMT -7. The time now is 12:44.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2000-2020, FileForums @ https://fileforums.com