SUBSIM Radio Room Forums


SUBSIM: The Web's #1 BBS for all submarine and naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Fleet Boat Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 10-15-2007, 02:20 AM   #1
jimimadrid
Frogman
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 293
Downloads: 38
Uploads: 0
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-2015 at 12:27 PM.
jimimadrid is offline   Reply With Quote
Old 10-15-2007, 02: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-2007, 08: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-2007, 08:45 AM   #4
Digital_Trucker
Silent Hunter
 
Join Date: Jul 2007
Location: The Peach State
Posts: 4,157
Downloads: 81
Uploads: 7
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-2007, 08:47 AM   #5
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 26,390
Downloads: 89
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-2007, 09:17 AM   #6
jimimadrid
Frogman
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 293
Downloads: 38
Uploads: 0
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-2007, 09:23 AM   #7
AVGWarhawk
Lucky Jack
 
AVGWarhawk's Avatar
 
Join Date: Jun 2005
Location: In a 1954 Buick.
Posts: 26,390
Downloads: 89
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-15-2007, 09:47 AM   #8
jimimadrid
Frogman
 
Join Date: Jun 2005
Location: Augsburg, Germany
Posts: 293
Downloads: 38
Uploads: 0
Default

The JTxE is not an replacement for the JSMGE. They will both work together.
The JSMGE will change all needed graphical or other files, but instead to let JSMGE change (often by mods used) ini's, now you write an extra textfile with the needed changed lines like described above.
Tell the people in the description to use the JTxE after the JSMGE.

So a lot of mods will live together all modifying the same ini's.


Also a chance to change part of dds Files. Copy and rename the desired dds-file. Make an JTxE ini with the desired line changes in the menu.ini (showing the new dds File)
Tell the people in the description to use the JTxE after the JSMGE.

No more trouble.

Greetz
jimimadrid

Last edited by jimimadrid; 10-16-2007 at 10:42 AM.
jimimadrid is offline   Reply With Quote
Old 10-15-2007, 10:18 AM   #9
MONOLITH
Ace of the Deep
 
Join Date: Nov 2002
Posts: 1,003
Downloads: 0
Uploads: 0
Default

Bravo Sir. Well done.


__________________
MONOLITH is offline   Reply With Quote
Old 10-15-2007, 02:15 PM   #10
bigboywooly
Rear Admiral
 
Join Date: Apr 2006
Location: Swindon, England
Posts: 10,135
Downloads: 30
Uploads: 0
Default

Now I have to say thats a brilliant idea

Kudos
__________________


My mediafire page http://www.mediafire.com/?11eoq19bq9r41
bigboywooly is offline   Reply With Quote
Old 10-15-2007, 06:21 PM   #11
Kpt. Lehmann
GWX Project Manager
 
Kpt. Lehmann's Avatar
 
Join Date: Jul 2005
Location: The Republic of Texas
Posts: 6,650
Downloads: 69
Uploads: 0


Default

I think jimimadrid just cured a lot of future headaches.

Good stuff man.
__________________


TheGreyWolves.com
It is better to live a short and meaningful life... than a long and miserable one.
Kpt. Lehmann is offline   Reply With Quote
Old 10-16-2007, 08:44 AM   #12
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 6,215
Downloads: 108
Uploads: 2


Default

Awesome brilliant!!! Thanks man
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 10-16-2007, 03:40 PM   #13
billko
中国水兵
 
Join Date: Jul 2007
Posts: 273
Downloads: 5
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-2007, 03:55 PM   #14
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-2007, 09:35 PM   #15
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
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:12 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © 1995- 2019 Subsim