Go Back   EQEmulator Home > EQEmulator Forums > Archives > OpenEQ > OpenEQ::Support

OpenEQ::Support Support issues related to OpenEQ can be posted here.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-04-2004, 04:54 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default Win32 Problems?

Recently I downloaded openeq_win32.zip and using the .NET vcproj file I created a VC++ 6 Project and Workspace that was identical.

I tried downloading dranik.eqg from http://home.archshadow.com/~daeken/patch.html (Because I compiled openeq on the computer i dont have oow installed on because im lazy) and i extracted dranik.eqg from the gz or whatever it was compressed to, to desktop with winrar.

Then opening cmd, i ran the command daeken told me..

openeq eqg C:\Docume~1\Me\Desktop\ dranik

And I just got that standard crashing error (Would you like to send an error report to msft..blah blah).

Any ideas?
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
  #2  
Old 12-04-2004, 07:14 AM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

If this is the quick "port" I did then it's not really ready to be used. You'll notice that the main.cpp ignores the command line on win32 and has "anguish" hardcoded.

Also in zon.cpp there is a horrible hack as a workaround for a crash when loading "anguish" by simply ignoring some of the placable objects.

Finally the bug with it drawing stuff in the wrong place is still there.

This was only ever intended to be a starting point not a proper port. It may work *slightly* with anguish.eqg

If it's something else then ignore this as I don't know what I'm talking about
Reply With Quote
  #3  
Old 12-04-2004, 07:23 AM
daeken_bb
Discordant
 
Join Date: Mar 2003
Location: Chambersburg, PA
Posts: 469
Default

Quote:
Originally Posted by jbb
If this is the quick "port" I did then it's not really ready to be used. You'll notice that the main.cpp ignores the command line on win32 and has "anguish" hardcoded.

Also in zon.cpp there is a horrible hack as a workaround for a crash when loading "anguish" by simply ignoring some of the placable objects.

Finally the bug with it drawing stuff in the wrong place is still there.

This was only ever intended to be a starting point not a proper port. It may work *slightly* with anguish.eqg

If it's something else then ignore this as I don't know what I'm talking about
Ah, ok, I thought there was more to it than that hehe. When I merge the source together I'll make it so it's usable hehe.
__________________
Keep me unemployed and working on OpenEQ, PM me about donating

Check out my deviantART page at http://daeken.deviantart.com/
Reply With Quote
  #4  
Old 12-04-2004, 07:26 AM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

Well it's *exactly* what your code was, with a few modifications so that it will *compile* on windows.

Except that the command line processing is different on windows and I've not fixed that (yet).

The only other thing is the hack in zon.cpp so that it ignores the objects which made it crash (on anguish).
Reply With Quote
  #5  
Old 12-04-2004, 08:51 AM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

You might also be interested in trying this (it renders dranik somewhat)

It's not openeq but I've got my windows d3d9 renderer working a little bit better now. The source code (for vc++ express...) is available at http://www.fx2100.com/eqengine_src.zip

It builds the main program and 2 dlls.
You need to put the filename of the EQG file on the command line
Use keys 1, 2, 3,4 and PGUP PGDOWN and the arrow keys to move. ALT-F4 to quit

If anyone wants to take a look but can't build it I can make a binary build available.
Reply With Quote
  #6  
Old 12-04-2004, 09:35 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Ick. I HATE .NET because of the framework. Its like 100mb (alot considering my laptop which i do most of my work on has very little capacity) for slow crappy software. (No offense, not saying yours uses .NET, but the compiler requires it to run)
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
  #7  
Old 12-04-2004, 09:45 AM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

I understand

However I like the new visual c++ express compiler. It's a whole lot faster and smaller than visual studio.net. I mean the environment. Not the compiler itsself

Other than the project files I don't think there is anything specific to that compiler in my source anyway.
Reply With Quote
  #8  
Old 12-04-2004, 10:04 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Quote:
I mean the environment. Not the compiler itsself
I mean the environment. Not the compiler itsself [/quote]I prefer VC++6..whatever studio version that is =p
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
  #9  
Old 12-08-2004, 01:36 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Thanks jbb...after a few days I decided to try again, downloaded anguish and recompiled openeq with the vc++6 project files.



Thanks again!
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
  #10  
Old 12-08-2004, 02:13 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Btw, for those wanting to use VC++ 6, Ive posted the instructions and project files here.
Enjoy!
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
  #11  
Old 12-08-2004, 08:50 PM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

Nice!
I'm still trying to work out why this doesn't draw the objects properly when mine does. The data is stored too differently for it to be easy but I'm still working on it when I manage to find some time.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:17 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3