WIP AIW Editor for Race07

Post Reply
Deleted User 51

WIP AIW Editor for Race07

Post by Deleted User 51 » 14 Jul 2021, 12:31

this is a pre release of an AIW Editor

written by me, with the help of a few

[External Link Removed for Guests]

v0.29 30.07.2021


please write comments during the WIP phase in the WIP area !


Functionality

- load
- save
- filter non RACE07 entries
- editable WP
- editable MAJOR data entries
- visualation of all objects
- sector length manip (v0.17)
- flat border style added (v0.20)
- alpha values balancing (v0.27)
- pits, garages, grid positions (v0.29)

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 14 Jul 2021, 12:32

How To 01 : Loading & Exporting

01.1. LOAD
-------------------------------------------------------
to load an AIW into EDITOR, just drop the file on the window of the EDITOR
remember, any loaded AIW will be erased, so save your work before doing this

basicly you can load any file into the EDITOR

but only tags recognized by RACE07 will be proceeded and stored
unknown TAGS or other errors will be remarked in the ILOG tab (number on the right is the amount of messages)
messages in the ILOG tab can be cleared by pressing CLEAR LOG

01.2. SAVE
-------------------------------------------------------
to save the AIW, go to the InOut area and press SAVE AIW button
Clipboard01.gif
the file will be saved in the same place, with the same name, but with a changed appendix
a 7 will be appendend to filename

in the SETTINGS tab, you can ask to export more verbose text in the AIW

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 14 Jul 2021, 12:45

How To 02: Basic Using

02.1. Window Setup
-------------------------------------------------------
on startup, three windows will show up
one is the "data in out" window called MAIN,
the overview map window, which is called MAP
and the window with deailed AIW drawing, called TRACK DET

you can move & close the windows, the app will remember its state and open the windows like closed


02.2 UI configuration
-------------------------------------------------------
in SETTINGS tab, you can change the colors of the UI, they will be remembered (they are saved in APPDATA/AIW_WX_182style_sty)

above the color section, is a selection for base COLOR SKINS (dark, light, classic)
Clipboard01.gif
you can select one from the list and adjust it for your needs, but all previous color settings will be overwritten

in the UI GENERAL area, you can change the font and size used
those changes need an restart

02.3. MAP USAGE
-------------------------------------------------------
after loading an valid AIW, the EDITOR will show an overview map, which is centered on 0,0
and an magnified area in the DETAIL window, centered on the first WAYPOINT

you can now change the DETAILED map position by several means

you can click in the overview map, with the right mouse button on the area of interest
the white box will move to the area clicked and represent by its size the area shown in the DETAIL map

you can use the three slider in the top left corner of the DETAIL map, to change the magnification
or the center position of the map
the white box in the overview map, will represent changes done
Clipboard03.gif

02.3. COLOR MAPPING
-------------------------------------------------------
every AIW item, has his own color to be drawn and style (NOT YET INTEGRATED)
this means, you can change, how an object will be drawn, either in the overview like in the detail window
this colors are different for every mod you are working in
Clipboard04.gif
so, there is a settings of colors when editing waypoints and another for editing grid positions
there are the same at the begining, but you can change them to your needs and those definition will be saved (NOT YET INTEGRATED)

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 14 Jul 2021, 13:20

How To 03: work MODEs

03.1. MODEs
-------------------------------------------------------
the EDITOR switches between work MODEs depending, what elements are modified / selected
it changes the colors & style how objects are drawn

03.2. OVerview MODE
-------------------------------------------------------
in this mode, no elements are selected and you are able to alter basic AIW values and the WAYPOINT data
Clipboard06.gif
03.2. WAYPOINTs MODE
-------------------------------------------------------
in this mode, you can edit selected WAYPOINTs

Clipboard07.gif
altered values will be reflected in the maps
you can change the selected WAYPOINT by using the slider, jumping to the next or previous by the buttons
Clipboard08.gif
Clipboard08.gif (6.32 KiB) Viewed 42509 times
or just typing in the waypoint nr (by CTRL-LEFTMOUSE into the slider)

you can also select one WAYPOINT or other objects in the DETAIL map (NOT YET INTEGRATED)

in the COLOR tab, you are able to change the colors / style & visibility of the object type for each mode
Clipboard09.gif

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 14 Jul 2021, 13:24

How To 04: editig WAYPOINTS

