0.3.9.1 tarball?

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Surfdargent
Developer
Developer
Posts: 153
Joined: Wed Jan 22, 2003 4:28 am
Location: Reunion Island
Contact:

Post by Surfdargent »

I forgot there is also the project zip file : vegaproj.zip
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Also the vega-vc7 CVS module are available for those who use VC .net :) (and of course vega-proj)

They come with libs, etc and I update them whenever I go into windows, which is sadly less frequently nowadays due to some hardware failures (hard drive turning off and blue screens turning on) sometimes when using the video card.

vega-vc7 is for ppls with visual c++ .net, vega-proj is for people in visual c++ 6

Unfortunately server projects give link errors for me (even in linux)... perhaps they aren't being committed.
etheral walker
Elite
Elite
Posts: 1516
Joined: Sat May 10, 2003 5:26 pm
Location: into the depths

Post by etheral walker »

j'arrive pas a mettre en place ta librairie crypto, surfdargent. Ca complie sans pb, mais apres je ne sais que faire, et je n'ais pas la librairie manquante
I see dead polygons....
etheral walker
Elite
Elite
Posts: 1516
Joined: Sat May 10, 2003 5:26 pm
Location: into the depths

Post by etheral walker »

well in english:
I can compile crypto++, but it does not produce the required library, have someone got an idea?
I see dead polygons....
Surfdargent
Developer
Developer
Posts: 153
Joined: Wed Jan 22, 2003 4:28 am
Location: Reunion Island
Contact:

Post by Surfdargent »

Mmm... that's weird I don't have any problem with it at runtime...
As for the servers I haven't tried to compile them under win32 for quite a long time but they compile fine under linux and macOS X for me.

What are the errors ?
etheral walker
Elite
Elite
Posts: 1516
Joined: Sat May 10, 2003 5:26 pm
Location: into the depths

Post by etheral walker »

I found the apt packages, but I think I did to much urpmi --allow-force ;)
does anybody knows where I can find a rpm for libcrypto++?
I see dead polygons....
etheral walker
Elite
Elite
Posts: 1516
Joined: Sat May 10, 2003 5:26 pm
Location: into the depths

Post by etheral walker »

and if no, will it be possible to have a static binary (for this lib) of vs?
I see dead polygons....
Surfdargent
Developer
Developer
Posts: 153
Joined: Wed Jan 22, 2003 4:28 am
Location: Reunion Island
Contact:

Post by Surfdargent »

You can find the source and compile it quite easily : http://www.eskimo.com/~weidai/cryptlib.html
or you could grab the source and compile VS without crypto support :)
etheral walker
Elite
Elite
Posts: 1516
Joined: Sat May 10, 2003 5:26 pm
Location: into the depths

Post by etheral walker »

well,
I download the crypto51.zip file, unzip -a this file, and perform a make. no errors, but no *.so filles:


