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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 10-15-07, 01:20 AM   #1
jimimadrid
spanish graphic guru
 
jimimadrid's Avatar
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 380
Downloads: 112
Uploads: 19


Default [REL] JTxE - Textenabler to merge lines in ini-Files

All Modders knows the problem that some Mods will conflict with other Mods because of using the same dds-File or ini-File.

JTxE will be the solution to solve this problems.



It will act as the same way JSGME do, but it will change only lines in ini-Files.

The idea is to write the necessary lines in an extra Mod.ini-File and put this file an the Folder Ini_Mods ( like the Mods-Folder from JSGME).
JTxE need to be installed in the Silent Hunter Main Folder like JSGME - the ini_Mods Folder also.




This Mod.ini-Files needed an special form.



The "targetfile=" Line -> the path and name of the ini that should be changed.
There can be several targetfiles in one Mod.ini.

The chapter-line -> is marked by Brackets [] . If there is no Chapterline JTxE will search in the lines before the first chapter of the targetfile.

The targetline -> For this line JTxE will search in the chapter (like: "Mat 0 =" or "Zone=")
All writen behind the = will be changed.

There can be several targetlines and several Chapterlines in one Mod.ini

JTxE will hold a logfile, and therefore will be able to noticed if a Mod tried to change the same line as another Mod has done before.
JTxE will ask you to overwrite. But with the stored logs you will be able to deinstall all Mod.ini's.

The easiest way will be to add an Ini_Mods Folder to your Mod with the graphical changes and made it JSGME ready.



The user has first to install via JSMGE.exe and than the Mod.ini via the JTxE.exe.

1. Link to JTxE V1.0a -> http://jimimadrid.bplaced.net/Download/JTxE.exe

You can add to your Mod different Mod.ini Files to let the user select beetween different graphical changes in one Mod.


Modders try JTxE out and you will see the new possibilities you can get with this tool.

Thanks to leovampire for testing and holding hands.

Greetz
jimimadrid


PS. I hope this description helps to understand how JTxE works. Sorry for my bad english.


Here is a little Demonstration -> http://www.subsim.com/radioroom/showthread.php?t=123470

Last edited by jimimadrid; 03-27-15 at 11:27 AM.
jimimadrid is offline   Reply With Quote
Old 10-15-07, 01:42 AM   #2
leovampire
Eternal Patrol
 
Join Date: Apr 2007
Location: Waterbury, CT. USA
Posts: 2,336
Downloads: 0
Uploads: 0
Default Gentleman

Anyone who needs to make Menu changes in the game to make a mod work ABSOLUTLY MUST HAVE THIS!

No more over write's in the file simply changes the line's that need to be changed in the menu files to make mod's work.

Next best tool to have guy's for adding things to the game to work along side of the JSGME tool.
leovampire is offline   Reply With Quote
Old 10-15-07, 07:31 AM   #3
jaketoox
Gunner
 
Join Date: Jul 2007
Location: Finland
Posts: 93
Downloads: 5
Uploads: 0
Default This is a MUST HAVE

No more tinkering with that menu.ini, just enable changes with this tool....what would be easier than that???

I will add required files and a link to this thread on my MetalHud thread ASAP


Many thanks

Jake
jaketoox is offline   Reply With Quote
Old 10-15-07, 07:45 AM   #4
Digital_Trucker
Silent Hunter
 
Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
Default Can I get an AMEN and a Halleluyah

This will make all those mod merges so much easier (and more trouble free). All I can say, Jimi, is thank you, thank you, thank you (and viele dank).
__________________

RSM-GIEP-Killflags-LV Tribute-Playable Elco __Peace be with you, Dave.

Digital_Trucker is offline   Reply With Quote
Old 10-15-07, 07:47 AM   #5
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 27,339
Downloads: 90
Uploads: 0


Default

Basically what you are saying is this will just change the line and not the whole folder?
__________________
“You're painfully alive in a drugged and dying culture.”
― Richard Yates, Revolutionary Road
AVGWarhawk is offline   Reply With Quote
Old 10-15-07, 08:17 AM   #6
jimimadrid
spanish graphic guru
 
jimimadrid's Avatar
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 380
Downloads: 112
Uploads: 19


Default

Quote:
Originally Posted by AVGWarhawk
Basically what you are saying is this will just change the line and not the whole folder?
Yes, it changes only the desired lines. Therefore modder will be able to merge their mods without getting trouble in the ini's.