reserved

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 14 Jul 2021, 13:24

How To 05: editig GRID / TELEPORT

reserved

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 14 Jul 2021, 13:25

How To 06: editig PITS GARAGE

reserved

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 14 Jul 2021, 13:25

How To 07: editig PIT

reserved

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 14 Jul 2021, 13:25

How To 08: recording PATH in RACE07

reserved

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 14 Jul 2021, 13:27

How To 09: building AIW from zero with TRK objects

reserved

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 14 Jul 2021, 13:27

How To 10: automated AIW building

reserved

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 14 Jul 2021, 13:41

How To 11: setting EVENT , ALPHA and GROOVE values

reserved

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 14 Jul 2021, 13:41

How To 12: changing SECTORs

12.1. the easy way
-------------------------------------------------------
in the DRAW->OV tab, you can just adjust the sector length with the slider for each sector
Clipboard01.gif
changes will be visible in the overview map

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 14 Jul 2021, 13:43

How To 13: IMPORT / EXPORT features

reserved

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 14 Jul 2021, 13:43

How To 14: CAMERAs

reserved

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 14 Jul 2021, 13:44

How To 15: ANIMATIONs

reserved

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 14 Jul 2021, 13:45

How To 16: AI Adjustments

reserved

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 14 Jul 2021, 13:45

How To 17: BONUS

reserved

User avatar
Bokko
Posts: 2
Joined: 23 Jul 2021, 15:49

Re: WIP AIW Editor for Race07

Post by Bokko » 23 Jul 2021, 16:09

Is it possible to use this editor with GTR2 AIW files?

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 23 Jul 2021, 16:34

yes and no.

first it is far from ready
yes it reads GTR2 AIWs (seldom crashing on faulty ones)
it ignores non RACE07 tags, so on saving you will loose some stuff

but its great for visualisation (already)

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 23 Jul 2021, 16:44

just checked the vanilia GTR2 tracks don't use any non RACE07 tags

so you will only loose rFactor tags (which may work or not in GTR2)

but you will get a warning in the LOG window, what was ignored

User avatar
Bokko
Posts: 2
Joined: 23 Jul 2021, 15:49

Re: WIP AIW Editor for Race07

Post by Bokko » 24 Jul 2021, 15:26

OK thanks will give it a try

Syhlif32
Posts: 53
Joined: 21 Jul 2021, 16:52

Re: WIP AIW Editor for Race07

Post by Syhlif32 » 15 Oct 2021, 16:26

Now the Aiw editor got the same issues as Yuca had with some of his tools.
Can't start the aiw editor after the last windows update.

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 16 Oct 2021, 08:54

will ask yuca to take a look on it, as he seems solved that with his MemViewer

funny, not encountered any problems on my 2 WinX machines
maybe different GPU

Syhlif32
Posts: 53
Joined: 21 Jul 2021, 16:52

Re: WIP AIW Editor for Race07

Post by Syhlif32 » 16 Oct 2021, 14:04

That is strange? Maybe the update schedule for win 10 are different?
Might upgrade a laptop to win 11 and see what happens.
Got nvidia rtx 2070 GPU.
But it is not the Nvidia driver as i tried going back to an older one.

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 16 Oct 2021, 15:10

i cant tell you, it was just a guess, as i am using AMD GPU
and had no issues yet with the apps from us (which are running on GLFW)

and i know yuca has a GTX and run in some problems too, with one older app from us
so maybe an OpenGL windows, bla bla update related to GTX,

hope to find energy to get forward with the AIW Editor next year to implement more stuff,
happy to hear request what would be needed

User avatar
yuca
Posts: 682
Joined: 11 Jul 2021, 18:10
Location: east of you

Re: WIP AIW Editor for Race07

Post by yuca » 29 Oct 2021, 06:38

i rewritten the GLFW binding and hope it runs again on all WinX machines



[External Link Removed for Guests]
yuca
alias أندراوس - Андрэй - Андрый - Andrzej - Andreas - André - Andrew

sorted from East 2 West

hundo
Posts: 48
Joined: 27 Jul 2021, 18:48

Re: WIP AIW Editor for Race07

Post by hundo » 16 Jan 2022, 15:13

Hello, lusso. I already know how to edit the AI's course lines, but they also have an overtaking line. How to edit this overtaking line in AIW Editor ? Thanks in advance for your help.

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 16 Jan 2022, 15:31

