Hey, we have forums!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Conzeit

Pages: [1]
1
General / Re: $1 million on the HIB! Open Source Aquaria FTW!
« on: May 19, 2010, 04:46:31 am »
http://s000.tinyupload.com/index.php?file_id=61984582992599172963
Since i just compiled this i haven't had time to test it much besides a few minutes of swimming around. Seems to work fine with my Wacom tablet on Win7 though, aside from the vanilla button bindings being a bit awkward.

Original Aquaria SDL and the newest official SDL compile is included, so if something goes wrong just switch back or make your own backup.

Hey...me again =/. I ran this mod but it asked me for a missing msvcr100.dll which apparently has something to do with .Net framework 2.0...which as far as I knew was fine in my pc.....why would this even be related to tablet support anyway?

uhm...since it seems it would be a good idea to involve myself with this stuff I went to the SDL homepage...but I dont know what source I'm supposed to get...or what to do with it when I get it =/ help?

2
General / Re: $1 million on the HIB! Open Source Aquaria FTW!
« on: May 15, 2010, 08:31:38 am »
=O fast response, thank you so much! Sorry to derail the thread  :-[ carry on now....

3
General / Re: $1 million on the HIB! Open Source Aquaria FTW!
« on: May 13, 2010, 07:05:42 am »
Hey guys =), I have always thought Aquaria looked beautiful and looked at it from afar, but only until the HIB I was actually able to get it =O I am  blown away by the generosity of Alec and everyone else who opened their games =)

This is a bit offtopic, but since we ARE discussing modding AND tablet support I thought I'd ask

I've never done a line of code in my life and want to implement this
Apologies for bumping. Felt there was still some need to solve this.

At least my Thinkpad does not contain similar setup wizard (Plus Wacom's drivers break its pressure sensitivity for some reason) so the pen -> mouse solution doesn't work for me (And other thinkpad users I guess). Also I'd think the Wacom solution is prone going out of sync if the pen is lifted too far from the surface.

Fortunately Aquaria uses open source library for input, so changing the source and recompiling it isn't that hard.

For those who want to do it themselves:
Get sources from SDL homepage. The mouse handling is located in src/events/sdl_mouse.c. Changing the pointer is moved by incrementing its position on each update:
x = SDL_MouseX + x
y = SDL_MouseY + y

To make positioning absolute, removing these lines works. This stops mouse from staying at edges, but makes it misaligned. Origin of mouse is in middle of screen and origin of cursor is at top left. Changing the two above lines into
x = x + (SDL_VideoSurface->w /2);
y = y + (SDL_VideoSurface->h /2);

fixes the problem. Worth mentioning though, that after this using normal mouse is not possible.

Copy the SDL.dll into Aquaria directory (Backup original, so you can switch it for when you want to use normal mouse!)

Compiled library: http://jubjub.homeip.net/files/SDL.dll
Changed source: http://jubjub.homeip.net/files/SDL-1.2.13-tablet.rar
The source is under LGPL.

Note: I haven't given it very extensive testing, and only with the demo (Wah! Wants working credit card!). And in case this has been fixed in one of the patches for full version, it can be ignored. Also tablet clicks are sometimes too quick for Aquaria to register them, atleast for me. So if you have difficulties clicking with tablet, try clicking slower.

- Wace
Does anybody still have this modified SDL.dll?...or can anyone help me with getting this kind of mod?

Pages: [1]