Like in JSMGE the user can easily switch on or off the mods.
jimimadrid is offline   Reply With Quote
Old 10-15-07, 08:23 AM   #7
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 27,339
Downloads: 90
Uploads: 0


Default

Great! Sorry for my confusion here. Do we put all the mods in the ini folder or just mods that change ini in within the game?
__________________
“You're painfully alive in a drugged and dying culture.”
― Richard Yates, Revolutionary Road
AVGWarhawk is offline   Reply With Quote
Old 10-16-07, 02:40 PM   #8
billko
中国水兵
 
Join Date: Jul 2007
Posts: 275
Downloads: 21
Uploads: 2
Default

Quote:
Originally Posted by jimimadrid
All Modders knows the problem that some Mods will conflict with other Mods because of using the same dds-File or ini-File.

JTxE will be the solution to solve this problems.



It will act as the same way JSGME do, but it will change only lines in ini-Files.

The idea is to write the necessary lines in an extra Mod.ini-File and put this file an the Folder Ini_Mods ( like the Mods-Folder from JSGME).
JTxE need to be installed in the Silent Hunter Main Folder like JSGME - the ini_Mods Folder also.




This Mod.ini-Files needed an special form.



The "targetfile=" Line -> the path and name of the ini that should be changed.
There can be several targetfiles in one Mod.ini.

The chapter-line -> is marked by Brackets [] . If there is no Chapterline JTxE will search in the lines before the first chapter of the targetfile.

The targetline -> For this line JTxE will search in the chapter (like: "Mat 0 =" or "Zone=")
All writen behind the = will be changed.

There can be several targetlines and several Chapterlines in one Mod.ini

JTxE will hold a logfile, and therefore will be able to noticed if a Mod tried to change the same line as another Mod has done before.
JTxE will ask you to overwrite. But with the stored logs you will be able to deinstall all Mod.ini's.

The easiest way will be to add an Ini_Mods Folder to your Mod with the graphical changes and made it JSGME ready.



The user has first to install via JSMGE.exe and than the Mod.ini via the JTxE.exe.

1. Link to JTxE -> http://www.file-upload.net/download-.../JTxE.exe.html
2. Link to JTxE -> http://hosted.filefront.com/jimimadrid/

You can add to your Mod different Mod.ini Files to let the user select beetween different graphical changes in one Mod.


Modders try JTxE out and you will see the new possibilities you can get with this tool.

Thanks to leovampire for testing and holding hands.

Greetz
jimimadrid


PS. I hope this description helps to understand how JTxE works. Sorry for my bad english.


Here is a little Demonstration -> http://www.subsim.com/radioroom/showthread.php?t=123470
Bravo, Jimimadrid!

I was thinking of writing something like this but I was too scared. Thumbs up for having the courage to write this much-needed tool!!!

Bill
__________________
Damage Control 1.1 - LeoVampire Edition - Can you trust the experience of your crew to inform you of how deep you can really dive?
billko is offline   Reply With Quote
Old 10-16-07, 02:55 PM   #9
poor sailor
XO
 
Join Date: May 2006
Location: Serbia
Posts: 420
Downloads: 15
Uploads: 0
Default

Many thanks for this great tool!
This is a must have!
poor sailor is offline   Reply With Quote
Old 10-27-07, 08:35 PM   #10
ben cg
Swabbie
 
Join Date: Oct 2007
Posts: 13
Downloads: 0
Uploads: 0
Default

This a great tool, thanks

I couldn't get the existing mini-chrono.ini mod to work (it just enlarged a square section in the middle of the chrono, probably a 1.3 thing?). After some hunting around I found some working code posted by CaptainCox in this post

I just cut his code down to the relevant zone lines and put it in an ini mod file and it appears to work fine, red target time hand and everything. Here is the text for the mini chrono.ini file for anyone who wants a 75% clock mod;

Quote:
Targetfile=Data\Menu\menu_1024_768.ini

[G29 I2]
Zone= 412 768 312 300 0 1 0x29000000 1 0 0x29020000 -1 0 -300 0

[G29 I3]
Zone= 566 596 4 4 0 1 0x2902000C 0.5 -0.5 0x29020006 -0.5 0.5 0 0

[G29 I4]
Zone= 562 686 12 184 0 1 0x2902000C 0.5 -0.5 0x2902000E -0.5 0.5 0 0

[G29 I5]
Zone= 562 686 12 184 0 1 0x2902000C 0.5 -0.5 0x29020010 -0.5 0.5 0 0

