MegaGlest Forum

MegaGlest => MegaGlest => Topic started by: titi on 6 January 2010, 01:33:04

Title: megaglest 3.2.3 beta
Post by: titi on 6 January 2010, 01:33:04
Here is a new glest release , please test it. ( how should I call it? Should I stay with glest or should I call it something like megaglest? )
Code: [Select]
http://www.titusgames.de/glest-source-3.2.3-beta1.tar.bz2
Whats new?
- Only needed factions are loaded ( thanks silnarm )
- a weeker CPU player was added for real beginners
- A somehow better CPU player was added ( CPU-Mega )

Mega-CPU: Please test this one! Especially in the end of a game this CPU make huge armies/attacks!
I know it could be better and I will try to improve it if you like it!

Linux 32bit version is comping soon( tomorrow ), but I currently cannot build a linux 64 bit version here at home.
Same with a Windows Version,  who can help?

You may ask why not GAE?
Simple answer, it still has no official/stable release yet and no working multiplayer. I want to go on modding :) so I needed this one.

update: Here is the linux 32 bit binary(+libs) build on ubuntu 8.04:

Code: [Select]
http://www.titusgames.de/glest3.2.3-beta1_i386_linux_bin.tar.bz2Simply use the glest 3.2.2 data ( Attention if you test this in your installation!! Backup "glest.bin" and the "lib" directory first which are new in this release! )   

update2: Here is the windows32 binary ( thanks silnarm ! ):

Code: [Select]
http://www.titusgames.de/glest_3.2.3_beta1_win32.zip
Title: Re: glest 3.2.3 beta
Post by: -Archmage- on 6 January 2010, 02:08:49
Awesome titi! ;)
If this works, you can count on me to help you with bugs.
Title: Re: glest 3.2.3 beta
Post by: -Archmage- on 6 January 2010, 02:24:26
64-bit users can use the 32-bit binary, they will just have to get by the compatibility issues.

Could you compile without using libxerces-c.so.27, use libxerces-c.so.28, that should get rid of a wall for 64-bit users like myself.
Title: Re: glest 3.2.3 beta
Post by: titi on 6 January 2010, 02:29:17
I added this lib to my distribution. The startscipt "glest" adds the lib dir to the library path.
Maybe you can modify it for linux 64bit? Open it using an editor and see what you can do ......

