Dude thank you so much for doing all of this! I was also in the process of editing files, but the changes wouldn't apply to the HunCraft game for some reason, despite me translating the text from the .BIN and .TBL files.
Could you share your newly edited version of the game once you are finished? There is no hurry, but i would really want to check out what is wrong with my editing.
I would also want to ask if the replacement of the sound files for units (except those added in the expansion) also worked out.
You did it way faster than i ever expected or hoped to do it myself
First of all, I appreciate your encouraging comments, thanks for those. I'm glad to see that someone cares about my work.
This is actually an issue that I also faced initially, so I think I can help you. Huncraft actually has two MPQ files. One is Huncraft.MPQ, and contains unit voices and map files in addition to a lot of .bin, .txt., and .tbl files. To change voices and maps, you replace files in this file.
The second MPQ file is actually embedded within Huncraft.exe itself. This contains a lot of the same files as in Huncraft.MPQ, with the exception of the voices and maps. However, a lot of the changes, including the .bin and .tbl files, must be made to files inside Huncraft.exe, otherwise nothing will happen. For the menu text and text for screens between missions, changes made to Huncraft.exe are the ones that matter, replacing files in Huncraft.MPQ will have no effect. It seems rather redundant, but that's how it is.
To access Huncraft.exe, you need to choose to open a file in PyMPQ. However, you need to go to the drop-down menu on the right and choose "Embedded files (.exe)". You will then be able to access Huncraft.exe and edit the files within.
Before:
During:
After:
Then just open Huncraft.exe and replace the .bin and .tbl files as needed.
In regards to the voiceovers, they seem to be working perfectly.
Also, if you are going to be doing voice replacements in the future, I need to warn you about something. You see, custom units in Starcraft mods are actually replacements of existing units due to the fact that you can't add any truly new unit IDs (Which is also why you saw Infested Raynor instead of Fenix when you got the Mission Bug; he replaces the Fenix unit's ID). However, the path for the quotes for these new units must be the path for an existing unit . For instance, the Terran Phantom is a replacement of the Sarah Kerrigan Ghost, but the directory for the Phantom's quotes is the same as that for Sarah Kerrigan, except using different sound files.
That's right, those "Kerrigan" quote files are actually for the Phantom. The file that plays when a unit is built (Like "Valkyrie Prepared" for the Valkyrie) may be hidden elsewhere. If you are going to do quote replacements yourself, you will need to be aware of what units get replaced with what. (Hell, it seems that some units, like the Scantolisk, have their files in the directories for several units. The Path for the Psi Priest's quotes is actually the path for Edmund Duke as a tank, so you have to manually check to make sure you're not replacing the wrong quotes)
Post has been edited 4 time(s), last time on Mar 22 2019, 2:30 am by Kolokol.
None.