PDA

View Full Version : Win32 Problems?


Cisyouc
12-04-2004, 04:54 AM
Recently I downloaded openeq_win32.zip (http://home.archshadow.com/~daeken/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?

jbb
12-04-2004, 07:14 AM
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 :)

daeken_bb
12-04-2004, 07:23 AM
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.

jbb
12-04-2004, 07:26 AM
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).

jbb
12-04-2004, 08:51 AM
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.

Cisyouc
12-04-2004, 09:35 AM
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)

jbb
12-04-2004, 09:45 AM
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.

Cisyouc
12-04-2004, 10:04 AM
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

Cisyouc
12-08-2004, 01:36 PM
Thanks jbb...after a few days I decided to try again, downloaded anguish and recompiled openeq with the vc++6 project files.

http://img4.exs.cx/img4/2336/openeq3gd.th.gif (http://img4.exs.cx/img4/2336/openeq3gd.gif)

Thanks again!

Cisyouc
12-08-2004, 02:13 PM
Btw, for those wanting to use VC++ 6, Ive posted the instructions and project files here (http://www.freepgs.com/csn/openeq_win32_vc6.zip).
Enjoy!

jbb
12-08-2004, 08:50 PM
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.