Talk:Archive.exe

From the CreationKit Wiki
Jump to navigation Jump to search

To the content-type boxes[edit source]

I must ask, why is there even an option for an xbox 360 archive? To my knowledge (while one is able to properly place a file in the correct directory on the HDD) there is no way to access said file within the game. Any clarification would be greatly appreciated. Crailfron 17:09, 20 June 2012 (EDT)

These are the, presumably, the tools Bethesda use to package the BSA's for xBox and xBox 360 as well. Mardoxx (talk) 11:51, 9 August 2012 (EDT)

Scripting Archive.exe[edit source]

Command: Argument //Note the space!

Log: filename.$Date.txt //"$Date" replaces for "d-m-yyyy, hh.mm.ss p"

New Archive
Restrict Files: string // unknown... meant to take comma separated list of direct files but doesn't work. Updates Restrict: textbox with string
Restrict Directories: string // unknown.. .meant to take comma separated list of direct folders Updates internal variable with string
Add Directory: Directory/SubDir //relative to Archive.exe adds relative to drive Archive.exe is running on

Check: // Checks checkbox
	Meshes
	Textures
	Menus
	Sounds
	Voices
	Shaders
	Trees
	Fonts
	Misc
	Compress Archive
	Retain Directory Names
	Retain File Names
	Retain File Name Offsets
	Retain Strings During Startup
	XBox
	XMem Codec
	Embed File Names

Set File Group Root: bsa\fileRoot //relative to skyrim dir
Add File Group: to\filesForGroup.txt //relative to Archive.exe
Save Archive: to\archive.bsa //relative to Archive.exe
Scratch Path: to\scratchPath //relative to Archive.exe unknown, possibly where it stores temporary files while creating the bsa? 
File Order: to\fileorder.txt //relative to Archive.exe
Compression Level: int //unknown
Compression Flag List: to\compressionflags.txt //relative to Archive.exe unknown...

Mardoxx (talk) 10:27, 9 August 2012 (EDT)

It appears that setting a value on Compression Level will always cause Archive.exe to crash. It should probably never be set, it seems to default to compression level 10 (maximum) when Compress Archive is set anyway. Chesko (talk) 2015-09-25T09:01:35 (EDT)

Modify Existing bsa[edit source]

Whether it's just this install, but Archive.exe always crashes when attempting to save any modifications made to an existing bsa. Looking at the way the wiki is presented, it's guessing this poster is not the first one with this issue.--Lmstearn 2015-02-21T05:14:28 (EST)

Drag and Drop Functionality[edit source]

For some reason this broke when running as admin on this Win 7 machine.--Lmstearn 2015-02-26T15:45:07 (EST)

Working Script File[edit source]

After an hour of pain and suffering I developed a functional script file for Archive.exe that doesn't crash the application. Hope someone else finds this useful.

Special note: You MUST use Data\ as the value for Set File Group Root. Anything else will result in Archive.exe crashing or result in invalid relative file paths for the contents of your BSA archive.

Log: Campfire\CampfireArchiveLog.txt
New Archive
Check: Meshes
Check: Textures
Check: Menus
Check: Sounds
Check: Voices
Check: Shaders
Check: Trees
Check: Fonts
Check: Misc
Check: Retain Directory Names
Check: Retain File Names
Check: Compress Archive
Set File Group Root: Data\
Add File Group: ./CampfireArchiveManifest.txt
Save Archive: ./Campfire.bsa

Chesko (talk) 2015-09-25T23:35:03 (EDT)