ScummVM logo Forum Index - ScummVM website - Contact us - Buy Supported Games: GOG.comDotEmu  Rules - Search - Register - Login curved edge
Folder Forum Index > iPhone Port > pixelated graphics on Monkey sland 3 and Broken Swords Goto page Previous  1, 2
pixelated graphics on Monkey sland 3 and Broken Swords
  Author    Thread Reply to topic
jamesson



Joined: 27 Jul 2010
Posts: 15
 

is this simple? is only necessary to change one line of code? how can I do that?

 Reply with quote  
Post Thu Jul 29, 2010 1:21 pm 
 View user's profile Send private message
jamesson



Joined: 27 Jul 2010
Posts: 15
 

The current model of downscale, new games with 640x480 resolution are pixelated on the iPhone. Why the old games, with lower resolution, are not pixelated when shown the virtual keyboard? is also not done a downscale to fit in tele vertically?

 Reply with quote  
Post Sat Jul 31, 2010 3:23 pm 
 View user's profile Send private message
Bluddy
ScummVM Developer


Joined: 18 Nov 2007
Posts: 133
 

Actually the older games don't need to be downscaled. Old game resolution is 320x240 or 320x200. The iPhone resolution (pre-4.0) is 320x480, which means that if you divide the screen in 2 (as it is when you hold the phone vertically) the game fits perfectly though it seems small.

I committed the change and it should hopefully fix the issue as of the next Subversion build.

 Reply with quote  
Post Sun Aug 01, 2010 7:17 am 
 View user's profile Send private message
Vinterstum
ScummVM Developer


Joined: 16 Oct 2005
Posts: 585
 

quote:
Originally posted by Bluddy
The problem is here

iphone_video.m:
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);

It needs to be changed to GL_LINEAR


Good catch, in my mind GL_TEXTURE_MAG_FILTER was the applicable one here and not GL_TEXTURE_MIN_FILTER.
 Reply with quote  
Post Sun Aug 01, 2010 8:03 pm 
 View user's profile Send private message
jamesson



Joined: 27 Jul 2010
Posts: 15
 

where can I change this? where I put this in code? Which file do I change? I'm lost!

 Reply with quote  
Post Mon Aug 02, 2010 1:06 pm 
 View user's profile Send private message
jonrico



Joined: 18 Sep 2008
Posts: 5
 

Thanks for the change - that does indeed fix the problem for Curse of Monkey Island on an iPhone4 running OS4.0.1.

I ran the nightly build for the iPhone from Aug 2nd and it has much nicer looking text than 1.1.1.

Sadly this build did not run Monkey Island 2, Day of the tentacle or Sam and Max, but 1.1.1 does. This build does run Full Throttle and Monkey 3 fine, as well as Monkey 1 fine.

So I have ended up with two ScummVM files in the ScummVM app folder for now and I am running 1.1.1 if I feel the need to play something other than Monkey 3.

Smile

All just FYI

 Reply with quote  
Post Mon Aug 02, 2010 6:57 pm 
 View user's profile Send private message
fingolfin



Joined: 21 Sep 2005
Posts: 1466
 

MI2, Sam and DOTT don't run? Hum, that sounds like a pretty bad regression. If that persists in current daily builds, please file a bug report / bug reports.

 Reply with quote  
Post Mon Aug 02, 2010 9:28 pm 
 View user's profile Send private message
Vinterstum
ScummVM Developer


Joined: 16 Oct 2005
Posts: 585
 

quote:
Originally posted by fingolfin
MI2, Sam and DOTT don't run? Hum, that sounds like a pretty bad regression. If that persists in current daily builds, please file a bug report / bug reports.




quote:
WARNING: TiMidity: connect(): Connection refused!
WARNING: TiMidity: can't open control connection (host=127.0.0.1, port=7777)!
IMuse initialization - Unknown Error!
User picked target 'monkey2' (gameid 'monkey2')...
Looking for a plugin supporting this gameid... SCUMM Engine [all games]
Starting 'Monkey Island 2: LeChuck's Revenge'


Looks like Timidity is now the default audio device. Commit 51366?

Edit: Jonrico, a temporary workaround here is to specifically set "AdLib Emulator" as the default audio device.
 Reply with quote  
Post Mon Aug 09, 2010 6:01 pm 
 View user's profile Send private message
jonrico



Joined: 18 Sep 2008
Posts: 5
 

I just saw the update to your post - thanks a lot Vinterstum that has fixed my SVN build and I can play all games without swapping file data about!

 Reply with quote  
Post Sat Aug 21, 2010 11:33 am 
 View user's profile Send private message
jamesson



Joined: 27 Jul 2010
Posts: 15
 

quote:
Originally posted by Vinterstum
quote:
Originally posted by Bluddy
The problem is here

iphone_video.m:
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);

It needs to be changed to GL_LINEAR


Good catch, in my mind GL_TEXTURE_MAG_FILTER was the applicable one here and not GL_TEXTURE_MIN_FILTER.


How can I do this?
where I find this to change the code?
I don't know nothing of programming for ScummVM
 Reply with quote  
Post Tue Aug 24, 2010 2:54 pm 
 View user's profile Send private message
  Display posts from previous:      
Reply to topic

Forum Jump:
 
Goto page Previous  1, 2


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