Jump to content

SOUNDCLEAN: Difference between revisions

From ModEnc²
ATHSE (talk | contribs)
Created page with "{{Guideheader |ra2=yes |yr=yes }} SOUNDCLEAN is a house-keeping script for audio for {{ra2}} and {{yr}} mods, it doesn't specifically look for errors, just organizes {{ini|sound}}. It requires {{ini|sound}}, and audio.idx (located in language.mix -> audio.mix) extracted into the game directory. Like other scripts, it is run via a batchfile on Windows, and creates a sndclean.log file with a record of the changes, along with a newly cleaned sound.ini replacement. Before u..."
 
ATHSE (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
|yr=yes
|yr=yes
}}
}}
SOUNDCLEAN is a house-keeping script for audio for {{ra2}} and {{yr}} mods, it doesn't specifically look for errors, just organizes {{ini|sound}}. It requires {{ini|sound}}, and audio.idx (located in language.mix -> audio.mix) extracted into the game directory. Like other scripts, it is run via a batchfile on Windows, and creates a sndclean.log file with a record of the changes, along with a newly cleaned sound.ini replacement.
SOUNDCLEAN is a house-keeping script for audio for {{ra2}} and {{yr}} mods, it doesn't specifically look for errors, just organizes {{ini|sound}}. It requires that and audio.idx (located in language.mix -> audio.mix) extracted into the game directory. Like other scripts, it is run via a batchfile on Windows, and creates a sndclean.log file with a record of the changes, along with a newly cleaned {{ini|sound}} replacement.<br><br>


Before using SOUNDCLEAN, it should be extracted to the game directory, and a copy of the TCL runtimes (version 8.3+) have to be installed, available through Activestate, link below.<br><br>
Before using SOUNDCLEAN, it should be extracted to the game directory, and a copy of the TCL runtimes (version 8.3+) have to be installed, available through Activestate, link below.<br><br>
   
   
To configure SOUNDCLEAN to run correctly, and read the ini/idx and save the log to the right directory, the sndcheck.tcl will have to be edited to manually set the path for the game, the specific filenames used by the mod, and any optional settings. Pay close attention to the 'ra2dir' example path, TCL doesn't support backslash for path navigation, it uses the UNIX system of forwardslash.<br><br>
To configure SOUNDCLEAN to read the INI (and IDX) and save the log to the right directory, the sndcheck.tcl will have to be edited to manually set the path for the game, the specific filenames used by the mod, and any optional settings. Pay close attention to the 'ra2dir' example path, TCL doesn't support backslash for path navigation, it uses the UNIX system of forwardslash.<br><br>


SOUNDCLEAN can be set to backup the old sound.ini with a timestamp and make a new cleaned version, or it can be set to create sound(NEW).ini while preserving the original file. Being as it is a rather simple process of cleaning the ini, the likelihood of erroneous changes is virtually zero, provided the sound.ini was in good order already. For error checking sound.ini (and the rest of a mod relating to sounds) get [[SOUNDCHECK]].<br><br>
SOUNDCLEAN can be set to backup the old {{ini|sound}} with a timestamp and make a new cleaned version, or it can be set to create <tt>sound(NEW).ini</tt> while preserving the original file. Being as it is a rather simple process of cleaning the INI, the likelihood of erroneous changes is virtually zero, provided the {{ini|sound}} was in good order already. For error checking {{ini|sound}} (and the rest of a mod relating to sounds) get [[SOUNDCHECK]].<br><br>


==Links==
==Links==

Latest revision as of 14:39, 13 April 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge

SOUNDCLEAN is a house-keeping script for audio for Red Alert 2 and Yuri's Revenge mods, it doesn't specifically look for errors, just organizes sound(md).ini. It requires that and audio.idx (located in language.mix -> audio.mix) extracted into the game directory. Like other scripts, it is run via a batchfile on Windows, and creates a sndclean.log file with a record of the changes, along with a newly cleaned sound(md).ini replacement.

Before using SOUNDCLEAN, it should be extracted to the game directory, and a copy of the TCL runtimes (version 8.3+) have to be installed, available through Activestate, link below.

To configure SOUNDCLEAN to read the INI (and IDX) and save the log to the right directory, the sndcheck.tcl will have to be edited to manually set the path for the game, the specific filenames used by the mod, and any optional settings. Pay close attention to the 'ra2dir' example path, TCL doesn't support backslash for path navigation, it uses the UNIX system of forwardslash.

SOUNDCLEAN can be set to backup the old sound(md).ini with a timestamp and make a new cleaned version, or it can be set to create sound(NEW).ini while preserving the original file. Being as it is a rather simple process of cleaning the INI, the likelihood of erroneous changes is virtually zero, provided the sound(md).ini was in good order already. For error checking sound(md).ini (and the rest of a mod relating to sounds) get SOUNDCHECK.

Links