SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [REL] JTxE - Textenabler to merge lines in ini-Files (https://www.subsim.com/radioroom/showthread.php?t=123521)

jimimadrid 10-15-07 01:20 AM

[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.

http://jimimadrid.bplaced.net/Downlo...JTxE_image.jpg

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.

http://jimimadrid.bplaced.net/Downlo...der%20JTxE.jpg


This Mod.ini-Files needed an special form.

http://jimimadrid.bplaced.net/Downlo...er/Ini-Mod.jpg

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.

http://jimimadrid.bplaced.net/Downlo...s%20Folder.jpg

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

leovampire 10-15-07 01:42 AM

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.

jaketoox 10-15-07 07:31 AM

This is a MUST HAVE
 
No more tinkering with that menu.ini, just enable changes with this tool....what would be easier than that???:rock:

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


Many thanks:up:

Jake

Digital_Trucker 10-15-07 07:45 AM

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).:up: :rock:

AVGWarhawk 10-15-07 07:47 AM

Basically what you are saying is this will just change the line and not the whole folder?

jimimadrid 10-15-07 08:17 AM

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.

AVGWarhawk 10-15-07 08:23 AM

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?

jimimadrid 10-15-07 08:47 AM

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

MONOLITH 10-15-07 09:18 AM

Bravo Sir. Well done.


:up:

bigboywooly 10-15-07 01:15 PM

Now I have to say thats a brilliant idea :up:

Kudos

Kpt. Lehmann 10-15-07 05:21 PM

I think jimimadrid just cured a lot of future headaches.

Good stuff man. :up: :up: :up:

Hitman 10-16-07 07:44 AM

Awesome brilliant!!! Thanks man :rock:

billko 10-16-07 02:40 PM

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.

http://img230.imageshack.us/img230/8729/jtex1pn1.jpg

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.

http://img153.imageshack.us/img153/5...derjtxeuj5.jpg


This Mod.ini-Files needed an special form.

http://img502.imageshack.us/img502/6088/inimodyn0.jpg

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.

http://img88.imageshack.us/img88/452...sfolderuc1.jpg

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!!!:up:

Bill

poor sailor 10-16-07 02:55 PM

Many thanks for this great tool!
This is a must have! :up::up::up:

ben cg 10-27-07 08:35 PM

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 :up:


All times are GMT -5. The time now is 05:05 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.