1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. #GiveAwayFriday. Win a copy of F1 2017 - The Game. Click here to join.

Zaxxon to BTB import error

Discussion in 'Bob's Track Builder' started by Dzalud, Mar 23, 2011.

  1. Dzalud

    Dzalud

    Messages:
    41
    Ratings:
    +0
    I have a problem with venue.xml. Whem i can open in BTB, appears error. "Found unexpected end of file. The following elements are not closed"
    I dont know, where is the problem.
     

    Attached Files:

  2. zaxxon

    zaxxon

    Messages:
    292
    Ratings:
    +5
  3. Dzalud

    Dzalud

    Messages:
    41
    Ratings:
    +0
  4. zaxxon

    zaxxon

    Messages:
    292
    Ratings:
    +5
    The Venue.xml is badly finished.
    Can you close octave, and try again?

    Are you using the new graphical interface? If you are, please try now using the command-line window so I can see the error messages:
    > cd s9_join
    > join_all
     
  5. Dzalud

    Dzalud

    Messages:
    41
    Ratings:
    +0
    I closed octave and try again. One question - must be added to the project background image, invisible walls and pacenotes?..because I did not place there..so try this command again?
     
  6. Dzalud

    Dzalud

    Messages:
    41
    Ratings:
    +0
    > addpath('c:\project\scripts')
    octave-3.2.3.exe:2:D:\RBR\ZaXXon\Program Files\Octave\3.2.3_gcc-4.4.0\bin
    > cd c:\project\s9_join
    octave-3.2.3.exe:3:c:\project\s9_join
    > join_all
    Escribiendo el fichero salida\Venue.xml
    Leyendo el fichero start.txt
    Cerrando el fichero
    ..\s1_mesh\list_bi.txt not found
    fid1 = 3
    warning: implicit conversion from matrix to string
    Leyendo el fichero ..\s10_split\salida\listado_tracks.txt
    Cerrando el fichero
    ..\s7_walls\salida\muros.txt not found
    Leyendo el fichero salida\Venue.xml
    Escribiendo el fichero salida\Venue.xml
    Escribiendo el fichero salida\Venue.xml
    Leyendo el fichero ..\s4_terrain\salida\listado_anchors.txt
    Cerrando el fichero
    Leyendo el fichero ..\s10_split\salida\lis.txt
    Error accesing file ..\s10_split\salida\lis.txt in folder c:\project\s9_join
    Check the file exists
    numtramos = 5
    error: fread: invalid stream number = -1
    error: called from:
    error: c:\project\scripts\join_all.m at line 98, column 9
    error: c:\project\scripts\join_all.m at line 16, column 1
    octave-3.2.3.exe:3:c:\project\s9_join
     
  7. zaxxon

    zaxxon

    Messages:
    292
    Ratings:
    +5
    s7_walls step is optional.

    s10_split step is mandatory. You didn't complete it so you don't have a lis.txt and join_all fails to create the Venue.xml.

    Yo can add pacenotes, or not.
    You can blend with background images, or not.
    But you always have to split the track and the terrain. So split the track, select the grid size (MxN), click on "Split the terrain" and try again creating the Venue.xml
     
  8. Dzalud

    Dzalud

    Messages:
    41
    Ratings:
    +0
    but here is maybe problem:
    > cd c:\project\s10_split
    octave-3.2.3.exe:4:c:\project\s10_split
    > coge_datos
    Systém nemůže nalézt uvedený soubor.
    Systém nemůže nalézt uvedený soubor.
    Zkopírované soubory: 1
    Zkopírované soubory: 1
    ans = 1
    ans = 1

    in english:
    > cd c:\project\s10_split
    octave-3.2.3.exe:4:c:\project\s10_split
    > coge_datos
    The system can not find the file specified.
    The system can not find the file specified.
    Copied files: 1
    Copied files: 1
    ans = 1
    ans = 1
     
  9. zaxxon

    zaxxon

    Messages:
    292
    Ratings:
    +5
    It is just a message on screen, may be it is not an error message.

    Edit: but I think it is a problem because the scripts can't find 2 files you do need.
     
  10. Dzalud

    Dzalud

    Messages:
    41
    Ratings:
    +0
    So i finished spliting terrain and track and its still not working :frown:
     
  11. zaxxon

    zaxxon

    Messages:
    292
    Ratings:
    +5
    Did you complete the s4_terrain step without problems?
     
  12. Dzalud

    Dzalud

    Messages:
    41
    Ratings:
    +0
    coge_datos it's ok,procesar nodos it's ok too. But when can i "accept_mesh" i see errors, look:
    octave-3.2.3.exe:6:c:\project\s4_terrain
    > accept_mesh
    Leyendo datos entrada (nac.mat y salida\anchors_originales.mat)
    Leyendo elements
    Leyendo ..\anchors.mat
    Remapeamos
    0.475
    0.951
    error: subscript indices must be either positive integers or logicals.
    error: called from:
    error: c:\project\scripts\accept_mesh.m at line 215, column 15
    error: c:\project\scripts\accept_mesh.m at line 118, column 10
    octave-3.2.3.exe:6:c:\project\s4_terrain
     
  13. zaxxon

    zaxxon

    Messages:
    292
    Ratings:
    +5
    If you don't complete a step, you shouldn't go on with the process.
    Did you create the physical surfaces in the .msh?
     
  14. Dzalud

    Dzalud

    Messages:
    41
    Ratings:
    +0
    Did you mean this ? ...i can't find that line with "physical surface"
     
  15. zaxxon

    zaxxon

    Messages:
    292
    Ratings:
    +5
    You should watch updated tutorials from parlesportes. http://www.plpcreation.tonsite.biz/

    The Physical Surface (111) list can be read from phys111.txt (and in multi-track projects it has to be completed with more surfaces, created by hand) and Physical Surface (222) has to be created and include the plane surface code for the non-driveable zone.

    Once you change the .geo, save the mesh and open the .msh with gmsh to check that all the surfaces are there.
    You can post the .msh here if you want me to check it is ok now.
     
  16. Dzalud

    Dzalud

    Messages:
    41
    Ratings:
    +0
  17. zaxxon

    zaxxon

    Messages:
    292
    Ratings:
    +5
    You have to do a little work with the .geo. You can't use it directly as the scripts create it.
    1) Update the scripts
    2) Read sections IV.1 to IV.7 of Details.pdf (inside documentation folder)
    2) Watch parlesporte's videos on his site (BTB\tutoriels zaxxon), for example "Réalisation d'un projet Simple route 1ere partie" or older ones in english http://www.divshare.com/download/11447916-783


     
  18. Dzalud

    Dzalud

    Messages:
    41
    Ratings:
    +0
    Ok, i will try this...thanks so much!
     
  19. Dzalud

    Dzalud

    Messages:
    41
    Ratings:
    +0
    :thanks: many :pray: many :pray: many :pray: thanks Zaxxon!..I used tutorial from this site http://www.plpcreation.tonsite.biz/ and all is in order!...you are best! :) :letsgoracing: :doublethumb:
     
  20. zaxxon

    zaxxon

    Messages:
    292
    Ratings:
    +5
    I agree: parlesportes' tutorials are great.