[root@jer1 crypto]# ls
3desval.dat blumshub.cpp dessp.o eprecomp.h gzip.h lucs512.dat nbtheory.cpp rabi2048.dat rsa.cpp socketft.h validate.h
3way.cpp blumshub.h dh1024.dat eprecomp.o gzip.o makefile nbtheory.h rabin.cpp rsa.h socketft.o wait.cpp
3way.h blumshub.o dh2048.dat esig1023.dat havalcer.dat mars.cpp nbtheory.o rabin.h rsa.o square.cpp wait.h
3way.o cast128v.dat dh2.cpp esig1536.dat haval.cpp mars.h network.cpp rabin.o rw1024.dat square.h wait.o
3wayval.dat cast256v.dat dh2.h esig2046.dat haval.h mars.o network.h randpool.cpp rw2048.dat square.o wake.cpp
adhoc.cpp cast.cpp dh2.o esign.cpp haval.o marss.cpp network.o randpool.h rw.cpp squaretb.cpp wake.h
adhoc.cpp.proto cast.h dh.cpp esign.h hex.cpp marss.o nr1024.dat randpool.o rw.h squaretb.o wake.o
adhoc.o cast.o dh.h esign.o hex.h marsval.dat nr2048.dat rc2.cpp rw.o squareva.dat winpipes.cpp
adler32.cpp casts.cpp dh.o factory.h hex.o md2.cpp nr.h rc2.h safer.cpp strciphr.cpp winpipes.h
adler32.h casts.o diamond.cpp files.cpp hmac.h md2.h oaep.cpp rc2.o safer.h strciphr.h winpipes.o
adler32.o cbcmac.h diamond.dat files.h hrtimer.cpp md2.o oaep.h rc2val.dat safer.o strciphr.o words.h
aes.h channels.cpp diamond.h files.o hrtimer.h md4.cpp oaep.o rc5.cpp saferval.dat tea.cpp xormac.h
algebra.cpp channels.h diamond.o filters.cpp hrtimer.o md4.h oids.h rc5.h seal.cpp tea.h xtr.cpp
algebra.h channels.o diamondt.cpp filters.h ida.cpp md4.o osrng.cpp rc5.o seal.h tea.o xtrcrypt.cpp
algebra.o config.h diamondt.o filters.o ida.h md5.cpp osrng.h rc5val.dat seal.o test.cpp xtrcrypt.h
algparam.cpp crc.cpp dlie1024.dat fips140.cpp ida.o md5.h osrng.o rc6.cpp secblock.h test.o xtrcrypt.o
algparam.h crc.h dlie2048.dat fips140.h idea.cpp md5mac.cpp panama.cpp rc6.h seckey.h TestVectors/ xtrdh171.dat
algparam.o crc.o dmac.h fips140.o idea.h md5mac.h panama.h rc6.o serpent.cpp tftables.cpp xtrdh342.dat
arc4.cpp cryptest.cpp Doxyfile fipstest.cpp idea.o md5mac.o panama.o rc6val.dat serpent.h tftables.o xtr.h
arc4.h cryptest.dsp dsa1024b.dat fipstest.o ideaval.dat md5.o pch.cpp rdtables.cpp serpent.o tiger.cpp xtr.o
arc4.o cryptest.dsw dsa1024.dat fltrimpl.h integer.cpp mdc.h pch.h rdtables.o serpentv.dat tiger.h zdeflate.cpp
argnames.h cryptest.exe* dsa512.dat gf2_32.cpp integer.h misc.cpp pch.o Readme.txt sha.cpp tiger.o zdeflate.h
asn.cpp cryptest.o dsa.cpp gf2_32.h integer.o misc.h pkcspad.cpp regtest.cpp sha.h tigertab.cpp zdeflate.o
asn.h cryptlib.cpp dsa.h gf2_32.o iterhash.cpp misc.o pkcspad.h regtest.o sha.o tigertab.o zinflate.cpp
asn.o cryptlib.dsp dsa.o gf256.cpp iterhash.h modarith.h pkcspad.o rijndael.cpp sharkbox.cpp trdlocal.cpp zinflate.h
base64.cpp cryptlib.h ec2n.cpp gf256.h iterhash.o modes.cpp polynomi.cpp rijndael.dat sharkbox.o trdlocal.h zinflate.o
base64.h cryptlib.o ec2n.h gf256.o libcryptopp.a modes.h polynomi.h rijndael.h shark.cpp trdlocal.o zlib.cpp
base64.o crypto51.zip ec2n.o gf2n.cpp License.txt modes.o polynomi.o rijndael.o shark.h trunhash.h zlib.h
basecode.cpp crypto++.mcp* eccrypto.cpp gf2n.h lubyrack.h modexppc.cpp pssr.cpp ripemd.cpp shark.o twofish.cpp zlib.o
basecode.h datatest.cpp eccrypto.h gf2n.o luc1024.dat modexppc.h pssr.h ripemd.h sharkval.dat twofish.h
basecode.o datatest.o eccrypto.o gfpcrypt.cpp luc2048.dat modexppc.o pssr.o ripemd.o simple.cpp twofish.o
bench.cpp default.cpp ecp.cpp gfpcrypt.h lucc1024.dat mqueue.cpp pubkey.cpp rng.cpp simple.h twofishv.dat
bench.h default.h ecp.h gfpcrypt.o lucc512.dat mqueue.h pubkey.h rng.h simple.o usage.dat
bench.o default.o ecp.o GNUmakefile luc.cpp mqueue.o pubkey.o rng.o skipjack.cpp validat1.cpp
bfinit.cpp descert.dat elgamal.cpp gost.cpp lucd1024.dat mqv1024.dat pwdbased.h rsa1024.dat skipjack.dat validat1.o
bfinit.o des.cpp elgamal.h gost.h lucd512.dat mqv2048.dat queue.cpp rsa2048.dat skipjack.h validat2.cpp
blowfish.cpp des.h elgamal.o gost.o luc.h mqv.cpp queue.h rsa400pb.dat skipjack.o validat2.o
blowfish.h des.o elgc1024.dat gostval.dat luc.o mqv.h queue.o rsa400pv.dat smartptr.h validat3.cpp
blowfish.o dessp.cpp eprecomp.cpp gzip.cpp lucs1024.dat mqv.o rabi1024.dat rsa512a.dat socketft.cpp validat3.o
[root@jer1 crypto]#
I see dead polygons....
etheral walker
Elite
Elite
Posts: 1516
Joined: Sat May 10, 2003 5:26 pm
Location: into the depths

