Autor Wątek:  "Abnormal program termination" po wyeksportowaniu własnej scenerii.  (Przeczytany 8838 razy)

0 użytkowników i 1 Gość przegląda ten wątek.

Offline Sm 42 driver

  • Wiadomości: 320
  • Trasopisarz
    • Zobacz profil
  • Otrzymane polubienia: 70
Witam dzisiaj postanowiłem sobie wyeksportować swoją scenerię i uruchomić ją w symulatorze (dodałem kawałek lasu i parę domków). Niestety przy wczytywaniu scenerii wyrzuca "Abnormal program termination". Jak temu zaradzić?
Log:
Starting MaSzyna rail vehicle simulator.
Compilation 140904v13 - UNOFFICIAL <wersja niepubliczna>
Online documentation and additional files on http://www.eu07.pl
Authors: Marcin_EU, McZapkie, ABu, Winger, Tolaris, nbmx_EU, OLO_EU, Bart, Quark-t, ShaXbee, Oli_EU, youBy and others
Renderer:
GeForce FX 5200/AGP/SSE2/3DNOW!
Vendor:
NVIDIA Corporation
OpenGL Version:
2.1.1
Supported Extensions:
GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_shared_texture_palette GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_timer_query GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_framebuffer_multisample_coverage GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum GL_WIN_swap_hint WGL_EXT_swap_control
glClearColor (FogColor[0], FogColor[1], FogColor[2], 0.0);
glFogfv(GL_FOG_COLOR, FogColor);
glClearDepth(1.0f); 
glEnable(GL_TEXTURE_2D);
glShadeModel(GL_SMOOTH);
glEnable(GL_DEPTH_TEST);
glEnable(GL_ALPHA_TEST);
glEnable(GL_ALPHA_TEST);
glAlphaFunc(GL_GREATER,0.04);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glDepthFunc(GL_LEQUAL);
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
glPolygonMode(GL_FRONT, GL_FILL);
glFrontFace(GL_CCW);
glEnable(GL_CULL_FACE);
glLineWidth(1.0f);
glPointSize(2.0f);
glLightModelfv(GL_LIGHT_MODEL_AMBIENT,ambientLight);
glLightfv(GL_LIGHT0,GL_DIFFUSE,diffuseLight);
glLightfv(GL_LIGHT0,GL_SPECULAR,specularLight);
glLightfv(GL_LIGHT0,GL_POSITION,lightPos);
glEnable(GL_LIGHT0);
glEnable(GL_COLOR_MATERIAL);
glColorMaterial(GL_FRONT, GL_AMBIENT_AND_DIFFUSE);
glMaterialfv( GL_FRONT, GL_AMBIENT_AND_DIFFUSE, whiteLight );
glEnable(GL_LIGHTING);
glFogi(GL_FOG_MODE, GL_LINEAR);
glFogfv(GL_FOG_COLOR, FogColor);
glFogf(GL_FOG_START, 1000.0f);
glFogf(GL_FOG_END, 2000.0f);
glEnable(GL_FOG);
Font init
Font init OK
Sound Init
Loading - texture: textures\logo.bmp
OK
Sound Init OK
Textures init
Textures init OK
Models init
Models init OK
Ground init
Scenery sky definition
skj_day4_poburzy.t3d
Scenery atmo definition
Scenery light definition
Loading - texture: textures\rail_screw_used1.bmp
OK
Loading - texture: textures\tpbps-new2.tex
OK
Loading - texture: textures\wzl.bmp
OK
Loading - text model: models\wza.t3d
Loading - texture: textures\metal/metalfrictionpattern1.tga
OK
Loading - texture: textures\zwrot34r300pods-new.tex
OK
Loading - texture: textures\wzp.bmp
OK
Loading - texture: textures\j-2.bmp
OK
Loading - text model: models\pkp/sk12krat.t3d
Loading - texture: textures\pkp/#sk_slup_krata.tga
OK
Loading - texture: textures\pkp/bial-czerw-pas.bmp
OK
Loading - texture: textures\pkp/#ramiedlugie1.tga
OK
Loading - texture: textures\metal/metalplatedirt1.tga
OK
Loading - texture: textures\pkp/#sem_latarnia-przedniaszybka.tga
OK
Loading - texture: textures\pkp/sem_latarnia-tylnaszybka.tga
OK
Loading - texture: textures\pkp/sem_kolowrot.bmp
OK
Loading - texture: textures\pkp/#ramiemale.tga
OK
Loading - texture: textures\pkp/przeslona_pom.tga
OK
Loading - texture: textures\pkp/przeslona_czer_ziel.tga
OK
Loading - texture: textures\toj.bmp
OK
Loading - text model: models\pkp/head2-gy.t3d
Loading - texture: textures\pkp/pkplight_manpost.tga
OK
Loading - texture: textures\pkp/#pkplight_board.tga
OK
Loading - texture: textures\pkp/#pkplight_lenses.tga
OK
Loading - texture: textures\pkp/pkplight_warnpost.tga
OK
Loading - text model: models\pkp/post-straight.t3d
Loading - text model: models\pkp/post-ladder-h12.t3d
Loading - texture: textures\pkp/wskazniki2.bmp
OK
Loading - texture: textures\h-2.bmp
OK
Loading - texture: textures\f.bmp
OK
Loading - text model: models\pkp/sk1krat.t3d
Loading - texture: textures\g-2.bmp
OK
Loading - texture: textures\tm1.bmp
OK
Loading - text model: models\pkp/ms2nbk.t3d
Loading - texture: textures\e-2.bmp
OK
Loading - texture: textures\c-2.bmp
OK
Loading - texture: textures\d-12.bmp
OK
Loading - texture: textures\b-2.bmp
OK
Loading - texture: textures\a-2.bmp
OK
Loading - texture: textures\asphalt1.bmp
OK
Loading - texture: textures\asphaltdark1_side1.tga
OK
Loading - text model: models\detal/lampahg-betdziur1.t3d
Loading - texture: textures\detal/#beton_slup2.tga
OK
Loading - texture: textures\detal/lampa_metal.bmp
OK
Loading - text model: models\pkp/sp2cc.t3d
Loading - texture: textures\pkp/s_przejazd-ksa2-sd-ss2.tex
OK
Loading - text model: models\pkp/szlab_d_45.t3d
Loading - texture: textures\pkp/szlab_tex.bmp
OK
Loading - texture: textures\plants/#drzewo8.tga
OK
Loading - texture: textures\peronmoj.bmp
OK
Loading - texture: textures\pkp/wskazniki1.bmp
OK
Loading - text model: models\wasyl/w4i.t3d
Loading - texture: textures\asphaltdark1_dashedwhite.bmp
OK
Loading - texture: textures\a05.bmp
OK
Loading - texture: textures\b.bmp
OK
Loading - texture: textures\c.bmp
OK
Loading - texture: textures\d.bmp
OK
Loading - texture: textures\e.bmp
OK
Loading - texture: textures\f-12.bmp
OK
Loading - texture: textures\toa.bmp
OK
Loading - text model: models\pkp/tk1.t3d
Loading - texture: textures\pkp/maszt_tarcza.bmp
OK
Loading - texture: textures\pkp/#tok.tga
OK
Loading - texture: textures\pkp/przeslona_pom_ziel.tga
OK
Loading - texture: textures\a2.bmp
OK
Loading - text model: models\pkp/mk1.t3d
Loading - texture: textures\pkp/#mk1.tga
OK
Loading - texture: textures\pkp/przeslona_nieb_bial.tga
OK
Loading - texture: textures\tm2.bmp
OK
Loading - texture: textures\tm3.bmp
OK
Loading - texture: textures\tm4.bmp
OK
Loading - texture: textures\tm5.bmp
OK
Loading - texture: textures\tm6.bmp
OK
Loading - texture: textures\tm7.bmp
OK
Loading - texture: textures\tob.bmp
OK
Loading - texture: textures\grass.bmp
OK
Loading - texture: textures\plants/#drzewo4.tga
OK
Loading - texture: textures\roof/roof-redtiles-aged1.bmp
OK
Loading - text model: models\bud/dombale01.t3d
Loading - texture: textures\bud/dombale01a.tga
OK
Loading - texture: textures\bud/dombale01b.tga
OK
Loading - texture: textures\wood/woodredbrown2_agedplanks.bmp
OK
Loading - text model: models\bud/0domdrewn01.t3d
Loading - texture: textures\bud/r-zaryte.tga
OK
Loading - texture: textures\wall/wallbricksbrown_a.tga
OK
Loading - texture: textures\wood/woodlightbrown2_planks.bmp
OK
Loading - text model: models\bud/domtynk02.t3d
Loading - texture: textures\bud/domtynk02a.tga
OK
Loading - texture: textures\bud/domtynk02b.tga
OK
Loading - texture: textures\wood/woodredbrown1_planks.bmp
OK
Loading - texture: textures\wall/wallbrickdark_dirty1.bmp
OK
Loading - text model: models\bud/dom1tynk01.t3d
Loading - text model: models\bud/domcegla01.t3d
Loading - texture: textures\bud/domcegla02a.tga
OK
Loading - texture: textures\bud/domcegla01a.tga
OK
Loading - text model: models\bud/domtynk01.t3d
Loading - texture: textures\bud/domtynk01b.tga
OK
Loading - texture: textures\bud/domtynk01a.tga
OK
Dodam jeszcze że jak wcześniej eksportowałem i uruchamiałem to było wszystko dobrze :)
Pozdrawiam i liczę na pomoc.

