MX Bikes Official Forum

Mods => Track Editing => Topic started by: millerjd222 on July 08, 2020, 05:07:37 AM

Title: Need help making a track
Post by: millerjd222 on July 08, 2020, 05:07:37 AM
I have been trying for hours to figure this out and its still not working correctly. I do everything right in TFC's tutorial. But when I run _map.bat, _trh.bat, and centerline.bat no new files show up in my track folder. Maybe this has something to do with it, when i run map.bat it says WARNING: Extension Corrected. Can someone give me tips?
Title: Re: Need help making a track
Post by: ez on July 08, 2020, 06:15:37 AM
post a picture of your bat map.bat file and the rest of your bat files in a text editor. I struggled alot trying to get my "track" to work, i understand the struggle.
Title: Re: Need help making a track
Post by: millerjd222 on July 08, 2020, 07:17:49 AM
here ya go
Title: Re: Need help making a track
Post by: War Cry on July 08, 2020, 07:34:08 AM
Not 100% sure if this would fix it, but the first screen shot shows "example.tcl" and "example_start.tcl" and I believe those have to be named to match the track's tht and hmf files, which are "track" according to the other two screen shots
Title: Re: Need help making a track
Post by: Resolute Kraken on July 08, 2020, 07:50:40 AM
the centerline names won't make a difference.  Might be a dumb question, but are you sure you have all of the track tools in your track folder.  Tracked.exe and Terrained.exe?  Show screenshots of your folders and files - or join the discord and ask for more realtime help there.
Title: Re: Need help making a track
Post by: BeefLilly247 on July 08, 2020, 02:18:29 PM
Are you executing them in the correct order?
Title: Re: Need help making a track
Post by: millerjd222 on July 08, 2020, 11:01:51 PM
yes I am executing them in the right way, and let me post some screen shots of the folders and files.
Title: Re: Need help making a track
Post by: millerjd222 on July 08, 2020, 11:05:13 PM
here are my files and the folders.
Title: Re: Need help making a track
Post by: millerjd222 on July 08, 2020, 11:05:58 PM
whoops didnt mean to send them all two times.
Title: Re: Need help making a track
Post by: Resolute Kraken on July 08, 2020, 11:20:54 PM
okay, next request, show screenshots of your hmf and tht files
Title: Re: Need help making a track
Post by: millerjd222 on July 08, 2020, 11:25:57 PM
here are my hmf and tht files
Title: Re: Need help making a track
Post by: millerjd222 on July 08, 2020, 11:28:32 PM
and i just switched the repetition to 1 for hmf file cause i messed up
Title: Re: Need help making a track
Post by: Resolute Kraken on July 08, 2020, 11:36:46 PM
well, they look fine, only other thing I can think of.  Using a new example track folder, delete the trh and map file from it, then run the builds for those - making not modifications to either.

