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, 09:03 AM   #1
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by Oleander View Post
If you are using NewGUI's 7.5, the GUI defaults to hidden icons until they are moused over, then they appear. You can change this through changing the Python scripts within the gui folder, the instructions are here: http://www.subsim.com/radioroom/show...89&postcount=5

You can also change the HUD style if you wish from the same options script.
This is a wrong way to do it.. there is an app within NewUIs - OptionsFileEditorViewer.. you should change options in the UI only using this app.. you can find link for 'How to' thread at the bottom of the post #1 of NewUIs thread..
__________________
.
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, 10:29 AM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
This is a wrong way to do it.. there is an app within NewUIs - OptionsFileEditorViewer.. you should change options in the UI only using this app.. you can find link for 'How to' thread at the bottom of the post #1 of NewUIs thread..


Not exactly wrong for soemeone who knows what he is doing, but surely not suggested for a newcomer.
gap is offline   Reply With Quote
Old 10-11-13, 11:16 AM   #3
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by gap View Post
Not exactly wrong for soemeone who knows what he is doing, but surely not suggested for a newcomer.
I'm not a newcomer but I always did it using OptionsEditor.. why? it's simpler and easier.. and I'm sure I can't mess the options file this way..
__________________
.
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, 11:18 AM   #4
Oleander
Machinist's Mate
 
Join Date: Sep 2013
Posts: 126
Downloads: 477
Uploads: 0
Default

Quote:
Originally Posted by volodya61 View Post
This is a wrong way to do it.. there is an app within NewUIs - OptionsFileEditorViewer.. you should change options in the UI only using this app.. you can find link for 'How to' thread at the bottom of the post #1 of NewUIs thread..
Code doesn't scare me!

I'm actually glad you said that, I had no idea he made an app. That makes changing options much easier.
Oleander is offline   Reply With Quote
Old 10-11-13, 11:37 AM   #5
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by Oleander View Post
Code doesn't scare me!

I'm actually glad you said that, I had no idea he made an app. That makes changing options much easier.
If the work with the code was so simple, we'd still be using DOS
__________________
.
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, 12:05 PM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
I'm not a newcomer but I always did it using OptionsEditor.. why? it's simpler and easier.. and I'm sure I can't mess the options file this way..
Editing the py file manually was the only way to change New UI's options until when TDW introduced his option viewer/editor. The mistake was around the corner though, and most errors resulted in CTD's or the UI getting corrupted. I don't remember the firts New UI's version which had the editor included in its package, but when it was released you probably weren't a subsim member yet.
gap is offline   Reply With Quote
Old 10-11-13, 12:10 PM   #7
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by gap View Post
..I don't remember the firts New UI's version which had the editor included in its package..
v6.8.0
__________________
.
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, 12:12 PM   #8
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
v6.8.0
LOL, I thought it was an even older version...
gap is offline   Reply With Quote
Old 10-11-13, 12:10 PM   #9
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
If the work with the code was so simple, we'd still be using DOS
I do

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


Default

Quote:
Originally Posted by gap View Post
I do

Yesterday I started working on a batch file that will process menu.txt, adding to it some rows required by our U-boat Guns mod... and I had to dust off my old DOS manual
I didn't work in DOS a lot.. when I saw a PC at the first time it was IBM486 with Win3 on-board.. 1995..
__________________
.
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, 01:37 PM   #11
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 995
Downloads: 1078
Uploads: 6
Default

Quote:
Originally Posted by gap View Post
I do

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
Too bad it is not an *.ini file, instead of a **.txt file
[REL] JTxE - Textenabler to merge lines in ini-Files

Unless Jimimadrid can make program magic for **.txt files!

Update: It works for menu.txt files. I just had to open up on **ini files in SH4 when I had more time.

Last edited by Mikemike47; 10-12-13 at 06:08 PM. Reason: Testing done for line merging.
Mikemike47 is offline   Reply With Quote
Old 10-11-13, 04:11 PM   #12
InvisibleDeath
Loader
 
Join Date: Sep 2013
Posts: 85
Downloads: 122
Uploads: 0
Default

Okay guys this thread is getting a bit off base.

First off -- I'm a C# developer doing some nasty server based stuff so editing a little PY file was nothing for me.

I cleaned off the install of SH5, reinstalled the patches I wanted, and now I'm off.

I have my icons and they are not going away. (before I couldn't get them even with mouse over!!!) Not only that but I now have Automation Scripts. Yeah. Heading out of Keil now.
__________________
________________________________________
From the depths of the sea you shall never
know my presence until it is too late.
InvisibleDeath is offline   Reply With Quote
Old 10-11-13, 04:25 PM   #13
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Mikemike47 View Post
Too bad it is not an *.ini file, instead of a **.txt file
[REL] JTxE - Textenabler to merge lines in ini-Files

Unless Jimimadrid can make program magic for **.txt files!
Sorry, I didn't notice your post before, Mike.

Nice little tool by the way. I Didn't know about it. Thank you for pointing me to it

Quote:
Originally Posted by volodya61 View Post
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..
Do you think it would be easier for them copying/pasting the lines manually? I wanted to make the process more simple for the average user

Quote:
Originally Posted by InvisibleDeath View Post
Okay guys this thread is getting a bit off base.
Yes, obviously it is but, unless you mind it, I don't see the problem: tomorrow or the day after tomorrow it will be lost anyway in a million of similar posts, and no one will notice the slight OT

Quote:
Originally Posted by InvisibleDeath View Post
I have my icons and they are not going away. (before I couldn't get them even with mouse over!!!) Not only that but I now have Automation Scripts. Yeah. Heading out of Keil now.
gap is offline   Reply With Quote
Old 10-11-13, 01:52 PM   #14
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
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   #15
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
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
Reply


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 02:03 AM.


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