Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: Simple_Spectr on January 23, 2016, 08:06:21 pm

Title: [WotLk] [QUESTION] How to delete race
Post by: Simple_Spectr on January 23, 2016, 08:06:21 pm
Hell-O!
Who knows how delete race?
I need 6 playable races (Humans, Dwarfs, Night Elves and Orcs, Undead, Taurens) But I cant found tutorial. Who knows, please answer me here or mb create mini-guide here.

Sting cover - Russianman in modcraft (sry for my GRATE knowledge of English)
Title: Re: [WotLk] [QUESTION] How to delete race
Post by: Amaroth on January 23, 2016, 09:07:42 pm
The most simple way should be editing CharBaseInfo.dbc, simply delete all race/class combinations of unwaned races and that should be all. I will make all classes for those races unplayable = race will get deleted. If it will also disappear from character creation screen I can't say for sure, probably not, so you might also need to edit character creation lua/xml files.
Title: Re: [WotLk] [QUESTION] How to delete race
Post by: Simple_Spectr on January 23, 2016, 09:36:15 pm
It is clear that without XML and Lua does not do . Opening CharBaseInfo.dbc got error , mydbceditor not open the file.   :geek:
Title: Re: [WotLk] [QUESTION] How to delete race
Post by: samgartell on January 24, 2016, 12:07:56 am
Quote from: "Simple_Spectr"
It is clear that without XML and Lua does not do . Opening CharBaseInfo.dbc got error , mydbceditor not open the file.   :geek:

MyDBCEditor will not open every file you throw at it - however you can convert .DBC to .CSV and back using DBCUtil and while using CSVEdit to make changes.

CSVEdit and DBCUtil are available here. (http://modcraft.io/viewtopic.php?f=59&t=781)
Title: Re: [WotLk] [QUESTION] How to delete race
Post by: Simple_Spectr on January 24, 2016, 09:40:28 am
samgartell, link is dead  :cry:
Title: Re: [WotLk] [QUESTION] How to delete race
Post by: Amaroth on January 24, 2016, 10:11:54 am
That DBC can be edited by Taliis. I don't recommend using Taliis for editing DBCs in general, but for this particular one there are not many other options.
Title: Re: [WotLk] [QUESTION] How to delete race
Post by: Simple_Spectr on January 24, 2016, 11:10:05 am
Amaroth, okay I'm understand... But I really dk how to delete races. If you found smth about it, give me pls a link.
Title: Re: [WotLk] [QUESTION] How to delete race
Post by: schlumpf on January 24, 2016, 11:30:53 am
Why don't you just start by removing stuff from ChrRaces.dbc, then see where it is still present (gluexml/*) or what is crashing (maybe the server due to still having references itself), then continue your search until everything works? That's a straight forward approach, and in the end you will even be able to write a guide for others.
Title: Re: [WotLk] [QUESTION] How to delete race
Post by: Simple_Spectr on January 24, 2016, 11:56:52 am
I do not try to delete rows from ChrRaces.dbc - I'll try. But with gluexml I worked . Removed buttom bla_bla (ID-bla bla) and the client does not run. Mb deleting rows from .dbc helps
Title: Re: [WotLk] [QUESTION] How to delete race
Post by: samgartell on January 26, 2016, 10:22:40 pm
The link isn't dead, use the Mediafire mirror provided on the post, here:
Link! (http://www.mediafire.com/?6er18emrr35f22d)

Don't use Taliis over this method. While I don't like spoonfeeding, this is extremely basic and if I can attempt to answer all your questions, the sooner the better.

Here's an extremely quick guide on deleting entries inside a DBC. (Using DBCUtil/CSVEditor)

Drag/Drop DBC onto DBCUtil.exe - This creates a CSV file.


(http://i.imgur.com/d0ppaqN.jpg)

Open the newly created CSV File with CSVEdit

(If it asks what to open CSV with, direct it to CSVEdit)
(http://i.imgur.com/xAH7fWd.jpg)

Find the race you want to delete, right click it's row and press "Delete Records"


(http://i.imgur.com/PooDFa1.jpg)

SAVE the file in CSVEdit, then drag/drop the CSV onto DBCUtil again, this will overwrite the old DBC with the new one - done!

Resources to educate yourself further on this:
ChrRaces.dbc (http://www.pxr.dk/wowdev/wiki/index.php?title=ChrRaces.dbc)
ChrRaces Expanded (https://trinitycore.atlassian.net/wiki/display/tc/ChrRaces)

With those two links and the tools provided, you CAN do this yourself easily. ^^
This was written assuming you have no experience at all, apologies if it comes across patronising.


---Also, you can't edit GlueXML without disabling the GlueXML Check in WoW.exe, check out this post to do that. (http://modcraft.io/viewtopic.php?f=59&t=883&)