How do you start a 32bit application?
Maybe i can help you.
Title: Re: glest 3.2.3 beta
Post by: -Archmage- on 6 January 2010, 03:24:05
I'll try to create a fix for 64-bit users............
Title: Re: glest 3.2.3 beta
Post by: -Archmage- on 6 January 2010, 07:36:18
I did the best I could, I just get error after error until I get this weird symbol lookup error.
Title: Re: glest 3.2.3 beta
Post by: -Archmage- on 6 January 2010, 07:37:51
Find all the compatibility issues and re-compile using the newest versions of the libraries, using all these different versions is making it impossible for me to take care of compatibility issues! :(

Could you compile using the libs that GAE 0.2.12b uses, then I can take care of compatibility issues without much hassle(unless something goes wrong or some other thing like that).
Title: Re: glest 3.2.3 beta
Post by: emscape on 6 January 2010, 08:13:34
Souns awesome, am going to try tonight:D
Title: Re: glest 3.2.3 beta
Post by: assassin on 6 January 2010, 08:38:59
You know, with gcc you can compile 64 bit binaries on a 32-bit machine. I didi it a while ago. I forget howto now.
Title: Re: glest 3.2.3 beta
Post by: titi on 6 January 2010, 10:38:07
Windows 32 binary available now ( see first post )
Title: Re: glest 3.2.3 beta
Post by: -Archmage- on 6 January 2010, 17:25:36
So, what about re-compiling the linux binary?
Title: Re: glest 3.2.3 beta
Post by: -Archmage- on 6 January 2010, 17:49:09
I'll just have to use the Windows exe on my laptop for now I guess......



Bug/issue report:
-CpuEasy has three question marks in front and in back of it.
-CpuMega has three question marks in front and in back of it.
-In "About" some of the names are screwed up.

There doesn't appear to be any stability issues, and it's quite fun! ;D
Title: Re: glest 3.2.3 beta
Post by: emscape on 6 January 2010, 19:30:43
This corrupts the glest.ini! please tell me what i did wrong!
Title: Re: glest 3.2.3 beta
Post by: emscape on 6 January 2010, 19:49:18
32Bit works fine for me on win7x64ultimate ???
Title: Re: glest 3.2.3 beta
Post by: titi on 6 January 2010, 20:08:01
@emscape:
The linux binary package includes a glest.ini, because the glest data package doesn't have one for linux. Sorry I think you have to edit your glest.ini again manually :( .

and for windows7x64, I think it executes 32bit code too !

@archmage: Its not so easy to change to libxerces-c.so.28 for me , so sorry no, I will not change this yet.
Title: Re: glest 3.2.3 beta
Post by: -Archmage- on 6 January 2010, 21:24:21
I'm still working on other solutions for 64-bit don't worry.

Titi, I think you might want to get Glest running on the newest version of libxerces possible, cause 2.7.0 is old, and with newer systems you encounter problems that are pretty much impossible to get by. Titi, the reason Glest from add/remove works is because it uses libxerces 2.8.0, I tried the 64-bit binary for 3.2.2, I get the same compatibility issues!

This is a MAJOR BUG.
Title: Re: glest 3.2.3 beta
Post by: ace frog on 6 January 2010, 22:02:40
How do i run this?
Title: Re: glest 3.2.3 beta
Post by: -Archmage- on 6 January 2010, 23:16:22
Download the Windows stuff at the first post, and rename the executable so it doesn't overwrite the glest.exe, and then copy the executable and the lua dll into your Glest directory, run the new executable and you'll be playing Glest 3.2.3-BETA 1! ;D
Title: Re: glest 3.2.3 beta
Post by: ace frog on 7 January 2010, 00:12:09
Thanks, testing it out! ;D
Title: Re: glest 3.2.3 beta
Post by: hailstone on 7 January 2010, 00:47:40
You may ask why not GAE?
Simple answer, it still has no official/stable release yet and no working multiplayer. I want to go on modding :) so I needed this one.
I think you mean "no official/stable release with a working multiplayer yet". GAE 0.2.12b is our official stable release without the working multiplayer. While it isn't bug free extensive testing has been done to make sure it doesn't crash. GAE 0.2.13 will be a Glest 3.2.2 feature complete version.

Of course, if it does crash a ticket should be made at http://sourceforge.net/apps/trac/glestae/
Title: Re: glest 3.2.3 beta
Post by: modman on 7 January 2010, 02:27:52
Wow!  I'm excited to try out the "Mega-CPU"!  Is it cheating, or does it use more logic?  This is really cool!  Thanks titi and silnarm!
Title: Re: glest 3.2.3 beta
Post by: silnarm on 7 January 2010, 07:27:34
Quote from: modman
This is really cool!  Thanks titi and silnarm!
You can direct the full weight of your thanks to titi, all I did was compile a windows binary.

