Page 1 of 4

TrackEdit 0.14 (Oct 24, 2015)

PostPosted: Sun Dec 21, 2014 3:50 pm
by BitTwiddler
Okay, I went back and revamped my old java version of the viewer to be a full blown track editor. I would have used the C verison as the base, but SDL lacks built in font rendering and a GUI toolkit (though I could have used IUP, but I didn't want to have to bother).

Anyway, just double click the jar or exe file (depending on your OS/Configuration), to run the program, click open, select the folder of the track you want to edit. Hopefully the rest should explain itself.

Requires Java 8!

Image

Download

Source: https://github.com/Chase-san/Automation-Track-Editor

Automation Track Viewer 0.2

PostPosted: Mon Dec 22, 2014 12:56 am
by BitTwiddler
I decided to grow this into a full blown track editor. However, here is the old C track viewer for those who want it.

AutomationTrackViewer_0.2.zip
Version 0.2
(397.25 KiB) Downloaded 570 times

Re: Automation Track Editor 0.9

PostPosted: Mon Dec 22, 2014 1:13 am
by pyrlix
Give that man a beer!
That thing is really good - tried it out and was fiddling around with my Hockenheim! Seems lightweight and fast.

Re: Automation Track Editor 0.9

PostPosted: Mon Dec 22, 2014 1:53 am
by 07CobaltGirl
This thing is super easy to use! Great job!!

Re: Automation Track Editor 0.9

PostPosted: Mon Dec 22, 2014 6:15 am
by Nivracer
How do I start Making my own track with this, or can you?

Re: Automation Track Editor 0.9

PostPosted: Mon Dec 22, 2014 6:45 am
by 07CobaltGirl
Yes, you can use this to make your own tracks. It is essentially the same method as described in How to build Custom Tracks with a graphical interface to show you your track line. This is a stand-alone version similar to the original browser version found here using the methods found here. As my tutorial was written for the original track editor (browser-based), it isn't exactly the same as this stand-alone editor, but other than graphical layout, they do the same things, in pretty much the same way.

Re: Automation Track Editor 0.9

PostPosted: Mon Dec 22, 2014 4:26 pm
by BitTwiddler
It's an editor, it edit's tracks. You need an existing track (if very small) to bring into the editor. I will add a "new" function later (which is somewhat more involved then you may think).

Re: Automation Track Editor 0.9

PostPosted: Mon Dec 22, 2014 7:34 pm
by BitTwiddler
Added the source code to the original post, for those of you who want to hack on it. ZLIB licensing, so do more or less what you want. :)

Re: Automation Track Editor 0.9

PostPosted: Thu Jan 01, 2015 5:03 pm
by BitTwiddler
I have a few plans for the next update of this.

  • Create new tracks from the editor, rather then just edit tracks.
  • Fix split box display on curves.
  • Be able to alter the scale without altering the layout (it will automatically adjust the segments so it's the same or close to the same). So you can slowly tweak the size of your track to be accurate.
  • Graphical display for both Slope and Camber.
  • Overall track elevation chart, plus displaying where the current segment is on the elevation chart.
  • Ability to select the segment by clicking on the image.

I need more information about the curve error to be able to properly simulate it. I'll probably work on this stuff tomorrow.

I will need someone to double check some of my math when it comes to the distances are correct. Since it is mostly all guess work at this point.

Re: TrackEdit 0.10

PostPosted: Sat Jan 03, 2015 12:36 am
by BitTwiddler
Anyway, I wrote that previous list on new years near the end of the night when I was...somewhat inebriated. However my somber self will try and fulfill my inebriated promises. Because that's how I roll. 8-)

Updated to 0.10

Anyway, more has changed in the code then you likely care about, therefore.

Succinct Change Log
  • Ability to rescale the track, not just scale it! This means you can alter the scale so the length changes, but the graphical track doesn't!
  • Added a track highlight function, now you always know what part of the track you are editing.
  • Graphical display of slope and camber right next to where you adjust them.
  • The title bar has a * to show if you have saved or not (will not warn you if you fail to save!)
  • Changed the name of the program so that people know which track editor you're talking about.
  • Index names are now on both sides of the track, so you can find the track section you are looking for easier.
  • Fixed a bug in the rendering of split times on curves.
  • Fixed a bug in the curve rendering.
  • Rewrote entire rendering subsystem so I can fix it easier once I get more information about how the game works.

EDIT: BUG FIXED EDITION 0.10b
Change Log
  • Fixed rescaling not changing split values.
  • Fixed rescaling not updating the segment panel values.
  • Fixed where floating point errors and trailing zeros were being saved in the lua.
  • Fixed where Track Segments were not being set to reasonable values on creation or type change.
  • Fixed a graphical bug with the track highlighting making it hard to guess the angle of turns.
  • Fixed the track segment counter.

Re: TrackEdit 0.10b

PostPosted: Sat Jan 03, 2015 11:16 pm
by WizzyThaMan
Dude, can I kiss your feet xD

Re: TrackEdit 0.11

PostPosted: Sun Jan 04, 2015 6:18 am
by BitTwiddler
Hello everyone. I have a new update here, better known as v0.11. It is something special this one. Here are the lists of new spiffy stuff for you.

Change Log
  • Added elevation chart! It even has a highlight function.
  • You can now click on the track on the picture to select a segment.
  • Added a split button to the segments, this will split a segment into two identical sections of track (useful for tweaking your elevations).
  • Moved the track segments to their own scroll pane, so you can keep an eye on the length and elevation stats.
  • Speaking of which, added elevation stats below length. The first is the difference between the start and end elevations, and the second is the total elevation change (min to max) in the track.
  • Fixed all the track pieces reporting as straight sections in the segment window (maybe that was just in my copy).

What's left?
  • The "new track" functionality, been putting this off for awhile out of laziness. Not hard, just tedious.
  • Able to click on the elevation chart to select segment.
  • More closely simulate the path the car takes in the game. If you have any information, please let me know!

Re: TrackEdit 0.11

PostPosted: Sun Jan 04, 2015 6:30 am
by Jakgoe
This is fantastic! Thank you!

Re: TrackEdit 0.11

PostPosted: Sun Jan 04, 2015 7:34 pm
by AlternateSteve90
Looks good, but unfortunately, couldn't get it to work on my Win 8 PC, and I have the latest version of Java.....(it says Windows can't find "javaw", whatever that is) :|

Re: TrackEdit 0.11

PostPosted: Sun Jan 04, 2015 10:32 pm
by BitTwiddler
You can try double clicking the jar, that sometimes works on windows. If you want you can try the early prototype of the windows launcher I wrote for it.

Just put it in the same folder as the jar, and then double click it (it's an exe) and it will do some tricky stuff to find your java install and run the jar with it.

[ See first post for the launcher, it is included in the main download now! ]