https://www.tt-wiki.net/index.php?title=UsingLocoTools&feed=atom&action=historyUsingLocoTools - Revision history2024-03-29T04:48:56ZRevision history for this page on the wikiMediaWiki 1.35.13https://www.tt-wiki.net/index.php?title=UsingLocoTools&diff=7916&oldid=prevMaquinista: /* Basic Testing */2011-10-13T00:29:33Z<p><span dir="auto"><span class="autocomment">Basic Testing</span></span></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en-GB">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 00:29, 13 October 2011</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 55:</td>
<td colspan="2" class="diff-lineno">Line 55:</td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br>If so, add a line with your object filename and increase the matching "numobjects" variable by one.</div></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br>If so, add a line with your object filename and increase the matching "numobjects" variable by one.</div></td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br> also scheck if the scenarios year is not too early for your object.</div></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br> also scheck if the scenarios year is not too early for your object.</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Locomotion development]]</div></td>
</tr>
</table>Maquinistahttps://www.tt-wiki.net/index.php?title=UsingLocoTools&diff=4720&oldid=prevOrudge: 18 revisions2011-06-13T17:43:14Z<p>18 revisions</p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<tr class="diff-title" lang="en-GB">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 17:43, 13 June 2011</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en-GB"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Orudgehttps://www.tt-wiki.net/index.php?title=UsingLocoTools&diff=4719&oldid=prevOrudge: Reverted edits by Apedizivif (Talk) to last version by Maalth2010-12-07T17:35:53Z<p>Reverted edits by <a href="/wiki/Special:Contributions/Apedizivif" title="Special:Contributions/Apedizivif">Apedizivif</a> (<a href="/index.php?title=User_talk:Apedizivif&action=edit&redlink=1" class="new" title="User talk:Apedizivif (page does not exist)">Talk</a>) to last version by <a href="/index.php?title=User:Maalth&action=edit&redlink=1" class="new" title="User:Maalth (page does not exist)">Maalth</a></p>
<p><b>New page</b></p><div>== Important Notes ==<br />
<br />
Before using LocoTools it is recommended you back up your Locomotion .DAT files found in the ObjData folder. You can then restore the original version if you have any problems.<br />
<br />
<br />
== Downloading & Installing ==<br />
<br />
You can download the latest LocoTools version from [http://www.ttdpatch.net/loco/ http://www.ttdpatch.net/loco/]. I then recommend putting the unzipped files in a seperate folder in the ObjData directory. You will create alot of files and it is best to not mix them in with your .DAT files. Remember to keep the .dll with the executable or it won't work.<br />
<br />
<br />
== Decoding Files ==<br />
<br />
To decode your DAT files into an editable format, copy them from ObjData to your LocoTools folder and then simply drag the file onto the LocoTools executable. It will then create an .XML file in that directory and create a new folder for the images. The XML file contains all the variables for that object, such as cost and name, whilst all the graphics used by that object are stored as individual .PNG files in the seperate folder.<br />
<br />
== Decoding Files with Parameters ==<br />
<br />
By just double clicking on locotool.exe (or reading the readme.txt) you will notice some options/parameters:<br />
<br />
<br> -p 'num' : choose company colours.<br />
<br> -d : make a *.dat file for the demo version.<br />
<br> -o 'path' : set base path for png files<br />
<br> -q do not display error messages<br />
<br> -s put all sprites in one *.png file (instead of each sprite in one *.png file)<br />
<br> -u output all unknown entries, even if they are zero<br />
<br />
<br>'''Simple usage of parameters'''<br />
<br>right click locotool.exe and create a link of/to it.<br />
<br>right click the link and select "Properties"/"Eigenschaften"<br />
<br>change "Target"/"Ziel" from something like...<br />
<br> C:\Windows\Desktop\locotool.exe <br />
<br> ...to...<br />
<br> C:\Windows\Desktop\locotool.exe -s -q<br />
<br> ...by just adding your needed parameters there.<br />
<br> now instead on locotool.exe drag and drop your *.dat file on locotool.lnk (the link you just created and edited) to use locotool.exe with your parameteters.<br />
<br />
== Encoding Files ==<br />
<br />
When you are happy with your changes, you can simply drag your updated .XML file onto the LocoTools executable. It will create a backup file of your old .DAT and create a new one for you. Simply drop this file into your ObjData folder and when you next run Locomotion, it will update itself with the new objects.<br />
<br />
<br />
== Troubleshooting ==<br />
<br />
If you are having problems, make note of the error message and use it to fix the problem. To avoid problems, ensure you have all the graphics files properly numbered in relation to the .XML file. Even if the graphic is not used, it needs to be present, but you can shrink it to a single transparent blue pixel to save on file space. If the problems persist, restore an old backup file.<br />
<br />
== Basic Testing ==<br />
<br />
'''If your custimized object shows up in the scenario editor''' when you click "advanced menu" and the right table, your object basically works.<br />
<br />
<br>'''If it does not show up in the scenario editor''' you might have done something wrong in the first line that looks like:<br />
<br>object class="0x95" subclass="0x11827C" name="AIRPORT2"><chunk compression="1"<br />
<br>"AIRPORT2" should be the filename (unique, no duplicates allowed) and exactly 8 letters long (including spaces, not longer not shorter).<br />
<br>Also check each line for the correct "structure" (accidently broken or partly missing lines).<br />
<br />
<br>'''If it shows up in the scenario editor but not ingame''' you need to change (decompile and compile) your trackst.dat file manually, your kind of object might be listed there, but not the object you just added.<br />
<br>If so, add a line with your object filename and increase the matching "numobjects" variable by one.<br />
<br> also scheck if the scenarios year is not too early for your object.</div>Orudgehttps://www.tt-wiki.net/index.php?title=UsingLocoTools&diff=4716&oldid=prev69.95.31.115: /* Decoding Files with Parameters */ correct english Windows terminology2007-03-11T23:58:53Z<p><span dir="auto"><span class="autocomment">Decoding Files with Parameters: </span> correct english Windows terminology</span></p>
<p><b>New page</b></p><div>== Important Notes ==<br />
<br />
Before using LocoTools it is recommended you back up your Locomotion .DAT files found in the ObjData folder. You can then restore the original version if you have any problems.<br />
<br />
<br />
== Downloading & Installing ==<br />
<br />
You can download the latest LocoTools version from [http://www.ttdpatch.net/loco/ http://www.ttdpatch.net/loco/]. I then recommend putting the unzipped files in a seperate folder in the ObjData directory. You will create alot of files and it is best to not mix them in with your .DAT files. Remember to keep the .dll with the executable or it won't work.<br />
<br />
<br />
== Decoding Files ==<br />
<br />
To decode your DAT files into an editable format, copy them from ObjData to your LocoTools folder and then simply drag the file onto the LocoTools executable. It will then create an .XML file in that directory and create a new folder for the images. The XML file contains all the variables for that object, such as cost and name, whilst all the graphics used by that object are stored as individual .PNG files in the seperate folder.<br />
<br />
== Decoding Files with Parameters ==<br />
<br />
By just double clicking on locotool.exe (or reading the readme.txt) you will notice some options/parameters:<br />
<br />
<br> -p 'num' : choose company colours.<br />
<br> -d : make a *.dat file for the demo version.<br />
<br> -o 'path' : set base path for png files<br />
<br> -q do not display error messages<br />
<br> -s put all sprites in one *.png file (instead of each sprite in one *.png file)<br />
<br> -u output all unknown entries, even if they are zero<br />
<br />
<br>'''Simple usage of parameters'''<br />
<br>right click locotool.exe and create a link of/to it.<br />
<br>right click the link and select "Properties"/"Eigenschaften"<br />
<br>change "Target"/"Ziel" from something like...<br />
<br> C:\Windows\Desktop\locotool.exe <br />
<br> ...to...<br />
<br> C:\Windows\Desktop\locotool.exe -s -q<br />
<br> ...by just adding your needed parameters there.<br />
<br> now instead on locotool.exe drag and drop your *.dat file on locotool.lnk (the link you just created and edited) to use locotool.exe with your parameteters.<br />
<br />
== Encoding Files ==<br />
<br />
When you are happy with your changes, you can simply drag your updated .XML file onto the LocoTools executable. It will create a backup file of your old .DAT and create a new one for you. Simply drop this file into your ObjData folder and when you next run Locomotion, it will update itself with the new objects.<br />
<br />
<br />
== Troubleshooting ==<br />
<br />
If you are having problems, make note of the error message and use it to fix the problem. To avoid problems, ensure you have all the graphics files properly numbered in relation to the .XML file. Even if the graphic is not used, it needs to be present, but you can shrink it to a single transparent blue pixel to save on file space. If the problems persist, restore an old backup file.<br />
<br />
== Basic Testing ==<br />
<br />
'''If your custimized object shows up in the scenario editor''' when you click "advanced menu" and the right table, your object basically works.<br />
<br />
<br>'''If it does not show up in the scenario editor''' you might have done something wrong in the first line that looks like:<br />
<br>object class="0x95" subclass="0x11827C" name="AIRPORT2"><chunk compression="1"<br />
<br>"AIRPORT2" should be the filename (unique, no dublicates allowed) and exactly 8 letters long (including spaces, not longer not shorter).<br />
<br>Also check each line for the correct "structure" (accidently broken or partly missing lines).<br />
<br />
<br>'''If it shows up in the scenario editor but not ingame''' you need to change (decompile and compile) your trackst.dat file manually, your kind of object might be listed there, but not the object you just added.<br />
<br>If so, add a line with your object filename and increase the matching "numobjects" variable by one.<br />
<br> also scheck if the scenarios year is not too early for your object.</div>69.95.31.115https://www.tt-wiki.net/index.php?title=UsingLocoTools&diff=4706&oldid=prev62.252.192.7 at 14:55, 1 October 20042004-10-01T14:55:20Z<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en-GB">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 14:55, 1 October 2004</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 22:</td>
<td colspan="2" class="diff-lineno">Line 22:</td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If you are having problems, make note of the error message and use it to fix the problem. To avoid problems, ensure you have all the graphics files properly numbered in relation to the .XML file. Even if the graphic is not used, it needs to be present, but you can shrink it to a single transparent blue pixel to save on file space. If the problems persist, restore an old backup file.</div></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If you are having problems, make note of the error message and use it to fix the problem. To avoid problems, ensure you have all the graphics files properly numbered in relation to the .XML file. Even if the graphic is not used, it needs to be present, but you can shrink it to a single transparent blue pixel to save on file space. If the problems persist, restore an old backup file.</div></td>
</tr>
<tr>
<td class="diff-marker">−</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"></td>
<td colspan="2" class="diff-empty"> </td>
</tr>
<tr>
<td class="diff-marker">−</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>== I can edit everything? ==</div></td>
<td colspan="2" class="diff-empty"> </td>
</tr>
</table>62.252.192.7https://www.tt-wiki.net/index.php?title=UsingLocoTools&diff=4705&oldid=prev62.163.141.201 at 13:44, 1 October 20042004-10-01T13:44:40Z<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en-GB">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 13:44, 1 October 2004</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 22:</td>
<td colspan="2" class="diff-lineno">Line 22:</td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If you are having problems, make note of the error message and use it to fix the problem. To avoid problems, ensure you have all the graphics files properly numbered in relation to the .XML file. Even if the graphic is not used, it needs to be present, but you can shrink it to a single transparent blue pixel to save on file space. If the problems persist, restore an old backup file.</div></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If you are having problems, make note of the error message and use it to fix the problem. To avoid problems, ensure you have all the graphics files properly numbered in relation to the .XML file. Even if the graphic is not used, it needs to be present, but you can shrink it to a single transparent blue pixel to save on file space. If the problems persist, restore an old backup file.</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"></td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>== I can edit everything? ==</div></td>
</tr>
</table>62.163.141.201https://www.tt-wiki.net/index.php?title=UsingLocoTools&diff=4704&oldid=prev80.229.196.109: /* Trouble Shooting */2004-09-25T15:28:32Z<p><span dir="auto"><span class="autocomment">Trouble Shooting</span></span></p>
<p><b>New page</b></p><div>== Important Notes ==<br />
<br />
Before using LocoTools it is recommended you back up your Locomotion .DAT files found in the ObjData folder. You can then restore the original version if you have any problems.<br />
<br />
<br />
== Downloading & Installing ==<br />
<br />
You can download the latest LocoTools version from [http://www.ttdpatch.net/loco/ http://www.ttdpatch.net/loco/]. I then recommend putting the unzipped files in a seperate folder in the ObjData directory. You will create alot of files and it is best to not mix them in with your .DAT files. Remember to keep the .dll with the executable or it won't work.<br />
<br />
<br />
== Decoding Files ==<br />
<br />
To decode your DAT files into an editable format, copy them from ObjData to your LocoTools folder and then simply drag the file onto the LocoTools executable. It will then create an .XML file in that directory and create a new folder for the images. The XML file contains all the variables for that object, such as cost and name, whilst all the graphics used by that object are stored as individual .PNG files in the seperate folder. <br />
<br />
<br />
== Encoding Files ==<br />
<br />
When you are happy with your changes, you can simply drag your updated .XML file onto the LocoTools executable. It will create a backup file of your old .DAT and create a new one for you. Simply drop this file into your ObjData folder and when you next run Locomotion, it will update itself with the new objects.<br />
<br />
<br />
== Troubleshooting ==<br />
<br />
If you are having problems, make note of the error message and use it to fix the problem. To avoid problems, ensure you have all the graphics files properly numbered in relation to the .XML file. Even if the graphic is not used, it needs to be present, but you can shrink it to a single transparent blue pixel to save on file space. If the problems persist, restore an old backup file.</div>80.229.196.109