ArcEmu: [tutorial]dbc Editing - ArcEmu

Jump to content

Toggle shoutbox Lastest Announcements

dfighter  : (07 December 2014 - 12:06 PM) Arcemu is in hibernation mode, please read http://arcemu.org/fo...showtopic=26903
dfighter  : (01 January 2013 - 05:56 PM) Arcemu wishes you all a happy new year!
Hasbro  : (12 September 2012 - 10:01 AM) Please excuse our outage from the web! Our web host had a major malfunction!
dfighter  : (01 September 2012 - 04:05 PM) Since the spam bots just don't want to stop, I've enabled admin verification when registering.
dfighter  : (23 January 2012 - 09:56 PM) Please note that from now on you will need to confirm your email on the wiki in order to edit it!
Hasbro  : (31 December 2011 - 12:50 PM) Happy New Years all!
Navid  : (26 December 2011 - 04:09 AM) Merry Christmas !!!!!! Happy holidays all :)
WAmadeus  : (24 December 2011 - 03:54 PM) Merry Christmas to all!
dfighter  : (24 December 2011 - 11:05 AM) The Arcemu team wishes y'all a Merry Christmukkah!
Hasbro  : (05 October 2011 - 12:53 PM) Looking for web designers for upcoming web related project. If you're interested in designing user interfaces contact me
dfighter  : (02 September 2011 - 03:47 PM) So who here wants vehicles in Arcemu? :P http://arcemu.org/fo...showtopic=25440
Hasbro  : (14 August 2011 - 03:25 PM) Join us on irc, grab an irc client and connect to irc.freenode.net join channel #arcemu /server irc.freenode.net:6667 /join #arcemu
jackpoz  : (03 August 2011 - 05:33 AM) to all Lua Engine (old one) users: please check http://arcemu.org/fo...showtopic=25274
Hasbro  : (20 May 2011 - 05:27 PM) Looking for people experienced with CMake configuration and setup! Contact me asap
Hasbro  : (15 May 2011 - 05:03 PM) ArcEmu is recruiting C++ programmers, contact Hasbro if interested.
paroxysm  : (03 May 2011 - 06:26 PM) Updated luabridge gossip example to describe the whole gossip creation process rather than just how to create menu. Gossip tutorial
paroxysm  : (23 April 2011 - 11:35 AM) Lua writers can refer to the Luabridge Tutorials section in the Wiki to learn how to write gossip code correctly.
Hasbro  : (20 April 2011 - 05:22 PM) Thank you for your continuous contribution of bug reports, we are working on them.
Hasbro  : (17 April 2011 - 03:20 AM) Please consider donating to support our bills. Donations can be sent using PayPal to donations@arcemu.org - Thank you for your support.
paroxysm  : (10 April 2011 - 12:43 AM) Refer to the Luabridge Tutorials section in the Wiki to learn the new syntax of luabridge.
Resize Shouts Area

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[tutorial]dbc Editing Editing and make new sounds in soundentries.dbc

#1 User is offline   eatos92 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 193
  • Joined: 06-May 09
  • Gender:Male
  • Location:Serbia, Devil WoW

Posted 28 February 2010 - 06:53 AM

Hello and Welcome to part 3 how to understand and edit your dbc files.
Today we will learn how to understand SoundEntries.dbc


We will use again old programs:
*7DBC Tool
*MywarcraftStudio
*DBCtoCSV
*DBC editor
*Microsoft Excel 2003
*DBCutil


Now Lets start by opening mywarcraftstudio and going to SoundEntries.dbc.
You will see a lot of fields something like this

Posted Image

