[01:07:14] --> etomek has joined #pentagram
[04:59:19] <-- SB-X has left IRC ("*casts gate travel*")
[05:50:47] --> jargon has joined #pentagram
[09:10:54] <-- Darke2 has left IRC ("Inficio-Infeci-Infectum")
[09:44:04] <jargon> i found the glitch wjp
[09:44:19] <jargon> something isnt handled in the engine
[09:44:36] <jargon> which causes avatar to loose balance when he shouldnty
[09:44:56] <jargon> i added an optimization while i was at it
[09:45:11] <jargon> Colourless, Kirben wjp
[09:46:55] <jargon> currently he looses balance when stepping towards a wall
[09:47:00] <jargon> i am working on it
[09:47:10] <jargon> i will compile and see if i fixed the prollem
[10:13:30] <jargon> hi wjp
[10:13:49] <wjp> I didn't see anything that required a reply right away
[10:14:11] <jargon> i need to know how to change the default include path for a workspace/project in msvcpp6
[10:14:18] <wjp> I have no idea
[10:14:24] <jargon> because i cant get it to compile
[10:14:28] <jargon> what about in codeblocks
[10:14:34] <jargon> do you know how in codeblocks?
[10:14:40] <wjp> eh?
[10:14:43] <jargon> i cant figure it out in either
[10:14:55] <jargon> i even tried handtweaking the project and workspace files
[10:15:11] <jargon> and there is no indication in those files how it is to be handcoded
[10:15:31] <jargon> i optimized two virtually identical lines
[10:15:31] <wjp> I have no experience with visual C
[10:15:40] <jargon> and added a handler for stepping into a wall
[10:16:02] <wjp> could you submit that as a patch to the patch tracker on sourceforge?
[10:16:05] <jargon> do you know of a compiler for windows you are familiar with?
[10:16:15] <wjp> I don't have the time to review it now, but I do tonight
[10:16:21] <jargon> i wont submit it until i have tested it works
[10:16:26] <wjp> I don't use windows
[10:16:29] <jargon> :/
[10:16:42] <jargon> i dont want to end up breaking pentagram
[10:16:57] <jargon> ive never compiled a game before
[10:17:05] <jargon> ive only compiled one file console apps
[10:17:30] <jargon> :/
[10:17:46] <jargon> #c++ isnt much help either for that matter at this prollem :(
[10:17:57] <wjp> why are you using msvc6, by the way, and not a more recent version?
[10:18:33] <jargon> because it was free. :(
[10:18:38] <wjp> I seem to remember there was a free version of their most recent one as well
[10:18:40] <jargon> it was a gift from a friend
[10:19:10] <wjp> I'm pretty sure MSVC6 can't compile pentagram
[10:19:16] <wjp> Its C++ support is too weak
[10:19:17] <jargon> :O
[10:19:27] <Kirben> Try more recent version from http://msdn.microsoft.com/vstudio/express/
[10:19:28] <jargon> then i will use codeblocks
[10:20:16] <wjp> I wouldn't recommend using an IDE for which we don't supply a project file
[10:20:30] <wjp> ..., since creating a project for pentagram is far from trivial
[10:24:36] <jargon> all my devpacks appear to be installed. every... last. one.. of .. . them
[10:25:20] <jargon> no it will be easy
[10:26:02] <jargon> all i have to do is reverse engineer the project/workspace format write a little ditty in blitz and push run/compile and it will spew the correct complete project/workspace for pentagram
[10:26:17] <jargon> its that easy
[10:26:21] <wjp> no, it isn't
[10:26:33] <jargon> its not like just because its normally done manually doesnt mean it has to be done manually
[10:26:38] <jargon> wehy not?
[10:27:23] <jargon> why is it not that easy?
[10:27:53] <jargon> worse that could happen is we end up with two methods of compiling
[10:29:34] <jargon> what compiler is the project files etc for?
[10:29:56] <jargon> mingw?
[10:29:58] <wjp> visual studio express that Kirben just linked to should work
[10:30:03] <wjp> mingw should work as well
[10:30:19] <jargon> well codeblocks uses mingw or anyother compiler for that manner
[10:30:51] <wjp> you're welcome to try, but you're on your own if things don't work, since none of us have any experience with it
[10:31:59] * jargon stops being stubborn as a mule, and simply downloads
[10:32:14] <jargon> its really hard for me to live down a challenge
[10:33:06] <wjp> :-)
[10:35:21] * jargon sings the dump song while waiting for it to install
[10:36:11] <jargon> wjp every time it goes (dirface+foo)%8 should really be (dirface+foo)&7
[10:36:18] <jargon> its slightly faster executing
[10:36:44] <jargon> and beleive it or not compiler optimizers are too stupid to do that
[10:38:28] <jargon> my god their download server is slow
[10:38:34] <jargon> .5mb a sec :(
[10:39:05] <jargon> wjp do you want me to add cheat code infrastructure?
[10:40:01] * jargon goes for a smoke while it dl's
[10:51:35] <jargon> wjp
[10:51:40] <jargon> thanks :)
[10:57:49] <jargon> wjp i forgot i need the visual studio project/workspace files :O
[10:57:56] <jargon> where can i get them!
[11:13:04] <wjp> in the system/msvc directory
[11:13:28] <jargon> ok
[11:16:27] <wjp> jargon: gcc does a % 8 as an & 7, even without optimizations
[11:19:02] <wjp> for signed ints it's a bit different, for obvious reasons
[11:19:20] <wjp> (but direction should be unsigned, right?)
[11:21:55] <jargon> oh ok then
[11:22:16] <jargon> obviously
[11:25:02] * wjp will be back later
[11:25:07] <wjp> (in 4 hours or so)
[11:25:13] <jargon> i almost about to compile!
[11:25:17] <jargon> :O
[11:25:33] <jargon> i se you in four hours -.-
[11:33:35] --> Kohlrabi has joined #pentagram
[11:36:08] <jargon> Kohlrabi
[11:36:15] <Kohlrabi> jep
[11:36:19] <Kohlrabi> greetings
[11:36:25] <jargon> how do i change the environment settings in msvcpp8?
[11:36:33] <Kohlrabi> hmm
[11:36:37] <Kohlrabi> good question :\
[11:36:43] <Kohlrabi> I don't have MSVcpp8
[11:36:48] <jargon> i am trying to recompile with a glitch i fixed
[11:36:49] <Kohlrabi> sorry
[12:30:22] <jargon> Colourless, Kirben help me out here
[12:33:20] <-- Kohlrabi has left IRC (Nick collision from services.)
[12:33:26] --> Kohlriba has joined #pentagram
[12:36:35] <jargon> :<
[12:37:06] <jargon> it says environment is "" while configuration is "AMD64"
[12:37:12] <jargon> :'(
[13:04:56] <-- Lord_Nightmare has left IRC (Read error: 104 (Connection reset by peer))
[13:04:57] --> LordN_Away has joined #pentagram
[13:33:17] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[13:37:18] --> megawatt has joined #pentagram
[13:37:19] --- ChanServ gives channel operator status to megawatt
[13:45:21] <-- Colourless has left IRC (Read error: 113 (No route to host))
[14:17:44] <-- Kohlriba has left IRC ("Quit")
[14:49:04] --> SB-X has joined #pentagram
[14:58:15] <wjp> jargon: look for a 'platform' setting that allows you to choose between 'Debug|AMD64', 'Debug|i386', 'Release|AMD64', 'Release|i386', and set it to 'Debug|i386' if you don't have a 64-bit CPU
[15:43:11] <megawatt> Yay! Build environments! Always so much fun.
[16:10:55] <jargon> ------ Build started: Project: fold, Configuration: Debug AMD64 Win32 ------
[16:10:55] <jargon> Testing correct target configuration
[16:10:55] <jargon> TestARCH : error: Mismatched CPU Settings. Environment is "" while Configuration is "AMD64"
[16:10:55] <jargon> Build log was saved at "file://c:\pentagram\src\system\msvc\fold\Debug AMD64\BuildLog.htm"
[16:10:55] <jargon> fold - 1 error(s), 0 warning(s)
[16:10:55] <jargon> ========== Build: 0 succeeded, 8 failed, 0 up-to-date, 0 skipped ==========
[16:11:13] <jargon> i showed the 8th one plus the final line :[
[16:11:51] <jargon> environment is AMD64 Win32, not ""
[16:12:18] <jargon> or atleast that is what it actually is
[16:24:02] <jargon> the Platform is set as Win32
[16:25:16] <jargon> the the configuration is set as Debug AMD64
[16:26:39] <jargon> wjp, megawatt what do i do? this is hopeless
[16:27:03] <jargon> nobody in any chatrooms seems to know what is wrong
[16:28:14] <megawatt> sorry, I got no idea. The only time I build pentagram in windows was with mingw
[16:30:02] <megawatt> google & msdn docs are probably the best sources unless you use the exact same MS compiler as someone else here does -- which I'm not sure of the whos or whats are in that
[16:30:16] <jargon> TestARCH : error: Mismatched CPU Settings. Environment is "" while Configuration is "AMD64"
[16:30:39] <jargon> says same thing when using i386
[16:30:58] <jargon> except with s/AMD64/i386
[16:43:00] <jargon> megawatt i fixed a glitch in pentagram btw
[16:43:26] <jargon> i just cant get it to compile because my compiler is retarded and wont pay attention to what processor i have :/
[16:44:12] <jargon> megawatt if i hand you the untested modified source file can you compile it into the engine to test whether the change is effective?
[16:44:18] <megawatt> I noticed you mentioned it.. although, if you can't compile it sounds like you're counting chickens before they hatch
[16:44:55] <megawatt> not at the moment. at work.
[16:44:59] <servus> I have invented cold nuclear fission! I just have to put it down onto paper first...
[16:45:05] <jargon> it was a simple two line modification
[16:45:44] <jargon> the glitch was painfully obivous once i was able to track down what i was looking for
[16:46:52] <wjp> feel free to tell us about it :-)
[16:52:45] <jargon> http://omnisis.org/dl/AvatarMoverProcess-6.10.25.zip
[16:52:50] <jargon> look at line number...
[16:53:29] <jargon> 579
[16:54:21] <jargon> the first twos lines of source after that i added and made the following line an else if
[16:54:49] <jargon> it will prevent avatar from loosing balance when stepping into a wall
[16:55:04] <wjp> why?
[16:55:55] <jargon> my modification prevents him from doing KeepBalance when walking into a freaking wall.
[16:55:56] <wjp> wouldn't that stop the avatar from ever doing the keepBalance animation?
[16:56:02] <jargon> no
[16:56:09] <jargon> wait...
[16:56:16] <jargon> -.-
[16:56:28] <jargon> see this is why i needed feedback
[16:56:36] <jargon> and why i need my compiler to work :/
[16:56:55] <jargon> there is a glitch somewhere in that
[16:56:59] <wjp> do you have an amd64 CPU?
[16:57:03] <megawatt> chickens! eggs! oh my! :-)
[16:57:10] <wjp> if no, set it to i386
[16:59:28] <wjp> hmmm
[16:59:58] <wjp> maybe just disable this check
[17:00:38] <wjp> edit the file testarch.cmd, and insert the line 'exit /b 0' after the @ECHO OFF
[17:01:00] <wjp> I guess vsexpress doesn't have the %CPU% directive
[17:05:28] --> Kohlrabi has joined #pentagram
[17:05:34] <jargon> perhaps i modified the wrong section of code
[17:05:50] <jargon> i had thoguht walking into a walk trigged off land
[17:06:13] <jargon> i have an athlon64
[17:06:28] <jargon> (AMD64)
[17:06:32] <wjp> ok
[17:06:54] <jargon> the compiler says the environment setting for it is ""
[17:07:07] <wjp> yeah, just disable the check like I mention above
[17:07:50] <jargon> wjp what does 'exit /b 0' do?
[17:07:59] <wjp> return with exit code 0
[17:08:28] <jargon> where would i put that and why?
[17:08:43] <wjp> in testarch.cmd, as the second line
[17:08:59] <wjp> It's just a guess, but I think that the %CPU% directive might not exist in the free version of MSVC
[17:09:00] <jargon> why would i do that?
[17:09:31] <wjp> you'd have to ask Colourless if you want a real answer
[17:09:41] <wjp> the best I can do is guess
[17:11:39] <jargon> well that was a shitfest
[17:11:55] <jargon> it says virtually everything is undefined
[17:12:25] <jargon> C:\Program Files\Microsoft Visual Studio 8\VC\include\stdlib.h(396) : error C4235: nonstandard extension used : '__unaligned' keyword not supported on this architecture
[17:12:32] <jargon> got that 10thousand times
[17:13:37] <jargon> am i the only one with an amd64?
[17:18:37] <jargon> pentagram compiles like a steaming pile of dog shit on my architecture
[17:18:57] <jargon> i thought pentagram was for contemporary machines?
[17:19:02] <jargon> ;)
[17:21:59] <megawatt> ;-P
[17:22:08] <megawatt> I blame MS
[17:23:37] <megawatt> Build environments always suck if not trivial
[17:24:04] <wjp> try i386 then
[17:24:26] <megawatt> but that's the catch when you deal with code meant for multiple arch & OSes
[17:24:28] <wjp> that arch check is clearly there for something, but the question is which one it's trying to ensure you're using
[17:25:44] <jargon> C:\Program Files\Microsoft Visual Studio 8\VC\include\crtdefs.h(430) : error C2371: 'size_t' : redefinition; different basic types
[17:25:44] <wjp> maybe msvc express doesn't support generating amd64 code; who knows
[17:25:44] <jargon> predefined C++ types (compiler internal)(19) : see declaration of 'size_t'
[17:26:02] <jargon> well that is tarde
[17:26:03] <jargon> d
[17:51:42] <servus> Did you install the proper Windows Platform SDK for that compiler?
[18:01:19] <servus> http://msdn.microsoft.com/vstudio/products/compare/default.aspx MSVC Express is the only Visual Studio that does not support AMD64. Only the highest package supports Itanium.
[18:02:37] <servus> So, compile for i386 : o)
[18:04:04] <servus> Non sequitur: It stinks what they cut out of the professional version (what I have), like code profiling *Grumble*.
[18:46:43] <jargon> servus i cannot compile for i386
[18:46:52] <jargon> its greyed out for some reason
[18:47:41] <jargon> thank you servus <3 ^-^
[18:49:56] <jargon> windows.h is missing :<
[18:50:33] <jargon> other than that it is compileable
[18:50:42] <jargon> wjp i need windows.h
[18:50:48] <jargon> megawatt i need windows.h
[18:51:15] <megawatt> should be available from a number of places.
[18:52:07] <megawatt> Once again, I get my copies of it from mingw - I imagine it should be available somewhere from microsoft too
[18:53:24] <megawatt> if I'm not mistaken it includes a number of other files too, so I think you would need it from a package.
[18:54:09] <megawatt> shocked its not already somewhere on your drive if you installed visual studio
[19:00:46] <jargon> :/
[19:04:33] <jargon> still missing windows.h after extracting lib.zip
[19:06:11] <jargon> megawatt where can i find the package?
[19:06:15] <jargon> i am clueless :|
[19:06:22] <megawatt> no idea
[19:06:29] <jargon> i do not even know how to google for it
[19:09:35] <servus> Get the Windows Platform SDK... It doesn't come with MSVC Express.
[19:15:22] * jargon installs it
[19:20:03] <servus> I just realized that Microsoft releasing Visual Studio Express is basically a shareware concept. I wonder if it's working to fuel sales of Visual Studio.
[19:27:18] * jargon lays down and gets comfy
[19:28:29] <megawatt> also.. Data transformation services (or whatever they cal it now) in SQL Server 2005 integrate into visual studio - they can't expect sql server users to automatically buy visual studio as well to use the new version of something they used to have bundled, so I imagine that had a lot to do with making visual studio express available.
[19:31:25] <megawatt> also, it kinda stupid to force startup programmers to buy development software that could potential increase the sales of your operating system IMO - its a big reason why I abandoned windows - I wanted to learn to program and didn't have hundreds of dollars to spend as a student just to get started down that path.
[19:31:40] <megawatt> Linux was free. Gcc was cool.
[19:32:55] <megawatt> And i didn't trust the student versions of visual studio - after all, what would happen if I did actually create something cool and wanted to make a profit from it.
[19:33:15] <megawatt> which naturally never happened anyway ;-)
[19:35:15] <servus> I first bought Microsoft Visual Studio for $100USD.
[19:35:24] <servus> That was MSVC5. My copy of MSVC6 was the same price.
[19:37:09] <servus> This was before we had the Internet, and boxed Linux distros have never been "it's practically free!" cheap : o)
[20:00:55] <megawatt> yeah... during that time frame I'd looked at VB (with a horrible trial edition) and not much else, wasn't until early college I got into linux
[20:01:08] <megawatt> 2000ish
[21:15:09] --> Dominus has joined #pentagram
[21:15:10] --- ChanServ gives channel operator status to Dominus
[21:15:15] <Dominus> hi
[21:16:41] <wjp> hi Dominus
[22:44:37] <-- Kohlrabi has left IRC ("Quit")
[22:56:23] --> Kirben has joined #pentagram
[22:56:23] --- ChanServ gives channel operator status to Kirben
[23:51:08] <-- Dominus has left IRC ("oh no! not again")