Page 1 of 1

Trying to figure out LocoTool

Posted: 21 Jul 2009 02:28
by PowerQube1234
Okay. Fairly new to the site, but I've been playing locomotion for a while. While scouring through this site (which I found to be very intriguing) I decided to try a simple mod for the Baldwin. This became hell for me due to the fact that I can't manage to get the incrypted code decrypted. If someon could make a YouTube video of how to use LocoTool it would be very appreciated! I am using Dev-C++ to make the program. If I don't actually need a program making program please say! Thanks for reading my plea for help.

Re: Trying to figure out LocoTool

Posted: 21 Jul 2009 03:09
by rdrdrdrd
just drag the file over locotool and drop it, it is kinda confusing, but intuitive at the same time

Re: Trying to figure out LocoTool

Posted: 21 Jul 2009 06:44
by FHS
Theres an easier way, try the attached program.

Edit) Offensive file removed
(FHS)

Re: Trying to figure out LocoTool

Posted: 21 Jul 2009 07:19
by noofnoof
@FHS

just a gentle question, do you have the relevant permissions to upload that?

Re: Trying to figure out LocoTool

Posted: 21 Jul 2009 11:48
by Hammo
@PowerQube: no, you do not need to 'make' the program. As long as you have the .exe and the .dll file (not sure about the changelog or variab.txt), you can run either in the command prompt command line, or as rdrdrdrd said, just drag and drop either the .dat file (do decompile) or the .xml file (to recompile) onto the .exe, and it will do all the work for you. If you are decompiling a .dat, you will get a .xml file and a sprites folder, and if you're recompiling the .xml, your sprites folder and xml will be used to create a new .dat file (if the old .dat file is still there, it will become .bak)

I hope that's not too confusing for you, it's an involved chunk of text.

@FHS: As noofnoof said, don't upload that file if you don't have permission from the author. Provide a link to where it may be downloaded if you wish. And personally, I don't find it any easier. But that might just be personal preference.

Re: Trying to figure out LocoTool

Posted: 21 Jul 2009 14:27
by Plastikman
it sounds like PQ downloaded the source files and not the program...

Re: Trying to figure out LocoTool

Posted: 22 Jul 2009 14:59
by PowerQube1234
Thanks for helping me out guys! But if anyone could link the .exe file it would be appreciated. For some reason I don't have it...

Re: Trying to figure out LocoTool

Posted: 22 Jul 2009 15:43
by PowerQube1234
OK. Now that I have the train in a readable format and have the speed set to 200 and horsepower set to 9000 (will that overload the game?). I've been trying to drag the new file TGV1.1 to the .xml and get nothing... Please help!

Re: Trying to figure out LocoTool

Posted: 22 Jul 2009 16:03
by PowerQube1234
Alright! I have finally figured it out! I saved a new notepad file and couldn't recompile it so here is my first train.

Re: Trying to figure out LocoTool

Posted: 22 Jul 2009 17:34
by rdrdrdrd
what is the difference, before I download it

Re: Trying to figure out LocoTool

Posted: 22 Jul 2009 22:37
by PowerQube1234
I would not recomend downloading the TGV (it has the exact same name for some reason ?( )... My TGV has speed set for 200 and power set to 9000. Currently I am tring to figure out how have the vehicles inserted into the game. My first trains can be found in Locomotion for some strange reason. I make them perfectly fine, change them back to .DAT files, move them back to ObjData file, run Locomotion, and BAM! not there... Besides the question of how to succesully implament the vehicles, how do I change their name in Loco? You can use this bus I made to kind of help me out... I changed the original TDH 5301 to TDH 5302.

Re: Trying to figure out LocoTool

Posted: 22 Jul 2009 22:47
by rdrdrdrd
there is a line of code called description, change that, make sure to delete the .dat before you recompile the XML

Re: Trying to figure out LocoTool

Posted: 23 Jul 2009 00:57
by PowerQube1234
Thankyou rdrdrdrd for helping me out so much today. Now I can say I actually learned something over my summer break. As a thankyou, I give you a Magical Wagon. Capable of going 257 mph, has 27,546 horsepower, and can hold 144 tons of iron ore, coal, or grain. Thanks a ton. :D