project-navigation
Personal tools

Author Topic: Missing music & pics in SVN  (Read 4843 times)

cycyc

  • Guest
Missing music & pics in SVN
« on: August 24, 2006, 12:56:38 pm »
Somehow SVN doesnt load the music. Now I checked out Rev 2949 and after starting the campaign I get
Code: [Select]

FindFile: can't find music/geoscape.ogg
Couldn't open 'music/geoscape.ogg'
FindFile: can't find music/geoscape.ogg
Couldn't open 'music/geoscape.ogg'
Received signal 11, exiting..

And they are really not in "trunk/base/music" somehow they didnt get loaded. There is only "dawn.ogg".

Now I copied them from the RC3. And I get -again after trying to start a campaign - among good news this
Code: [Select]

...GL_ARB_fragment_program not found
...GL_ATI_separate_stencil not found


Can't find pics/
Can't find pics/menu/buya_ul
Can't find pics/menu/buya_ur
Can't find pics/menu/buya_ll
Can't find pics/menu/buya_lr


Received signal 11, exiting..
and a crash. Hopefully you know whats wrong...

cycyc

  • Guest
Missing music & pics in SVN
« Reply #1 on: August 24, 2006, 01:00:42 pm »
Somehow I get the same crash, when I try to enable texture compression again :(

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Missing music & pics in SVN
« Reply #2 on: August 24, 2006, 01:56:40 pm »
for music use this: http://prdownloads.sourceforge.net/ufoai/music.tar.bz2?download

the
...GL_ARB_fragment_program not found
...GL_ATI_separate_stencil not found
doesn't matter - this just tells, that your 3d driver does not support these things

do you use linux?

please see the debugging article in our wiki and give us a backtrace.

thanks
martin

cycyc

  • Guest
Missing music & pics in SVN
« Reply #3 on: August 24, 2006, 03:24:26 pm »
Yeah, I use linux... and somehow, the Ufo_2 main-branch I got just now, works better. But I dont really get the difference (both say rev 2952) - could you tell me?

Backtracing the trunk reads at fisrt halt:

Code: [Select]

#0  0xffffe410 in __kernel_vsyscall ()
#1  0x401e9ba2 in sem_post@GLIBC_2.0 () from /lib/tls/libpthread.so.0
#2  0x401a9e68 in SDL_SemPost () from /usr/lib/libSDL-1.2.so.0
#3  0x401a9455 in SDL_RunThread () from /usr/lib/libSDL-1.2.so.0
#4  0x401a97cd in SDL_KillThread () from /usr/lib/libSDL-1.2.so.0
#5  0x401e5297 in start_thread () from /lib/tls/libpthread.so.0
#6  0x402b137e in clone () from /lib/tls/libc.so.6
#7  0x407eabb0 in ?? ()


and at crash

Code: [Select]

0  0x407fc1bc in Font_Length (font=Error accessing memory address 0xbfecb260: Kein passender Prozess gefunden.
) at gl_font.c:181
Error accessing memory address 0xbfecb258: Kein passender Prozess gefunden.


using "run" with the options wiki suggests, I get a lot more halts and a crash at

Code: [Select]

#0  0x407fc1bc in Font_Length (font=0x93a39a4 "f_big",
    c=0x1 <Address 0x1 out of bounds>, width=0x200, height=0x1df)
    at gl_font.c:181
#1  0x0807d439 in CL_Sequence2D () at cl_sequence.c:333
#2  0x0808686b in V_RenderView (stereo_separation=0) at cl_view.c:717
#3  0x0807cabd in SCR_UpdateScreen () at cl_scrn.c:732
#4  0x0806f160 in CL_Frame (msec=1746) at cl_main.c:1577
#5  0x080964c9 in Qcommon_Frame (msec=1746) at common.c:1546
#6  0x080ac5e6 in main (argc=10, argv=0xbfdcf3c4) at sys_linux.c:399


hmmmm...

Hoehrer

  • Guest
Missing music & pics in SVN
« Reply #4 on: August 24, 2006, 07:13:50 pm »
The ufoai_2 branch is unmaintained right now ... this happend while i was on vacation, so i don't exactlöy know what features/bugfixes stilla re in there, but development continued in trunk.

I had big problems with switching from trunk to ufoai_2 myself and i advise to completely re-checkout th trunk ... sometimes when there is modified local data (e.g copied maps from a seperate download) the 'switch' command will not switch all dirs :-/

Werner

cycyc

  • Guest
Missing music & pics in SVN
« Reply #5 on: August 25, 2006, 01:16:47 pm »
Well thanks. A complete new checkout solved the problem. There was a lot of changes  in the two weeks of your (and actually mine too :) vacation. Currently all my soldiers, workers etc. have alien models and strange names though...

cycyc

  • Guest
Missing music & pics in SVN
« Reply #6 on: August 25, 2006, 01:25:16 pm »
and somhow there is noone at a map, when I play. I cant select anyone, but invisible folks go and kill civilians anyhow.. weird

cycyc

  • Guest
Missing music & pics in SVN
« Reply #7 on: August 25, 2006, 01:46:35 pm »
now it decided to show my aliens, but it makes completely weird move-calculations (always take one step backward, before moving ... walk thru walls). Has anybody tried Rev 296x on Linux? I'm always scared of hunting for bugs on trunk, since I'm not sure wether its a mistake >svn, apt, make ...< made or one of the code. Hopefully there will be an Rc4 binary soon...

Hoehrer

  • Guest
Missing music & pics in SVN
« Reply #8 on: August 25, 2006, 04:59:39 pm »
Just to get sure I suggest to use the commands
Code: [Select]
$ cd src;make clean;make;make lang;make links;cd ..
$ ./ufoai

in the trunk directory. This will clean up the directories before creating the binaries and re-create the symlinks ... if they have changed since your last checkout (this was the case some time ago)

Werner

cycyc

  • Guest
Missing music & pics in SVN
« Reply #9 on: August 25, 2006, 09:05:19 pm »
Thanks for this tip. Maybe it should be included somewhere in dev-wiki. Though I get "Keine Regel um >>links<< zu erstellen". Typo?
Anyhow I guess somebody rotated the maps since ufo_2. I'll try to recompile the maps and see how it calculates then.

Hoehrer

  • Guest
Missing music & pics in SVN
« Reply #10 on: August 25, 2006, 11:34:52 pm »
Oh, i'm sorry. The "make links" has been removed in rev. 2318 just ignore it then :)

Also there is now a makefile i trunk as well, but i didn#t use it yet, so no tips from me on that. A simple "make" should be enough though.

Werner

cycyc

  • Guest
Missing music & pics in SVN
« Reply #11 on: August 26, 2006, 05:33:15 pm »
Ok... Old .bsp with new .map wont give proper way calculations.. :) maybe there should be some check included...
Evrything seems to work now. Thx for support.