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

OpenEQ::Development Development discussion for OpenEQ. Do not post for support.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-16-2004, 10:36 AM
MOG
Fire Beetle
 
Join Date: Dec 2004
Posts: 16
Default OpenEQ compiling

Daeken, I think your project looks very nice so far. I downloaded the tarball at http://home.archshadow.com/~daeken/openeq.tar.bz2

I have a couple questions. Will you be providing VisualC++6/7 project files? How about MinGW, or XCode (Mac OS X)? I'm curious how cross-platform it really is.
So far it isn't compiling for me in MinGW (don't want to try cygwin, because of the dll thing). I haven't yet tried compiling it on my G5 Mac.

Anyway, good luck, and thanks for the effort.
Reply With Quote
  #2  
Old 12-16-2004, 10:44 AM
daeken_bb
Discordant
 
Join Date: Mar 2003
Location: Chambersburg, PA
Posts: 469
Default Re: OpenEQ compiling

Quote:
Originally Posted by MOG
Daeken, I think your project looks very nice so far. I downloaded the tarball at http://home.archshadow.com/~daeken/openeq.tar.bz2

I have a couple questions. Will you be providing VisualC++6/7 project files? How about MinGW, or XCode (Mac OS X)? I'm curious how cross-platform it really is.
So far it isn't compiling for me in MinGW (don't want to try cygwin, because of the dll thing). I haven't yet tried compiling it on my G5 Mac.

Anyway, good luck, and thanks for the effort.
jbb ported the source to compile on windows not long ago and sent it to me. I have to merge it in still, and when I do, I'll post the source and such. I have been busy with life lately, so I haven't had time to work on OpenEQ, but I should be able to merge it soon.
__________________
Keep me unemployed and working on OpenEQ, PM me about donating

Check out my deviantART page at http://daeken.deviantart.com/
Reply With Quote
  #3  
Old 12-16-2004, 01:44 PM
MOG
Fire Beetle
 
Join Date: Dec 2004
Posts: 16
Default

I found it necessary to edit the makefile slightly as references to libs were incorrect for windows. In particular,

LINKOPTS=-lz -lopengl32 -lglu32 -lSDL -LSDL

But that wasn't enough to get it to compile.

