home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


EDITED GAME - please help!!!

by leim1901 on 04/28/2008 02:43, 12 messages, last message: 06/01/2008 23:13, 1689 views, last view: 05/01/2024 04:38

I made some changes to Sauerbraten using Visual C++ and recompiled it (followed the instructions on the wiki article). It runs fine, but refuses to go into fullscreen mode saying my platform does not support it (i am on Windows Vista). But at the same time, the standard, unedited build of sauerbraten runs in full screen mode perfectly. *NOTE: I couldn't have screwed anything up because I made a new build of Sauerbraten before editing any of the code and it didnt even allow fullscreen then.

any help is appreciated.

   Board Index   

#1: Re: ..

by MovingTarget on 05/01/2008 01:54, refers to #1

No, he didn't. I'm guessing it's a missing dependency or something similar (something Vista related. What a surprise.)

reply to this message

#1: Its vista

by leim1901 on 05/01/2008 06:01

Yeah, MovingTarget was right, it is vista related. I have WTL and ATL and all the different libraries and run times installed, but something must be different in Vista or the way I have it set up or something, because I brought all my edited code to my friend's house and built it on his XP machine and fullscreen ran like a charm. So I guess I have to be extremely careful when I make changes to code so that I dont write errors or memory leaks or whatnot.. not that that happens anyway ;) and then just build it at my friends house. Thank you, Vista!


Thanks for everyone's help :) Its great to see a friendly community in Sauerbraten world

reply to this message

#1: Re: Its vista

by Quin on 05/01/2008 07:52, refers to #1

When you start the game, what does the "Renderer: " line say in the console?

reply to this message

#2: renderer line

by leim1901 on 05/02/2008 00:43

It says

Renderer: ATI Radeon HD 2400 (ATI Technologies Inc.)

reply to this message

#3: Re: Its vista

by WolfR on 05/24/2008 22:00, refers to #1

... I came across the same problem today. The only difference is: I am running XP.

So it\\\\\\\'s obviously not a VISTA problem. I just recompiled the original sources with Visual C++ 2008, and can\\\\\\\'t enter fullscreen mode. The original SAUERBRATEN.EXE does not have any problem with fullscreen on my machine.

Any clues?

reply to this message

#4: Perhaps Visual C++?

by Osbios on 05/24/2008 22:03

I use mingw (gcc) under XP SP2. I have no problems like this.

reply to this message

#5: Re: Perhaps Visual C++?

by WolfR on 05/25/2008 00:05, refers to #4

That's strange, because in the source code there are several lines like:

#if defined(WIN32) || defined(__APPLE__)
conoutf("\"fullscreen\" variable not supported on this platform. Use the -t command-line option.");
extern int fullscreen;
fullscreen = !enable;

This looks as if for Windows systems the "fullscreen" feature is disabled (regardless of the compiler). But I'll try. Thanks for the hint.


reply to this message

#6: It works!

by WolfR on 05/25/2008 08:36

Yep - you were right. MS VC++ is the problem. After recompiling with MingW (the new version, found at http://www.develer.com/oss/GccWinBinaries) fullscreen works great (under XP SP3).

(The MingW version shipped with Code::Blocks has issues with the mouse in menus.)

Thanks!

reply to this message

#7: Message censored by administrator

by ACCESS{-}DENIED on 05/25/2008 09:15

#8: Cool

by leim1901 on 05/25/2008 18:51

I\'ll give this a shot. Thanks for the help!

reply to this message

#9: ..

by leim1901 on 05/25/2008 20:16

Quick question, just because im too lazy to figure it out: what is the command for compiling sauerbraten with that tool?

thanks

reply to this message

#10: nvm

by leim1901 on 05/26/2008 03:44

Nevermind, I just ran the file in the src/mingw folder :-P

It works great though! Thanks for the research WolfR!

reply to this message

#11: ..

by )FC($k!llz on 06/01/2008 23:12

hey im having issues to.

i tried to compile using bloodshed devc++ 4.9.9.2

and i keep getiing tiese errors

cc1plus.exe C:\Dev-Cpp\cc1plus.exe unrecognized command line option "-fdollar-in-identifiers"

C:\Dev-Cpp\Makefile.win [Build Error] [../sauerbraten/src/all/3dgui.o] Error 1

plz help

reply to this message

#12: Re: ..

by SheeEttin on 06/01/2008 23:13, refers to #11

Don't post the same question in multiple threads. I've already answered your post in the "compiling" thread.

reply to this message

   Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53862897 visitors requested 71638005 pages
page created in 0.020 seconds using 10 queries
hosted by Boost Digital