Forum

Quake(one) to C++

Discuss programming topics for any language, any source base. If it is programming related but doesn't fit in one of the below categories, it goes here.

Moderator: InsideQC Admins

Postby gnounc » Wed Aug 11, 2010 2:40 am

I got it to run (with errors). The errors might be down to me missing some vc++ files.

It ran at something like 4 frames per second, but it ran.

Something strange was going on with the teleporter texture, it looked
like the players view was being projected onto it. Kind of neat, then the teleporter view went upside down hehe.

Anyway interesting : )
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am

Postby Feared » Wed Aug 11, 2010 3:08 pm

I'd love to join this argument but it's the never ending war. ;)

Anyways, @Baker http://bfeared.com/projects/quakecpp
It's pretty much just FitzQuake, so nothing special, yet.

@gnounc, What in the world? I have a pre-compiled exe on my site, try that out, and what version of MSVS are you using?

Edit:
Did you try compiling in release mode?
I do remember not having fixed debug mode before releasing, I may need to do a update again, I just gotta get these cvar's working and I'll make another update.
User avatar
Feared
 
Posts: 95
Joined: Fri Jun 11, 2010 11:58 pm
Location: Wylie, TX

Postby gnounc » Wed Aug 11, 2010 8:54 pm

I was using the precompiled binary: ) it was bitching about a dll so I installed the c++ libraries and the bitching went away.
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am

Postby Feared » Thu Aug 12, 2010 12:37 am

gnounc wrote:I was using the precompiled binary: ) it was bitching about a dll so I installed the c++ libraries and the bitching went away.


What O/S are you running?
I'll try and look into this, I just need a little more info.

Do you remember the name of the DLL at all?

Thanks!
User avatar
Feared
 
Posts: 95
Joined: Fri Jun 11, 2010 11:58 pm
Location: Wylie, TX

Postby gnounc » Thu Aug 12, 2010 6:11 am

msvcr100

win7 (tiny7)
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am

Postby Stroggos » Thu Aug 12, 2010 8:12 am

I'm doing something like this but with the original Q1 Sources. I started with he CVAR stuff and then worked my way up. It was interesting getting intimate with some Q1 code.
Stroggos
 
Posts: 50
Joined: Tue Apr 14, 2009 11:40 am
Location: Australia

Postby gnounc » Thu Aug 12, 2010 8:32 am

Show us!
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am

Postby Feared » Thu Aug 12, 2010 8:26 pm

Stroggos wrote:I'm doing something like this but with the original Q1 Sources. I started with he CVAR stuff and then worked my way up. It was interesting getting intimate with some Q1 code.


I originally planned on using the Q1 Sources but ended up doing this because the ASM junk was already gone and I didn't feel like getting rid of it from the original code. ^^

Good luck on your project.

gnounc wrote:msvcr100

win7 (tiny7)

I thought VCRedist was automatically installed on Windows 7, that sounds like a tiny7/custom package issue.
Try installing this latest redist:

http://www.microsoft.com/downloads/deta ... bf0912db84

Edit:
Oh and mh, I stole some code from DirectQ, if you don't mind. I've noted you in the source. (cvar registering to be exact, saves me time, thanks)

:)
User avatar
Feared
 
Posts: 95
Joined: Fri Jun 11, 2010 11:58 pm
Location: Wylie, TX

Postby mh » Thu Aug 12, 2010 10:58 pm

Feared wrote:Oh and mh, I stole some code from DirectQ, if you don't mind. I've noted you in the source. (cvar registering to be exact, saves me time, thanks)

:)

You're more than welcome to steal whatever you want. :D

I'm following this one with interest. 8)
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
User avatar
mh
 
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Postby Stroggos » Sat Aug 14, 2010 7:47 am

I will show you guys soon just got to clean and fix a few things first. Also I want to include LZMA compression, and Quake III unzip.c/.h, as well as OpenAL EAX surround sound.
Stroggos
 
Posts: 50
Joined: Tue Apr 14, 2009 11:40 am
Location: Australia

Postby Feared » Sat Aug 14, 2010 11:00 pm

@gnounc
Try this new executable if you have the chance, I think it might have been the Whole Program Optimization (doesn't seem to friendly) that's causing the problem.

http://bfeared.com/library/software/qua ... est001.rar
User avatar
Feared
 
Posts: 95
Joined: Fri Jun 11, 2010 11:58 pm
Location: Wylie, TX

Postby leileilol » Sat Aug 14, 2010 11:59 pm

Stroggos wrote:I want to include LZMA compression


You go do that. LZMA for games = BAD IDEA.
i should not be here
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Postby gnounc » Sun Aug 15, 2010 3:11 am

downloaded that link, the new binary does exactly the same thing as the old one did.

I'm on an intel 945gm graphics card. (integrated graphics)

2.0 ghz dual core processor.
User avatar
gnounc
 
Posts: 424
Joined: Mon Apr 06, 2009 6:26 am

Postby Stroggos » Sun Aug 15, 2010 10:04 am

leileilol wrote:
Stroggos wrote:I want to include LZMA compression


You go do that. LZMA for games = BAD IDEA.


Just trying to include some features which some people may find handy. Since I wrote that post I have opted to use PhysFS by Icculus which does some really cool things.
Stroggos
 
Posts: 50
Joined: Tue Apr 14, 2009 11:40 am
Location: Australia

Postby Feared » Sun Aug 15, 2010 6:44 pm

Hmmm, I'm having this problem all of a sudden, (after updating my video drivers that have opengl 4.0 support) but it's very random, sometimes it just crashes, get's 2 fps, or just works fine.
I'll look into this, thanks gnounc for pointing this out, I would've blamed my video drivers otherwise.
User avatar
Feared
 
Posts: 95
Joined: Fri Jun 11, 2010 11:58 pm
Location: Wylie, TX

PreviousNext

Return to General Programming

Who is online

Users browsing this forum: No registered users and 1 guest