# Experimental SDL version uploaded for Windows

**URL:** <https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713>\
**Category:** Announcements\
**Created:** [June 11, 2013, 3:15am UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713 "2013-06-11T03:15:53Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Narc](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/narc/32/2705_2.png) [@Narc](https://discourse.cataclysmdda.org/u/Narc)\
**Post date:** [June 11, 2013, 3:23pm UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/41 "2013-06-11T15:23:54Z")

</div>

[quote=“DBrickShaw, post:40, topic:1713”]How would I go about building the SDL version from source? I’m already fairly familiar with building the Windows binary (using MinGW), but I’m not sure how the makefile should be modified to build the SDL version (or is there a separate branch for that code somewhere?).[/quote]You’ll want to add TILES=1 to your make command. The Makefile can build all the versions now (and the experimentals are both being cross-compiled on a Linux system). However, note the SDL version has more dependencies (specifically, SDL and SDL\_ttf), and those in turn have some dependencies; you may or may not need to resolve them.

Also, the TILES=1 may change to SDL=1 in the near future, so read the Makefile comments to be sure.

Just in case you’re curious, here’s what I have currently for the Jenkins SDL build (compiled on Linux for a Win32 target):

[code]make CROSS=/home/narc/src/mxe/usr/bin/i686-pc-mingw32- TILES=1 clean

export LDFLAGS="${LDFLAGS} -s"  
export CXXFLAGS="-Os -I/home/narc/src/mxe/usr/i686-pc-mingw32/include/SDL"  
make CROSS=/home/narc/src/mxe/usr/bin/i686-pc-mingw32- TILES=1 DEBUG= -j4

make CROSS=/home/narc/src/mxe/usr/bin/i686-pc-mingw32- TILES=1 bindist[/code]

---

<div class="post-metadata">

**Author:** ![kenoxite](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kenoxite/32/858_2.png) [@kenoxite](https://discourse.cataclysmdda.org/u/kenoxite)\
**Post date:** [June 11, 2013, 5:25pm UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/42 "2013-06-11T17:25:20Z")

</div>

I’ve just played for a few minutes with this SDL thing, but looks quite promising. And just about when I started to complain about performance issues on Windows.

BTW, there’s no link in the main site to the linux32 nightly builds. Is the same link as before and just forgot about it or have you stopped publishing nightly builds for it?

---

<div class="post-metadata">

**Author:** ![GlyphGryph](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/glyphgryph/32/847_2.png) [@GlyphGryph](https://discourse.cataclysmdda.org/u/GlyphGryph)\
**Post date:** [June 11, 2013, 5:31pm UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/43 "2013-06-11T17:31:40Z")

</div>

From our experience, they weren’t seeing much use - it’s pretty trivial to build yourself on linux, and most people know how.

Also, no one provided me with a link for that. 😛

I do need to stick back up the linux compiling guide though.

---

<div class="post-metadata">

**Author:** ![kenoxite](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kenoxite/32/858_2.png) [@kenoxite](https://discourse.cataclysmdda.org/u/kenoxite)\
**Post date:** [June 11, 2013, 5:35pm UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/44 "2013-06-11T17:35:48Z")

</div>

Ok. I was about to update the Download wiki page and wasn’t sure about what to do with that.

Will those new windows builds be updated at the same time as before? (which was ~5am UTC+1)

---

<div class="post-metadata">

**Author:** ![Narc](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/narc/32/2705_2.png) [@Narc](https://discourse.cataclysmdda.org/u/Narc)\
**Post date:** [June 11, 2013, 5:39pm UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/45 "2013-06-11T17:39:21Z")

</div>

[quote=“kenoxite, post:44, topic:1713”]Ok. I was about to update the Download wiki page and wasn’t sure about what to do with that.

Will those new windows builds be updated at the same time as before? (which was ~5am UTC+1)[/quote]They update when stuff gets pushed to the main Git, assuming nothing was added that would make them stop compiling correctly.

Is there any demand for linux32 builds? I could add that to the jenkins quite easily, I think.

---

<div class="post-metadata">

**Author:** ![GlyphGryph](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/glyphgryph/32/847_2.png) [@GlyphGryph](https://discourse.cataclysmdda.org/u/GlyphGryph)\
**Post date:** [June 11, 2013, 5:44pm UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/46 "2013-06-11T17:44:11Z")

</div>

> [@kenoxite](#):
>
> Will those new windows builds be updated at the same time as before? (which was ~5am UTC+1)

These are now instant edge code builds rather than nightly, so no, not at the same time. The link, however, should be static.

Also, Narc, yeah I would say linux32 would probably be a good idea.

---

<div class="post-metadata">

**Author:** ![kenoxite](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kenoxite/32/858_2.png) [@kenoxite](https://discourse.cataclysmdda.org/u/kenoxite)\
**Post date:** [June 11, 2013, 5:47pm UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/47 "2013-06-11T17:47:28Z")

</div>

Thanks for the info.  
I’ve updated the [download page](http://www.wiki.cataclysmdda.com/index.php?title=Download#Nightly_builds) in the wiki accordingly.

---

<div class="post-metadata">

**Author:** ![nadia911](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@nadia911](https://discourse.cataclysmdda.org/u/nadia911)\
**Post date:** [June 11, 2013, 6:23pm UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/48 "2013-06-11T18:23:32Z")

</div>

I would like to know how I can do to use the font Pixel-font7

[http://www.dafont.com/pixel-font7.font](http://www.dafont.com/pixel-font7.font)

Thanks

---

<div class="post-metadata">

**Author:** ![Narc](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/narc/32/2705_2.png) [@Narc](https://discourse.cataclysmdda.org/u/Narc)\
**Post date:** [June 11, 2013, 6:31pm UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/49 "2013-06-11T18:31:55Z")

</div>

[quote=“GlyphGryph, post:46, topic:1713”]Also, Narc, yeah I would say linux32 would probably be a good idea.[/quote]Okay, have [a Linux ncurses build](http://ci.narc.ro/job/Cataclysm-Lin32/lastSuccessfulBuild/artifact/cataclysmdda-0.5.tar.gz) and [a Linux SDL build](http://ci.narc.ro/job/Cataclysm-Lin32-SDL/lastSuccessfulBuild/artifact/cataclysmdda-0.5.tar.gz). Also, turns out Ubuntu has really really old SDL\_ttf-dev. Ugh.

---

<div class="post-metadata">

**Author:** ![Dzlan](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/dzlan/32/82_2.png) [@Dzlan](https://discourse.cataclysmdda.org/u/Dzlan)\
**Post date:** [June 11, 2013, 7:49pm UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/50 "2013-06-11T19:49:28Z")

</div>

> [@Soron](#):
>
> Ah, that’s good to know. We should probably look into common behavior with international keyboards… and maybe make sure we can capture ctrl+key stuff, as well, because we are seriously running low on keys!

Can you not do it DF style where the keys are a-z (or a-k or whatever) on one page and on the second page, resets (a-z) again?  
Means, we don’t get crap like [ and { Which I keep mixing up and even \ and | and Control is even more annoying then Shift.

Just an idea though. If not, then I guess Control will need to be a solution.  
And has the mappings for too many bionics been fixed?

---

<div class="post-metadata">

**Author:** ![kenoxite](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kenoxite/32/858_2.png) [@kenoxite](https://discourse.cataclysmdda.org/u/kenoxite)\
**Post date:** [June 11, 2013, 8:02pm UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/51 "2013-06-11T20:02:09Z")

</div>

> [@nadia911](#):
>
> I would like to know how I can do to use the font Pixel-font7

To change the default font simply replace the default one, found in data\font, with the one of your choice (simply delete the existing fixedsys.ttf one and copy on that folder the one you want to use - Pixel-font7).

---

<div class="post-metadata">

**Author:** ![Drakasin](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/drakasin/32/850_2.png) [@Drakasin](https://discourse.cataclysmdda.org/u/Drakasin)\
**Post date:** [June 11, 2013, 8:29pm UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/52 "2013-06-11T20:29:20Z")

</div>

The SDL version is WAY WAY WAY WAY WAY WAY better than the “normal” one. The performance is top notch. Such fluidness after two years of stuttering makes me immensely happy.

---

<div class="post-metadata">

**Author:** ![nadia911](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@nadia911](https://discourse.cataclysmdda.org/u/nadia911)\
**Post date:** [June 11, 2013, 11:56pm UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/53 "2013-06-11T23:56:03Z")

</div>

> [@kenoxite](#):
>
> [quote=“nadia911, post:48, topic:1713”]I would like to know how I can do to use the font Pixel-font7

To change the default font simply replace the default one, found in data\font, with the one of your choice (simply delete the existing fixedsys.ttf one and copy on that folder the one you want to use - Pixel-font7).[/quote]

I did so, but takes no resizing, only small…

---

<div class="post-metadata">

**Author:** ![esran](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@esran](https://discourse.cataclysmdda.org/u/esran)\
**Post date:** [June 12, 2013, 12:34am UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/54 "2013-06-12T00:34:09Z")

</div>

everything is way way better in sdl. sleeping still freezes the game for like 20 seconds though. my mouse turns into a blue circle, the screen tints white, everything becomes unclickable, and then everythings fine again.

---

<div class="post-metadata">

**Author:** ![utunnels](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/utunnels/32/81_2.png) [@utunnels](https://discourse.cataclysmdda.org/u/utunnels)\
**Post date:** [June 12, 2013, 12:48am UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/55 "2013-06-12T00:48:40Z")

</div>

In that case your CPU just can’t handle it quickly.

Sleep is technologically a fast forward without screen refresh, like you hold “.” for a couple of minutes normally. Everything has to be calculated.

> [@nadia911](#):
>
> [quote=“kenoxite, post:51, topic:1713”][quote=“nadia911, post:48, topic:1713”]I would like to know how I can do to use the font Pixel-font7

To change the default font simply replace the default one, found in data\font, with the one of your choice (simply delete the existing fixedsys.ttf one and copy on that folder the one you want to use - Pixel-font7).[/quote]

I did so, but takes no resizing, only small…[/quote]

IIRC you can add another line in data/FONTDATA to define the actually font size, for example:

your font file  
8  
16  
15

---

<div class="post-metadata">

**Author:** ![nadia911](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@nadia911](https://discourse.cataclysmdda.org/u/nadia911)\
**Post date:** [June 12, 2013, 1:01am UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/56 "2013-06-12T01:01:41Z")

</div>

OK, I did that too, but does not change the font size

In previous versions did not have this problem

Thanks anyway

---

<div class="post-metadata">

**Author:** ![utunnels](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/utunnels/32/81_2.png) [@utunnels](https://discourse.cataclysmdda.org/u/utunnels)\
**Post date:** [June 12, 2013, 1:16am UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/57 "2013-06-12T01:16:50Z")

</div>

That is odd. Because I see the code on github already contains the change.

---

<div class="post-metadata">

**Author:** ![utunnels](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/utunnels/32/81_2.png) [@utunnels](https://discourse.cataclysmdda.org/u/utunnels)\
**Post date:** [June 12, 2013, 2:42am UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/58 "2013-06-12T02:42:42Z")

</div>

Well I downloaded that font from dafont. The seems the two .fon files don’t resize but the ttf file actually resizes.

BTW, the SDL version supports absolute path, like

D:\temp\DDA\data\font\pixel font-7.ttf  
8  
16  
16

I usually play with lucide console, it is the default font for cygwin I think.

c:\windows\fonts\lucon.ttf  
8  
16  
14

---

<div class="post-metadata">

**Author:** ![Slax](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/slax/32/5385_2.png) [@Slax](https://discourse.cataclysmdda.org/u/Slax)\
**Post date:** [June 12, 2013, 4:13am UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/59 "2013-06-12T04:13:10Z")

</div>

[quote=“utunnels, post:55, topic:1713”]your font file  
8  
16  
15[/quote]  
Didn’t know there were 3 values. Seems to have cleared up some of the screwy graphics I’ve been seeing.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/1X/21b5d044e8473b25d0bf905d60477e25f6fbe0cf.png) [@system](https://discourse.cataclysmdda.org/u/system)\
**Post date:** [June 12, 2013, 5:30am UTC](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713/60 "2013-06-12T05:30:00Z")

</div>

ok there’s this weird glitch that when I sleep it “crashes” and then my character wakes up. basically all it does is up in the top part of the window where the name of the program is it just says not responding and after a few seconds it runs again.

[Previous page](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713.md?page=2)

[Next page](https://discourse.cataclysmdda.org/t/experimental-sdl-version-uploaded-for-windows/1713.md?page=4)
