Jump to content



Photo

New, Easier way to make a walk-up music file


  • Please log in to reply
64 replies to this topic

#1 hyman

hyman

    Rookie

  • Modders
  • 95 posts

Posted 05 March 2007 - 08:45 PM

It sounds much harder than it really is. Once you get it set up, most of the work is done automatically and should take about a half hour or less to replace all of the walk-up ditties. You will need some basic computer knowledge to accomplish it.

Download and install the following programs:
NHL07AsfStudio.rar
MultiRen

Create a new folder and copy 86 of your favorite MP3's into it. Also copy the sx.exe file from the NHL07AsfStudio folder to this new folder. Open notepad and paste the following into a new file:

sx -sndstream *.mp3 -sa300 -crop1,335000 -fadeout1000 -=*.asf

Save it as sxbatch.bat into this same folder.

Click on this batch file to run it. It will take a few minutes or longer depending on your computer. You can go do something else while its working.

When its complete, select all 86 asf files(not the mp3 files) and right click. Left click on Multiple Rename and put in the following parameters:

Base Name Template: batdit_000n
Extension Template: asf
Digits: 2
Start: 1

Click Preview New Names and see that the files are named batdit_00001.asf, batdit_00002.asf, etc. then click Apply New Names.
Leave this for now. We'll return to it in a minute.

Go to your dataaudioaems folder and copy the batdit.abk file to the dataaudiocdaems folder.
Now run the program named NHL07_Ast_Pack_11.exe. Click the unpack icon, navigate to the dataaudiocdaems and open the batdit.abk file. After it completes unpacking, you will now have a subfolder named batdit with 86 asf files in it. You only need to do this step once. If you want to change your songs later, you can skip this and go to the next step.

Go back to the folder that you created previously and copy the 86 asf files from there to this batdit subfolder overwriting the current files. Go back to the NHL07_Ast_Pack_11 program and click the pack icon. Navigate to the dataaudiocdaemsbatdit folder and click OK. Now just go to the dataaudiocdaems folder and copy the batdit.abk file back to the dataaudioaems folder and you are done.

Notes:
Once you have used this program, you cannot use WUMCHAN for you walk-up music any more.

Sometimes the new abk and ast files will have an extra "_" at the end, i.e. batdit_.abk and batdit_.ast. Just rename the files and remove the underscore.

You may want to experiment with changing the parameters in the sxbatch.bat file. Here is an explanation of what I have done:

-sa300 raises the volume 3X
-crop1,335000 extracts approximately the first 8 seconds of the song. I'm not sure if your mp3 is encoded at a different bit rate, this number could be different.
-fadeout1000 fades out the last second of the clip

Someone smarter than me might be able to write a batch file to rename the asf files rather than using the Muliple Rename program, which could simplify the process even more.

The NHL07AsfStudio can also be used with any of the other audio files in the aems folder.
  • 0

#2 Hory

Hory

    MVP

  • Modders
  • 2,920 posts

Posted 05 March 2007 - 08:56 PM

