Jump to content


* * * * * 2 votes

AIEdit


  • Please log in to reply
34 replies to this topic

#1 npattinson - guest

npattinson - guest
  • Guests

Posted Jan 30 2007 - 05:13 PM

This utility was originally intended to edit lp files, but I didn't get around to adding many editing features. It's not bad for viewing lp files, and probably ok for setting flags.

It's useful (amongst other things) for seeing what flags Papy used where on the original tracks, which is a good guideline for adding them for new tracks.

Updated 29-Jan-09

Nigel

P.S. Lots of changes since this first post, is actually useful for editing now. See later posts for additional info.

Attached Files


Edited by npattinson, Jan 29 2009 - 01:48 AM.


#2 dangermouse

dangermouse

    The mobile chicane

  • Administrators
  • PipPipPipPipPipPipPipPipPipPip
  • 5,955 posts
  • Gender:Male
  • Location:SRMZ/GPLR London, UK
  • Interests:Errrrrr, GPL? :-)
    Music , computing, hi-fi, motor racing
  • Sim interest:GPL and P&G

Posted Jan 31 2007 - 05:32 AM

Many thanks Nigel :thumbup:

You do manage to make very nice programs for us. :)




:wave:

#3 ginetto

ginetto

    GPL track editor

  • Administrators
  • PipPipPipPipPipPipPipPipPipPip
  • 3,259 posts
  • Gender:Male
  • Location:Lombardia, Italia
  • Interests:Mountain
  • Sim interest:GPL

Posted Jan 31 2007 - 02:40 PM

Great!
Thanks a lot! :thumbup:
:wave:

#4 Jim Pearson

Jim Pearson

    Denny Hulme

  • Supporter
  • PipPipPipPipPipPipPipPipPipPip
  • 290 posts
  • Gender:Male
  • Location:Down Under
  • Interests:Trackmaking, Bike Road Racing, Links Golf, Long Distance Walking.
  • Sim interest:GPL

Posted Jan 31 2007 - 09:20 PM

Thank'e Nigel

What would we do without you?

Cheers

Jim

Edited by Jim Pearson, Jan 31 2007 - 09:22 PM.


#5 MECH

MECH

    Double poly killer

  • Administrators
  • PipPipPipPipPipPipPipPipPipPip
  • 2,413 posts
  • Gender:Male
  • Location:Here ->
  • Interests:My Girlfriend
  • Sim interest:GPL

Posted Feb 01 2007 - 05:58 AM

Your being way to modest Nigel,

This is a great tool!  :clap2:

I've already had much help from it using it for Montjuich.

Anyway a big thank you for making the effort!  :thumbup:

#6 MECH

MECH

    Double poly killer

  • Administrators
  • PipPipPipPipPipPipPipPipPipPip
  • 2,413 posts
  • Gender:Male
  • Location:Here ->
  • Interests:My Girlfriend
  • Sim interest:GPL

Posted Feb 06 2007 - 04:09 PM

I've stumbled on this error on a couple of tracks.... :oops:

Any idea what's causing this? :think:

Attached Files



#7 npattinson - guest

npattinson - guest
  • Guests

Posted Feb 06 2007 - 04:26 PM

View PostMECH, on Feb 6 2007, 04:09 PM, said:

Any idea what's causing this? :think:
Probably a non-standard wall type. However I thought I'd posted a version that would handle that. If you can tell me which tracks this is happening on I'll get it fixed.

Nigel

#8 MECH

MECH

    Double poly killer

  • Administrators
  • PipPipPipPipPipPipPipPipPipPip
  • 2,413 posts
  • Gender:Male
  • Location:Here ->
  • Interests:My Girlfriend
  • Sim interest:GPL

Posted Feb 07 2007 - 12:36 PM

View Postnpattinson, on Feb 6 2007, 11:26 PM, said:

View PostMECH, on Feb 6 2007, 04:09 PM, said:

Any idea what's causing this? :think:
Probably a non-standard wall type. However I thought I'd posted a version that would handle that. If you can tell me which tracks this is happening on I'll get it fixed.

Nigel

Your comment made me have a look on which version i had. I downloaded the one you posted here and there were no error's anymore. I got my version from Paul and it appears to be an early one.

Anyway all is well now  :thumbup:

Edited by MECH, Feb 07 2007 - 12:43 PM.


#9 npattinson - guest

npattinson - guest
  • Guests

Posted Apr 01 2008 - 03:32 PM

Here's the new version, with a whole new way of making lp files. Many thanks to Martin Huiskes who not only tested it exhaustively and made many helpful suggestions which have been incorporated, but also produced the tutorial helpfile which makes sense of the arcane world of GPL AI.

Nigel

P.S. Attachment removed, current version now available from first post.

Edited by npattinson, Jan 29 2009 - 01:50 AM.


#10 Bo Bruce

Bo Bruce

    oAo Admin

  • Administrators
  • PipPipPipPipPipPipPipPipPipPip
  • 526 posts
  • Gender:Male
  • Location:northern Indiana
  • Interests:racing... baseball...military history... reading too much to specify everything :)
  • Sim interest:GPL

Posted Apr 02 2008 - 07:58 PM

hey Nige, i've never tempted to toy with AI except to race them, is this tool for dummies? or do you need some idea of whats involved? i wouldn't want to mess with files unless its pain free :)

i see you said it comes with a tutorial, but i just wondered how difficult it might be for someone like me.
thx

#11 npattinson - guest

npattinson - guest
  • Guests

Posted Apr 02 2008 - 08:05 PM

View PostBo Bruce, on Apr 3 2008, 02:58 PM, said:

hey Nige, i've never tempted to toy with AI except to race them, is this tool for dummies? or do you need some idea of whats involved? i wouldn't want to mess with files unless its pain free :)

