A forum for feature requests/discussions and user submitted patches that improve MQ2
Moderator: MacroQuest Developers
-
dont_know_at_all
- Developer

- Posts: 5450
- Joined: Sun Dec 01, 2002 4:15 am
- Location: Florida, USA
-
Contact:
Post
by dont_know_at_all » Sun Apr 20, 2003 3:08 pm
If you are using Visual Studio 6.0 to build, you must go to the C/C++ tab and change the struct byte allignment from 8 to 1.
Or, use the makefile.
-
Mckorr
- Developer

- Posts: 2326
- Joined: Fri Oct 18, 2002 1:16 pm
- Location: Texas
Post
by Mckorr » Mon Apr 21, 2003 10:06 am
Hmmm... ya know, that might explain why certain structs don't work right for me... or for anyone else using the MCK builds
-
Densetsu
- orc pawn

- Posts: 22
- Joined: Sat Apr 19, 2003 3:31 am
- Location: NYC
-
Contact:
Post
by Densetsu » Mon Apr 21, 2003 4:23 pm
I dont quite follow your instructions from start to finish -Dont- could you elaborate on your process step by step from CVS to EXE I'd appreciate it.
-
dont_know_at_all
- Developer

- Posts: 5450
- Joined: Sun Dec 01, 2002 4:15 am
- Location: Florida, USA
-
Contact:
Post
by dont_know_at_all » Mon Apr 21, 2003 6:33 pm
1. if using VC60, get dxsdk (or dinput.h from DX8.1 or greater)
2. cvs co macroquest
3. if using VC60, get and compile detours. put detours.lib in macroquest\detours\lib
4. cd macroquest\eqlib
5. if using VC60, modify the makefile line 1 to point to the 8.1 dinput.h
6. nmake
7. cd ..
8. nmake
9. cd Release
10. macroquest.exe
11. earn ph47 l00ts.
-
fwiggles
- a hill giant

- Posts: 161
- Joined: Mon Jun 17, 2002 8:29 pm
Post
by fwiggles » Mon Apr 21, 2003 6:46 pm
you all are makin it to easy =P
[color=red]Latest survey shows that 3 out of 4 people make up 75% of the world's population.[/color]
-
eqjoe
- a grimling bloodguard

- Posts: 984
- Joined: Sat Sep 28, 2002 12:26 pm
Post
by eqjoe » Mon Apr 21, 2003 7:15 pm
Densetsu wrote:I dont quite follow your instructions from start to finish -Dont- could you elaborate on your process step by step from CVS to EXE I'd appreciate it.
All the information that you need is here, on these boards. Stop looking for someone to hold your hand and dive in. Give it a shot, if you run into problems let us help you. This is your 4th post asking for the same information that is in these forums. The step by step process has has been coverd many, many times.
-
Densetsu
- orc pawn

- Posts: 22
- Joined: Sat Apr 19, 2003 3:31 am
- Location: NYC
-
Contact:
Post
by Densetsu » Tue Apr 22, 2003 2:42 am
Thank you _dont_ but that keeps getting me in the same possition I've been in with the end result lagging me off and I see you've been able to fix it but thats in Visual. As for the numerous posts I'm sorry about that but I dont see you rushing to my aid. I dont need my hand held I just needed to get around the problem in code and am not at the level to do that on my own. So if you have a way around that for me I'm open to suggestions.
-
eqjoe
- a grimling bloodguard

- Posts: 984
- Joined: Sat Sep 28, 2002 12:26 pm
Post
by eqjoe » Tue Apr 22, 2003 7:30 am
makefile(5) : fatal error U1035 : syntax error : expected ':' or '=' separator. Stop.
This file need to be rewritten with CR/LFs for nmake v6 to read it?
-
dont_know_at_all
- Developer

- Posts: 5450
- Joined: Sun Dec 01, 2002 4:15 am
- Location: Florida, USA
-
Contact:
Post
by dont_know_at_all » Tue Apr 22, 2003 12:46 pm
This is a variation of the text mode/bin mode problem.
DOS files require CR/LF at EOL
UNIX files require just CR.
If your cvs tool thinks you are getting unix source and putting it on a windows box, it will change the existing CR/LF to CR/LF/LF. You must configure it not to do that.
For cygwin, that means making sure that your drives are not mounted in text mode. For other cvs incantations, there should be a configuration setting.
-
Mckorr
- Developer

- Posts: 2326
- Joined: Fri Oct 18, 2002 1:16 pm
- Location: Texas
Post
by Mckorr » Tue Apr 22, 2003 1:21 pm
For WinCVS, when checking out a module you will get a Checkout Settings window/box thingy. Go to the Globals tab and check the box for "Checkout text files with the UNIX LF". This will eliminate the extra line feeds and make the source code download correctly.
-
TheColonel
- of what?

- Posts: 164
- Joined: Thu Oct 10, 2002 6:34 pm
- Location: Golden, CO
-
Contact:
Post
by TheColonel » Tue Apr 22, 2003 6:23 pm
I've been getting lots of errors, I've got the DX9 SDK installed ATM, do I need to go backwards to get this to work? Got 8.1SDK downloading now...

Hell hath no fury like a woman's scorn for EQ.
-==(UDIC)==-
-
TheColonel
- of what?

- Posts: 164
- Joined: Thu Oct 10, 2002 6:34 pm
- Location: Golden, CO
-
Contact:
Post
by TheColonel » Tue Apr 22, 2003 7:20 pm
/cry
I installed XP long ago with a midget backup drive plugged in, it was named C:\ so my boot volume is F:\.... no problem... never had one 'till I installed the DX8 SDK... it says "invalid c:\"... or whatever... so I goto change the drive letter, "Windows Cannot modify the driver letter of the boot volume." IMHO MS had issues... DX9 installed fine... atleast they fixed it... kinda.
Hell hath no fury like a woman's scorn for EQ.
-==(UDIC)==-
-
deda
- a lesser mummy

- Posts: 33
- Joined: Thu Apr 24, 2003 3:40 pm
Post
by deda » Thu Apr 24, 2003 3:44 pm
i get this error on step 6:
Creating library \eqlib.lib and object \eqlib.exp
detours.lib(disasm.obj) : warning LNK4099: PDB "detours.pdb" was not found with
"..\Detours\lib\detours.lib" or at "C:\detours.pdb"; linking object as if no deb
ug info
detours.lib(detours.obj) : warning LNK4099: PDB "detours.pdb" was not found with
"..\Detours\lib\detours.lib" or at "C:\detours.pdb"; linking object as if no de
bug info
Any ideas?
-
Mckorr
- Developer

- Posts: 2326
- Joined: Fri Oct 18, 2002 1:16 pm
- Location: Texas
Post
by Mckorr » Thu Apr 24, 2003 3:52 pm
When you compile detours from the makefile you actually get three files, detours.h, detours.lib, and detours.pdb. The PDB file is for debugging, and isn't strictly necessary. You can safely ignore those warnings, MQ will still work.