• Dear visitors,

    The email issue has been finally solved.
    Thank you for your patience and happy browsing.

    Team ACM.

TUTORIAL Build your FIRST track - BASIC GUIDE

Ghostnasty1

New Member
Hello everyone,sorry my first post had to be for help,but i am here pulling my hair,here it goes.

I drift in real life at a event called IFD,the track's real name is Shangri La II motorspeedway,so anyways,i decided to make this track since no one has made it and i wanted to have it available in both rFactor and Assetto Corsa,well i am having problem making it work in Assetto Corsa.

Ohh by the way the most odd thing is in one of my test exports to AC it actually worked so i said ok i know what to do and completely deleted the one that worked so i could give it a little more polish,and now i can not get it to load i don't know why.ok so here it goes, what i have and what i use and the process with whatever little info i can pull up to do it this way.totally avoiding Blender and all that crazy stuff.

First i build the track in bob's Track Builder.



then i export it to rFactor to make sure it works there, and it does.



next up i import the track into 3dSimed3,and i add the 1B: Spawn & timing objects:
The minimal* objects needed in order to make your track work in all modes (race, hotlap, practice) are:
AC_START_0
AC_START_1
AC_PIT_0
AC_PIT_1
AC_HOTLAP_START_0
AC_TIME_0_L
AC_TIME_0_R
AC_TIME_1_L
AC_TIME_1_R
used cones for these ^ and the start and pit cones are about 2 meters off the ground.

and also renamed the surfaces to
ROAD, GRASS, KERB, SAND and Wall etc.
Forgot to draw 1Wall,2Wall and 3Wall on the picture but it is done.


then i go ahead and export textures to the texture folder.(i click on yes, hope that's rite).



then i export to FBX,and tick on the 2 AC options (hope are rite).and press ok.



then i import the FBX into Assetto Cora SDK. you can see on the left tree all my starting objects perfectly named and the roads etc.



then i dont want to mess with anything just want to test to see if AC will load the track so i go ahead and export to kn5.



exports fine,then i go ahead i have all my folders made copied a data folder from another track over,the tracks folder is called Ifd and the kn5 is also called Ifd.

So every time i load up AC i can select my track under practice,i select my car then i hit start it says loading Ifd and BAM! kicks me back out too the menu,i don't understand all the other tracks work all cars work with other tracks,let me mind you it loaded for me before,i don't know what i am doing wrong now,i am renaming everything and creating the necessary objects.it sucks because every time i need to test something i have to go manually in 3DSimed and rename everything,any help will be appreciated,and yes i am the owner of the creation so i give myself permission to convert it :lol:.
 
Last edited:

luchian

Administrator
Staff member
Hello @Ghostnasty1 , welcome to the forums :).

I love when explanations are so detailed. Firstly, it shows people really put an effort into understanding what is going on, but more importantly it helps in understanding the general situation.
Next, could you please delete (or move) all the logs from the log folder, try to start your track, and after it fails, post back here the clean logs please ? It could point us into the right direction.
 

Pixelchaser

Well-Known Member
the spawn objects look wrong to me.

this happened to me on my first swaray. I remade them as dummy objects and not physical objects. and it seemed to work. but I can not for certain say that is the issue you have.

also your on export to fbx export screen in 3dsimed with the physical timming gates still on track. the spawn objects take care of that.
 

Ghostnasty1

New Member
Thank you guys for posting back in such a timely manner, @luchian all objects have assigned materials as far as i know,i can tell because in the AC SDK it shows you on the left in pink if you do not,nothing is in pink,@Pixelchaser worked with the cones before but can still be a problem,and i had deleted the timing gates before still did the same thing but i will still delete them now so there not in the way,and i don't understand how to make dummy objects?

Here is the crash log of my track:

[SESSION_0] TYPE: 1
[SESSION_0] DURATION_MINUTES: 0
TRACK NAME=Ifd
TRACK NAME=Ifd ADDR:0AB38968
INIReaderDocuments C:\Users\Ghostnasty\Documents/Assetto Corsa/cfg/race.ini
[SURFACE_0] DIRT_ADDITIVE: 0
[SURFACE_0] FRICTION: 1
[SURFACE_0] WAV_PITCH: 0
[SURFACE_0] BLACK_FLAG_TIME: 0
[SURFACE_0] IS_VALID_TRACK: 1
[SURFACE_0] SIN_HEIGHT: 0
[SURFACE_0] SIN_LENGTH: 0
[SURFACE_0] IS_PITLANE: 0
[SURFACE_0] DAMPING: 0
[SURFACE_0] VIBRATION_GAIN: 0
[SURFACE_0] VIBRATION_LENGTH: 0
ADDING SURFACE DEFINITION: ROAD
[SURFACE_1] DIRT_ADDITIVE: 1
[SURFACE_1] FRICTION: 0.6
[SURFACE_1] WAV_PITCH: 0
[SURFACE_1] BLACK_FLAG_TIME: 0
[SURFACE_1] IS_VALID_TRACK: 0
[SURFACE_1] SIN_HEIGHT: 0.03
[SURFACE_1] SIN_LENGTH: 0.5
[SURFACE_1] IS_PITLANE: 0
[SURFACE_1] DAMPING: 0
[SURFACE_1] VIBRATION_GAIN: 0.2
[SURFACE_1] VIBRATION_LENGTH: 0.6
ADDING SURFACE DEFINITION: GRASS
[SURFACE_2] DIRT_ADDITIVE: 0
[SURFACE_2] FRICTION: 0.92
[SURFACE_2] WAV_PITCH: 1.3
[SURFACE_2] BLACK_FLAG_TIME: 0
[SURFACE_2] IS_VALID_TRACK: 1
[SURFACE_2] SIN_HEIGHT: 0
[SURFACE_2] SIN_LENGTH: 0
[SURFACE_2] IS_PITLANE: 0
[SURFACE_2] DAMPING: 0
[SURFACE_2] VIBRATION_GAIN: 1
[SURFACE_2] VIBRATION_LENGTH: 1.5
ADDING SURFACE DEFINITION: KERB
[SURFACE_3] DIRT_ADDITIVE: 1
[SURFACE_3] FRICTION: 0.8
[SURFACE_3] WAV_PITCH: 0
[SURFACE_3] BLACK_FLAG_TIME: 0
[SURFACE_3] IS_VALID_TRACK: 0
[SURFACE_3] SIN_HEIGHT: 0.04
[SURFACE_3] SIN_LENGTH: 0.5
[SURFACE_3] IS_PITLANE: 0
[SURFACE_3] DAMPING: 0.1
[SURFACE_3] VIBRATION_GAIN: 0.2
[SURFACE_3] VIBRATION_LENGTH: 0.3
ADDING SURFACE DEFINITION: SAND
[SURFACE_0] DIRT_ADDITIVE: 0
[SURFACE_0] FRICTION: 1
[SURFACE_0] WAV_PITCH: 0
[SURFACE_0] BLACK_FLAG_TIME: 0
[SURFACE_0] IS_VALID_TRACK: 1
[SURFACE_0] SIN_HEIGHT: 0
[SURFACE_0] SIN_LENGTH: 0
[SURFACE_0] IS_PITLANE: 0
[SURFACE_0] DAMPING: 0
[SURFACE_0] VIBRATION_GAIN: 0
[SURFACE_0] VIBRATION_LENGTH: 0
ADDING SURFACE DEFINITION: ROAD
[SURFACE_1] DIRT_ADDITIVE: 0
[SURFACE_1] FRICTION: 0.92
[SURFACE_1] WAV_PITCH: 1.3
[SURFACE_1] BLACK_FLAG_TIME: 0
[SURFACE_1] IS_VALID_TRACK: 1
[SURFACE_1] SIN_HEIGHT: 0
[SURFACE_1] SIN_LENGTH: 0
[SURFACE_1] IS_PITLANE: 0
[SURFACE_1] DAMPING: 0
[SURFACE_1] VIBRATION_GAIN: 0.1
[SURFACE_1] VIBRATION_LENGTH: 0.2
ADDING SURFACE DEFINITION: KERB
[SURFACE_2] DIRT_ADDITIVE: 0
[SURFACE_2] FRICTION: 0.96
[SURFACE_2] WAV_PITCH: 0
[SURFACE_2] BLACK_FLAG_TIME: 0
[SURFACE_2] IS_VALID_TRACK: 1
[SURFACE_2] SIN_HEIGHT: 0
[SURFACE_2] SIN_LENGTH: 0
[SURFACE_2] IS_PITLANE: 1
[SURFACE_2] DAMPING: 0
[SURFACE_2] VIBRATION_GAIN: 0
[SURFACE_2] VIBRATION_LENGTH: 0
ADDING SURFACE DEFINITION: PITLANE
ADDED TRACK SKIN OVERRIDE: default
LOADING MODEL content/tracks/Ifd/Ifd.kn5
VERSION=5
Loading 167 textures
CREATING TEXTURE content/tracks/Ifd::metpole.dds FROM BUFFER
CREATING TEXTURE content/tracks/Ifd::chainlink.dds FROM BUFFER
CREATING TEXTURE content/tracks/Ifd::metalbar.dds FROM BUFFER
CREATING TEXTURE content/tracks/Ifd::bulbglowlong.tga FROM BUFFER
D3DX11CreateShaderResourceViewFromMemory failed