Post by etheral walker »

the only intersting file is libcryptopp.a, but how can I use it?
I see dead polygons....
Surfdargent
Developer
Developer
Posts: 153
Joined: Wed Jan 22, 2003 4:28 am
Location: Reunion Island
Contact:

Post by Surfdargent »

That's the only file you need ;)

I don't remember if there is an install option in the Makefile but if not you have to copy *.h into /usr/local/include/crypto++/ and the .a file in /usr/local/lib.

Then it should be ok.
If you wish to recompile it (I have linked against libcrypto++ 5.0 which is not the latest one and differs a little from the more recent 5.1) you just have to add --enable-crypto on your configure line.
etheral walker
Elite
Elite
Posts: 1516
Joined: Sat May 10, 2003 5:26 pm
Location: into the depths

Post by etheral walker »

no, the binary ask for libcrypto++.so.5 (I'm trying with your compiled binaries because I cannot upgrade in an easy way my glx driver)
Should you send me this file? I cannot even use apt on my mdk
I see dead polygons....
Surfdargent
Developer
Developer
Posts: 153
Joined: Wed Jan 22, 2003 4:28 am
Location: Reunion Island
Contact:

Lib crypto++

Post by Surfdargent »

Je peux t'envoyer ça sans prob... donne moi juste ton email elle n'est apparemment pas publique sur le forum.
Par contre c compilé avec une glibc 2.3... pour info.
etheral walker
Elite
Elite
Posts: 1516
Joined: Sat May 10, 2003 5:26 pm
Location: into the depths

Post by etheral walker »

wrebzr.qrfobeqrf@serr.se en rot13, merci beaucoup ;)
I see dead polygons....
Surfdargent
Developer
Developer
Posts: 153
Joined: Wed Jan 22, 2003 4:28 am
Location: Reunion Island
Contact:

Post by Surfdargent »

Bon, c'est trop gros pour free en envoi ;)
Donc tu peux aller là :
http://ewave.homelinux.org/vegastrike/libcrypto.tar.gz

Bonne chance.
etheral walker
Elite
Elite
Posts: 1516
Joined: Sat May 10, 2003 5:26 pm
Location: into the depths

Post by etheral walker »

Will this library be needed to play online? If yes, for rpm users, it should be nice to put it in a place so everybody can find it ;)
I see dead polygons....
Surfdargent
Developer
Developer
Posts: 153
Joined: Wed Jan 22, 2003 4:28 am
Location: Reunion Island
Contact:

