View Full Version : [REL] JTxE - New Edit Tool - Maybe also usefull for SH3 Modders
jimimadrid
10-17-07, 02:15 AM
All Modders knows the problem that some Mods will conflict with other Mods because of using the same tga(dds)-File or ini-File.
JTxE will be the solution to solve this problems.
http://img230.imageshack.us/img230/8729/jtex1pn1.jpg
More --> http://www.subsim.com/radioroom/showthread.php?t=123521
Venatore
10-17-07, 02:19 AM
Is this like JSGME ?
jimimadrid
10-17-07, 02:45 AM
Is this like JSGME ?
No. JSGME installs files - JTxE merge textlines in ini or other text files.
JTxE will not be a replacement for JSGME.
But working with both together will give modders and users more freedom in using different mods without conflicts.
Rimfaxi
10-17-07, 02:59 AM
Good job ! Does it work with adding ships to the english/germannames.cfg file? :up:
Venatore
10-17-07, 03:03 AM
Thank you for creating this software. Much appreciated. :up:
jimimadrid
10-17-07, 07:39 AM
Good job ! Does it work with adding ships to the english/germannames.cfg file? :up:
JTxE change the content of lines. Adding new lines will be avaiable in next versions.
(I have implemented it in this version, but it do not work correctly. Therefore no green light for adding lines)
Jimi ,
first thanks for the tool and the effort to creat it!
Thought I have a sugestion,
I am more then used to change all the menu-ini manually,
This can be off great help for sure, thought i do not seem to
understand a lot off stuuf on how it works for sure..
in the link above, you have an example of the chrono,
but in first place how does the programe picks that chrono file to change,
were do you add the changes file so that the programe makes the
actual menu-ini modific. in the in use one!
Maybe you should actually make a tutourial on this tool use mate,
for me it looks damn complicated without knowing what and how it
works!
Thanks mate!:yep: :up:
jimimadrid
10-17-07, 11:53 AM
The use is very simple:
Instead of let users manually change lines in the menu1027_768.ini, the modder write a litte Modname.ini.
http://img502.imageshack.us/img502/6088/inimodyn0.jpg
1) The first line contains the word "targetfile=" and behind this the path and name of the ini, where the changes should be done.
2) The ini files are divided in chapters, you can see the beginning of an chapter at the square brackets [xxxx]
Therefore in the Modname.ini you have to wrote the chaptername in which line(s) have to be changed.
3) now you have to declare the line that should be changed. A line contains two informations. 1- the name (blabla=) and 2- the data (text or numbers).
My proggrie searchs for chapter [xxxx], than for the line blabla= , and replaces all information behind the =.
4) It automatatically logs the changes. Before changing something it looks in his logs and warn if a line has been changed by an mod before. ( But only if the mod has been enabled by JTxE)
Now you have to store this Modname.ini in the Ini_Mods Folder. (Like you do in JSGME with the Mods Folder)
An easy working way is to make this mod JSGME able and tell the user first to enable it in JSGME and then in JTeX.
Tip1:
If you write an Mod which gives the user the possibility to change his dial ring (maybe in dials.tga) to red, or blue or green, normally you write 3 Mods and let the customer downlaod with fauvourite color.(every Mod uses the same dials.tga with different color)
Now you can make a mod with three different dials.tga (dials_red.tga, dials_blue.tga......) . Now you write 3 dials.ini (dial_red.ini , dial_blue.ini ...., with different "Mat 0=data/menu/gui/layout/dial_red.tga" {or dial_blue.tga}..... lines)
you put the three ini's in the Ini_Mods Folder and put all together as an JSGME package.
The user makes one download, install one time with JSMGE and with the JTxE he can switch his desired color.
Tip2:
You want to change parts of an TGA-file. This TGA file is also in use by other Mods.
You copy the TGA File, remanes it.
Now write an mymod.ini, change the mat0= line to the new filename, and store it at the INI_Mods Folder. Make your file JSGME ready, and tell the people first to enable it with JSGME and than with JTxE.
And you will not get trouble with existing mods.
More descriptions -> http://www.subsim.com/radioroom/showthread.php?t=123521
Sorry for my bad english - but i hope you understand how the JTxE works and which posibilities it will open.
At the moment this will be more work for the modders, but it will give the user the ability to use a lot of different mods without handwriting or conflicting the menu..ini
And using Tip2 also without conflicting often used tga's.
Saludos
jimimadrid
onelifecrisis
10-17-07, 11:59 AM
Hi jimimadrid,
Great idea! Thanks!
I have some questions:
Can JTxE add new lines to an ini file or can it only modify existing lines? Also I don't really understand why the user would need to enable the mod via JSGME before using JTxE, can you explain this please?
Thanks!
OLC
Wolfehunter
10-17-07, 12:02 PM
Thanks for this mod tool. :up: Hmmm Now lets see what I can do with it...:hmm: ;)
jimimadrid
10-17-07, 01:31 PM
Can JTxE add new lines to an ini file or can it only modify existing lines? Also I don't really understand why the user would need to enable the mod via JSGME before using JTxE, can you explain this please?
Thanks!
OLC
if you need only to replace some lines, than you can tell the user to copy it directly to the ini_mods folder. In the mostly cases the user will not have an ini_mods folder. therefore making an ini_folder with JSGME will make it easier for these people who uses JSGME.
if your mod merges graphics and menu.ini settings than you have to use first JSGME.
in the avaiable version JTxE is capable to add new lines. (But take care it does not work 100 % - problems with taking back the lines when disabling the mod)
You add the lines normal behind the chaptername.
JTxE search for the line in the chapter, if JTxE don't find it, they will be added at the end of the chapter.
At the Moment i do not have enough time to search for the disabling new lines problem due of lot of work in the real life. But i will not forget this feature.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.