project-navigation
Personal tools

Author Topic: SVN Update  (Read 12502 times)

Offline Another Guy

  • Squad Leader
  • ****
  • Posts: 239
    • View Profile
SVN Update
« on: June 17, 2009, 12:25:57 am »
I Installed Odie last 2.3 build (always worked fine for me) and updated game dir using Tortoise SVN so I can play last trunk. Also deleted the .pk3 files to avoid any problem.

Update worked fine and files got downloaded into game dir on the right places (I kept and copy of the original install to check for differences).

Problem is game crashes on start up. So I'm obviously missing some step. Can someone help me out?

Obs: Im adding log in case it helps


---- filesystem initialization -----
Adding game dir: ./base
Adding game dir: C:\Users\quad\AppData\Roaming\UFOAI/2.3-dev/base
using C:\Users\quad\AppData\Roaming\UFOAI/2.3-dev/base for writing
executing default.cfg
executing config.cfg
executing keys.cfg

----- network initialization -------
libcurl/7.16.4 zlib/1.2.2 initialized.

------ server initialization -------
added 7 maps to the mapcycle

----- console initialization -------
Console initialized.

------- video initialization -------
SDL version: 1.2.13
I: desktop depth: 32bpp
I: video memory: 0
I: video driver: windib
I: setting mode 6:I: set multisample buffers to 4
I: set swap control to 0
 1024x768 (fullscreen: yes)
I: got 8 bits of stencil
I: got 24 bits of depth buffer
I: got double buffer
I: got 8 bits for red
I: got 8 bits for green
I: got 8 bits for blue
I: got 0 bits for alpha
I: got 4 multisample buffers
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce 8800 GT/PCI/SSE2
GL_VERSION: 2.1.2
GL_EXTENSIONS: GL_ARB_color_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers 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_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two 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_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_bindable_uniform GL_EXT_depth_bounds_test GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels 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_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc 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_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent 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_buffer_float GL_NV_conditional_render 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_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_geometry_shader4 GL_NV_gpu_program4 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object 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_transform_feedback 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_NV_vertex_program3 GL_NVX_conditional_render 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
max texture units: 4
max texture size: detected 8192
but using 2048 as requested
R_LoadProgram: 'world' loaded.
R_LoadProgram: 'mesh' loaded.
R_LoadProgram: 'warp' loaded.
SDL_ttf version 2.0.9 - we need at least 2.0.7

------- sound initialization -------
SDL_mixer version: 1.2.8
... driver: 'dsound'
... audio rate: 44100
... audio channels: 2

------- input initialization -------
0 possible joysticks
no joystick found.

----------- parse scripts ----------
Invalid 'if' statement. '(' is not a cvar
MN_ParseNodeBody: node with bad body ignored (node "aircraft_equip.aircraft_change")
MN_ParseMenu: menu "aircraft_equip" has a bad body

Wrote keys.cfg

Shutdown




Edit: Using Windows Vista 64 Bits
Edit2: I used default TortoiseSVN config and address https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk as said on wiki

[attachment deleted by admin]
« Last Edit: June 17, 2009, 12:37:16 am by Another Guy »

Offline bayo

  • Professional loser
  • Project Coder
  • Captain
  • ***
  • Posts: 733
    • View Profile
Re: SVN Update
« Reply #1 on: June 17, 2009, 12:27:29 am »
my eyes ;_;

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: SVN Update
« Reply #2 on: June 17, 2009, 04:05:55 am »
I wouldn't mix builds like that (ones from installers and SVN snapshots), it isn't a good idea and might be your problem.

If you want it from SVN, you should check out a copy into an empty folder/directory and get a whole new copy of the trunk completely from SVN.  Yes, it takes time to download, but you'll have fewer issues.

Offline Another Guy

  • Squad Leader
  • ****
  • Posts: 239
    • View Profile
Re: SVN Update
« Reply #3 on: June 17, 2009, 04:37:22 am »
Quote
I wouldn't mix builds like that (ones from installers and SVN snapshots), it isn't a good idea and might be your problem.

If you want it from SVN, you should check out a copy into an empty folder/directory and get a whole new copy of the trunk completely from SVN.  Yes, it takes time to download, but you'll have fewer issues.

Well, tried that as well. deleting everything but the binaries and then getting a complete new SVN. No luck too.

However, I managed to get it to work. I left all .pk3 from Odie last installer (24654) and tried removing specific folders to see if any was corrupted (the .pk3 would handle the missing files).

I found out all files corrupting the build were in *gamedir*/base/ufos/ui

Then i tried them one by one.

Seems the corrupt files r:


aircraft_equip.ufo
aircraft_info.ufo
aircraft_pilots.ufo
aircraft_soldiers.ufo
basedefence.ufo
buildings.ufo
equipment.ufo
geoscape.ufo
hud.ufo
lostwon.ufo
main.ufo
material_editor.ufo
multiplayer.ufo
multiplayer_team.ufo
production.ufo



Any of them would give an error on some cvar along with:
MN_ParseMenu: menu "*filename*" has a bad body