Nadawaj wątkom konkretne tematy odpowiadające treści problemu.
Akvin
« Ostatnia zmiana: 01 Listopada 2008, 13:05:34 wysłana przez Akvin »

Offline Rudzik

  • Wiadomości: 2028
    • Zobacz profil
  • Otrzymane polubienia: 103
Odp: Dziwny problem ze scenerią.
« Odpowiedź #1 dnia: 01 Listopada 2008, 12:40:00 »
Jeśli A.P.T to jakieś pliki *.inc w folderze scenery nawaliły. Wiem, miałem to samo niedawno. Ale miałem kopię maszyny na DVD to zgrałem wszystkie *.inc i szło.

Offline pol102

  • Wiadomości: 959
  • Geoinformatyk kolejowy
    • Zobacz profil
  • Otrzymane polubienia: 35
Odp: Dziwny problem ze scenerią.
« Odpowiedź #2 dnia: 01 Listopada 2008, 12:41:31 »
Bardzo prosto. Nie podałeś przy którymś incu wymaganego parametru P6 lub P7

Offline Sm 42 driver

  • Wiadomości: 320
  • Trasopisarz
    • Zobacz profil
  • Otrzymane polubienia: 70
Odp: "Abnormal program termination" po wyeksportowaniu własnej scenerii.
« Odpowiedź #3 dnia: 01 Listopada 2008, 13:14:50 »
Bardzo prosto. Nie podałeś przy którymś incu wymaganego parametru P6 lub P7
Możesz mi powiedzieć w którym konkretnie miejscu?:
Wpisy które dodałem (drzewa, domki, kozły oporowe, wskaźniki W4)
drzewo:
include;tree.inc;Plants/#drzewo4.tga;-210.291;0.0;1163.26;0.0;10.0;5.0;end
domek:
include;bud/0domtynk02detal.inc;roof/Roof-RedTiles-aged1.bmp;106.62;0.0;506.073;-39.5;;end
kozioł:
include;koziolbeton.inc;none;47.8901;0.0;669.621;-180.0;;end
wskaźnik W4:
include;W4ms.inc;UnikalnaNazwa06;31.8039;0.0;530.573;0.0;1;3;0;;end
Wpisy dla innych drzew/domków wyglądają podobnie.
Pozdrawiam