i see you said it comes with a tutorial, but i just wondered how difficult it might be for someone like me.
I'd like to say it's pain free, but I'd be lying. AIEdit doesn't even really make it easier to do, but I think it does make it much easier to do well. But if you still think you might be interested taking a look at the tutorial would be a good place to start.

Nigel

#12 Steffen W - guest

Steffen W - guest
  • Guests

Posted May 01 2008 - 08:38 AM

View Postnpattinson, on Apr 1 2008, 10:32 PM, said:

Here's the new version, with a whole new way of making lp files. Many thanks to Martin Huiskes who not only tested it exhaustively and made many helpful suggestions which have been incorporated, but also produced the tutorial helpfile which makes sense of the arcane world of GPL AI.

Nigel


Nigel and Martin,

the tutorial alone is a piece of gold!

#13 napf

napf

    Jackie Ickx

  • Members
  • Pip
  • 1 posts
  • Sim interest:GPL

Posted Jul 15 2009 - 06:43 AM

Something seems to be wrong with the trk-file

Attached File  Aiedit.jpg   22.11K   47 downloads

Any idea what's causing this?

#14 MECH

MECH

    Double poly killer

  • Administrators
  • PipPipPipPipPipPipPipPipPipPip
  • 2,413 posts
  • Gender:Male
  • Location:Here ->
  • Interests:My Girlfriend
  • Sim interest:GPL

Posted Jul 15 2009 - 09:12 AM

View Postnapf, on Jul 15 2009, 02:43 PM, said:

Something seems to be wrong with the trk-file

Attachment Aiedit.jpg

Any idea what's causing this?

That's normally an indication there's something wrong with the starting grid/pit stalls in the track.ini file.

If you have checked those values (and other track.ini values for that matter) and they seem to be right then i wouldn't know what's causing it. :confused:

#15 MECH

MECH

    Double poly killer

  • Administrators
  • PipPipPipPipPipPipPipPipPipPip
  • 2,413 posts
  • Gender:Male
  • Location:Here ->
  • Interests:My Girlfriend
  • Sim interest:GPL

Posted Nov 17 2012 - 08:41 AM

For those using Aiedit to make some proper ai files i made a small tool to make life a bit easier.
It can create an offset of 1.7mtrs(+ and -) in a race file so you can have a base file for passing lines much quicker. It is still a bit rudimental so should you have a problem let me know.

Once you have a proper race.lp file created open it with LPedit and create a race.txt.
Run my tool LPoffset and it will create a pass1.txt & pass2.txt.
Those passing text files can be converted back into lp files with LPedit.

Now you should be able to make a pass line much quicker.
Load the new lp files in Aiedit, generate a lcv file and change wherever the passing lines cross the min max lines. Let Aiedit generate a new lp file of the changed lcv.

Backup stuff before you replace any lp file!

Get LPoffset at my website..

#16 ezechiel47

ezechiel47

    Denny Hulme

  • Supporter
  • PipPipPipPipPipPipPipPipPipPip
  • 354 posts
  • Gender:Male
  • Sim interest:GPL

Posted Nov 27 2012 - 02:47 PM

Many thanks, Martin.
Tested and approved. Quite a good stuff ! Indispensable to AI makers...

(only one thing not dramatic: it seems that pass1 and pass2 generated files are in reverse order - pass1 should be on left side and pass2 on right)

Thanks again for this little great tool.

Ez

#17 MECH

MECH

    Double poly killer

  • Administrators
  • PipPipPipPipPipPipPipPipPipPip
  • 2,413 posts
  • Gender:Male
  • Location:Here ->
  • Interests:My Girlfriend
  • Sim interest:GPL

Posted Dec 04 2012 - 06:08 AM

View Postezechiel47, on Nov 27 2012 - 02:47 PM, said:

Many thanks, Martin.
Tested and approved. Quite a good stuff ! Indispensable to AI makers...

(only one thing not dramatic: it seems that pass1 and pass2 generated files are in reverse order - pass1 should be on left side and pass2 on right)

Thanks again for this little great tool.

Ez

Thx for the heads up Ezechiel :thumbup:
I'll have a look at it and fix that bug.

Do you feel there's a need to be able to use a different distant value?
E.g. a parameter which you can change to have a bigger/smaller offset.

#18 ezechiel47

ezechiel47

    Denny Hulme

  • Supporter
  • PipPipPipPipPipPipPipPipPipPip
  • 354 posts
  • Gender:Male
  • Sim interest:GPL

Posted Dec 04 2012 - 01:03 PM

Yes absolutely !

For instance, for the big cars (canam and gt67), a bigger offset is better (2 meters or 2.5)

Many thanks again

Ez

#19 MECH

MECH

    Double poly killer

  • Administrators
  • PipPipPipPipPipPipPipPipPipPip
  • 2,413 posts
  • Gender:Male
  • Location:Here ->
  • Interests:My Girlfriend
  • Sim interest:GPL

Posted Dec 08 2012 - 11:23 AM

New version with input uploaded :)


This version has also the proper + & - values for the pass files..

Edited by MECH, Dec 08 2012 - 12:40 PM.


#20 ginetto

ginetto

    GPL track editor

  • Administrators
  • PipPipPipPipPipPipPipPipPipPip
  • 3,259 posts
  • Gender:Male
  • Location:Lombardia, Italia
  • Interests:Mountain
  • Sim interest:GPL

Posted Dec 08 2012 - 02:37 PM

Hi Martin :)
didn't Lee already made a tool for this?
Grand Prix Legends AI Pass Line Creator is the name and the usage is the same as yours.
Is a couple of years that I'm using it :think:

Attached Files

  • Attached File  Lees.jpg   21.99K   46 downloads





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Sim Racing Links