ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.com Rules - Search - Register - Login curved edge
Folder Forum Index > PocketPC/WinCE Port > Latest SDL patches for WinCE?
Latest SDL patches for WinCE?
  Author    Thread Reply to topic
burkilos



Joined: 27 Aug 2010
Posts: 7
Latest SDL patches for WinCE? 

What combination of SDL and patches are everyone using to compile ScummVM for WinCE?

I'm still using SDL 1.2.6... I see Cerial has on his site a set of patches for 1.2.13 (http://blog.cryptopath.org/2009/07/how-to-compile-scummvm-with-latest-mingw32ce-and-sdl/) but the latest stable is 1.2.14 which seems to contain a lot of interesting fixes.

Does anyone have a patch for this version of SDL?

 Reply with quote  
Post Fri Aug 27, 2010 5:17 pm 
 View user's profile Send private message
Anotherguest
ScummVM Porter


Joined: 30 Oct 2005
Posts: 1425
Location: Malmoe, Sweden
 

Don't think the changes are that great between .13 and .14 actually. A couple of bug fixes, but not sure if they affect the ScummVM build? Should n't be to hard to do the ce patch from 13 ontop on .14.

 Reply with quote  
Post Fri Aug 27, 2010 7:32 pm 
 View user's profile Send private message
burkilos



Joined: 27 Aug 2010
Posts: 7
 

Fair enough. I'm working on building 1.2.13 for now but I'm getting a libSDL.la instead of an libSDL.lib. I know knakos has special Makefile in his patches that builds the libSDL.lib but I cannot get that Makefile to work at all in 13. Any advice?

 Reply with quote  
Post Fri Aug 27, 2010 7:35 pm 
 View user's profile Send private message
Anotherguest
ScummVM Porter


Joined: 30 Oct 2005
Posts: 1425
Location: Malmoe, Sweden
 

I'm just thinking, was/is Knakos building for WM6/6.5 (Based on CE5) or building for CE6 (Which the upcoming Windows Phone is based on).

There might be differences. If you find a CE port its more likely to build than a WM6 port. (WM6 have lots of more goodies in it (Handwriting etc) which is not present in CE)

 Reply with quote  
Post Fri Aug 27, 2010 7:42 pm 
 View user's profile Send private message
burkilos



Joined: 27 Aug 2010
Posts: 7
 

I'm on WM6.5, thus CE5. Fairly certain this is what knakos was working on. In fact, the Makefile he uses in his patches works fine for me in 1.2.6 and it does build a libSDL.lib. But since I can't use that Makefile in 1.2.13, I have to use the one generated during the configure and it creates .la and .a files... This has got to be simple!

 Reply with quote  
Post Fri Aug 27, 2010 7:45 pm 
 View user's profile Send private message
burkilos



Joined: 27 Aug 2010
Posts: 7
 

I gave up on getting 1.2.13 going - there was tons of changes done by kostas in the 1.2.6 patches that would be a major overhaul for the 1.2.13 graphics engine. I know Cerial managed to get 1.2.13 going but I don't see how, from looking at his patches, considering that ScummVM is not going to find a lot of the custom functions added by kostas in 1.2.6.

I'm still open for suggestions, but will focus my changes on 1.2.6 for now.

 Reply with quote  
Post Tue Aug 31, 2010 2:54 pm 
 View user's profile Send private message
fheroes2



Joined: 14 Oct 2010
Posts: 1
 

I am using SDL-1.2 in your project for WinCE changes slightly, mainly:
- Completely rewritten gapi videodriver (this code already added sdl-1.3)
- The correct definition of the cursor position when you turn the screen

well I might add right mouse click emulation, but it depends from the tap delay, so this part of the code I have made in application space.

Perhaps it is useful to you.
Patch works with the latest version of sdl-1.2 from the repository hg.

http://fheroes2.svn.sourceforge.net/viewvc/fheroes2/trunk/fheroes2/src/engine/wince/

 Reply with quote  
Post Thu Oct 14, 2010 4:37 am 
 View user's profile Send private message
burkilos



Joined: 27 Aug 2010
Posts: 7
 

Amazing work! Just what I was looking for. Very useful to me.

I did have to hack it up a bit to compile but I did get ScummVM running successfully with it. I am not having success with the mouse cursor on screen orientation changes yet though. Will hack at it some more. Any clues as to why you said it was patched to work with orientation but not working for me?

EDIT: Ah, I get it. The patch supports various orientations, but does not support orientation changes in game. I had that working with 1.2.6 so I'll see if I can work it in this version.

 Reply with quote  
Post Sat Oct 23, 2010 12:12 am 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 



Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Powered by phpBB © 2001, 2006 phpBB Group
Forum design by ScummVM team, icons by raina
curved edge   curved edge