Offline Żabek

  • Wiadomości: 546
  • Gdzie jest guzik rezygnacji?
    • Zobacz profil
  • Otrzymane polubienia: 2
Odp: "Abnormal program termination" po wyeksportowaniu własnej scenerii.
« Odpowiedź #4 dnia: 01 Listopada 2008, 13:19:26 »
Otwórz plik scenerii, np. w Notatniku. Znajdź miejsce, gdzie pierwszy raz występuje wpis z teksturą bud/domtynk01a.tga i prawie pewne jest, że linijkę czy dwie niżej znajduje się błędny wpis.
The Frog

Offline Sm 42 driver

  • Wiadomości: 320
  • Trasopisarz
    • Zobacz profil
  • Otrzymane polubienia: 70
Odp: "Abnormal program termination" po wyeksportowaniu własnej scenerii.
« Odpowiedź #5 dnia: 01 Listopada 2008, 13:32:56 »
Patrzę na te wpisy domków i nic nie widzę ...
Oto one:
include;bud/0dombale01.inc;roof/Roof-RedTiles-aged1.bmp;100.458;0.0;417.008;80.0;;end


include;bud/0domdrewn01detal.inc;roof/Roof-RedTiles-aged1.bmp;107.04;0.0;463.936;0.0;;end


include;bud/0domtynk02detal.inc;roof/Roof-RedTiles-aged1.bmp;106.62;0.0;506.073;-39.5;;end