Or take the heightmap from the example track and use that to see if it builds in yours as well, maybe the heightmap is messed up.
Title: Re: Need help making a track
Post by: AMAX816 on July 08, 2020, 11:37:19 PM
Hi,
In the main track folder I see you have 3 files entitled "heightmap"
Not sure but that may be causing an issue.
Suggest removing the two top ones and only leave the heightmap.raw file in the folder and see if that helps.
Title: Re: Need help making a track
Post by: millerjd222 on July 08, 2020, 11:40:38 PM
i got rid of the TRH and MAP files and put in the ones from the example track. Then i ran them and they did not create the files for my track. So that did not work unfortunately
Title: Re: Need help making a track
Post by: AMAX816 on July 09, 2020, 12:15:10 AM
Did you edit the batch files in notepad?
Right click each file, _map,_trh and centerline, open in notepad+ and make sure the naming is correct.
Where "example" is in the photo below {_map batch opened in notepad} you input your track folder name.
Title: Re: Need help making a track
Post by: millerjd222 on July 09, 2020, 01:55:17 AM
Quote from: AMAX816 on July 08, 2020, 11:37:19 PMHi,
In the main track folder I see you have 3 files entitled "heightmap"
Not sure but that may be causing an issue.
Suggest removing the two top ones and only leave the heightmap.raw file in the folder and see if that helps.
I just tried this an it did not work....
Title: Re: Need help making a track
Post by: millerjd222 on July 09, 2020, 02:01:24 AM
Quote from: AMAX816 on July 09, 2020, 12:15:10 AMDid you edit the batch files in notepad?
Right click each file, _map,_trh and centerline, open in notepad+ and make sure the naming is correct.
Where "example" is in the photo below {_map batch opened in notepad} you input your track folder name.
I also have done this already. Its still not working :(
Title: Re: Need help making a track
Post by: tbone323 on July 14, 2020, 05:11:59 AM
Im in the same boat. Downloaded all the new tools and newest example. Following the video guide exactly and I cannot get the new trh and map files to generate.
Title: Re: Need help making a track
Post by: 𝖙𝖋𝖈 on July 14, 2020, 09:41:54 AM
I don't know what to say guys. This works for so many people but every now and then someone has an issue. I can only put it down to a couple of things.

1. A local issue, permissions or something else.

2. User error, although each case will be different most likely, I've helped a lot of people over the years who have made a tiny easy to miss mistake.

Past that, sorry I have no idea why it doesn't work for a few people.  :-\
Title: Re: Need help making a track
Post by: tbone323 on July 14, 2020, 02:51:12 PM
Quote from: 𝖙𝖋𝖈 on July 14, 2020, 09:41:54 AMI don't know what to say guys. This works for so many people but every now and then someone has an issue. I can only put it down to a couple of things.

1. A local issue, permissions or something else.

2. User error, although each case will be different most likely, I've helped a lot of people over the years who have made a tiny easy to miss mistake.

Past that, sorry I have no idea why it doesn't work for a few people.  :-\


I know it has to be some kind of setting or minor mistake im making. I did go into trh.bat and add a pause after line 1 and was able to get this message to pop up. Not sure if this is the root of the issue, or if the error was due to me adding the pause in an attempt to see what was happening.

C:\Users\travi\Desktop\crtest>terrained.exe track.tht crtest/crtest.trh trh_params.ini
'terrained.exe' is not recognized as an internal or external command,
operable program or batch file.
Title: Re: Need help making a track
Post by: Resolute Kraken on July 14, 2020, 06:57:10 PM
Quote from: tbone323 on July 14, 2020, 02:51:12 PMI know it has to be some kind of setting or minor mistake im making. I did go into trh.bat and add a pause after line 1 and was able to get this message to pop up. Not sure if this is the root of the issue, or if the error was due to me adding the pause in an attempt to see what was happening.

C:\Users\travi\Desktop\crtest>terrained.exe track.tht crtest/crtest.trh trh_params.ini
'terrained.exe' is not recognized as an internal or external command,
operable program or batch file.

This leads me to believe you have not copied the terrained.exe into your crtest folder - have you?
Title: Re: Need help making a track
Post by: tbone323 on July 14, 2020, 10:45:55 PM
Quote from: Resolute Kraken on July 14, 2020, 06:57:10 PM
Quote from: tbone323 on July 14, 2020, 02:51:12 PMI know it has to be some kind of setting or minor mistake im making. I did go into trh.bat and add a pause after line 1 and was able to get this message to pop up. Not sure if this is the root of the issue, or if the error was due to me adding the pause in an attempt to see what was happening.

C:\Users\travi\Desktop\crtest>terrained.exe track.tht crtest/crtest.trh trh_params.ini
'terrained.exe' is not recognized as an internal or external command,
operable program or batch file.

This leads me to believe you have not copied the terrained.exe into your crtest folder - have you?

I copied the terrained file folder into the crtest folder but I left terrained.exe in the folder, not in the folder with the .bat files.

I just took the .exe file out of the terrained folder and put it in the main folder and it worked!!!!

I didnt think that could be an issue until your comment.

Thanks!!!!!!!!
Title: Re: Need help making a track
Post by: Magicalfarty on July 17, 2020, 02:10:20 PM
Hi i had the same problem i was trying to make zone 7 but do you have windows activated?
Title: Re: Need help making a track
Post by: Magicalfarty on July 17, 2020, 02:11:56 PM
try running as adminstrator
Title: Re: Need help making a track
Post by: Magicalfarty on July 31, 2020, 09:30:43 AM
when exiting notepad ++ press ctrl+s or save then it should work
Title: Re: Need help making a track
Post by: Magicalfarty on July 31, 2020, 09:34:20 AM
Quote from: millerjd222 on July 08, 2020, 05:07:37 AMI have been trying for hours to figure this out and its still not working correctly. I do everything right in TFC's tutorial. But when I run _map.bat, _trh.bat, and centerline.bat no new files show up in my track folder. Maybe this has something to do with it, when i run map.bat it says WARNING: Extension Corrected. Can someone give me tips?
save the file please then your pc has permission to genorate a new file!
Title: Re: Need help making a track
Post by: CBM Racing on August 04, 2020, 12:33:10 AM
Quote from: millerjd222 on July 08, 2020, 05:07:37 AMI have been trying for hours to figure this out and its still not working correctly. I do everything right in TFC's tutorial. But when I run _map.bat, _trh.bat, and centerline.bat no new files show up in my track folder. Maybe this has something to do with it, when i run map.bat it says WARNING: Extension Corrected. Can someone give me tips?
What's your tracks menu name and short name? I had a similar issue and that was the problem the short name had a space in it's name so every time I ran the tools I would get an error and the files wouldn't show up correctly. In TFC's tutorial, his track is just one name so you don't even think about that causing an issue but it did.
Title: Re: Need help making a track
Post by: cadef461 on May 27, 2021, 07:38:29 AM
I just had the same issue as you and I could not figure it out. I hope you've already figured it out since its been almost a year, but I'm putting this here for people that come across it in the way I did. The issue is that your track folder, Thunder Valley, has a space in it. I had the same issue because the track I'm making is a local one called MX 2. I changed the folder name to be mx2 instead and then ran everything again and it worked flawlessly.