Page 27 of 37

Re: Development Blah: Comments

Posted: Sun Jan 05, 2014 1:01 pm
by IppoSenshu
v1.17.5 fails to load (every level or mission). When I disable hires textures, it will work fine. But the game looks not so good then.
Does someone still have the last stable version of D2X-XL and can maybe send a download link? Thanks so much!

Re: Development Blah: Comments

Posted: Mon Jan 06, 2014 12:41 am
by Aus-RED-5

Re: Development Blah: Comments

Posted: Mon Apr 28, 2014 10:28 am
by Weyrman
Re 1.17.10 - Memory access violation

Here is the last bit of the log file

Code: Select all

..................
         GetAppFolder ('h:/Descent2/mods', '', 'descent2', '')
         GetAppFolder (descent2) = 'h:/Descent2/mods' (1)
         GetAppFolder ('h:/Descent2/mods', '', 'descent2', '')
         GetAppFolder (descent2) = 'h:/Descent2/mods' (1)
         DigiPlayMidiSong (game01.hmp)
         loading mod data (state 0)
            Loading sound data (183 sounds)
         Initializing particle manager
         loading texture brightness and color info
            loading texture colors
         loading mission configuration info
         loading level data
            Initializing game data
               Objects ...
               Special effects...
               AI system...
               Exploding walls data...
               Background bitmap...
               Automap...
               Default ship data...
               Default settings...
               Detail levels (5)...
            building geometry mesh
               creating cameras
               Creating face list
                  creating triangle mesh
                  Destroying cameras
            allocating render buffers
         loading mod data (state 1)
            couldn't find animation for 'misc060#0'
            +++ Memory access violation



sorry :clue:

Re: Development Blah: Comments

Posted: Mon Apr 28, 2014 1:24 pm
by karx11erx
Insufficient information.

Re: Development Blah: Comments

Posted: Tue Apr 29, 2014 8:32 am
by Weyrman
bug ticket raised player files, ini and log file included

Re: Development Blah: Comments

Posted: Tue Apr 29, 2014 11:21 am
by Weyrman
trying to do a build to see if I can help squash this

updated tortoisesvn and downloaded from repository - full recursive

downloaded and unpacked all 3rd party files

have done rebuild on all 16 items - I get 2 errrors - all others build

sdl_net

Code: Select all

1>------ Build started: Project: SDL, Configuration: Debug Win32 ------
1>  SDL.vcxproj -> \programs\d2\debug\SDL.dll
2>------ Build started: Project: SDL_net, Configuration: Debug Win32 ------
2>Version.rc(10): fatal error RC1015: cannot open include file 'afxres.h'.
2> 
========== Build: 1 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

libpng

Code: Select all

2>  Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
2>  Copyright (C) Microsoft Corporation.  All rights reserved.
2> 
2>NMAKE : fatal error U1073: don't know how to make 'Debug\'
2>  Stop.
========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========

d3x-xl rebuild

Code: Select all

14>------ Rebuild All started: Project: d2x-xl, Configuration: Debug Win32 ------
14>  ase2model.cpp
14>c:\projects\d2x-xl\code\trunk\include\descent.h(52): fatal error C1083: Cannot open include file: 'omp.h': No such file or directory
========== Rebuild All: 12 succeeded, 2 failed, 0 skipped ==========

Re: Development Blah: Comments

Posted: Mon May 05, 2014 8:57 am
by Weyrman
Can you please send me your SDL_net and libpng library folders as neither of these compile on their own. Thanks.

Re: Development Blah: Comments

Posted: Mon May 05, 2014 5:37 pm
by karx11erx
You need to find afxres.h. omp.h is only available in the full versions of MSVC, so you need to build the single threaded program version to debug it.

Re: Development Blah: Comments

Posted: Tue May 06, 2014 10:06 am
by Weyrman
2 things: how do I start a single threaded program?

I have just discovered by accident that the current version 1.17.12 will load an existing savegame but will not start a new one = out of memory error.
I will load up the savegame on SF

I remember seeing comments about guns not firing at the reticle point. guns do fire at reticle point if cockpit not shown

Re: Development Blah: Comments

Posted: Tue May 06, 2014 10:39 am
by Sirius
Running it is the same as anything else - the difference is in a compiler setting.

Re: Development Blah: Comments

Posted: Wed May 07, 2014 11:55 pm
by Weyrman
Thank you so much for your work over many years, for your time and effort in producing a game that has allowed us to enjoy an old favourite in up to date glory. I wish you well in all your future endeavors.

:rock: :rock: :rock: :hello: :hello:

Re: Development Blah: Comments

Posted: Thu May 22, 2014 10:31 am
by karx11erx
Working on it again ... :roll:

Oh those exhilarated shouts of joy everywhere ... :P

Re: Development Blah: Comments

Posted: Sat May 24, 2014 4:12 am
by Sirius
If I had two more of me I'd be happy to debug D2X-XL as well but it is a very intimidating program in terms of lines of code :mrgreen:
I'm not really sure how you managed to handle both DLE and D2X-XL at the same time for so long...

Re: Development Blah: Comments

Posted: Sat May 24, 2014 10:42 am
by karx11erx
That's because I am having a brain the size of the solar system ... :P

lol, no (or only because it is swollen insanely as I had to torment it so often with all this coding and bug fixing stuff).

I had a lot of time to work into both code bases, and I rewrote about 60+% of Descent 2 (into D2X-XL) and I as good as completely rewrote DLE. So I didn't have to work into two complex pieces of software from scratch, but I had a lot of time to learn them, and creating code means you know it really well.

That's how. ;)

What is left about D2X-XL to be debugged? I thought I had addressed all serious problems in it by now. There are a few bug reports I cannot process due to missing data (savegame, player profile - the usual stuff) or because the stuff works for me.

Right now there is no show stopper I'd know of.

The Linux version has some compilation issues, but I cannot solve those because I don't have a working Linux installation anymore. After mine broke the fifth time, I just couldn't make myself reinstall it another time. Linux may be all fine and dandy regarding security, but what's the good of that if it destroys itself over time just by installing system updates?

If you want to start digging into D2X-XL (e.g. for bug fixing), I would be happy to help you getting into it.

Re: Development Blah: Comments

Posted: Sun May 25, 2014 5:40 am
by Sirius
Hmm. Maybe I should try to test out multiplayer some... I know that for DLE at least, trying to use the program seriously was when bugs started popping out of the woodwork. I still can't believe nobody noticed (and there were people using it) that pressing F7 crashed the program. Maybe they did but didn't report it, that's fairly plausible :mrgreen:
I figure if I start working on XL, though, over half the requests are going to be "can you make it run faster on my computer?" Probably possible, but it's definitely not my area of expertise. But reliability is a less daunting goal... hmm.