SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter 5
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 10-11-13, 01:52 PM   #1
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by gap View Post
Yesterday I started working on a batch file that will process menu.txt automatically, adding to it some rows required by our U-boat Guns mod... and I had to dust off my old DOS manual
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
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 10-11-13, 03:12 PM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
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
gap is offline   Reply With Quote
Old 10-11-13, 03:59 PM   #3
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

I don't doubt that for you it's a good exercise.. but if you remember, the users are not as advanced as we would like to .. as I recall, even run a standalone app to create a recognition manual in the MaGui or run an other standalone app - GenericPatcher, was a huge problem for users..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:58 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.