Unpaking these files from Odie 24654 build .pk3 files and deleting the pk3 also worked just fine, so I guess I can say for sure this files are corrupted at last trunk snapshot I got (24740).
I even tried downloading the svn trunk all over again to test if it wasn't a download issue (rather than a corrupt trunk files issue). Same result.

Maybe this info will help somebody else.

Cheers!

Offline Another Guy

  • Squad Leader
  • ****
  • Posts: 239
    • View Profile
Re: SVN Update
« Reply #4 on: June 17, 2009, 05:17:38 am »
From the revision log, it seems all these files where modified at revision 24712
Quote
* rework conditions
** if "..." -> if ( ... )
** the same for "elif"
** "visiblewhen" do not change
Not sure what it is about.

Maybe some later revision refered to these files using some old command or something like that.

ralthor

  • Guest
Re: SVN Update
« Reply #5 on: June 17, 2009, 06:31:37 am »
Why didn't you delete the binaries and build everything fresh?

Offline bayo

  • Professional loser
  • Project Coder
  • Captain
  • ***
  • Posts: 733
    • View Profile
Re: SVN Update
« Reply #6 on: June 17, 2009, 05:55:59 pm »
Already said, but new ui script is wrong for the old binary. Everything must be up to date.
I clean up some of thing, then recently i change a some ui script syntax. And i will continue a little.

Offline Another Guy

  • Squad Leader
  • ****
  • Posts: 239
    • View Profile
Re: SVN Update
« Reply #7 on: June 17, 2009, 08:15:19 pm »
Where can I get the binaries from? I couldn't find any link from the wiki. Just for the SVN (using tortoiseSVN).

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: SVN Update
« Reply #8 on: June 17, 2009, 08:44:48 pm »
Compile for Windows

And the Code::Blocks section...

-geever

Offline Another Guy

  • Squad Leader
  • ****
  • Posts: 239
    • View Profile
Re: SVN Update
« Reply #9 on: June 18, 2009, 02:36:06 pm »
mmm even instaling last gtk radiant version and setting dos path (using a .bat launcher I made for codeblok) for those directories, compiler still doesn't seem to understand all lines on UFOAI workshop project. and it is still looking for sound files like vorbis. It seems it will take forever for me to figure out how to get it to work.

But nevermind, Odie is back :P

Thx all!

Offline Another Guy

  • Squad Leader
  • ****
  • Posts: 239
    • View Profile
Re: SVN Update
« Reply #10 on: June 18, 2009, 04:58:14 pm »
A last try. The messages I get while compiling UFO.cbp (the most critical one):

Compiling: ..\..\src\client\renderer\r_image.c
C:\Program Files (x86)\UFOAI-2.3-dev\src\client\renderer\r_error.h:49: warning: 'R_CheckErrorDebug' defined but not used
Compiling: ..\..\src\client\renderer\r_light.c

...

Compiling: ..\..\src\common\scripts.c
C:\Program Files (x86)\UFOAI-2.3-dev\src\common\routing.c:75: warning: 'RT_PlaceIsUsable' defined but not used
Compiling: ..\..\src\common\tracing.c

...

Compiling: ..\..\src\ports\windows\win_console.c
gcc: Development\codeblocks\MinGW\include: No such file or directory
Compiling: ..\..\src\ports\windows\win_main.c

...

Compiling: ..\..\src\shared\utf8.c
Linking executable: ..\..\ufo.exe
c:/games/ufoai development/codeblocks/mingw/bin/../lib/gcc/mingw32/4.3.3/../../../../mingw32/bin/ld.exe: cannot find -lvorbis
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 24 seconds)
1 errors, 2 warnings









Obs: src\client\cl_cinematic_ogm.c is completely screwed on compiling, so I just removed it from project (many errors involving vorbis, ogg and theora references - maybe codec issues?).

Obs2: I use "k-lite mega codec pack".
« Last Edit: June 18, 2009, 05:21:16 pm by Another Guy »

odie

  • Guest
Re: SVN Update
« Reply #11 on: June 19, 2009, 03:27:26 pm »
Okie,

Maybe u wanna re-download the latest built with clean maps rebuilt i have made today..... ??

It may help relieve your frustrations.....

Offline Another Guy

  • Squad Leader
  • ****
  • Posts: 239
    • View Profile
Re: SVN Update
« Reply #12 on: June 20, 2009, 08:26:09 pm »
Downloaded R24765.  ;D

Offline Another Guy

  • Squad Leader
  • ****
  • Posts: 239
    • View Profile
Re: SVN Update
« Reply #13 on: June 20, 2009, 10:10:39 pm »
Got compiler to work with Muton C:B Package. Seems the problem was on the wiki package.
thx all!

odie

  • Guest
Re: SVN Update
« Reply #14 on: June 22, 2009, 07:03:20 am »
Got compiler to work with Muton C:B Package. Seems the problem was on the wiki package.
thx all!

Actually, Mattn has a CB package too, u might wannt to check tat out. :D