Delete vivoxlogs

Noob536

Member
Simple script to delete the vivox log files you sometimes get in the bin folder that cause eve to not start.

Code:
function main()
{
	declare Count int 0
	declare TestFileList filelist 
	declare ScanDirectory filepath script "C:/Program Files (x86)/CCP/EVE/bin"
	TestFileList:GetFiles[${ScanDirectory}/\*.txt]
	while (${Count:Inc}<=${TestFileList.Files})
	{
		if ${TestFileList.File[${Count}].Filename.Left[9].Equal[vivoxlog-]}
			rm "${ScanDirectory}/${TestFileList.File[${Count}].Filename}"
	}
}
just toss that in a file in your scripts folder, edit the file path if needed
then in the innerspace config, youll wanna add run <filename> to the pre-startup scripts for the main eve online profile. not the like eve online default profile..but the main game one.
will make it run the script to check and delete the log files if they exist automatically before the game launches.

Edit: dug deeper and found out how to loop through directorys...can delete all logs now
 
Last edited:

Noob536

Member
this should do vivox logs + CONOUT$ files

the filepath must have a trailing slash

Code:
function main()
{
	declare Count int 0
	declare TestFileList filelist 
	;ScanDirectory must contain the trailing slash on the filepath
	declare ScanDirectory filepath script "C:/Program Files (x86)/CCP/EVE/bin/"
	TestFileList:GetFiles[${ScanDirectory}*]
	while (${Count:Inc}<=${TestFileList.Files})
	{
		if ${TestFileList.File[${Count}].Filename.Left[9].Equal[vivoxlog-]}
			rm "${ScanDirectory}${TestFileList.File[${Count}].Filename}"
		if ${TestFileList.File[${Count}].Filename.Left[6].Equal[CONOUT]}
			rm "${ScanDirectory}${TestFileList.File[${Count}].Filename}"
	}
}
Edit: fixed a potential bad path on the delete command (extra slash) and added a path must end with a trailing slash comment.
 
Last edited:
Top Bottom