Now lets define what those 29 fields means:
Id - id of sound
filed 1 type of sound (there is 30 types for this
:


0 Unused/Miscellaneous
1 Spells
2 UI
3 Footsteps
4 Weapons/Impact
6 Weapons/Miss
7 Greetings
8 Casting
9 Pick Up/Put Down
10 NPC Combat
12 Errors
13 Birds
14 Objects
16 Death
17 NPC Greetings
18 Test/Temporary
19 Armor/Foley
20 Footsteps
21 Water/Character
22 Water/Liquid
23 Tradeskills
25 Doodads
26 Spell Fizzle
27 NPC Loops
28 Zone Music
29 Emotes
30 Narration Music
31 Narration
50 Zone Ambience


Field2 - Name of song
Field3 - full name with .mp3 or .wav at the end depends of format of your music
Field4-13 -One entry can have more subentries. Used for different sounds at weapons.
Field14-22 - Related to the files above. Maybe a count of how much they are played in any way?
Field23 - path (This is very important) I will explain more this later
Field24- Volume
Field25 - Length ( possible values: Has the values 0, 1, 32, 33, 34, 512, 513, 544, 1024 and 1056. (hex: 0h, 1h, 20h, 200h, 400h)
Field26- mindistance to hear it
Field27- location on what distance music stops
Field28- EAXDef
Field29 - Unknow you can leave there 0
****
Field30(added in 3.3.3) - possible for phasesound


---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




Now since you know what all fields means lets start editing.
For my example i will make this song playable in the game Now i will extract SoundEntries.dbc to my desktop and open it extract dbc to csv via dbcutil..
Now its done lets open it and start making it ^^


Posted Image

As you see for id i put 53000 unique, then for field one 28 flag its means its zone music
as name you see i have named it Terracottaarmy and in field3 full name of track ta_terracottaarmyzone_01.mp3
i have left all fields from 4 to 22 0
in field23 you see i have added full path to folder of this song.(This is important at the end i will explain it more ^^)
in Field24 i added 1.95 volume
in Field25 i added flags 0x1
in Field26 localtion you can leave 0 too from this flag to Field29


Now part 2 this is why is important path field
This is the place where music mp3 will be sorry and for this you need second custom patch.
Now since in my example i have renamed song to terracottaarmyzone_01.mp3 and in path you see i have written something like this sound\music\zonemusic\terracottaarmy
so this is very is song located.
Make new folder called Sound then in Sound new folder called Music in Music Zonemusic and in zonemusic Terracottaarmy(in your case your folder for music)
add there add your mp3 in mine case ta_terracottaarmyzone_01.mp3
save patch and add that patch to data folder.

For dbc patch read in mine first thread

Thx again


Video preview of patch
Posted Image
1

#2 User is offline   Shadoxfix 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 312
  • Joined: 30-December 09
  • Gender:Male
  • Location:Netherlands

Posted 28 February 2010 - 10:47 AM

Nice i was also going to think about making a tut about this.
But now it's not needed anymore :P
0

#3 User is offline   eatos92 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 193
  • Joined: 06-May 09
  • Gender:Male
  • Location:Serbia, Devil WoW

Posted 28 February 2010 - 11:05 AM

well i can edit every dbc now i am making custom achivments :P
Posted Image
0

#4 User is offline   darksatan 

  • Newbie
  • Group: Supporter
  • Posts: 21
  • Joined: 10-September 09
  • Gender:Male

Posted 24 April 2010 - 08:31 PM

Thank you for this.
0

#5 User is offline   righthand 

  • Member
  • Pip
  • Group: Members
  • Posts: 15
  • Joined: 25-September 08
  • Gender:Male
  • Location:Inside your Veins
  • Interests:Metal music and up
    computer-games/scripts/etc

Posted 07 July 2010 - 12:24 PM

I have a question.

Can this give a ban on Retail?

-righthand
0

#6 User is offline   righthand 

  • Member
  • Pip
  • Group: Members
  • Posts: 15
  • Joined: 25-September 08
  • Gender:Male
  • Location:Inside your Veins
  • Interests:Metal music and up
    computer-games/scripts/etc

Posted 07 July 2010 - 12:38 PM

But while I am using the servers DBC files, does it affect Blizzards servers too? ;)

Am I thinking right, or is it only my own P server I am modifying, or the whole game?
or in this tutorial, does this affect the Blizzards server too?

-righthand
0

#7 User is offline   iEzri 

  • < Ace of spades >
  • Group: Contributor
  • Posts: 1,692
  • Joined: 22-December 08
  • Gender:Female
  • Interests:I'm likely to cause mischief
  • Server OS:Linux

Posted 07 July 2010 - 02:54 PM

View Postrighthand, on 07 July 2010 - 12:38 PM, said:

But while I am using the servers DBC files, does it affect Blizzards servers too? ;)


Yes, blizzards server will then get the values from your dbcs and all people will have the custom weapons that you have put in there...

seriously, you are kidding us here are you?
Posted Image I do not join. I lead.
0

#8 User is offline   righthand 

  • Member
  • Pip
  • Group: Members
  • Posts: 15
  • Joined: 25-September 08
  • Gender:Male
  • Location:Inside your Veins
  • Interests:Metal music and up
    computer-games/scripts/etc

Posted 07 July 2010 - 02:57 PM

Lol, sorry about that, but I want to understand some more. Haha.
I am so sorry if I'm seeing like I'm kidding with ya. ^^

Well, anyways, thanks for the answers. ^^

That was my last question. Thanks again ;)

-righthand
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users