Announcement

Collapse
No announcement yet.

Compiling quake 1 source

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Compiling quake 1 source

    I'd like someone to post, how to get quake 1 to compile or what files to open in order to compile using either Dev-C++ (Bloodshed), or Visual studio express 2010.

    I know i seen express 2008 solutions in the source, however when u do a web dl of express on microsoft it installs 2010, and the gas2masm, tool will no longer compile properly because:

    Code:
    VCWebServiceProxyGeneratorTool is no longer supported. The tool has been removed from your project settings.MSB8012: $(TargetPath) ('C:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\.\Release\WinQuake.exe') does not match the Linker's OutputFile property value '.\Release/WinQuake.exe' ('C:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Release/WinQuake.exe') in project configuration 'Release|Win32'. This may cause your project to build incorrectly. To correct this, please make sure that $(TargetPath) property value matches the value specified in %(Link.OutputFile).MSB8012: $(TargetName) ('WinQuake') does not match the Linker's OutputFile property value '.\release_gl\glquake.exe' ('glquake') in project configuration 'GL Release|Win32'. This may cause your project to build incorrectly. To correct this, please make sure that $(TargetName) property value matches the value specified in %(Link.OutputFile).MSB8012: $(TargetPath) ('C:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\.\release_gl\WinQuake.exe') does not match the Linker's OutputFile property value '.\release_gl\glquake.exe' ('C:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\release_gl\glquake.exe') in project configuration 'GL Release|Win32'. This may cause your project to build incorrectly. To correct this, please make sure that $(TargetPath) property value matches the value specified in %(Link.OutputFile).MSB8012: $(TargetPath) ('C:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\.\Debug\WinQuake.exe') does not match the Linker's OutputFile property value '.\Debug/WinQuake.exe' ('C:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug/WinQuake.exe') in project configuration 'Debug|Win32'. This may cause your project to build incorrectly. To correct this, please make sure that $(TargetPath) property value matches the value specified in %(Link.OutputFile).MSB8012: $(TargetName) ('WinQuake') does not match the Linker's OutputFile property value '.\debug_gl\glquake.exe' ('glquake') in project configuration 'GL Debug|Win32'. This may cause your project to build incorrectly. To correct this, please make sure that $(TargetName) property value matches the value specified in %(Link.OutputFile).MSB8012: $(TargetPath) ('C:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\.\debug_gl\WinQuake.exe') does not match the Linker's OutputFile property value '.\debug_gl\glquake.exe' ('C:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\debug_gl\glquake.exe') in project configuration 'GL Debug|Win32'. This may cause your project to build incorrectly. To correct this, please make sure that $(TargetPath) property value matches the value specified in %(Link.OutputFile).
    Also, in the original source, john carmack states you need Masm installed, so i installed masm32, and it has lots of interesting help files, in it.

    However, in masm32, it does say you also require: Intel pentium 4 documentation, and windows SDK.

    I was curious, what tools and libraries do you actually need, and which files would you go about opening, to start compiling / and modding your own quake?

    Basically i'm hoping someone will post a (complete guide) to getting quake source to compile: as if that is done then i can fiddle around in it, as i do know some C.

    I'm just mind boggled with how to get this project to compile properly. Since the solution file for 2008 no longer works.

    Suppose i could try an find express 2008 online and uninstall 2010 and see if that resolves my issue.

    But yeah, if anyone can post a guide to compiling quake 1 source, that'd be cool, or proquake's source. either or, personally would prefer just the quake 1 source, so i can dabble around fresh, rather then screw around with someone elses work but either or still technically are doing the same thing, but for me its just entertainment/enjoyment.

    Thanks in advance.

    PS they may already of posted this but, seriously if someone has a complete answer and its already in the forums it should be a sticky... b/c i couldn't find it going page by page... and there's a lot of pages in this section.

    ~Cheers.

    Okay grabbing Visual studio express 2008: http://go.microsoft.com/?linkid=7729279

    Well that's interesting, it built a winquake 1.09 server version according to console it runs, i can see menu and console and taskbar (weapons hud) but... can't see maps, the maps are gray. heh.

    Weird... though i did have some compilation issues see next comment i shorted it to just the errors.
    Last edited by Lerster; 11-16-2011, 09:42 AM. Reason: adding link to the visual studio express 2008 which seems to be editor of choice since solution files are made for it.

  • #2
    You'd better off trying FitzQuake out for starters instead of the original glQuake source. There are hundreds of little bugs and things that dont work well on today's machines.
    I'm using 2008 because i'm not planning on making a Windows Phone app of Quake. I dont have time at the moment to walk you through creating a new project, adding existing files, and setting up the configuration. But that itself is a good lesson too.
    www.quakeone.com/qrack | www.quakeone.com/cax| http://en.twitch.tv/sputnikutah

    Comment


    • #3
      Well that's interesting, it built a winquake 1.09 server version according to console it runs, i can see menu and console and taskbar (weapons hud) but... can't see maps, the maps are gray. heh.

      Weird... though i did have some compilation issues:

      Code:
      Build Log      Build started: Project: winquake, Configuration: Debug|Win32
       Command Lines      Creating temporary file "c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000181210413536.bat" with contents
      [
      @echo off
      
      cl /EP > .\Debug\worlda.spp c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\worlda.s
      
      gas2masm\debug\gas2masm < .\Debug\worlda.spp >                                                                                                                                                                                                    .\Debug\worlda.asm
      
      ml /c /Cp /coff /Fo.\Debug\worlda.obj /Zm /Zi                                                                                                                                                                                                    .\Debug\worlda.asm
      
      del .\Debug\worlda.spp
      
      
      
      if errorlevel 1 goto VCReportError
      
      goto VCEnd
      
      :VCReportError
      
      echo Project : error PRJ0019: A tool returned an error code from "mycoolbuild"
      
      exit 1
      
      :VCEnd
      ]
      Creating command line """c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000181210413536.bat"""
      Creating temporary file "c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000191210413536.bat" with contents
      [
      @echo off
      
      cl /EP > .\Debug\sys_wina.spp c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\sys_wina.s
      
      gas2masm\debug\gas2masm < .\Debug\sys_wina.spp >                                                                                                                                                                                                    .\Debug\sys_wina.asm
      
      ml /c /Cp /coff /Fo.\Debug\sys_wina.obj /Zm /Zi                                                                                                                                                                                                    .\Debug\sys_wina.asm
      
      del .\Debug\sys_wina.spp
      
      
      
      if errorlevel 1 goto VCReportError
      
      goto VCEnd
      
      :VCReportError
      
      echo Project : error PRJ0019: A tool returned an error code from "mycoolbuild"
      
      exit 1
      
      :VCEnd
      ]
      Creating command line """c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000191210413536.bat"""
      Creating temporary file "c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT00001A1210413536.bat" with contents
      [
      @echo off
      
      cl /EP > .\Debug\surf8.spp c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\surf8.s
      
      gas2masm\debug\gas2masm < .\Debug\surf8.spp >                                                                                                                                                                                                    .\Debug\surf8.asm
      
      ml /c /Cp /coff /Fo.\Debug\surf8.obj /Zm /Zi                                                                                                                                                                                                    .\Debug\surf8.asm
      
      del .\Debug\surf8.spp
      
      
      
      if errorlevel 1 goto VCReportError
      
      goto VCEnd
      
      :VCReportError
      
      echo Project : error PRJ0019: A tool returned an error code from "mycoolbuild"
      
      exit 1
      
      :VCEnd
      ]
      Creating command line """c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT00001A1210413536.bat"""
      Creating temporary file "c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT00001B1210413536.bat" with contents
      [
      @echo off
      
      cl /EP > .\Debug\surf16.spp c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\surf16.s
      
      gas2masm\debug\gas2masm < .\Debug\surf16.spp >                                                                                                                                                                                                    .\Debug\surf16.asm
      
      ml /c /Cp /coff /Fo.\Debug\surf16.obj /Zm /Zi                                                                                                                                                                                                    .\Debug\surf16.asm
      
      del .\Debug\surf16.spp
      
      
      
      if errorlevel 1 goto VCReportError
      
      goto VCEnd
      
      :VCReportError
      
      echo Project : error PRJ0019: A tool returned an error code from "mycoolbuild"
      
      exit 1
      
      :VCEnd
      ]
      Creating command line """c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT00001B1210413536.bat"""
      Creating temporary file "c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT00001C1210413536.bat" with contents
      [
      @echo off
      
      cl /EP > .\Debug\snd_mixa.spp c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\snd_mixa.s
      
      gas2masm\debug\gas2masm < .\Debug\snd_mixa.spp >                                                                                                                                                                                                    .\Debug\snd_mixa.asm
      
      ml /c /Cp /coff /Fo.\Debug\snd_mixa.obj /Zm /Zi                                                                                                                                                                                                    .\Debug\snd_mixa.asm
      
      del .\Debug\snd_mixa.spp
      
      
      
      if errorlevel 1 goto VCReportError
      
      goto VCEnd
      
      :VCReportError
      
      echo Project : error PRJ0019: A tool returned an error code from "mycoolbuild"
      
      exit 1
      
      :VCEnd
      ]
      Creating command line """c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT00001C1210413536.bat"""
      Creating temporary file "c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT00001D1210413536.bat" with contents
      [
      @echo off
      
      cl /EP > .\Debug\r_varsa.spp c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\r_varsa.s
      
      gas2masm\debug\gas2masm < .\Debug\r_varsa.spp >                                                                                                                                                                                                    .\Debug\r_varsa.asm
      
      ml /c /Cp /coff /Fo.\Debug\r_varsa.obj /Zm /Zi                                                                                                                                                                                                    .\Debug\r_varsa.asm
      
      del .\Debug\r_varsa.spp
      
      
      
      if errorlevel 1 goto VCReportError
      
      goto VCEnd
      
      :VCReportError
      
      echo Project : error PRJ0019: A tool returned an error code from "mycoolbuild"
      
      exit 1
      
      :VCEnd
      ]
      Creating command line """c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT00001D1210413536.bat"""
      Creating temporary file "c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT00001E1210413536.bat" with contents
      [
      @echo off
      
      cl /EP > .\Debug\r_edgea.spp c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\r_edgea.s
      
      gas2masm\debug\gas2masm < .\Debug\r_edgea.spp >                                                                                                                                                                                                    .\Debug\r_edgea.asm
      
      ml /c /Cp /coff /Fo.\Debug\r_edgea.obj /Zm /Zi                                                                                                                                                                                                    .\Debug\r_edgea.asm
      
      del .\Debug\r_edgea.spp
      
      
      
      if errorlevel 1 goto VCReportError
      
      goto VCEnd
      
      :VCReportError
      
      echo Project : error PRJ0019: A tool returned an error code from "mycoolbuild"
      
      exit 1
      
      :VCEnd
      ]
      Creating command line """c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT00001E1210413536.bat"""
      Creating temporary file "c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT00001F1210413536.bat" with contents
      [
      @echo off
      
      cl /EP > .\Debug\r_drawa.spp c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\r_drawa.s
      
      gas2masm\debug\gas2masm < .\Debug\r_drawa.spp >                                                                                                                                                                                                    .\Debug\r_drawa.asm
      
      ml /c /Cp /coff /Fo.\Debug\r_drawa.obj /Zm /Zi                                                                                                                                                                                                    .\Debug\r_drawa.asm
      
      del .\Debug\r_drawa.spp
      
      
      
      if errorlevel 1 goto VCReportError
      
      goto VCEnd
      
      :VCReportError
      
      echo Project : error PRJ0019: A tool returned an error code from "mycoolbuild"
      
      exit 1
      
      :VCEnd
      ]
      Creating command line """c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT00001F1210413536.bat"""
      Creating temporary file "c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000201210413536.bat" with contents
      [
      @echo off
      
      cl /EP > .\Debug\r_aliasa.spp c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\r_aliasa.s
      
      gas2masm\debug\gas2masm < .\Debug\r_aliasa.spp >                                                                                                                                                                                                    .\Debug\r_aliasa.asm
      
      ml /c /Cp /coff /Fo.\Debug\r_aliasa.obj /Zm /Zi                                                                                                                                                                                                    .\Debug\r_aliasa.asm
      
      del .\Debug\r_aliasa.spp
      
      
      
      if errorlevel 1 goto VCReportError
      
      goto VCEnd
      
      :VCReportError
      
      echo Project : error PRJ0019: A tool returned an error code from "mycoolbuild"
      
      exit 1
      
      :VCEnd
      ]
      Creating command line """c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000201210413536.bat"""
      Creating temporary file "c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000211210413536.bat" with contents
      [
      @echo off
      
      cl /EP > .\Debug\r_aclipa.spp c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\r_aclipa.s
      
      gas2masm\debug\gas2masm < .\Debug\r_aclipa.spp >                                                                                                                                                                                                    .\Debug\r_aclipa.asm
      
      ml /c /Cp /coff /Fo.\Debug\r_aclipa.obj /Zm /Zi                                                                                                                                                                                                    .\Debug\r_aclipa.asm
      
      del .\Debug\r_aclipa.spp
      
      
      
      if errorlevel 1 goto VCReportError
      
      goto VCEnd
      
      :VCReportError
      
      echo Project : error PRJ0019: A tool returned an error code from "mycoolbuild"
      
      exit 1
      
      :VCEnd
      ]
      Creating command line """c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000211210413536.bat"""
      Creating temporary file "c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000221210413536.bat" with contents
      [
      @echo off
      
      cl /EP > .\Debug\math.spp c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\math.s
      
      gas2masm\debug\gas2masm < .\Debug\math.spp >                                                                                                                                                                                                    .\Debug\math.asm
      
      ml /c /Cp /coff /Fo.\Debug\math.obj /Zm /Zi                                                                                                                                                                                                    .\Debug\math.asm
      
      del .\Debug\math.spp
      continued in next comment

      Comment


      • #4
        Code:
        if errorlevel 1 goto VCReportError
        
        goto VCEnd
        
        :VCReportError
        
        echo Project : error PRJ0019: A tool returned an error code from "mycoolbuild"
        
        exit 1
        
        :VCEnd
        ]
        Creating command line """c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000221210413536.bat"""
        Creating temporary file "c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000231210413536.bat" with contents
        [
        @echo off
        
        cl /EP > .\Debug\d_varsa.spp c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\d_varsa.s
        
        gas2masm\debug\gas2masm < .\Debug\d_varsa.spp >                                                                                                                                                                                                    .\Debug\d_varsa.asm
        
        ml /c /Cp /coff /Fo.\Debug\d_varsa.obj /Zm /Zi                                                                                                                                                                                                    .\Debug\d_varsa.asm
        
        del .\Debug\d_varsa.spp
        
        
        
        if errorlevel 1 goto VCReportError
        
        goto VCEnd
        
        :VCReportError
        
        echo Project : error PRJ0019: A tool returned an error code from "mycoolbuild"
        
        exit 1
        
        :VCEnd
        ]
        Creating command line """c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000231210413536.bat"""
        Creating temporary file "c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000241210413536.bat" with contents
        [
        @echo off
        
        cl /EP > .\Debug\d_spr8.spp c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\d_spr8.s
        
        gas2masm\debug\gas2masm < .\Debug\d_spr8.spp >                                                                                                                                                                                                    .\Debug\d_spr8.asm
        
        ml /c /Cp /coff /Fo.\Debug\d_spr8.obj /Zm /Zi                                                                                                                                                                                                    .\Debug\d_spr8.asm
        
        del .\Debug\d_spr8.spp
        
        
        
        if errorlevel 1 goto VCReportError
        
        goto VCEnd
        
        :VCReportError
        
        echo Project : error PRJ0019: A tool returned an error code from "mycoolbuild"
        
        exit 1
        
        :VCEnd
        ]
        Creating command line """c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000241210413536.bat"""
        Creating temporary file "c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000251210413536.bat" with contents
        [
        @echo off
        
        cl /EP > .\Debug\d_scana.spp c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\d_scana.s
        
        gas2masm\debug\gas2masm < .\Debug\d_scana.spp >                                                                                                                                                                                                    .\Debug\d_scana.asm
        
        ml /c /Cp /coff /Fo.\Debug\d_scana.obj /Zm /Zi                                                                                                                                                                                                    .\Debug\d_scana.asm
        
        del .\Debug\d_scana.spp
        
        
        
        if errorlevel 1 goto VCReportError
        
        goto VCEnd
        
        :VCReportError
        
        echo Project : error PRJ0019: A tool returned an error code from "mycoolbuild"
        
        exit 1
        
        :VCEnd
        ]
        Creating command line """c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000251210413536.bat"""
        Creating temporary file "c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000261210413536.bat" with contents
        [
        @echo off
        
        cl /EP > .\Debug\d_polysa.spp c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\d_polysa.s
        
        gas2masm\debug\gas2masm < .\Debug\d_polysa.spp >                                                                                                                                                                                                    .\Debug\d_polysa.asm
        
        ml /c /Cp /coff /Fo.\Debug\d_polysa.obj /Zm /Zi                                                                                                                                                                                                    .\Debug\d_polysa.asm
        
        del .\Debug\d_polysa.spp
        
        
        
        if errorlevel 1 goto VCReportError
        
        goto VCEnd
        
        :VCReportError
        
        echo Project : error PRJ0019: A tool returned an error code from "mycoolbuild"
        
        exit 1
        
        :VCEnd
        ]
        Creating command line """c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000261210413536.bat"""
        Creating temporary file "c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000271210413536.bat" with contents
        [
        @echo off
        
        cl /EP > .\Debug\d_parta.spp c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\d_parta.s
        
        gas2masm\debug\gas2masm < .\Debug\d_parta.spp >                                                                                                                                                                                                    .\Debug\d_parta.asm
        
        ml /c /Cp /coff /Fo.\Debug\d_parta.obj /Zm /Zi                                                                                                                                                                                                    .\Debug\d_parta.asm
        
        del .\Debug\d_parta.spp
        
        
        
        if errorlevel 1 goto VCReportError
        
        goto VCEnd
        
        :VCReportError
        
        echo Project : error PRJ0019: A tool returned an error code from "mycoolbuild"
        
        exit 1
        
        :VCEnd
        ]
        Creating command line """c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000271210413536.bat"""
        Creating temporary file "c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000281210413536.bat" with contents
        [
        @echo off
        
        cl /EP > .\Debug\d_draw16.spp c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\d_draw16.s
        
        gas2masm\debug\gas2masm < .\Debug\d_draw16.spp >                                                                                                                                                                                                    .\Debug\d_draw16.asm
        
        ml /c /Cp /coff /Fo.\Debug\d_draw16.obj /Zm /Zi                                                                                                                                                                                                    .\Debug\d_draw16.asm
        
        del .\Debug\d_draw16.spp
        
        
        
        if errorlevel 1 goto VCReportError
        
        goto VCEnd
        
        :VCReportError
        
        echo Project : error PRJ0019: A tool returned an error code from "mycoolbuild"
        
        exit 1
        
        :VCEnd
        ]
        Creating command line """c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000281210413536.bat"""
        Creating temporary file "c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\Debug\BAT0000291210413536.bat" with contents
        [
        @echo off
        
        cl /EP > .\Debug\d_draw.spp c:\Users\Kitty\Desktop\quake-visual_cpp_express_2008\d_draw.s
        
        gas2masm\debug\gas2masm < .\Debug\d_draw.spp >                                                                                                                                                                                                    .\Debug\d_draw.asm
        
        ml /c /Cp /coff /Fo.\Debug\d_draw.obj /Zm /Zi                                                                                                                                                                                                    .\Debug\d_draw.asm
        
        del .\Debug\d_draw.spp
        
        
        
        if errorlevel 1 goto VCReportError
        
        goto VCEnd
        
        :VCReportError
        
        echo Project : error PRJ0019: A tool returned an error code from "mycoolbuild"
        
        exit 1
        :VCEnd
        
        c:\users\kitty\desktop\quake-visual_cpp_express_2008\vid_win.c(348) : warning C4715: 'VID_Suspend' : not all control paths return a value
        
        c:\users\kitty\desktop\quake-visual_cpp_express_2008\in_win.c(883) : warning C4715: 'RawValuePointer' : not all control paths return a value
        
        winquake - 0 error(s), 2 warning(s)

        Comment


        • #5
          If memory serves, the released source doesn't convert cleanly to 2010, so you need to round-trip it through 2008 first. I could quite quickly put together a working Quake source for 2010 using this method if you want; it's not overly difficult and it's something I've done on many occasions in the past.

          It would be GLQuake only because there are issues around WinQuake and it's use of SciTech MGL that I'm not willing to invest the time to resolve at the moment. I would also use the DxSDK files that come with MSVC rather than those in the released sources (it was kinda illegal to distribute them in the first place so this is a wise thing to do).

          The only code changes I would make would be to disable the 3DFX 8-bit texture extensions (they're the reason why GLQuake's textures are fucked up on modern hardware) and fix up the warnings generated by a clean compile.

          I would also convert the .s files to .asm and include the converted files in the project, thereby enabling the removal of the gas2masm part.

          Interested?

          (A point of note: you don't need MASM if you've got 2008 or 2010 because both of these already come with the required ml.exe).
          IT LIVES! http://directq.blogspot.com/

          Comment


          • #6
            Ah, i'm interested if you want to port it to 2010, it should also go into the file download sections... if you do it, and GL quake is all i wanted to experiment with anyways, but the original source code built winquake for somereason... hah.

            Masm is pretty interesting... i've been reading the help files though, it is assembly-C editor but it is interesting, but yeah i didn't anticipate it was needed i just grabbed it b/c it was mentioned in the original readme provided by john carmack in the q1 source.

            Comment


            • #7
              Here we go. I had to include dxguid.lib with the source (don't tell Bill!!!) as it wouldn't compile without it. Otherwise this should compile and run clean using 2010.

              GLQuake2010.zip
              IT LIVES! http://directq.blogspot.com/

              Comment


              • #8
                Lerster,
                your 1st trip to tinker should be a walk through with the QSG tuts on Inside3D - Quake community, modding and QuakeC -

                >> Inside3d Forums &bull; View topic - QuakeSrc.org Tutorials, The Return Of ... <<

                Qrack itself is a culmination of community shared code funneled into a useable client state for my tastes
                www.quakeone.com/qrack | www.quakeone.com/cax| http://en.twitch.tv/sputnikutah

                Comment


                • #9
                  Thanks for the source build MH, i'll try it soon.

                  Thanks for the links rook, i did find / bookmark an old post by baker in the long source posts on the forums here: Inside3D - Quake community, modding and QuakeC - <-- dis one.. is where i plan to start with... but i will bookmark ur suggestions as well.

                  Well sweet it compiles, but ironically i'm having a similar issue like the one i had when i tried to compile in linux b4, where the thing runs but i see this:



                  Uploaded with ImageShack.us

                  But at least it compiles now, thank you MH. ^_^ If you or rook know how to fix that graphic issue, that'd be sweet. If not i'll have to spend some time searching the forums. As it likely is here somewhere.... prob take me a few wks to find tho heh.
                  Last edited by Lerster; 11-16-2011, 10:11 PM.

                  Comment


                  • #10
                    Originally posted by Planetnine
                    Interesting. Your user Profile on your PC is "Kitty".

                    Mine is "Hot Japanese Schoolboy". Does that make me a bad person?
                    Scout's Journey
                    Rune of Earth Magic

                    Comment


                    • #11
                      Originally posted by Lerster View Post
                      Thanks for the source build MH, i'll try it soon.

                      Thanks for the links rook, i did find / bookmark an old post by baker in the long source posts on the forums here: Inside3D - Quake community, modding and QuakeC - <-- dis one.. is where i plan to start with... but i will bookmark ur suggestions as well.

                      Well sweet it compiles, but ironically i'm having a similar issue like the one i had when i tried to compile in linux b4, where the thing runs but i see this:



                      Uploaded with ImageShack.us

                      But at least it compiles now, thank you MH. ^_^ If you or rook know how to fix that graphic issue, that'd be sweet. If not i'll have to spend some time searching the forums. As it likely is here somewhere.... prob take me a few wks to find tho heh.
                      OK, I've slaughtered a few chickens and goats, then communed with the spirits of my ancestors, and they tell me that there is a possibility you may have either ATI/AMD or Intel graphics. If so, try setting gl_ztrick 0. If not, try it anyway and see what happens.

                      If that doesn't fix it then I'll never trust a word my ancestors say again.

                      One other change I recommend that you won't find in any tutorial. Open gl_vidnt.c, find the VID_InitDIB function, and change this:
                      Code:
                      	wc.style         = 0;
                      To this:
                      Code:
                      	wc.style         = CS_HREDRAW | CS_VREDRAW | CS_OWNDC;
                      It's actually a minor miracle that GLQuake ever worked without those styles set.
                      IT LIVES! http://directq.blogspot.com/

                      Comment


                      • #12
                        Nope neither worked and gl_ztrick and gl_clear are the two things i first tried... which gl_clear makes the map/screen instead of that liney pic i showed go red.

                        And i'm using a nvidia 560 TI card.

                        But yeah i even tried modding the wc.style to what u said in the gl_vidnt.c an rebuilt it.

                        It loads and everything can see console fine, and menu and the weapons hud, but the map is all flickery... (can't see a map at all).

                        Sound is still there tho.

                        ----------------------
                        Have an unrelated question, i know both darkplaces and proquake 4.00 - 4.51 use a zlib1.dll, what does that file do anyways as i know both darkplaces and proquake are using a different zlib1.dll as if you try to install dp in same directory sort've deal and over write the zlib1.dll it will run darkplaces, but if u run proquake you will get an error (forget which one) but if u put the proquake release zlib1.dll back in / overwrite the dp one then proquake works again.

                        From googling, i think it handles png's is it because dp and proquake can export screen snaps as jpgs, so they are using that library to convert png's to jpg's? or is it more extensive than simple image conversions or is it nothing to do with image conversions. (if u knew if not no biggie not interested in using it just was curious.).

                        ---------------------

                        But yeah i'm clueless about the screen issue, the thing builds fine without warnings loads fine without warnings but, it doesn't tell me why the maps won't show.

                        An why the screens flickering like that.

                        I know proquake 4.00 and > all work fine on my pc, but baker changed so much code in that original gl_draw.c and defined extra functions as well, or global functions that i am clueless as to which "would fix my issue." an also as to the matter of which each does.

                        As an alt i might try doing sniplets here an there an comment out my original and comment in "code from proquake's source etc" and try rebuilds over an over eventually to see if it eventually solves it.

                        As i don't want to do Major quake modding, to the engine i just wanna fiddle with it some... which at least now i can (do) b/c it compiles thanks to you MH.

                        However i can't actually witness any changes till i figure out why the screen/map won't render properly. heh.

                        Thanks for you help though! ^_^ most appreciated.

                        --------------

                        Another thing/suggestion:

                        If possible, can all the engine modders/builders out there, maybe post the things they had most difficulty working around, as i assume most started with GL quake, as a base for their multiplayer engines...

                        As like (a main page or forum thread) of their most challenging workarounds (an snipplets of the workaround code) if possible, and desc of what happened before and after their workarounds (assuming it resolved issues).

                        I think it would be neat to see detailed documentation / code snipplets on the various issues people overcame, in their coding.

                        Atm i know i gotta figure out why my gl quake compiles and runs (thanks to MH), but why it won't show the maps and just has that weird liney flickery stuff on the screen.

                        Anyho, just a thought. ~Cheers.
                        Last edited by Lerster; 11-17-2011, 02:21 PM. Reason: edited b/c i can't spell nvidia

                        Comment


                        • #13
                          It's needed for PNGs and I think DP may also use it for pk3 loading. Bit evil that they use two different versions...
                          IT LIVES! http://directq.blogspot.com/

                          Comment


                          • #14
                            >Bit evil that they use two different versions...

                            especially when you realise the '1' was added there to ensure compatibility with common compilation settings.
                            dll hell is alive and well.
                            Some Game Thing

                            Comment


                            • #15
                              LMAO.

                              So while ironically reading: Func_Msgboard: Problems Building Fitzquake This page.

                              And especially this line
                              Originally posted by liquidlogic
                              Apparently it was an issue with my autoexec.cfg file.
                              I decided to remove my autoexec.cfg (back it up) but remove it from id1 and now the GL quake, that MH got setup for me runs and i can see the maps! no more screen flicker! hurrah!

                              ... but yeah... like "OMGZ, SERIOUSLY?!" lol.

                              Its always something dumb isn't it. >_<

                              Anyways thanks.

                              So remember remove autoexec.cfg b/c i guess 90% of the commands aren't valid with the original glquake... heh, strangely nothing showed in the console b4... i'll have to condump it and see.

                              But least it works now! ^_^



                              Uploaded with ImageShack.us

                              Yay!

                              Comment

                              Working...
                              X