Changing sound memory from 32MB to 256MB

Started by Zelenium, September 22, 2024, 01:02:22 PM

Previous topic - Next topic
September 22, 2024, 01:02:22 PM Last Edit: October 29, 2024, 07:34:34 AM by Zelenium
I increased the maximum possible memory pool allocated by the game for sounds from 32 megabytes to 256 (
Current Instruction:
1. Using HexEditor, navigate to address "95AD"
2. Сhange the code from "00 02 E8" to "00 16 E8"
3. Navigate to address "9755"
4. Сhange the code from "00 02 C7 05 38 52 CD 01 80 00 00" to "00 16 C7 05 38 52 CD 01 00 04 00"
5. Now you can use as many sounds as you need for every map

Instruction for SPTest:
1. Using HexEditor, navigate to address "1C96D7"
2. Сhange the code from "00 02 E8" to "00 16 E8"
3. Navigate to address "1C9852"
4. Сhange the code from "68 80 00 00 00 68 00 00 00 02 FF" to "68 00 08 00 00 68 00 00 00 16 FF"
SPTest will show more than 300 megabytes because of one problem (which I'm too lazy to look up how to solve), but it should actually be 256.

Instruction for Steam version:
1. Using HexEditor, navigate to address "30D527"
2. Сhange the code from "00 02 E8" to "00 16 E8"
3. Navigate to address "30D6C4"
4. Сhange the code from "68 80 00 00 00 68 00 00 00 02 FF" to "68 00 08 00 00 68 00 00 00 16 FF"

Instruction for Gog version:
1. Using HexEditor, navigate to address "306D87"
2. Сhange the code from "00 02 E8" to "00 16 E8"
3. Navigate to address "306F24"
4. Сhange the code from "68 80 00 00 00 68 00 00 00 02 FF" to "68 00 08 00 00 68 00 00 00 16 FF"

Instruction for Classic collection "Battlefront1.dll":
1. Using HexEditor, navigate to address "314937"
2. Сhange the code from "00 02 FF" to "00 16 FF"
3. Navigate to address "314AA0"
4. Сhange the code from "B9 80 00 00 00 48 89 44 24 20 41 B8 00 00 00 02 48" to "B9 00 08 00 00 48 89 44 24 20 41 B8 00 00 00 16 48"

Thanks  :cheers:




Quote from: Zelenium on September 22, 2024, 01:02:22 PMI increased the maximum possible memory pool allocated by the game for sounds from 32 megabytes to 256.
Current Instruction:
1. Using HexEditor, navigate to address "95AD"
2. Сhange the code from "00 02 E8" to "00 16 E8"
3. Navigate to address "9755"
4. Сhange the code from "00 02 C7 05 38 52 CD 01 80 00 00" to "00 16 C7 05 38 52 CD 01 00 04 00"
5. Now you can use as many sounds as you need for every map
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

is this for the 1.2 cd and dvd versions ? any chance this might work in the latest steam version ?
mods and maps in progress:<br />--Bf1 expanded edition 3.0 version
-- bf1 tcw battles
-- bf1 seasons mod season 1
-- bf2 expanded edition tbh

September 23, 2024, 01:30:00 PM #3 Last Edit: September 23, 2024, 01:51:45 PM by Giftheck
I've split this off, I think it deserves its own topic so everyone can see it  :cheers:

Quote from: wsa30h on September 23, 2024, 10:56:55 AMis this for the 1.2 cd and dvd versions ? any chance this might work in the latest steam version ?

I'd imagine the addresses for each might be a bit different, but the hex values themselves should be the same for the steam version, so you should be able to find them.
In Progress:
--Phantom Menace Celebration Maps
--SWBFEA Demakes

Completed:
--Star Wars: Battlefront - Anniversary Edition (formerly Star Wars: Battlefront - Legacy)

On Hold:
--Star Wars Battlefront: Elite Squadron For SWBF1

looked for that value it must also be different in steam and gog as no results found.
mods and maps in progress:<br />--Bf1 expanded edition 3.0 version
-- bf1 tcw battles
-- bf1 seasons mod season 1
-- bf2 expanded edition tbh

October 04, 2024, 03:14:37 PM #5 Last Edit: October 04, 2024, 03:18:33 PM by Zelenium
I'll check official steam version
Perhaps there was some changes with patches

much appreciated :D
mods and maps in progress:<br />--Bf1 expanded edition 3.0 version
-- bf1 tcw battles
-- bf1 seasons mod season 1
-- bf2 expanded edition tbh

Updated for SpTest, Steam and Gog last versions.
Let me know if there will be any trouble with this

Please, check if it works (or at least runs):

Instruction for Classic collection "Battlefront1.dll":
1. Using HexEditor, navigate to address "314937"
2. Сhange the code from "00 02 FF" to "00 16 FF"
3. Navigate to address "314AA0"
4. Сhange the code from "B9 80 00 00 00 48 89 44 24 20 41 B8 00 00 00 02 48" to "B9 00 08 00 00 48 89 44 24 20 41 B8 00 00 00 16 48"

classic collection launches and works normally so far will test it harder later on.
mods and maps in progress:<br />--Bf1 expanded edition 3.0 version
-- bf1 tcw battles
-- bf1 seasons mod season 1
-- bf2 expanded edition tbh