GithubHelp home page GithubHelp logo

wrong sound? about ra2 HOT 16 CLOSED

openra avatar openra commented on August 30, 2024
wrong sound?

from ra2.

Comments (16)

abcdefg30 avatar abcdefg30 commented on August 30, 2024

Hm, I can' reproduce it somehow, are you using the latest version of both OpenRA and this repo?

from ra2.

yaaaaa avatar yaaaaa commented on August 30, 2024

yes it is

from ra2.

penev92 avatar penev92 commented on August 30, 2024

What version (language-wise) of RA2 are you using? It is possible the files don't match those of the en-US version, which is probably what most of the devs are running, so there is a bogus file, or a file that the code can't handle.

from ra2.

yaaaaa avatar yaaaaa commented on August 30, 2024

I use 7Wolf team localization MIX files.
http://rutracker.org/forum/viewtopic.php?t=5180073
Until recently, everything worked perfectly with this localization.

from ra2.

yaaaaa avatar yaaaaa commented on August 30, 2024

How can I fix MIX file? umenucl1.wav must be in mix? what does this error mean?

from ra2.

yaaaaa avatar yaaaaa commented on August 30, 2024

Just now, I redownload last OpenRA bleed and RA2 mod, and now it out of memory crash:

Red Alert 2 Mod at Version {DEV_VERSION}
on map 844106135f7993f089abf392d5371af5b0f002d7 (Blank by Matthias Mailänder).
Operating System: Windows (Microsoft Windows NT 6.2.9200.0)
Runtime Version: .NET CLR 4.0.30319.42000
Exception of type System.OutOfMemoryException: Выдано исключение типа "System.OutOfMemoryException".
в OpenRA.StreamExts.ReadBytes(Stream s, Int32 count) в d:\Games\OpenRA-bleed\OpenRA.Game\StreamExts.cs:строка 25
в OpenRA.FileFormats.WavReader.LoadSound(Stream s) в d:\Games\OpenRA-bleed\OpenRA.Game\FileFormats\WavLoader.cs:строка 150
в OpenRA.FileFormats.WavFormat.<>c__DisplayClass3.<.ctor>b__0() в d:\Games\OpenRA-bleed\OpenRA.Game\FileFormats\WavLoader.cs:строка 72
в System.Lazy1.CreateValue() в System.Lazy1.LazyInitValue()
в System.Lazy1.get_Value() в OpenRA.FileFormats.WavFormat.GetPCMInputStream() в d:\Games\OpenRA-bleed\OpenRA.Game\FileFormats\WavLoader.cs:строка 56 в OpenRA.Sound.LoadSound(ISoundLoader[] loaders, IReadOnlyFileSystem fileSystem, String filename) в d:\Games\OpenRA-bleed\OpenRA.Game\Sound\Sound.cs:строка 77 в OpenRA.Sound.<>c__DisplayClass1.<Initialize>b__0(String s) в d:\Games\OpenRA-bleed\OpenRA.Game\Sound\Sound.cs:строка 87 в OpenRA.Exts.GetOrAdd[K,V](Dictionary2 d, K k, Func2 createFn) в d:\Games\OpenRA-bleed\OpenRA.Game\Exts.cs:строка 131 в OpenRA.Primitives.Cache2.get_Item(T key) в d:\Games\OpenRA-bleed\OpenRA.Game\Primitives\Cache.cs:строка 36
в OpenRA.Sound.PlayPredefined(Ruleset ruleset, Player p, Actor voicedActor, String type, String definition, String variant, Boolean relative, WPos pos, Single volumeModifier, Boolean attenuateVolume) в d:\Games\OpenRA-bleed\OpenRA.Game\Sound\Sound.cs:строка 373
в OpenRA.Sound.PlayNotification(Ruleset rules, Player player, String type, String notification, String variant) в d:\Games\OpenRA-bleed\OpenRA.Game\Sound\Sound.cs:строка 388
в OpenRA.Mods.Common.Widgets.ButtonWidget.HandleMouseInput(MouseInput mi)
в OpenRA.Widgets.Widget.HandleMouseInputOuter(MouseInput mi) в d:\Games\OpenRA-bleed\OpenRA.Game\Widgets\Widget.cs:строка 377
в OpenRA.Widgets.Widget.HandleMouseInputOuter(MouseInput mi) в d:\Games\OpenRA-bleed\OpenRA.Game\Widgets\Widget.cs:строка 368
в OpenRA.Widgets.Widget.HandleMouseInputOuter(MouseInput mi) в d:\Games\OpenRA-bleed\OpenRA.Game\Widgets\Widget.cs:строка 368
в OpenRA.Widgets.Widget.HandleMouseInputOuter(MouseInput mi) в d:\Games\OpenRA-bleed\OpenRA.Game\Widgets\Widget.cs:строка 368
в OpenRA.Widgets.Widget.HandleMouseInputOuter(MouseInput mi) в d:\Games\OpenRA-bleed\OpenRA.Game\Widgets\Widget.cs:строка 368
в OpenRA.Widgets.Ui.HandleInput(MouseInput mi) в d:\Games\OpenRA-bleed\OpenRA.Game\Widgets\Widget.cs:строка 91
в OpenRA.DefaultInputHandler.<>c__DisplayClass7.b__6() в d:\Games\OpenRA-bleed\OpenRA.Game\Input\InputHandler.cs:строка 50
в OpenRA.Sync.CheckSyncUnchanged[T](World world, Func`1 fn) в d:\Games\OpenRA-bleed\OpenRA.Game\Sync.cs:строка 183
в OpenRA.DefaultInputHandler.OnMouseInput(MouseInput input) в d:\Games\OpenRA-bleed\OpenRA.Game\Input\InputHandler.cs:строка 50
в OpenRA.Platforms.Default.Sdl2Input.PumpInput(IInputHandler inputHandler) в d:\Games\OpenRA-bleed\OpenRA.Platforms.Default\Sdl2Input.cs:строка 87
в OpenRA.Platforms.Default.Sdl2GraphicsDevice.PumpInput(IInputHandler inputHandler) в d:\Games\OpenRA-bleed\OpenRA.Platforms.Default\Sdl2GraphicsDevice.cs:строка 354
в OpenRA.Renderer.EndFrame(IInputHandler inputHandler) в d:\Games\OpenRA-bleed\OpenRA.Game\Renderer.cs:строка 153
в OpenRA.Game.RenderTick() в d:\Games\OpenRA-bleed\OpenRA.Game\Game.cs:строка 583
в OpenRA.Game.Loop() в d:\Games\OpenRA-bleed\OpenRA.Game\Game.cs:строка 693
в OpenRA.Game.Run() в d:\Games\OpenRA-bleed\OpenRA.Game\Game.cs:строка 711
в OpenRA.Program.Run(String[] args) в d:\Games\OpenRA-bleed\OpenRA.Game\Support\Program.cs:строка 118
в OpenRA.Program.Main(String[] args) в d:\Games\OpenRA-bleed\OpenRA.Game\Support\Program.cs:строка 40

from ra2.

yaaaaa avatar yaaaaa commented on August 30, 2024

It is happening when I try to click any button in main menu

from ra2.

abcdefg30 avatar abcdefg30 commented on August 30, 2024

Sorry, I don't think we can really help you there. :(

What happens when you replace umenucl1 in notifications.yaml by e.g. uradaron?

from ra2.

yaaaaa avatar yaaaaa commented on August 30, 2024

Yes!! Its Work! Thank You Very Mutch!!

from ra2.

GraionDilach avatar GraionDilach commented on August 30, 2024

umenucl1 is likely to end up too short when IMA'd and corrupted due to it. I'm taking a guess here with the 7Wolf localization did IMA'd this sound, but yeah, IMA ADPCM encoding on less-than-around-half-second will have issues.

from ra2.

GraionDilach avatar GraionDilach commented on August 30, 2024

On a second thought, throwing an umenucl1.wav file to /bits/ should also fix this crash.

from ra2.

yaaaaa avatar yaaaaa commented on August 30, 2024

Thank You! =)

from ra2.

abcdefg30 avatar abcdefg30 commented on August 30, 2024

I think we're done here then. Nothing much we can do about that except suggestion workarounds.

from ra2.

Icenowy avatar Icenowy commented on August 30, 2024

@abcdefg30 I also met this problem. My mix files are the official Origin version (English).

from ra2.

abcdefg30 avatar abcdefg30 commented on August 30, 2024

Hm, that is weird. Did you try renaming like I suggested in #152 (comment)?

from ra2.

Icenowy avatar Icenowy commented on August 30, 2024

@abcdefg30 I did it and it's OK. It seems that the problem is caused by some umenucl1.wav shipped with Yuri's Revenge. Maybe the file have two official versions -- one OK, one broken. I have now a right version placed in bits/

from ra2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.