Page 3 of 8

Re: Nightly SVN Builds

Posted: Tue Oct 16, 2012 10:45 pm
by peaceoutside
I would highly recommend not compiling under Windows. It's a huge pain.

I tried, and got pretty far using this guide:

http://te4.org/wiki/howtocompile-windows

What's way easier for me is to download all the code from the SVN and copy in a recently-compiled .exe and the b42 dlls to the root of that folder.

This is the .exe I'm currently using:
Graziel wrote:SVN 5725, windows

http://www.sendspace.com/file/rlbcw4
I don't think any .c files have changed since that was compiled.

Re: Nightly SVN Builds

Posted: Wed Oct 17, 2012 12:57 am
by Suslik
So you're using older version of the engine with newer version of the game scripts? But that's nasty! //gonna do the same nevertheless, mwahaha

Re: Nightly SVN Builds

Posted: Wed Oct 17, 2012 7:26 am
by peaceoutside
Well the engine I'm using (the .exe) was compiled using the most recent c code.

As far as I can tell, all code changes that were committed after the exe was compiled haven't affected it.

I assume (not 100% sure) that the DLLs don't really change at all. At least they haven't changed since b42. Everything works for me so...

Most of the svn commits are just changes to .lua files and maybe adding .png files for new graphics.

Any time there are actually changes to .c files committed, I'll wait to update to that revision until a new .exe is posted somewhere (hopefully this thread).

Re: Nightly SVN Builds

Posted: Wed Oct 17, 2012 9:25 pm
by Suslik
Looks like I have managed to do so! Actually I have just copy-pasted everything from /game directory of the latest revision into the same directory of my b42 and I have replaced the executable with the one you provided. Seems to work so far.

Re: Nightly SVN Builds

Posted: Mon Oct 29, 2012 2:02 am
by peaceoutside
Anyone able to post an updated .exe?

If not, I'll recommend to anyone using the .exe that was last posted to not use anything past revision 5756.

The new particle effects that should be in the .exe cause Lua errors and unavoidable character death if those particles happen to be damaging.

Re: Nightly SVN Builds

Posted: Mon Oct 29, 2012 3:25 am
by Graziel

Re: Nightly SVN Builds

Posted: Thu Nov 15, 2012 7:29 pm
by johnnyzero
Windows x86 build from SVN 5793. You'll need to make a copy of your libpng12-0.dll and name it libpng-3.dll for this to run properly. This particular SVN revision contains this patch to the C code. If you've been experiencing soft graphical freezes lately, this version should hopefully provide some relief.

Re: Nightly SVN Builds

Posted: Thu Nov 15, 2012 11:54 pm
by aardvark
johnnyzero wrote:Windows x86 build from SVN 5793. You'll need to make a copy of your libpng12-0.dll and name it libpng-3.dll for this to run properly. This particular SVN revision contains this patch to the C code. If you've been experiencing soft graphical freezes lately, this version should hopefully provide some relief.
Does one need libpng to run this? None of the previous daily builds required it and I haven't got one in my t-engine4 folder. Also, why is the size so small (about 1/3 the size of one of Graziel's builds)? Did you strip the debugging symbols? That sort of thing could be a problem for those hacking on the C code.

Re: Nightly SVN Builds

Posted: Fri Nov 16, 2012 11:36 am
by johnnyzero
Yes, libpng is required by SDL2_Image which is used by t-engine. The file libpng12-0.dll is included with the b42 distribution alongside the other DLLs. Just make a copy of that file and name it libpng-3.dll. As for the size of the executable, yes, the debugging symbols are stripped and the code compiled with optimizations.

These "nightly builds" are intended for users who are only interested in running updates to the project's Lua code. If you are touching the project's C code, you'll need to recompile an executable with every change anyway!

Re: Nightly SVN Builds

Posted: Fri Nov 16, 2012 12:55 pm
by Grey
Whatever optimisations you do work quite well - the whole thing runs very noticeably faster for me.

Re: Nightly SVN Builds

Posted: Fri Nov 16, 2012 6:56 pm
by supermini
Yeah, it runs so much better. I haven't seen it load this fast before.

Re: Nightly SVN Builds

Posted: Fri Nov 16, 2012 11:48 pm
by aardvark
johnnyzero wrote:Yes, libpng is required by SDL2_Image which is used by t-engine. The file libpng12-0.dll is included with the b42 distribution alongside the other DLLs. Just make a copy of that file and name it libpng-3.dll.
Well, that's odd. I must have a copy somewhere in my path, because I haven't had the .dll in my t-engine4 directory for months.

Re: Nightly SVN Builds

Posted: Sun Nov 25, 2012 6:50 am
by johnnyzero
Win32 SVN 5824 binaries. For recent SVN revisions, a newer version of SDL is required than what is provided in the old b42 download. So, libraries are included this time (should be everything that is needed to run off a 5824 SVN checkout).

Re: Nightly SVN Builds

Posted: Sun Dec 09, 2012 4:52 am
by Parcae2
Does the current SVN work without a new exe?

Re: Nightly SVN Builds

Posted: Sun Dec 09, 2012 8:53 am
by supermini
Works for me.