| View previous topic :: View next topic |
| Author |
Message |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2305 Location: Norway
|
Posted: Fri Mar 21, 2008 10:19 pm Post subject: |
|
|
Good news. I fixed it. Egoboo now builds and runs beautifully on my pc again
I almost think the newest SVN is good enough for a Developer Release (If not stable! replacing 2.4.4b that is). The only thing that bothers me is the hp bars not working correctly (You lose from beginning to end instead of opposite). There are a few strange bugs with jumping and physics too, but much better than before.
I think bgbirdsey has fixed some more stuff, but we will have to wait for it until he feels ready to upload it to a SVN or share it with the community otherwise
The features that are for sure going in next release:
- New Feature: Catacomb Level 1 has been added!
- New Feature: A few new weapons, monsters and other objects.
- New Feature: A number of new spells and improvements to existing ones.
- Update: Lamps gives greater lightning.
- Update: A new title image for the paladin, matching his new look.
- Update: Ghouls are now a lot more agressive.
- Bugfix: K'nife should now stay alive in his prison until the player arrives.
- Bugfix: Fixed impassable area in K'nife Heist module
- Bugfix: Fixed some particles not correctly lighted.
- Bugfix: Frights can now be crushed.
Other things that may come:
Improved particles
Improved physics
Improved movement
A lot of bugfixes
A couple of new features (New script functions, effects, skills and the like) _________________ http://egoboo.sourceforge.net
"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword." |
|
| Back to top |
|
 |
bgbirdsey Developer

Joined: 25 Sep 2007 Posts: 873 Location: Minnesota
|
Posted: Fri Mar 21, 2008 10:59 pm Post subject: |
|
|
| Zefz, run the program in the debug mode (F5) and forcing all exceptions to break into the debugger. That should trap any error that will cause the .exe to shut down without logging. Also, if exit(X) is being called in the program, you will at least be able to see what the exit code is in the output window. |
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2305 Location: Norway
|
Posted: Fri Mar 21, 2008 11:46 pm Post subject: |
|
|
Ah yes, the Debugger. That one worked a long time ago. After 2.4.4b or so the debugger suddenly didn't work for me anymore. If I press F5, egoboo builds and spits out this message
| Code: | | The program '[216] Egoboo2x.exe: Native' has exited with code -1 (0xffffffff). |
(But the game runs fine compiled as debug or as a release).
In other news I checked out about linking statically to the .exe file. I found out I had not done it, because if I changed from Multi-threaded DLL (/MD) to Multi-threaded (/MT) I got a lot of linking errors when compiling (All of them being msvcrXX.dll being redefined).
| Code: | msvcrt.lib(MSVCR90.dll) : error LNK2005: _isspace already defined in LIBCMT.lib(_ctype.obj)
msvcrt.lib(MSVCR90.dll) : error LNK2005: _fprintf already defined in LIBCMT.lib(fprintf.obj)
msvcrt.lib(MSVCR90.dll) : error LNK2005: ___iob_func already defined in LIBCMT.lib(_file.obj)
msvcrt.lib(MSVCR90.dll) : error LNK2005: _fclose already defined in LIBCMT.lib(fclose.obj)
msvcrt.lib(MSVCR90.dll) : error LNK2005: _exit already defined in LIBCMT.lib(crt0dat.obj)
msvcrt.lib(MSVCR90.dll) : error LNK2005: _strrchr already defined in LIBCMT.lib(strrchr.obj) |
Using /FORCE in the command line for linker options overriding defenitions (and ignoring second definitions, instead using the first one) makes the .exe file build as it should though. But thats kinda ugly solution. _________________ http://egoboo.sourceforge.net
"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword." |
|
| Back to top |
|
 |
bgbirdsey Developer

Joined: 25 Sep 2007 Posts: 873 Location: Minnesota
|
Posted: Sat Mar 22, 2008 1:17 am Post subject: |
|
|
---- Important thing 1
TURN OFF incremental link, incremental compile, and precompiled headers. There are lots of situations where these can become corrupted, and it will drive you crazy because the .exe can become un-synchronized from your current source code.
---- Important thing 2
Make ABSOLUTELY SURE that all .lib files are compiled under the same runtime library (Multithreaded DLL for Release and Multithreaded Debug DLL for Debug). If this is not the case, you will get the exact errors that are listed above.
---- Important thing 3
IMHO it is much better to work with the source almost exclusively in debug mode. First, you can interrupt the flow of the program and check various things. Second, you will then be very surprised at the increase in speed that runtime optimization can give you 
---- Hints on getting your debug to work
1) You do not have to use a debug version of SDL or any of the other dependencies for it to work with Egoboo-debug version.
2) The linking info given above indicates that there is a conflict between Egoboo-debug and some library you are linking it to, as discussed above.
3) if there is a difference in the linking, etc. between the Debug and Release versions you can derive a debug version from your release version using these steps
-I would suggest going into the configuration manager and deleting the Debug configuration.
-Then create a NEW configuration called debug, based off of the Release version. That way the settings will be identical.
-Then, just go back and turn off all the optimizations
- set the debug information format to be at least "program database"
- turn on the browse information on the main tab AND on Browse tab
- and set the linker to include debug information.
These instructions are for VisualStudio 2007, so there may be minor/major differences with your version... |
|
| Back to top |
|
 |
