Audio Module Rewrite mcisendstring
#21
Growl....

I spent some time looking at the script combination when I got home. It's been some time since I worked upon the Vehicles system (though I do wish for a Lycan/Vehicles combo).

Between the two, MCISendString allows you to create multiple audio channels, so you can have two BGM pieces playing, more ME Events, and so on. But to do that, I had to convert a couple specific Game_System variables into arrays. UNFORTUNATELY, Vehicles uses the unaltered original versions of these variables. DOH!

So, I spent some time... (to figure out what the HECK was going on)... and made a patch. It requires rewrites of a number of methods in Vehicles. Have the entire MCISendString system above the Vehicles system, and place the below patch .... um... below. Winking

The Patch

Don't ask why, but Ambient Audio Sounds... aka the Background Sounds (BGS) files do have a weird issue with the two combined. To have any... ANY... BGS files playing, you will need to have them in your project's Audio\BGS folder and NOT part of your RTP. I mean, you cannot have '008-Wave01' in BOTH your RTP and project folder. Your project's BGS files must have names NOT RTP.

Weird.

OH, an edit of MCISendString will occur in (hopefully) the near future. A minor change. But nothing that would have fixed this issue.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#22
The patch fixed the problem with the Vehicle which is great, however the save file script error is still present. That aside, thanks again for your amazing work DerVVulfman. I will look forward to see changes that will make it compatible with other scripts.
Reply }
#23
Okay... Got it. IT"S SO WEIRD that these issues do not occur when MCI is used with Vehicles!!!!! Oh, before you say returning-from-battle has an issue... I took care of that too. Still weird, it doesn't happen otherwise... So the patch is now version 2.0

Meanwhile...

An official
BUMP
to version 1.3
The upgrade is very minor, having to deal with differences between RTP and project folders. It has nothing to do with Vehicles.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#24
I would love to use this but I have never used scripts in XP so far and am completely overwhelmed with this, even with the tutorial. My thought was to just copy the Scripts file and put it into my game as I have not changed anything about them before, that should work, shouldn't it? But for the life of me, I can't find the Editor. I don't know if I just went completely blind but I don't know where it is supposed to be? The game files included are just the audio demo for the script.
Reply }
#25
Three scripts are in the demo, and in order:
  • Audio Class Rewrite Editor - This is the editor. It has only one configuration value which turns it on/off. Currently turned off by being set to 'false'
  • Audio Class Rewrite - This is the main engine of the system, and redefines a number of innate features within RPGMaker XP. It has three configurable values, each indicating how many channels of audio you want, these being the only thing you touch in this script. Not many would want three background music channels, but the demo was set up that way. You may just want to set all three entries to '1'. BUT having two or more overlapping ambient background sounds (BGS) playing simultaneously doesn't sound bad.
  • Audio Class Game_System - This is the SAMPLE that is used by the demo. It has loop points set for each configured/edited audio file.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }
#26
Oh, thank you! I didn't really look at the scripts themselves, so that's why I didn't find the Editor. But from the tutorial I already understood the basics with the Game System. I hope, I manage to do this right, it sounds really useful! I like mapping with XP a lot but I never did much with it since I missed the looping music thing from VX Ace on.
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Kichi's Kached Audio DerVVulfman 2 8,595 08-21-2023, 11:01 PM
Last Post: DerVVulfman
   Missing Audio Replacer LiTTleDRAgo 1 5,886 06-11-2017, 12:25 AM
Last Post: Whisper
   Super Simple MCISendString DerVVulfman 0 4,894 03-09-2017, 04:52 AM
Last Post: DerVVulfman
   Audio Settings EJlol 1 6,532 07-03-2012, 09:36 PM
Last Post: Erechel
   NRGSS Module Function Library Narzew 2 8,229 05-12-2012, 11:07 AM
Last Post: Narzew
   JEM: Jennifer's Entry Module DerVVulfman 0 5,497 10-14-2010, 04:30 AM
Last Post: DerVVulfman
   Module VirtualKeys zecomeia 0 5,236 03-14-2010, 01:25 AM
Last Post: zecomeia
   Audio File Encryption Dark-Yen 0 5,387 03-08-2008, 06:35 AM
Last Post: Dark-Yen
   Timer Rewrite Mac 0 4,913 03-08-2008, 05:21 AM
Last Post: Mac
   Profession/Offices Module EX-PLUS! Mephistox 0 5,024 03-07-2008, 06:54 AM
Last Post: Mephistox



Users browsing this thread: 4 Guest(s)