i might be wrong
but, there is no such thing in the Overtaking path in the gMotor2 games
there seems to be one rF2

basicly, there are three paths in an AIW file

base, from which all other things are spreaded out (tracklimits, cuts etc)
then there is the DRY & WET line (defined in wp_path)

and thats it in R07,GTR2,GTL,rF2 & and other related
AMS1 - maybe there have more

hundo
Posts: 48
Joined: 27 Jul 2021, 18:48

Re: WIP AIW Editor for Race07

Post by hundo » 18 Jan 2022, 11:50

Hi, lusso.
Sorry, I'm a layman on the subject. I thought there was a specific, editable overtaking path. Thank you for the explanation !

Deleted User 51

Re: WIP AIW Editor for Race07

Post by Deleted User 51 » 18 Jan 2022, 12:42

no reason to be sorry,

one reason this forum exist is, to provide a place for knowledge transfare
which may generate more stuff for R07 or similar

Syhlif32
Posts: 53
Joined: 21 Jul 2021, 16:52

Re: WIP AIW Editor for Race07

Post by Syhlif32 » 22 Jan 2022, 13:14

Do think rf1 and maybe Ams? Got multi paths options for Nascar style tracks. So AI can stay on different lines and not bunch up on one long line.

But on all 'Real' race track you only got one optimum dry race line.
Might not be the same for all cars types but then we go into rf2 again with multi path race lines for different types of cars.

Silvano
Posts: 3
Joined: 14 Mar 2022, 20:19

Re: WIP AIW Editor for Race07

Post by Silvano » 09 Apr 2022, 17:35

Hi,

Is there a way to lower or augment the speed in the Editor ? I mean mostly for curves where the ai is really off pace, because i use to do that with wp_event but it takes a lot of time to do it in the aiw.

Thanks

User avatar
yuca
Posts: 682
Joined: 11 Jul 2021, 18:10
Location: east of you

Re: WIP AIW Editor for Race07

Post by yuca » 09 Apr 2022, 18:24

dont think so,
but an advantage to do it in the editor, you see, where you editing on the track
yuca
alias أندراوس - Андрэй - Андрый - Andrzej - Andreas - André - Andrew

sorted from East 2 West

Syhlif32
Posts: 53
Joined: 21 Jul 2021, 16:52

Re: WIP AIW Editor for Race07

Post by Syhlif32 » 15 Apr 2022, 14:23

One thing about the ai speed.
wp_test_speed=x.xxx
That defiantly also works in race 07 and GTR2 .
Got a few tracks where the Ai can't get round the track if that entry gets delete.

Imola 1972 are an example.
Might not be a great way to do it as different cars would be able to handle the corners at different speeds?

Silvano
Posts: 3
Joined: 14 Mar 2022, 20:19

Re: WIP AIW Editor for Race07

Post by Silvano » 18 Apr 2022, 12:53

Hi Lusso,
i saw a pic in your post that have a WP event, i have allways used that instead of WP test or WP cheat, so it seems the edit of corner speed is there no ?

[External Link Removed for Guests]

and yes changing the AI speed will make them all using those changes but when you look carefully to the AI, they do lot of same thing all togheter, wich is also theyr drive lines.

User avatar
yuca
Posts: 682
Joined: 11 Jul 2021, 18:10
Location: east of you

Re: WIP AIW Editor for Race07

Post by yuca » 19 Apr 2022, 08:13

maybe i rephrase my answer

yes, you can edit EVENT entries in the AIW points (and the plus against a texteditor is you see where you do it),
but no, there is fancy functions like for GROOVE

so it is hand work
yuca
alias أندراوس - Андрэй - Андрый - Andrzej - Andreas - André - Andrew

sorted from East 2 West

shovas
Posts: 1
Joined: 29 Sep 2023, 04:14

Re: WIP AIW Editor for Race07

Post by shovas » 29 Sep 2023, 04:20

I don't suppose anyone has the source code to this?

User avatar
yuca
Posts: 682
Joined: 11 Jul 2021, 18:10
Location: east of you

Re: WIP AIW Editor for Race07

Post by yuca » 29 Sep 2023, 06:47

you are wrong,
lusso & i jointly developed many things


so i do have all the code
yuca
alias أندراوس - Андрэй - Андрый - Andrzej - Andreas - André - Andrew

sorted from East 2 West

Post Reply