Memory Pull Error [Solved]
Moderator: Moderators
-
- Sergeant Major
- Posts: 234
- Joined: Sat Feb 04, 2017 5:52 pm
- xbox live or psn: No gamertag set
- Location: Milky Way, Solar System, Earth, Antarctica
Memory Pull Error [Solved]
Is there a memory pull code for the .lua script that allows a lot of custom weapon sounds that are loud?
Last edited by LitFam on Tue Aug 01, 2017 5:39 am, edited 1 time in total.
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Memory Pull Error
No, the sound memory limit is static, it can't be altered by any means. With that said, the loudness of sounds are unrelated to memory - it's completely dependent on the WAV files and the parameters in the sound properties.
-
- Sergeant Major
- Posts: 234
- Joined: Sat Feb 04, 2017 5:52 pm
- xbox live or psn: No gamertag set
- Location: Milky Way, Solar System, Earth, Antarctica
Re: Memory Pull Error
So all I can do is lower the sound in the .wav files and hope it doesn't crash?
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Memory Pull Error
Working with sound rarely causes crashing issues - but yes.
-
- Sergeant Major
- Posts: 234
- Joined: Sat Feb 04, 2017 5:52 pm
- xbox live or psn: No gamertag set
- Location: Milky Way, Solar System, Earth, Antarctica
Re: Memory Pull Error
May I ask how do I convert a .mp3 file to a .wav with the right properties I followed this tutorial http://www.gametoast.com/viewtopic.php?f=27&t=6166, however, I don't know how to convert the .wav to a 352 kbps, 16 bit, mono, 22 kHz PCM mode.
Does anyone know how to convert .mp3 file to a .wav file with the properties of (352 kbps, 16 bit, mono, 22 kHz PCM mode)?
Does anyone know how to convert .mp3 file to a .wav file with the properties of (352 kbps, 16 bit, mono, 22 kHz PCM mode)?
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Memory Pull Error
WAV files do NOT need to be 22 kHz.
This is a terrible bit of misinformation that has been floating around for far too long. With that said, sound effects should generally be around mono and 32 kHz, and music and ambience should almost always be stereo and 44 or 48 kHz.
To export them as such in Audacity, you simply import your sound file, go to Tracks > Stereo Track to Mono if you're converting the sound to mono (so DON'T do that for music or ambience), then set the Project Rate at the bottom-left corner of the application to the desired sample rate in Hz (so 32 kHz would be 32000 Hz). Then, go to File > Export Audio and select "WAV (Microsoft) signed 16-bit PCM", and finally click Save.
See here for more sound guidelines: http://www.gametoast.com/viewtopic.php?f=27&t=28101
This is a terrible bit of misinformation that has been floating around for far too long. With that said, sound effects should generally be around mono and 32 kHz, and music and ambience should almost always be stereo and 44 or 48 kHz.
To export them as such in Audacity, you simply import your sound file, go to Tracks > Stereo Track to Mono if you're converting the sound to mono (so DON'T do that for music or ambience), then set the Project Rate at the bottom-left corner of the application to the desired sample rate in Hz (so 32 kHz would be 32000 Hz). Then, go to File > Export Audio and select "WAV (Microsoft) signed 16-bit PCM", and finally click Save.
See here for more sound guidelines: http://www.gametoast.com/viewtopic.php?f=27&t=28101
Last edited by Marth8880 on Mon Jul 31, 2017 6:07 pm, edited 2 times in total.
-
- Sergeant Major
- Posts: 234
- Joined: Sat Feb 04, 2017 5:52 pm
- xbox live or psn: No gamertag set
- Location: Milky Way, Solar System, Earth, Antarctica
Re: Memory Pull Error
And how would you export it to .wav for weapon sounds?
Do I do this as you stated?
go to Tracks > Stereo Track to Mono if you're converting the sound to mono (so DON'T do that for music or ambience), then set the Project Rate at the bottom-left corner of the application to the desired sample rate in Hz (so 32 kHz would be 32000 Hz). Then, go to File > Export Audio and select "WAV (Microsoft) signed 16-bit PCM", and finally click Save.
Do I do this as you stated?
go to Tracks > Stereo Track to Mono if you're converting the sound to mono (so DON'T do that for music or ambience), then set the Project Rate at the bottom-left corner of the application to the desired sample rate in Hz (so 32 kHz would be 32000 Hz). Then, go to File > Export Audio and select "WAV (Microsoft) signed 16-bit PCM", and finally click Save.
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
-
- Sergeant Major
- Posts: 234
- Joined: Sat Feb 04, 2017 5:52 pm
- xbox live or psn: No gamertag set
- Location: Milky Way, Solar System, Earth, Antarctica
Re: Memory Pull Error
I still got a crash should I post my log?
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Memory Pull Error
Yes, of course. Go ahead.
-
- Sergeant Major
- Posts: 234
- Joined: Sat Feb 04, 2017 5:52 pm
- xbox live or psn: No gamertag set
- Location: Milky Way, Solar System, Earth, Antarctica
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Memory Pull Error
Hidden/Spoiler:
You also need to allocate the SoldierAnimation memory pool in your Lua mission script:
Code: Select all
Message Severity: 2
C:\Battlefront2\main\RedEngineFL\Memory\RedMemoryPool.cpp(170)
Memory pool "SoldierAnimation" is full; raise count to at least 656
-
- Sergeant Major
- Posts: 234
- Joined: Sat Feb 04, 2017 5:52 pm
- xbox live or psn: No gamertag set
- Location: Milky Way, Solar System, Earth, Antarctica
Re: Memory Pull Error
Ok I fixed it, expect this what is the animmap
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Memory Pull Error
Is it no longer crashing? If so, you probably needn't worry about the animmap issue.
-
- Sergeant Major
- Posts: 234
- Joined: Sat Feb 04, 2017 5:52 pm
- xbox live or psn: No gamertag set
- Location: Milky Way, Solar System, Earth, Antarctica
Re: Memory Pull Error
It's fixed thanks Marth!