Post by Surfdargent »

Well, I'll try to make it so that it is not required but only suggested.

But if it is not used, client without crypto++ support will only be able to connect to servers without crypto++ servers and client crypto ++ enabled will only be able to connect to crypto++ enabled servers.

Of course when the support of crypto++ will be needed or suggested we will make a tarball available with that lib.
etheral walker
Elite
Elite
Posts: 1516
Joined: Sat May 10, 2003 5:26 pm
Location: into the depths

Post by etheral walker »

C'est en effet le truc qui m'interpellait, je ne pensait pas qu'un serveur necessitant un protocole de cryptage x ou y accepte des clients non identifies
Il doit y avoir un moyen de compiler la librairie en dynamique, mais j'avoue avoir pas mal d'autres choses a faire avec mes models ;)
I see dead polygons....
Surfdargent
Developer
Developer
Posts: 153
Joined: Wed Jan 22, 2003 4:28 am
Location: Reunion Island
Contact:

Post by Surfdargent »

En fait, c'est pas tout à fait pour authentifier les clients mais pour contrôler la signature des fichiers .system et universe_name.xml et aussi pour une petite fonctionnalité de derrière les fagots qui je l'espère marchera un jour prochain :)
etheral walker
Elite
Elite
Posts: 1516
Joined: Sat May 10, 2003 5:26 pm
Location: into the depths

Post by etheral walker »

un truc du genre des stats par joueur ;) ?
I see dead polygons....
Surfdargent
Developer
Developer
Posts: 153
Joined: Wed Jan 22, 2003 4:28 am
Location: Reunion Island
Contact:

Post by Surfdargent »

Un truc que tu ne dois même pas imaginer... ce n'est qu'un gadget mais ça peut carrément le faire.
Sinon, en effet je pense que je vais utiliser le cryptage des login/passwd tant qu'à faire... vu que j'ai maintenant un super lib pour le faire.
etheral walker
Elite
Elite
Posts: 1516
Joined: Sat May 10, 2003 5:26 pm
Location: into the depths

Post by etheral walker »

vivement que ca sorte, la tu titilles ma curiosité ;)
question a 2 balles, quelle est grosso modo le ratio de bande passante par joueur?
I see dead polygons....
Surfdargent
Developer
Developer
Posts: 153
Joined: Wed Jan 22, 2003 4:28 am
Location: Reunion Island
Contact:

Post by Surfdargent »

Pour l'instant c'est assez faible, mais je suis malheureusement loin d'avoir tout implémenté ! Y'a des trucs carrément chauds à comprendre et à utiliser en "mode réseau".
etheral walker
Elite
Elite
Posts: 1516
Joined: Sat May 10, 2003 5:26 pm
Location: into the depths

Post by etheral walker »

le pied serait de pouvoir etre a plusieurs sur le meme vaisseaux, un pilote, un mec par tourelle ;)
Il y avait ca dans XWA, ca la fait mechamment, surtout quand tu peux discuter avec le reste de l'equipage ;)
I see dead polygons....
Surfdargent
Developer
Developer
Posts: 153
Joined: Wed Jan 22, 2003 4:28 am
Location: Reunion Island
Contact:

Post by Surfdargent »

Ouais, j'avais déjà imaginé le truc une fois : genre tu peux te poser sur un gros "porte-vaisseaux" et te ballader en 3D à l'intérieur, rencontrer les autres joueurs présent sur le vaisseau...

Voire même avoir un poste sur le vaisseau genre officier tactique qui gérerait les armes et tirerai alors que le commandant (un autre joueur) ne ferait que donner des ordres et rester assis sur sa chaise... ou même être mécano et pouvoir réparer les vaisseaux de ceux qui se posent dans le hangar du batiment (un peu RPG là genre avec des points d'XP pour la réparation)

Bref, l'imagination est sans limite, on peut aller beaucoup plus loin ! :)
Post Reply