CRASH in:

OS-Version: 6.1.7600 () 0x100-0x1
g:\acs\kgl\kgltexture.cpp (180): KGLTexture::initSize
g:\acs\kgl\kgltexture.cpp (97): KGLTexture::KGLTexture
g:\acs\kgl\kgl.cpp (622): kglCreateTextureFromBuffer
g:\acs\kunossim\texture.cpp (69): Texture::Texture
g:\acs\kunossim\resourcestore.cpp (76): ResourceStore::getTextureFromBuffer
g:\acs\kunossim\kn5io.cpp (709): KN5IO::loadTexture
g:\acs\kunossim\kn5io.cpp (497): KN5IO::loadMaterialsBinary
g:\acs\kunossim\kn5io.cpp (169): KN5IO::load
g:\acs\kunossim\model.cpp (33): Model::load
g:\acs\acs\trackavatar.cpp (226): TrackAvatar::init3D
g:\acs\acs\trackavatar.cpp (54): TrackAvatar::TrackAvatar
g:\acs\acs\sim.cpp (737): Sim::loadTrack
g:\acs\acs\racemanager.cpp (298): RaceManager::initOffline
g:\acs\acs\racemanager.cpp (145): RaceManager::loadSessions
g:\acs\acs\sim.cpp (278): Sim::Sim
g:\acs\acs\splashscreen.cpp (250): SplashScreen::postRender
g:\acs\ksgame\game.cpp (248): Game::postRender
g:\acs\ksgame\game.cpp (251): Game::postRender
g:\acs\ksgame\game.cpp (119): Game::eek:nIdle
g:\acs\ksgame\game.cpp (145): Game::run
g:\acs\acs\acs.cpp (242): wWinMain
f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c (618): __tmainCRTStartup
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 75F23677)
75F23677 (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 77469D72)
77469D72 (ntdll): (filename not available): RtlInitializeExceptionChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 77469D45)
77469D45 (ntdll): (filename not available): RtlInitializeExceptionChain
 
Last edited by a moderator:

luchian

Administrator
Staff member
Texture file types accepted: PNG and DDS, the later strongly recommended :).

I see you have a tga over there.. that could be the issue :).
 

Ghostnasty1

New Member
@luchian i was about to post when i seen your reply about the same thing the tga's i think is the problem because here is a new log.