I was, naturally, somewhat curious though, so I had a look at what he has done...
Quote from: modman
Is it cheating, or does it use more logic?
Both.
Title: Re: glest 3.2.3 beta
Post by: -Archmage- on 7 January 2010, 14:09:04
Come on somebody, 64-bit support is needed, and we can't use an old version of libxerces, it just won't work on newer systems! >:(
Title: Re: glest 3.2.3 beta
Post by: titi on 7 January 2010, 16:22:59
Why doesn't it work with the 32 bit version? libxerces 2.7 is included in my distribution!

Again: How do you try to start glest?
Simply by typing ./glest in the installation dir or did you try to start glest.bin (whats  wrong) ?

And if you want a 64 bit binary, did you try to compile the source distribution?
Simply try to install libxerces 2.8-dev package instead of .27

Title: Re: glest 3.2.3 beta
Post by: -Archmage- on 7 January 2010, 16:47:22
Libxerces isn't in the (K)Ubuntu 9.10 distribution as far as I know, I think there might not be a 64-bit distibution of it.
Titi, I've tried both ./glest and ./glest.bin neither work.
I have libxerces 3.x and libxerces 2.8.0 devs and everything, I have the oldest libxerces stuff I can get from synaptic, I even went online and got a libxerces 2.7.0.3 from the etch distribution.
I made an effort to compile a 64-bit binary, but it keeps saying I don't have libxerces.

Really I don't understand why people use 32-bit systems, there's nothing good about them, and as far as I know they're not going to be much use after 2033 or whatever.

Can't you just take care of the libxerces problem once and hopefully for all?

Maybe you don't understand the amount of effort I'm going to, I've never compiled anything before I've never written a shell script, yet I've been trying both, trying everything I can think of to come up with a solution.

I'd say I've spent 8+ hours working on this issue, that includes Tuesday night and most of Wednesday, I won't be able to work on this more until Friday, and I'd like it if somebody helped me out a little, somebody with more experience doing this stuff...
Title: Re: glest 3.2.3 beta
Post by: Yggdrasil on 7 January 2010, 20:39:49
Maybe add the xerces-c 3 patch from gentoo to get it working with libxerces 3. It still works with older versions.
http://bugs.gentoo.org/259701

This obviously does not solve the problem of archmage when using your binary. I needed it when compiling because archlinux has no libxerces 2 anymore.
I would also suggest changing the name. It's no official release so better make this clear in the name before anyone is confused.

Title: Re: glest 3.2.3 beta
Post by: Omega on 8 January 2010, 03:47:48
Wow, thanks Titi, looks nice.

@Arch: My understanding of how to compile 64 bit versions is that the compiler must be set to create a 64 bit executable. The major roadblock is that you generally need a 64 bit OS in order to compile it. It is also not compatible with 32 bit systems (but vice versa). I don't know about most compilers, but in VS, there's a compile options that lets you choose release-32 and debug-32. I'll assume that there can be a 64 bit there too.
Title: Re: glest 3.2.3 beta
Post by: Super Tom on 8 January 2010, 04:03:01
Hello,titi!  can provide a glest-source-3.2.3-beta1 WINDOWS 32 bit version of the full source code to me, the forum to 3.2.2 version of the code is missing project file, the compiler can not!

Trouble you to provide a glest-source-3.2.3-beta1 WINDOWS 32 bit version of the full source code to me thank you in!
Title: Re: glest 3.2.3 beta
Post by: titi on 8 January 2010, 10:19:56
@Yggdrasil:
1- I will have a look at the patches for gentoo
2- yes, I also think now that its better to call it "megaglest" to not confuse anyone.

@tom123:
Sorry , I have no Windows and no project file :( . I'm using linux only. Is there a project file in original glest? I don't think so.
Title: Re: glest 3.2.3 beta
Post by: Super Tom on 8 January 2010, 11:52:10
Hello, titi ! I would like to ask you about: Mod Megapack V5 when completed and available for download? I am looking forward to!
Title: Re: glest 3.2.3 beta
Post by: Super Tom on 8 January 2010, 11:59:33
Hello, titi! I would like to ask you another question: Ancient Egypt Faction (alpha2 released) has been launched for some time, and I use for some time, but felt that the elements inside the Mod pack or not comprehensive, you can then more spots element inside it, so can be more fun to play! Now this version is still a beta, I ask: When will a final version of it, I very much look forward to!
Title: Re: glest 3.2.3 beta
Post by: -Archmage- on 8 January 2010, 13:16:53
Tom, this is the glest 3.2.3 beta topic, please do not post about the MegaPack, or any other off topic subjects.


@Omega: All the three computers that I consider mine, are 64-bit, the forth one is a Windows 32-bit machine, my Mom's.
Title: Re: glest 3.2.3 beta
Post by: Super Tom on 9 January 2010, 02:44:08
Sorry,Archmage  I only ask this question titi just hope that he could answer me!

In addition, I would like to ask you a question: glest 3.2.3 Beta glest 3.2.3 beta will support linux fedora8 or fedora9???
Title: Re: glest 3.2.3 beta
Post by: modman on 9 January 2010, 03:49:48
This looks good for a while, but then it crashes all of the sudden.  I am in the middle of a battle, and then the loading circle pops up (never a good sign when Windows "isn't paying attention anymore" IMO).  Sometimes when that happens in other programs, I can wait it out, but Glest never responded again.  Then I got the exceedingly helpful message that "a problem has caused this program to stop working" message (Duh!).  This happens about 5 minutes into the game.
Title: Re: glest 3.2.3 beta
Post by: Omega on 9 January 2010, 06:29:30
@tom - You should have no trouble. Fedora is a linux system and should be able to use the precompiled linux binary. If titi provides the source (not sure if he did, never checked), you can also compile that, though the precompiled binary is easiest.
Title: Re: glest 3.2.3 beta
Post by: Super Tom on 9 January 2010, 13:24:25
Encountered a strange problem: In the ubuntu8.04 compiled glest 3.2.3 beta source code to execute. / Configure when checking for xerces ... not found

configure: error: Please install xerces-c

But I have to use the command: apt-get install libxerces27-dev installed xerces-c, why see this message? Please help me!
Title: Re: glest 3.2.3 beta
Post by: ace frog on 9 January 2010, 18:57:03
Nice  ;D
Title: Re: glest 3.2.3 beta
Post by: Super Tom on 10 January 2010, 02:42:23
Today, I downloaded xerces-c-src_2_7_0, but is still not installed on, please help me Ang, how to install on???
Title: Re: glest 3.2.3 beta
Post by: Yggdrasil on 10 January 2010, 12:54:46
Are you on Ubuntu or Fedora?

If you're on Ubuntu (or any other Debian), please run the following commands and post the output:
Code: [Select]
$ dpkg --get-selections | grep xerces
$ apt-cache search xerces
First one lists installed packages, second one searches packages in the repository.

Can't help you with Fedora. Never used it.
Title: Re: megaglest 3.2.3 beta
Post by: titi on 11 January 2010, 19:25:29
@modman: So the new megaglest simply freezes? Thats not good :(! 
What did you play? ( game setup like faction/map .... )?
Did you use the mega-CPU when this happened?
Anyone else had this problem?

Trappin also reported me a crash ( I'm currently waiting for details! )
 I for myself played several games now without any trouble, but I played the linux version.
Anyone else but me played a big game in the new megaglest using the new mega-CPU player without having any trouble?

Nevertheless I will look at the code to see if I can find any problem!
Title: Re: megaglest 3.2.3 beta
Post by: modman on 11 January 2010, 22:52:37
Yes, I wanted to check out the new mega CPU, and I played two games which were both terminated in the way I described.  basically the circle shows up, and if  click, Glest will close and Windows looks for a problem (which it never seems to find).  I use Vista 32 bit.

I don't remember the game setup exactly, but I think I was playing on the map "angry forest" and with the forest tileset.  Both of the times I was playing with Dark Magic.  One of the times it was 3 mega CPUs not teamed against me, and another time I was going head to head with it.
Title: Re: megaglest 3.2.3 beta
Post by: Super Tom on 13 January 2010, 08:01:31
Today, with the glest 3.2.3 beta for LAN connectivity Battle, playing three minutes on the following issues:

root @ use: / usr / local / games / Glest #. / glest.bin

# 2 Error connecting socket for IP: 192.168.1.68 for Port: 61357 err = -1 errno = 115 [Operation now in progress] EINPROGRESS in connect () - selecting

Apparent recovery for connection sock = 9, err = 1, errno = 0

Valid recovery for connection sock = 9, err = 1, errno = 0

I have two computer's operating system are: ubuntu8.04, two computer's IP address are: 192.168.1.68, 192.168.1.69

Will Dear friends: This is what's wrong in the end, how to solve?
Title: Re: megaglest 3.2.3 beta
Post by: titi on 13 January 2010, 10:52:37
I didn't changed anything concerning multiplayer in glest 3.2.3-beta1, but if you give me more info probabaly I can solve the problem.

1. You use 2 computers using ubuntu 8.04 . How are they connected to play? ( Wlan? Local Lan? Internet Connection ? )

2. Are those two computers fast enough to handle glest well?

3. which gfx-cards do the computers use?

Please send me a private message to discuss this, because its getting offtopic here.
If you are german you can send me a private message in german too.
Title: Re: megaglest 3.2.3 beta
Post by: Super Tom on 13 January 2010, 12:27:05
Hello, titi! I am using a local LAN, two computers at the same time running glest 3.2.3-beta1, my computer configuration is a two quad-core and NVIDIA9800gtx graphics card, the computer speed is no problem, please tell me that this How to solve the problem, can you tell me how to fix in the code where this problem? you please tell me, thank you very much!
Title: Re: megaglest 3.2.3 beta
Post by: Super Tom on 13 January 2010, 12:54:28
Hello ,titi! my name is Tom Green, my e-mail address is: green.tomgreen.tom2 @ gmail.com, ask you to modify the code to the file sent to me by a good or a way to correct errors sue me,,, First Thank you so much!
Title: Re: megaglest 3.2.3 beta
Post by: Super Tom on 13 January 2010, 13:20:20
titi, I need your help, come help me!
Title: Re: megaglest 3.2.3 beta
Post by: titi on 13 January 2010, 15:32:39
Check your email! Lets discuss this email based now.
Can I remove the last posts, now we got in contact?
Title: Re: megaglest 3.2.3 beta
Post by: -Archmage- on 13 January 2010, 15:39:21
They've already been read by me! Security breach!!!!! :P

I couldn't play multiplayer, but I was using GAE, I should try regular Glest.

Titi, have you found out anything more about getting 64-bit capability?
Title: Re: megaglest 3.2.3 beta
Post by: titi on 13 January 2010, 20:32:13
archmage, please compile it on your own for 64bit:

1. install the following packages with synaptic:
libsdl1.2-dev  ( maybe a newer version is available on your system )
libxerces28
libxerces28-dev
libopenal-dev  
libvorbis-dev
jam
automake

2. unpack my source release

3. change to directory mk/linux and say:
./autogen.sh
./configure
jam

You will get some errors which are related to the Editor and the usage of wxwidget, but you will hopefully have a working glest.
Title: Re: megaglest 3.2.3 beta
Post by: -Archmage- on 13 January 2010, 21:26:00
I'll try.
But I'll have to do it on Friday.......
Title: Re: megaglest 3.2.3 beta
Post by: -Archmage- on 16 January 2010, 05:55:20
All those packages are installed(BTW, libxerces 3.0 or 3.1 is available to me).

Ok, there is no mk/linux directory, check for yourself.
I'm going to try using the autogen and configure already there in the main directory.

.....

Edit:
Autogen ran fine, but now I get the impassable xerces error:
Code: [Select]
configure: error: Please install xerces-c
Title: Re: megaglest 3.2.3 beta
Post by: titi on 16 January 2010, 12:27:15
a patch for libxerces 3.0 will be in the next release
Title: Re: megaglest 3.2.3 beta
Post by: Yggdrasil on 16 January 2010, 13:16:19
Which does not change the configure script, so it won't help Archmage with configuring, only later compiling.

@Archmage:
Have you really installed one libxerces-c-dev or similar? Important is the -dev.

Please run:
Code: [Select]
$ dpkg-query -l | grep xerces
$ apt-cache search xerces
and post output.
Title: Re: megaglest 3.2.3 beta
Post by: titi on 16 January 2010, 13:50:14
I close this topic now, please use the new one:

https://forum.megaglest.org/index.php?topic=4930.0