include;bud/1domtynk01.inc;roof/Roof-RedTiles-aged1.bmp;100.882;0.0;584.546;-66.0;;end


include;bud/0domcegla01.inc;roof/Roof-RedTiles-aged1.bmp;93.1136;0.0;638.507;0.0;;end


include;bud/0domtynk01.inc;roof/Roof-RedTiles-aged1.bmp;97.5728;0.0;720.046;-60.0;;end


include;bud/SkoczowStacja.inc;roof/Roof-RedTiles-aged1.bmp;59.7791;0.0;836.197;-90.0;;end


include;bud/0domtynk03detal.inc;roof/Roof-RedTiles-aged1.bmp;110.101;0.0;773.556;-113.5;;end


include;bud/1domtynk02.inc;roof/Roof-RedTiles-aged1.bmp;83.7533;0.0;890.113;-13.0;;end


include;bud/domek1k.inc;roof/Roof-RedTiles-aged1.bmp;75.914;0.0;947.251;17.5;;end


include;bud/domek2k.inc;roof/Roof-RedTiles-aged1.bmp;74.0029;0.0;1006.07;-42.0;;end


include;bud/domek3k.inc;roof/Roof-RedTiles-aged1.bmp;-24.7218;0.0;449.72;46.0;;end


include;bud/garaz3x-1.inc;roof/Roof-RedTiles-aged1.bmp;-28.7562;0.0;511.473;-172.5;;end


include;bud/stodoladrewn01.inc;roof/Roof-RedTiles-aged1.bmp;-27.6945;0.0;562.006;36.0;;end


include;bud/stodoladrewn02.inc;roof/Roof-RedTiles-aged1.bmp;-32.5784;0.0;619.975;-15.0;;end


include;bud/szopastara1.inc;roof/Roof-RedTiles-aged1.bmp;-32.366;0.0;672.649;73.5;;end


include;bud/stodoladrewn01detal.inc;roof/Roof-RedTiles-aged1.bmp;-31.5167;0.0;731.879;-25.5;;end


include;bud/stodoladrewn03.inc;roof/Roof-RedTiles-aged1.bmp;-34.7018;0.0;790.485;91.5;;end


include;bud/szopastara2.inc;roof/Roof-RedTiles-aged1.bmp;-26.4205;0.0;850.366;0.0;;end


include;bud/0dombale01.inc;roof/Roof-RedTiles-aged1.bmp;-25.7835;0.0;912.369;47.5;;end