[SESSION_0] TYPE: 1
[SESSION_0] DURATION_MINUTES: 0
TRACK NAME=Ifd
CONFIG=
DATA FOLDER:content/tracks/Ifd
INIReaderDocuments C:\Users\Ghostnasty\Documents/Assetto Corsa/cfg/race.ini
[SURFACE_0] DIRT_ADDITIVE: 0
[SURFACE_0] FRICTION: 1
[SURFACE_0] WAV_PITCH: 0
[SURFACE_0] BLACK_FLAG_TIME: 0
[SURFACE_0] IS_VALID_TRACK: 1
[SURFACE_0] SIN_HEIGHT: 0
[SURFACE_0] SIN_LENGTH: 0
[SURFACE_0] IS_PITLANE: 0
[SURFACE_0] DAMPING: 0
[SURFACE_0] VIBRATION_GAIN: 0
[SURFACE_0] VIBRATION_LENGTH: 0
ADDING SURFACE DEFINITION: ROAD
[SURFACE_1] DIRT_ADDITIVE: 1
[SURFACE_1] FRICTION: 0.6
[SURFACE_1] WAV_PITCH: 0
[SURFACE_1] BLACK_FLAG_TIME: 0
[SURFACE_1] IS_VALID_TRACK: 0
[SURFACE_1] SIN_HEIGHT: 0.03
[SURFACE_1] SIN_LENGTH: 0.5
[SURFACE_1] IS_PITLANE: 0
[SURFACE_1] DAMPING: 0
[SURFACE_1] VIBRATION_GAIN: 0.2
[SURFACE_1] VIBRATION_LENGTH: 0.6
ADDING SURFACE DEFINITION: GRASS
[SURFACE_2] DIRT_ADDITIVE: 0
[SURFACE_2] FRICTION: 0.92
[SURFACE_2] WAV_PITCH: 1.3
[SURFACE_2] BLACK_FLAG_TIME: 0
[SURFACE_2] IS_VALID_TRACK: 1
[SURFACE_2] SIN_HEIGHT: 0
[SURFACE_2] SIN_LENGTH: 0
[SURFACE_2] IS_PITLANE: 0
[SURFACE_2] DAMPING: 0
[SURFACE_2] VIBRATION_GAIN: 1
[SURFACE_2] VIBRATION_LENGTH: 1.5
ADDING SURFACE DEFINITION: KERB
[SURFACE_3] DIRT_ADDITIVE: 1
[SURFACE_3] FRICTION: 0.8
[SURFACE_3] WAV_PITCH: 0
[SURFACE_3] BLACK_FLAG_TIME: 0
[SURFACE_3] IS_VALID_TRACK: 0
[SURFACE_3] SIN_HEIGHT: 0.04
[SURFACE_3] SIN_LENGTH: 0.5
[SURFACE_3] IS_PITLANE: 0
[SURFACE_3] DAMPING: 0.1
[SURFACE_3] VIBRATION_GAIN: 0.2
[SURFACE_3] VIBRATION_LENGTH: 0.3
ADDING SURFACE DEFINITION: SAND
Loading surfaces from folder:content/tracks/Ifd
[SURFACE_0] DIRT_ADDITIVE: 0
[SURFACE_0] FRICTION: 1
[SURFACE_0] WAV_PITCH: 0
[SURFACE_0] BLACK_FLAG_TIME: 0
[SURFACE_0] IS_VALID_TRACK: 1
[SURFACE_0] SIN_HEIGHT: 0
[SURFACE_0] SIN_LENGTH: 0
[SURFACE_0] IS_PITLANE: 0
[SURFACE_0] DAMPING: 0
[SURFACE_0] VIBRATION_GAIN: 0
[SURFACE_0] VIBRATION_LENGTH: 0
ADDING SURFACE DEFINITION: ROAD
[SURFACE_1] DIRT_ADDITIVE: 0
[SURFACE_1] FRICTION: 0.92
[SURFACE_1] WAV_PITCH: 1.3
[SURFACE_1] BLACK_FLAG_TIME: 0
[SURFACE_1] IS_VALID_TRACK: 1
[SURFACE_1] SIN_HEIGHT: 0
[SURFACE_1] SIN_LENGTH: 0
[SURFACE_1] IS_PITLANE: 0
[SURFACE_1] DAMPING: 0
[SURFACE_1] VIBRATION_GAIN: 0.1
[SURFACE_1] VIBRATION_LENGTH: 0.2
ADDING SURFACE DEFINITION: KERB
[SURFACE_2] DIRT_ADDITIVE: 0
[SURFACE_2] FRICTION: 0.96
[SURFACE_2] WAV_PITCH: 0
[SURFACE_2] BLACK_FLAG_TIME: 0
[SURFACE_2] IS_VALID_TRACK: 1
[SURFACE_2] SIN_HEIGHT: 0
[SURFACE_2] SIN_LENGTH: 0
[SURFACE_2] IS_PITLANE: 1
[SURFACE_2] DAMPING: 0
[SURFACE_2] VIBRATION_GAIN: 0
[SURFACE_2] VIBRATION_LENGTH: 0
ADDING SURFACE DEFINITION: PITLANE
ADDED TRACK SKIN OVERRIDE: default
MODELS ini:content/tracks/Ifd/models.ini
LOADING SINGLE FILE TRACK
LOADING MODEL content/tracks/Ifd/Ifd.kn5
VERSION=5
Loading 167 textures
Loading texture n 1
SIZE 1
metpole.dds
SIZE 2 11080
getTextureFromBuffer content/tracks/Ifd::metpole.dds
CREATING TEXTURE content/tracks/Ifd::metpole.dds FROM BUFFER
TEXTURE NAME content/tracks/Ifd::metpole.dds
Loading texture n 2
SIZE 1
chainlink.dds
SIZE 2 87536
getTextureFromBuffer content/tracks/Ifd::chainlink.dds
CREATING TEXTURE content/tracks/Ifd::chainlink.dds FROM BUFFER
TEXTURE NAME content/tracks/Ifd::chainlink.dds
Loading texture n 3
SIZE 1
metalbar.dds
SIZE 2 174904
getTextureFromBuffer content/tracks/Ifd::metalbar.dds
CREATING TEXTURE content/tracks/Ifd::metalbar.dds FROM BUFFER
TEXTURE NAME content/tracks/Ifd::metalbar.dds
Loading texture n 4
SIZE 1
bulbglowlong.tga
SIZE 2 131116
getTextureFromBuffer content/tracks/Ifd::bulbglowlong.tga
CREATING TEXTURE content/tracks/Ifd::bulbglowlong.tga FROM BUFFER
D3DX11CreateShaderResourceViewFromMemory failed