Code:
$ make
g++  -g  src/pfs.o src/ter.o src/draw.o src/ddslib.o src/move.o src/matrix.o src/zon.o src/file.o src/octree.o src/frustum.o src/main.o -lz -lopengl32 -lglu32 -lSDL -LSDL  -o openeq
src/pfs.o(.text+0x252): In function `ZN9PFSLoader4OpenEP6_iobuf':
/openeq/src/pfs.cpp:74: undefined reference to `ntohl'
c:/MinGW/bin/../lib/gcc-lib/mingw32/3.2.3/../../../libmingw32.a(main.o)(.text+0x97):main.c: undefined reference to `WinMain@16'
make: *** [openeq] Error 1
By the way, I have noticed I posted this out of the support area by mistake, feel free to transfer the topic to where it is allowed. I apologise for the oversight.


MOG
Reply With Quote
  #4  
Old 12-16-2004, 02:43 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

I created VC++ 6 workspaces for the win32 version...

You can try them.

Win32 Source: http://home.archshadow.com/~daeken/openeq_win32.zip

VC++ 6 Project Files: http://www.freepgs.com/csn/openeq_win32_vc6.zip
__________________
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
  #5  
Old 12-16-2004, 03:44 PM
MOG
Fire Beetle
 
Join Date: Dec 2004
Posts: 16
Default

Thanks for the help. I downloaded your windows files and it builds. Unfortunately it crashes at launch, so I guess there is still work to be done to get it to run in Windows XP sp2?

After I typed that I looked again and it seems I could be missing a standard lib. The VC6 debugger accuses FREAD.c
I'll look into it.

By the way, it might be a good idea to sticky instructions for people who want to compile under windows, as I suspect there will be quite a few.
Reply With Quote
  #6  
Old 12-17-2004, 12:06 AM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

If this is still the crappy "port" I did then it's hardcoded to load a particular zone file. Anguish.eqg I think from the working directory of the program. It may well crash if that file isn't there.
Reply With Quote
  #7  
Old 12-17-2004, 05:08 AM
MOG
Fire Beetle
 
Join Date: Dec 2004
Posts: 16
Default

Unfortunately I cannot find that file, only anguish.txt

Changing the txt to eqg didn't help, either.
Reply With Quote
  #8  
Old 12-17-2004, 06:26 AM
jbb
Hill Giant
 
Join Date: Mar 2003
Location: UK
Posts: 242
Default

Anguish.eqg is the zone file for one of the Omens of War zones. You'll need that expansion in order to have the file. The openeq as available so far only renders omens of war zones (because they have a different file format to the old zones)
Reply With Quote
  #9  
Old 12-17-2004, 10:31 AM
MOG
Fire Beetle
 
Join Date: Dec 2004
Posts: 16
Default

Interesting. I bought EverQuest evolution a few months back and it had a lot of expansions. But not that one.

Is that expansion downloadable through the patcher somehow?


MOG
Reply With Quote
  #10  
Old 12-17-2004, 10:45 AM
daeken_bb
Discordant
 
Join Date: Mar 2003
Location: Chambersburg, PA
Posts: 469
Default

Quote:
Originally Posted by MOG
Interesting. I bought EverQuest evolution a few months back and it had a lot of expansions. But not that one.

Is that expansion downloadable through the patcher somehow?


MOG
http://home.archshadow.com/~daeken/patch.html has all of the patcher files there (linked to the patch server, of course) so you can get anguish.eqg.gz from there, then gunzip it (or use winamp)
__________________
Keep me unemployed and working on OpenEQ, PM me about donating

Check out my deviantART page at http://daeken.deviantart.com/
Reply With Quote
  #11  
Old 12-17-2004, 02:05 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Quote:
(or use winamp)
Winamp? The MP3 Player!?
__________________
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
  #12  
Old 12-17-2004, 03:04 PM
daeken_bb
Discordant
 
Join Date: Mar 2003
Location: Chambersburg, PA
Posts: 469
Default

Quote:
Originally Posted by Cisyouc
Quote:
(or use winamp)
Winamp? The MP3 Player!?
Erm, winzip... die :P
__________________
Keep me unemployed and working on OpenEQ, PM me about donating

Check out my deviantART page at http://daeken.deviantart.com/
Reply With Quote
  #13  
Old 12-18-2004, 05:21 AM
MOG
Fire Beetle
 
Join Date: Dec 2004
Posts: 16
Default

Thanks. This worked fine. I was able to load the zone and move around it with mouse and arrow keys. It gave me a better understanding of where OpenEQ is at right now. There is no gravity, no animation and no collision. So right now it is strictly a zone viewer but very interesting. What will be added next? Lights?
It might be a good idea to add some basic bounding boxes so you can move around a zone without going through walls.

I like the project, so far it looks competently made.

MOG
Reply With Quote
  #14  
Old 12-18-2004, 05:48 AM
daeken_bb
Discordant
 
Join Date: Mar 2003
Location: Chambersburg, PA
Posts: 469
Default

Quote:
Originally Posted by MOG
Thanks. This worked fine. I was able to load the zone and move around it with mouse and arrow keys. It gave me a better understanding of where OpenEQ is at right now. There is no gravity, no animation and no collision. So right now it is strictly a zone viewer but very interesting. What will be added next? Lights?
It might be a good idea to add some basic bounding boxes so you can move around a zone without going through walls.

I like the project, so far it looks competently made.

MOG
Next thing I'm going to add is collision detection, then probably networking so we can get some basic stuff working, then animations (ugh.)
__________________
Keep me unemployed and working on OpenEQ, PM me about donating

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

That seems to be the way to go to me.
Having empty zones you could walk around in and at least render the other players as a red cube and let you chat to them would be a good milestone that would show nice progress to people too
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 10:06 AM.


 

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