[G29 I6]
Zone= 557 681 22 174 0 1 0x2902000C 0.5 -0.5 0x29020008 -0.5 0.5 0 0

[G29 I7]
Zone= 560 692 16 196 0 1 0x2902000C 0.5 -0.5 0x29020009 -0.5 0.5 0 0

[G29 I8]
Zone= 563 567 8 60 0 1 0x2902000C 0.5 -1 0x29020011 -0.5 1 -1 11

[G29 I9]
Zone= 564 674 8 52 0 1 0x2902000C 0.5 -0.09 0x2902000F -0.5 0 0 0

[G29 I10]
Zone= 564 567 10 62 0 1 0x29020007 0.5 -0.5 0x29020002 -0.5 0.5 0 -7

[G29 I11]
Zone= 565 583 8 80 0 1 0x29020007 0.5 -0.5 0x29020003 -0.5 0.5 0 0

[G29 I12]
Zone= 564 573 10 60 0 1 0x29020007 0.5 -0.5 0x29020004 -0.5 0.5 0 0

[G29 I13]
Zone= 564 674 8 52 0 1 0x2902000F 0.5 -0.5 0x29020005 -0.5 0.5 0 0

[G29 I14]
Zone= 529 583 80 80 0 1 0x2902000C 0.5 -0.965 0x29020007 -0.5 1 1 0

[G29 I15]
Zone= 558 720 20 18 0 1 0x29020000 0.5 -0.16 0x2902000D -0.5 0 0 0

[G29 I16]
Zone= 470 692 196 196 0 1 0x29020001 0.5 -0.505 0x2902000C -0.5 0.5 0 0

[G29 I17]
Zone= 450 702 236 234 0 1 0x29020001 0.5 -1 0x2902000B -0.5 1 0 0

[G29 I18]
Zone= 450 722 236 254 0 1 0x29020000 0.5 -1 0x29020001 -0.5 1 0 0

[G29 I19]
Zone= 544 758 48 36 0 1 0x29020001 0.5 0 0x2902000A -0.5 1 0 0
I hope modders make use of this great tool, theoretically we could combine bits from different interface/hud/map mods if everyone plays along
ben cg is offline   Reply With Quote
Old 11-04-07, 04:03 PM   #11
Metl
Bosun
 
Join Date: Apr 2007
Posts: 67
Downloads: 166
Uploads: 0
Default

I couldn't get the included mini chrono mod to work right... It just displayed a greyish flashing box, no more watch. Any idea what might have went wrong? I'm going to try again without any mods enabled and see if it works then. Great tool idea, hopefully I'll get it working right.
Metl is offline   Reply With Quote
Old 11-06-07, 01:47 PM   #12
leovampire
Eternal Patrol
 
Join Date: Apr 2007
Location: Waterbury, CT. USA
Posts: 2,336
Downloads: 0
Uploads: 0
Default are those pre patch 1.3 value's?

Quote:
Originally Posted by Metl
I couldn't get the included mini chrono mod to work right... It just displayed a greyish flashing box, no more watch. Any idea what might have went wrong? I'm going to try again without any mods enabled and see if it works then. Great tool idea, hopefully I'll get it working right.
Since the 1.3 patch what has to be changed to down size the watch has also changed.
leovampire is offline   Reply With Quote
Old 11-06-07, 06:19 AM   #13
DrBeast
The Old Man
 
Join Date: Oct 2007
Location: Somewhere Out In Space
Posts: 1,408
Downloads: 36
Uploads: 0
Default

Quote:
Originally Posted by ben cg
This a great tool, thanks

I couldn't get the existing mini-chrono.ini mod to work (it just enlarged a square section in the middle of the chrono, probably a 1.3 thing?). After some hunting around I found some working code posted by CaptainCox in this post

I just cut his code down to the relevant zone lines and put it in an ini mod file and it appears to work fine, red target time hand and everything. Here is the text for the mini chrono.ini file for anyone who wants a 75% clock mod;

*snip!*

I hope modders make use of this great tool, theoretically we could combine bits from different interface/hud/map mods if everyone plays along
Uh...those appear to be the original values I added them in manually, my watch appeared the same size as before (well, I got CTDs at first, but that was cause I pulled a stupid during the pasting!), so I compared my edited file against the one I was using before...values were exactly the same. I also checked out the values in the link you provided, and they're the "shrunk" ones.
__________________



Let the Beast inside you free!
DrBeast 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 05:53 PM.


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