CRASH in:

OS-Version: 6.1.7600 () 0x100-0x1
x:\ac\kgl\dx11\kgltexture.cpp (94): KGLTexture::KGLTexture
x:\ac\kgl\dx11\kgl.cpp (661): kglCreateTextureFromBuffer
x:\ac\kunossim\texture.cpp (69): Texture::Texture
x:\ac\kunossim\resourcestore.cpp (69): ResourceStore::getTextureFromBuffer
x:\ac\kunossim\kn5io.cpp (885): KN5IO::loadTexture
x:\ac\kunossim\kn5io.cpp (641): KN5IO::loadMaterialsBinary
x:\ac\kunossim\kn5io.cpp (192): KN5IO::load
x:\ac\kunossim\model.cpp (32): Model::load
x:\ac\acs\trackavatar.cpp (324): TrackAvatar::init3D
x:\ac\acs\trackavatar.cpp (59): TrackAvatar::TrackAvatar
x:\ac\acs\sim.cpp (837): Sim::loadTrack
x:\ac\acs\racemanager.cpp (311): RaceManager::initOffline
x:\ac\acs\racemanager.cpp (157): RaceManager::loadSessions
x:\ac\acs\sim.cpp (287): Sim::Sim
x:\ac\acs\splashscreen.cpp (261): SplashScreen::postRender
x:\ac\ksgame\game.cpp (326): Game::postRender
x:\ac\ksgame\game.cpp (329): Game::postRender
x:\ac\ksgame\game.cpp (175): Game::eek:nIdle
x:\ac\ksgame\game.cpp (224): Game::run
x:\ac\acs\acs.cpp (327): wWinMain
f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c (618): __tmainCRTStartup
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 76563677)
76563677 (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 77489D72)
77489D72 (ntdll): (filename not available): RtlInitializeExceptionChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 77489D45)
77489D45 (ntdll): (filename not available): RtlInitializeExceptionChain

i think it is the light poles i have the light glow or something.
 
Last edited by a moderator:

luchian

Administrator
Staff member
Exactly. You can transform those textures into dds DXT5 with alpha and you should be good. Couple of minutes job :p
 

Ghostnasty1

New Member
Ok guys hurray i got it to work thank you all for your help.

non related to this issue but does anyone know why my car mods the sound is messed up?

Oh and first in game shot.
 
Last edited:

Ghostnasty1