This looks very interesting.
Being able to unpack the .abk files is something I've wanted for a while,
unfortunately the link for asfstudio is down :(
  • 0

#3 UncleMo

UncleMo

    Hall of Famer

  • Contributors +
  • 6,371 posts
  • Gender:Male

Posted 05 March 2007 - 09:03 PM

Reading that hurts my brain.
Are you saying it automates the hex editing portion so that there is no popping and no WUMCHAN necessary?
  • 0

#4 hyman

hyman

    Rookie

  • Modders
  • 95 posts

Posted 05 March 2007 - 09:11 PM

ASFStudio link is working for me. Try again. I didn't think it would be right to upload someone else's mod to this site.


Mo,
No hex editing is necessary. This program will change the abk file also, which is a sort of index file, so that the size of each asf file in the ast file doesn't matter anymore. The batch file will automatically create each ditty with a one second fadeout, so no popping. Reading it does hurt your brain, but it is really easy to do.
  • 0

#5 UncleMo

UncleMo

    Hall of Famer

  • Contributors +
  • 6,371 posts
  • Gender:Male

Posted 05 March 2007 - 09:21 PM

The aforementioned batch files re: fading out or fading in, and cropping-you have to make your own batch files, correct? I suck.
  • 0

#6 Hory

Hory

    MVP

  • Modders
  • 2,920 posts

Posted 05 March 2007 - 09:23 PM

ASFStudio link is working for me. Try again. I didn't think it would be right to upload someone else's mod to this site.

It's definitely not working for me, I get a 404 error, maybe they are blocking my isp or something.
  • 0

#7 hyman

hyman

    Rookie

  • Modders
  • 95 posts

Posted 05 March 2007 - 09:56 PM

His website is not working for me either right now, so I am uploading the program to MVPMods. Download it at this link
  • 0

#8 Hory

Hory

    MVP

  • Modders
  • 2,920 posts

Posted 05 March 2007 - 10:08 PM

Thanks a lot for posting the file and the guide,
this could lead to some interesting possibilities for other audio files in the game as well as the walk-up music.
  • 0

#9 UncleMo

UncleMo

    Hall of Famer

  • Contributors +
  • 6,371 posts
  • Gender:Male

Posted 06 March 2007 - 01:09 AM

I almost cried.
  • 0

#10 HardcoreLegend

HardcoreLegend

    MVP

  • Modders
  • 3,265 posts

Posted 06 March 2007 - 01:13 AM

I have no idea what any of you are talking about but if this makes it even remotely easier to put Vin Scully's audio files into the game I'm excited.

Otherwise, I'll just go back to bed.
  • 0

#11 Reale24

Reale24

    Rookie

  • Members
  • 45 posts

Posted 10 March 2007 - 09:14 PM

How do I transfer my Songs from Itunes to the "New Folder"?
  • 0

#12 hyman

hyman

    Rookie

  • Modders
  • 95 posts

Posted 10 March 2007 - 10:33 PM

Reale24,
I'm not to familiar with Itunes, but I'm sure that you can just right click on the mp3 and select "copy" and then open the new folder, right click and then select paste. If the songs are only on your Ipod and not your computer's hard drive anymore, you will probably have to transfer them back to your computer first, which I don't think Itunes allows you to do, but you can probably google some Itunes alternatives.
  • 0

#13 ronmexico

ronmexico

    MVP

  • Contributors +
  • 3,424 posts
  • Location:Queens, NY minutes from Shea, Stony Brook when out for college (M-F and every other Sat and Sun) :P
  • Interests:Mets, Jets, Rangers, Knicks, being embarrassed about my teams.

Posted 10 March 2007 - 11:58 PM

You can use Copypod to get files off of your ipod.
  • 0

#14 D-Unit

D-Unit

    Hall of Famer

  • Contributors +
  • 6,757 posts
  • Location:United States

Posted 11 March 2007 - 12:20 AM

Sounds great, but I lost you at the "You will need some basic computer knowledge to accomplish it." part...
  • 0

#15 Hory

Hory

    MVP

  • Modders
  • 2,920 posts

Posted 15 March 2007 - 06:49 PM

Could this be stickyed please?
  • 0

#16 compmaniac

compmaniac

    All-Star

  • Modders
  • 1,261 posts
  • Gender:Male
  • Location:MA
  • Interests:piano, violin, math, physics, basketball

Posted 28 March 2007 - 07:29 PM

How do you read the .abk or .asf files? (Or convert them to .mp3, etc.)

Thanks.
  • 0

#17 northpaw

northpaw

    Rookie

  • Members
  • 346 posts

Posted 19 May 2007 - 12:23 AM

do your mp3's have to be edited to start times and fade in's and outs and echos>?
  • 0

#18 hyman

hyman

    Rookie

  • Modders
  • 95 posts

Posted 19 May 2007 - 01:11 PM

The parameters in my batch file will extract the first 8 seconds of the mp3 and fades out the last second at the end, so you do not have to edit the mp3. You can add the -reverb parameter to the batch file to add echo.

From sx help:
-reverb<preset,level>
Apply given reverb type to sample.
"preset" - Specify reverb preset. Allowable range is 0 .. 0.
"level" - Specify reverb level. Allowable range is 0 .. 127.
  • 0

#19 northpaw

northpaw

    Rookie

  • Members
  • 346 posts

Posted 20 May 2007 - 06:42 PM

follow your directions but when i played the game their was no walk up music at all...help?
  • 0

#20 hyman

hyman

    Rookie

  • Modders
  • 95 posts

Posted 20 May 2007 - 07:17 PM

First, make sure you have the file named batdit.ast in your C:Program FilesEA SPORTSMVP Baseball 2005dataaudiocdaems folder and the file named batdit.abk in your C:Program FilesEA SPORTSMVP Baseball 2005dataaudioaems folder. Make sure there are no underscores in the file name. They should also have the current date if you've just modified them.

There is a line in certain datafiles that turns off walkup music. Try running the game with the default datafile to see if that is cause.

Look in the batdit subfolder that you created and make sure there are 86 asf files of similar size. Download the ASF player at http://www.kulibin.r...06ASFPlayer.rar
and try to play some the batdit_000x.asf files (x=the file number).

Post back when you're finished and let me know the results.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users