![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Sonar Guy
![]() |
![]()
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. ![]() More --> http://www.subsim.com/radioroom/showthread.php?t=123521 |
![]() |
![]() |
![]() |
#2 |
Admiral
![]() Join Date: Apr 2005
Location: Australia:- Sydney
Posts: 2,049
Downloads: 68
Uploads: 0
|
![]()
Is this like JSGME ?
|
![]() |
![]() |
![]() |
#3 | |
Sonar Guy
![]() |
![]() Quote:
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. |
|
![]() |
![]() |
![]() |
#4 |
Seaman
![]() Join Date: Aug 2007
Posts: 32
Downloads: 0
Uploads: 0
|
![]()
Good job ! Does it work with adding ships to the english/germannames.cfg file?
![]() Last edited by Rimfaxi; 10-17-07 at 03:15 AM. |
![]() |
![]() |
![]() |
#5 |
Admiral
![]() Join Date: Apr 2005
Location: Australia:- Sydney
Posts: 2,049
Downloads: 68
Uploads: 0
|
![]()
Thank you for creating this software. Much appreciated.
![]() |
![]() |
![]() |
![]() |
#6 | |
Sonar Guy
![]() |
![]() Quote:
(I have implemented it in this version, but it do not work correctly. Therefore no green light for adding lines) |
|
![]() |
![]() |
![]() |
#7 |
Admiral
![]() Join Date: Jan 2006
Location: Spain , Crossing Gibraltar!
Posts: 2,292
Downloads: 202
Uploads: 1
|
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! ![]() ![]() |
![]() |
![]() |
![]() |
#8 |
Sonar Guy
![]() |
![]()
The use is very simple:
Instead of let users manually change lines in the menu1027_768.ini, the modder write a litte Modname.ini. ![]() 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 |
![]() |
![]() |
![]() |
#9 |
Maverick Modder
![]() Join Date: Aug 2007
Location: England
Posts: 3,895
Downloads: 65
Uploads: 3
|
![]()
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
__________________
Freedom of speech - priceless. For everything else there's Mastercard. |
![]() |
![]() |
![]() |
#10 |
Crusty Capt.
![]() Join Date: Sep 2007
Posts: 2,752
Downloads: 40
Uploads: 25
|
![]()
Thanks for this mod tool.
![]() ![]() |
![]() |
![]() |
![]() |
#11 | |
Sonar Guy
![]() |
![]() Quote:
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. |
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|