New Member
Ok so i think my ai not recording line issue has something to do with axis issues or something,first of all i have this problem:




it is spawning me in the middle of the terrain,like it thinks this is were start and pit is,but is not look in my picture of 3dsimed:



its like is using were the axis thing is to spawn,i also see in 3dsimed the Y axis is facing left when it should be up and Z axis facing up instead of left or forward or whatever.any ideas? i think this also has to do with my problem of not been able to record the fast lane ai.

EDIT:

However in AC SDK i get the correct axis,i do not understand:



Just seems to be using this spot to spawn does not make sense.
 
Last edited:

luchian

Administrator
Staff member
I'm at work, so cannot check this closely, but verify the origin/pivot point of every spawn object. The origin/pivot point must be at the center of spawn object, and not at the center of your track :).
This issue can sometimes occur if you create a first objecy and then copy/paste it for example.

Sent from my GT-I9100 using Tapatalk
 

DarkSession

New Member
Hello, would someone have 3 spare minutes to decrypt this map and add 11 more pit boxes so i can set more cars? This track got abandoned a long time ago and everything is ready, but it wont let me drive because there are not enough pit boxes. I would do it myself but im on vacation now and i got slow internet, that means my home pc is not here and that means again i got no 3D Program :/


http://www.racedepartment.com/downloads/rivijera.2224/
 

Ghostnasty1

New Member
I'm at work, so cannot check this closely, but verify the origin/pivot point of every spawn object. The origin/pivot point must be at the center of spawn object, and not at the center of your track :).
This issue can sometimes occur if you create a first objecy and then copy/paste it for example.

Sent from my GT-I9100 using Tapatalk
I am having difficulty figuring this out, dont matter were I put my start and pit objects (making sure pivot is correct from btb because thats were I build the track,) still spawns me there.is there anything I should do in AC SDK? To fix this?
 

luchian

Administrator
Staff member
I'm not really sure it can be fixed into the SDK Editor. You can have a look at your track in the SDK.
Select the AC_START_x object and have a look into the object tab.

Here is an example:
sdk_editor.jpg

The selected object, is the one where you see the compass. It is called AC_START_2, and here are its properties

props.png


As you can see, the position is 0 0 0, and the compass is visible.
If you can see yours, when you select the object, and the position is 0 0 0, you should be good.
If you cannot see it (and by the images you've posted, it seems to be the case) that is probably the issue.

***
I've made a test with the other 2 objects you can see, changed the Position to something like 1000 10 10, and the compass seem to have changed. But still, don't know HOW you'll be able to estimate the position of every start point you have referenced to the center of the track :)..
 

Ghostnasty1

New Member
I'm not really sure it can be fixed into the SDK Editor. You can have a look at your track in the SDK.
Select the AC_START_x object and have a look into the object tab.

Here is an example:
View attachment 686
The selected object, is the one where you see the compass. It is called AC_START_2, and here are its properties

View attachment 687

As you can see, the position is 0 0 0, and the compass is visible.
If you can see yours, when you select the object, and the position is 0 0 0, you should be good.
If you cannot see it (and by the images you've posted, it seems to be the case) that is probably the issue.

***
I've made a test with the other 2 objects you can see, changed the Position to something like 1000 10 10, and the compass seem to have changed. But still, don't know HOW you'll be able to estimate the position of every start point you have referenced to the center of the track :)..
Ok that I understand, now this is something I have to resolve in AC SDK, in 3dsimed or in BTB itself?like can it be fixed trough SDK? Would be great if they updated SDK to automatically do thjs part atleast.
 

luchian

Administrator
Staff member
That is what I'm saying - don't think it can be solved in SDK (or IF it works, it's very meticulous job) - it's not meant for that. This needs to be addressed into the 3d program itself. I don't uses BTB, don't know how to do it there. Maybe there is some option when check/uncheck when exporting from BTB ?

In Blender, it's a 30s job. Select all objects > Origin to Geometry > Done.
I can help you with this, if you can provide the file in some compatible format.
 

Pixelchaser

Well-Known Member
don't think so. BTB doesn't deal with AC spawn objects, and I never need to know how to do it in 3dsimed but it can be done there.
 
Top