Hex editing the music?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
nobody3
Rebel Sergeant
Rebel Sergeant
Posts: 188
Joined: Wed Jun 15, 2011 8:30 am

Hex editing the music?

Post by nobody3 »

Hi, I know that there aren't probably many hex editors anymore but I'll ask anyway, oh and don't tell me to use mod tools thanks.

What I want to know if there's a way to switch music with changing the mission.lvl. For example putting mos eisley assault music into certain conquest maps. It may be possible because I've been reading some old topic on this forum and someone implied it may be possible.
I can tell you how to change the music also, if you want.
this is from this topic forums/viewtopic.php?f=27&t=2488

any suggestions welcome, thanks
User avatar
Nedarb7
Lieutenant General
Lieutenant General
Posts: 676
Joined: Sat Sep 22, 2012 3:41 pm

Re: Hex editing the music?

Post by Nedarb7 »

I don't really hex edit the mission.lvl but I think you would have to get the name of the
song: gen_amb_celebDeathmatch
Then search for cor1g_con (example) in the mission.lvl with the hex editor
after that search, search for SetAmbientMusic then you will see the original song name
replace that with the song you want: gen_amb_celebDeathmatch

If this works (it should) it will only work for gcw.

The only problem I see is if the song name is too long but as I said I don't really hex edit
the mission.lvl so I'm not sure.
nobody3
Rebel Sergeant
Rebel Sergeant
Posts: 188
Joined: Wed Jun 15, 2011 8:30 am

Re: Hex editing the music?

Post by nobody3 »

yeah I tried that and after the loading the map crashed
User avatar
Nedarb7
Lieutenant General
Lieutenant General
Posts: 676
Joined: Sat Sep 22, 2012 3:41 pm

Re: Hex editing the music?

Post by Nedarb7 »

Unfortunately the name is probably too long. Maybe other songs will work though.
nobody3
Rebel Sergeant
Rebel Sergeant
Posts: 188
Joined: Wed Jun 15, 2011 8:30 am

Re: Hex editing the music?

Post by nobody3 »

I actually tried that before you suggested it, I came here hoping someone knew another way maybe you have to change something else for it to work
User avatar
Nedarb7
Lieutenant General
Lieutenant General
Posts: 676
Joined: Sat Sep 22, 2012 3:41 pm

Re: Hex editing the music?

Post by Nedarb7 »

This is the only way to hex edit songs as far as I know.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Hex editing the music?

Post by Marth8880 »

I'll try some stuff when I get the time.
Post Reply