include;bud/0domtynk01.inc;roof/Roof-RedTiles-aged1.bmp;-20.0502;0.0;990.723;-11.0;;end
Pozdrawiam

Offline pol102

  • Wiadomości: 959
  • Geoinformatyk kolejowy
    • Zobacz profil
  • Otrzymane polubienia: 35
Odp: "Abnormal program termination" po wyeksportowaniu własnej scenerii.
« Odpowiedź #6 dnia: 01 Listopada 2008, 13:34:47 »
Szukasz inca danego elementu scenerii i czytasz jego zawartość notatnikiem, szukając ciekawostek
Drzewa wykluczam.
Dom: // (p1) nazwa tekstury dachu (p2) (p3) (p4) współrzędne (p5) rotacja
Kozioł: //(p1) tekstura podsypki, p2 p3 p4 origin p5 rotation
W4: // stop dla pociągów pasażerskich, parametry:
// p1=nazwa stacji, p2,p3,p4=położenie, p5=położenie kątowe, p6=numer toru, p7=strona peronu (1:lewa, 2:prawa, 3:both), p8=stan wskaźnika: 1 - włączony, 0 - wyłączony    <- nie wiem czy to faktycznie działało

Offline Mariusz1970

  • Zasłużony dla Symulatora
  • Wiadomości: 3925
    • Zobacz profil
  • Otrzymane polubienia: 277
Odp: "Abnormal program termination" po wyeksportowaniu własnej scenerii.
« Odpowiedź #7 dnia: 01 Listopada 2008, 13:36:00 »
Identyfikacja abnormali:
http://eu07.pl/userfiles/1278/priv-Abnormal.rar
Wypakować gdzieś do folderu. Tam, gdzie umieszczony jest programik, powstanie plik tekstowy z wynikiem analizy.

Ponadto namówiłem Ra i coś podobnego zrobił w swoim starterze i na przyszłość, jesli masz problem ze scenerią to użyj startera Ra.

Po co takie narzędzia są robione, jeśli z nich nie korzystacie?

« Ostatnia zmiana: 01 Listopada 2008, 13:52:18 wysłana przez Mariusz1970 »

Offline Sm 42 driver

  • Wiadomości: 320
  • Trasopisarz
    • Zobacz profil
  • Otrzymane polubienia: 70
Odp: "Abnormal program termination" po wyeksportowaniu własnej scenerii.
« Odpowiedź #8 dnia: 01 Listopada 2008, 17:01:16 »
Dzięki Mariusz :) Problem jest z plikiem bud/SkoczowStacja.inc. Chciałbym ponadto dodać, że używam startera Ra od kiedy ukazał się na forum i bardzo go sobie chwalę ponieważ przy jego pomocy rozwiązałem już wiele problemów z trasami :) Po wybraniu trasy i przełączeniu na zakładkę STRUKTURA w polu 'błędne wpisy' nic nie ma, a w polu 'brakujące pliki' jest napisane: '[jest komplet]' dlatego chciałem się poradzić Was :)

--------------------------------------------------------------------------------------------
Jesteś wielki, Mariusz :) Problem polegał na tym, że gmax stworzył taki wpis dla SkocowStacja.inc:
include;bud/SkoczowStacja.inc;roof/Roof-RedTiles-aged1.bmp;59.7791;0.0;836.197;-90.0;;end
podczas gdy parametry w pliku mówią:
// (p1) nazwa (p2) (p3) (p4) wspolrzedne (p5) rotacja (p6) tekstura dachu
więc po przestawieniu ich wyszło coś takiego:
include;bud/SkoczowStacja.inc;bud_st1;59.7791;0.0;836.197;-90.0;roof/Roof-RedTiles-aged1.bmp;end
i sie uruchomiło :)
Pozdrawiam
PS. Dzięki za program :)

(można chyba zamknąć ;))
« Ostatnia zmiana: 01 Listopada 2008, 17:11:56 wysłana przez Sm 42 driver »