We already have the PlayFlavor LUA command for playing sound from the vpaks, however that limits us to the existing voiceovers available in game. Would it be possible to add a LUA command that would pull from an external source? Obviously these soundfiles would have to be passed out in order to hear the voices, but if we could get it to work, well it would go a long way to assist those looking to build custom servers like me!
[REQ] External Media
Moderator: Team Members
- ZexisStryfe
- Posts: 1026
- Joined: Thu Jul 26, 2007 6:39 am
- EQ2Emu Server: Sytherian Legends
- Location: Connecticut
- Contact:
[REQ] External Media
Alright guys,
We already have the PlayFlavor LUA command for playing sound from the vpaks, however that limits us to the existing voiceovers available in game. Would it be possible to add a LUA command that would pull from an external source? Obviously these soundfiles would have to be passed out in order to hear the voices, but if we could get it to work, well it would go a long way to assist those looking to build custom servers like me!
We already have the PlayFlavor LUA command for playing sound from the vpaks, however that limits us to the existing voiceovers available in game. Would it be possible to add a LUA command that would pull from an external source? Obviously these soundfiles would have to be passed out in order to hear the voices, but if we could get it to work, well it would go a long way to assist those looking to build custom servers like me!
- Scatman
- Retired
- Posts: 1688
- Joined: Wed Apr 16, 2008 5:44 am
- EQ2Emu Server: Scatman's Word
- Characters: Scatman
- Location: New Jersey
Re: [REQ] External Media
I'm not sure because there are 2 keys required for each mp3. I think SOE uses an mp3 file type they created to use those keys. Maybe if somehow we can break the encryption that'd be possible. But LE might know better than I.
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: [REQ] External Media
Altering the client to do more than it is designed to do, regardless how simple or hard, may be frowned upon by <you know who (SOE)>
Just my opinion.
Just my opinion.
- Wdneq2
- Retired
- Posts: 94
- Joined: Mon May 18, 2009 5:24 am
- EQ2Emu Server: TessEQ2
- Characters: Lilrat Gnome Assassin
Stok Ogre Bruiser
Flekrad Drow Shadowknight
Re: [REQ] External Media
Not meaning to upset any companies, or if this is actually what you are after ..but i just copied a Bad Company song into the Music folder (inside my EQ2 folder ) and renamed it eq2theme.mp3 ..firing up game i get opening screen , log in ..all like normal but Bad Company playing..
(if this helps kool ..if not sorry )
While looking around the Music folder i looked in the XMI folder , and found for eg. Acrylia_Caverns.xmi
no i hav NFI what .xmi means so i opened it with Notepad , and looks to be seetings for music..in this is a description of instruments and talk of a program called Cakewalk (midi editing program) and discussion of altering sounds and midi tracks..
So maybe modifying the music to some extent is allowed ...just a guess
Found this regarding .xmi
Variation of a standard MIDI file that contains "time quantisized" MIDI information; each note is exactly in sync with a certain beat, such as 1/16, 1/32, or 1/64; XMI files are usually a little smaller than a regular .MIDI files since they do not need to store as much timing information.
Because XMI files are similar to MIDI files, they do not contain any actual audio data.
(if this helps kool ..if not sorry )
While looking around the Music folder i looked in the XMI folder , and found for eg. Acrylia_Caverns.xmi
no i hav NFI what .xmi means so i opened it with Notepad , and looks to be seetings for music..in this is a description of instruments and talk of a program called Cakewalk (midi editing program) and discussion of altering sounds and midi tracks..
So maybe modifying the music to some extent is allowed ...just a guess
Found this regarding .xmi
Variation of a standard MIDI file that contains "time quantisized" MIDI information; each note is exactly in sync with a certain beat, such as 1/16, 1/32, or 1/64; XMI files are usually a little smaller than a regular .MIDI files since they do not need to store as much timing information.
Because XMI files are similar to MIDI files, they do not contain any actual audio data.
aka..Woody
Lilrat Gnome Assassin...poking my nose into as much as possible
Stok Ogre Bruiser... Bashing my way round the place
Flekrad DarkElf Shadowknight .... Being an Inky
Generation whY makes me grey
Lilrat Gnome Assassin...poking my nose into as much as possible
Stok Ogre Bruiser... Bashing my way round the place
Flekrad DarkElf Shadowknight .... Being an Inky
Generation whY makes me grey
- Scatman
- Retired
- Posts: 1688
- Joined: Wed Apr 16, 2008 5:44 am
- EQ2Emu Server: Scatman's Word
- Characters: Scatman
- Location: New Jersey
Re: [REQ] External Media
The files we are talking about are compressed into the VPKs, ones you can't see unless you extract them. SOE actually allows you to customize your public music (themes, combat, etc) and did that on purpose and it was actually in an game update. Zex looking to change/add voiceovers of NPCs.
- ZexisStryfe
- Posts: 1026
- Joined: Thu Jul 26, 2007 6:39 am
- EQ2Emu Server: Sytherian Legends
- Location: Connecticut
- Contact:
Re: [REQ] External Media
I am not sure I understand why this would require altering the client in any way. Obviously the client is already capable of playing mp3s (that is what they are), couldn't the script just call an external one? Course I could be retarded here... 
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Re: [REQ] External Media
At one point in time you were able to simply place a file in the location specified in the extracted path from a vpk file and it would use it. I'm not sure if that is still the case, but the client can play both encrypted and unencrypted files. If the keys are 0 it will try playing it unencrypted. If it can't then you wont hear anything. You can give it a shot if you want, just make the paths similar to an existing one from a working voiceover, place your file there and add an entry for your file. It all depends on whether SOE disabled this option, but it would be nice if we could add additional capabilities. Especially if they cancel EQ2 like the matrix online.
-
Image
- Retired
- Posts: 251
- Joined: Sun Oct 26, 2008 10:07 am
Re: [REQ] External Media
None of the new music or more recent music is locked into those files, it may be possible.. I am not sure if we can trigger the normal music, but all the input for PlayVoice, PlayFlavor pass in a character array which suggests we can specify whatever, it is possible the packet may have some differences such as maybe the keys are set to 0 or something, would require trial and error or if you want to try disassembling EQ2 
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: [REQ] External Media
Hey if someone can crack the notorious "key1" "key2" thing, we would no longer be limited in our development if in-game PlayFlavors.
As for my opinion on customizing voice-overs, the only way I knew how this could work (non-music play) was to somehow change the VPKs, and that is what I was saying was a no-no.
If there is another way, I am oblivious to it, and have no problems if SOE allows us to send a link to a path within the client where a custom MP3 can play a sound bite. I just highly doubt they do, because now - wouldn't that just ruin their game experience if we could overlay all the NPCs in EQ2 with "What I got I gotta get it, put it in you!!" sound bites?
As for my opinion on customizing voice-overs, the only way I knew how this could work (non-music play) was to somehow change the VPKs, and that is what I was saying was a no-no.
If there is another way, I am oblivious to it, and have no problems if SOE allows us to send a link to a path within the client where a custom MP3 can play a sound bite. I just highly doubt they do, because now - wouldn't that just ruin their game experience if we could overlay all the NPCs in EQ2 with "What I got I gotta get it, put it in you!!" sound bites?
-
Image
- Retired
- Posts: 251
- Joined: Sun Oct 26, 2008 10:07 am
Re: [REQ] External Media
Well the thing is the server still tells the client which mp3 to play, so they can't change existing ones unless they change the packet before the client processes it really..
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: [REQ] External Media
The reason I was looking at the UIBuilder was because I swore I saw something in the UIBuilder doc about replacing sounds... and sure as heck, there it is.
There's a table in that doc (inside the UIBuilder.zip) that lists the (current) sound names. Not sure how old that doc is, but if it's still packaged, one would think it still works that way.5 Sounds
Any of the following sounds can be replaced per skin or per client. The list is definitely subject to change.
To replace a sound, add a wave file with the sound name in the sounds subdirectory.
%EQ2%/UI/Default/Sounds – to replace the sound for all skins on the client
%EQ2%/UI/<skinname>/Sounds – to replace the sounds for a particular skin
Who is online
Users browsing this forum: No registered users and 0 guests


