Quote:
Originally Posted by volodya61
Forgot to say.. do you think it really needed? there are a few menu.txt in a different languages.. even TDW didn't do it with the patcher's entries
EDIT: maybe a better way is to add these rows to the first post of its future thread and to the readme file 
|
There are two UI mods, each with its own menu.txt in several languages. To make things worse, menu.txt changes every time a new version of those mods is released, so including that file in Reworked U-boat Guns is obviously excluded.
My ideawas too create a batch file able to:
- read an external txt file with the new menu entries;
- check menu.txt for entries having the same sorting number;
- if entries with the same number are found, display a warning message and exit the process;
- if no entries with the same number are found, append the new entries to menu.txt in their correct position;
- move the edited menu.txt in the correct path of the mod.
All the user woud need to do, would be:
- translating the new entries txt file in his own language (optional);
- copying the menu.txt of his used UI mod into the same folder as the batch file and the new menu entries text file;
- double click on the batch to run it;
- enable the mod normally.
What do you think? I agree with you that this is not the most impotant feature: we could leave the user to copy/paste the new entries manually, but my method is safer and so much more cool! It would also be a good excercise for me