PDA

View Full Version : Problem with Naming units and DatEdit


anatolian
05-15-2008, 2:52 AM
Hey guys, I've signed up to the boards to only ask this question, as our team is on a tight deadline to finish a full conversion for Starcraft for a uni game project.

We've worked out much of the mechanics, including graphics, however we keep hitting one brick wall.

I've exported the unit names on tblpad, changed all of them accordingly and compiled them back into the .mpq file. The main problem here is that right after we compile the .mpq file with the changed rez\stat_txt - DatEdit imports all the .dat files but the unit names are not changed. I thought it might be a problem with how I compiled the files, however when I extract stat_txt back out from the original .mpq file, the unit names show as been changed. I suspect that there are parameters or files in the arr folder (such as the unit.dat) that override my changed names and revert them back into the original starcraft names when I open with .dat edit.

I'm pretty savy with the technical stuff so go nuts on the detail, but I'd really appreciate help so that we can finish up this project and even upload the mod after its finished.

U-238
05-15-2008, 9:55 AM
Welcome to warboards. :)

Did you change the stat_txt path from the default in Dateidt? (File>Options>Custom Paths tab)

Good luck with your project. If you don't mind sharing some screens in the future feel free to. (Might help spur along development of the rather sagging modding community around here. :/)

DiscipleOfAdun
05-15-2008, 3:39 PM
Welcome!

DatEdit lists all the files it finds inside an MPQ when opening it. If your stat_txt.tbl file isn't there, double check the path. Also, make sure to have checked the 'Use custom labels' option, otherwise the default names will show up.

You can read the file externally as U-238 posted too, just set the file path.

shaggydavid
05-15-2008, 3:52 PM
it is it changed in the patch_rt.mpq ,staradt.mpq, or broodat.mpq? you said "original mpq", if you put it in the stardat or broodat mpqs it will get overwritten by the patch_rt mpq.

anatolian
05-16-2008, 12:18 AM
Hey guys, thanks a lot, the options panel had been elusive until now. The fix was working off the extracted .mpq file rather than importing it directly from a complied one - so the path names for custom tbl files worked this time around. Thanks a lot for everything guys, we will be summing up the art/modelling this week so hopefully we can get screens up by the end of next week or early week after.

U-238
05-16-2008, 9:48 AM
Glad to help and can't wait for some screens. :)