Maxaxle Elite Gamer


Joined: 06 Oct 2007 Age: 15 Posts: 2717 Location: San Diego
|
|
| Back to top |
|
 |
Clonkinator Master Frying Pen (Moderator)


Joined: 03 Nov 2007 Age: 16 Posts: 3074 Location: Germany
|
Posted: Sat Mar 22, 2008 10:10 am Post subject: |
|
|
| Maxaxle wrote: | Whoa! So much stuff fixed! woooot!  |
 _________________ Yes, it's true. I fail. Epicly so. |
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2305 Location: Norway
|
Posted: Sat Mar 22, 2008 5:35 pm Post subject: |
|
|
Thanks birdsey. I will see what I can do. Maybe the newest build even works better for clonks  _________________ http://egoboo.sourceforge.net
"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword." |
|
| Back to top |
|
 |
penguinflyer5234 Penguin King

Joined: 01 Feb 2008 Age: 15 Posts: 1682 Location: Somewhere
|
Posted: Sat Mar 22, 2008 5:40 pm Post subject: |
|
|
Will there be a Linux version? _________________ Donna Noble has left the library. Donna Noble has been saved.
|
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2305 Location: Norway
|
Posted: Sat Mar 22, 2008 6:19 pm Post subject: |
|
|
I really hope so. 2.7.5b code base is linux compitable, but I'm not sure if the newest 2.7.x code branch has retained this compitabillity. _________________ http://egoboo.sourceforge.net
"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword." |
|
| Back to top |
|
 |
penguinflyer5234 Penguin King

Joined: 01 Feb 2008 Age: 15 Posts: 1682 Location: Somewhere
|
Posted: Sat Mar 22, 2008 6:33 pm Post subject: |
|
|
Is there any way for me to test to see if it is compatible? _________________ Donna Noble has left the library. Donna Noble has been saved.
|
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2305 Location: Norway
|
Posted: Sat Mar 22, 2008 6:45 pm Post subject: |
|
|
Yes, you could compile the source on any linux system and see if it runs. _________________ http://egoboo.sourceforge.net
"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword." |
|
| Back to top |
|
 |
penguinflyer5234 Penguin King

Joined: 01 Feb 2008 Age: 15 Posts: 1682 Location: Somewhere
|
Posted: Sat Mar 22, 2008 6:53 pm Post subject: |
|
|
Is the svn up to date?
And if it is, is it still at svn.mohiji.org/egoboo2x? _________________ Donna Noble has left the library. Donna Noble has been saved.
|
|
| Back to top |
|
 |
bgbirdsey Developer

Joined: 25 Sep 2007 Posts: 873 Location: Minnesota
|
Posted: Sat Mar 22, 2008 10:40 pm Post subject: |
|
|
Argh! I think I am COMPLETELY DONE with SoulFu.
I should be able to "devote my full attention" to Egoboo now!
I don't think I have many improvements over the last changes, but there is a new, more realistic collision system and a preliminary system for dynamically calculating the bounding boxes.
I just have to implement Zefz latest patches into my code and finish up! |
|
| Back to top |
|
 |
Zefz Lead Designer


Joined: 16 Sep 2007 Posts: 2305 Location: Norway
|
Posted: Sat Mar 22, 2008 11:47 pm Post subject: |
|
|
Sounds great! (For egoboo). Is the SoulFu code even worse than the Egoboo code was/is? eew.
The newest source should be up on the sourceforge project size (I haven't uploaded my latest maintenance patch).
http://sourceforge.net/projects/egoboo/
The sourceforge SVN does not require password and user names to download the source (But it does need one if you want to upload something).
Second post:
Okay. I have updated the SVN repository with my newest source.
(Repository: https://egoboo.svn.sourceforge.net/svnroot/egoboo/trunk)
Information about connecting the sourceforge SVN can be found here: http://alexandria.wiki.sourceforge.net/Subversion+-+Version+Control+for+Source+Code
Next step would be to update the Linux part on the sourceforge site from 2.7.5 to 2.7.5b _________________ http://egoboo.sourceforge.net
"The pen is mightier than the sword- IF it is sharpened, dipped in poison and thrown really really hard at your target. But seriously, you are better off with a sword." |
|
| Back to top |
|
 |
bgbirdsey Developer

Joined: 25 Sep 2007 Posts: 873 Location: Minnesota
|
Posted: Sun Mar 23, 2008 1:04 am Post subject: |
|
|
Yeah, I have some experience with setting up a sourceforge SVN. I did it for the soulfu site, but I'm canning that since Aaron's license does not jibe with the open source definition that sourceforge requires...
Do you have me down for SVN write access on the admin page? |
|
| Back to top |
|
 |
|