This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Trying to compile and run ScummVM


Postby TazDevil76 » Apr 12, 2005 @ 7:37pm

I got it running on my iPAQ. But without any sound...but that's not to important. Anyway I get a first chance exception as soon as ScummVM starts - but then the engine runs without any problems...weird...

Now I'm going to search the place in the code where graphics are loaded to adjust gamma/brightness directly after they have been loaded. This seems more effiecient to me than manipulating them each time they are drawn.

René
TazDevil76
pm Member
 
Posts: 16
Joined: Apr 9, 2005 @ 8:27pm


Postby Arisme » Apr 13, 2005 @ 8:22am

Arisme
pm Insider
 
Posts: 1453
Joined: Jan 27, 2002 @ 1:07am
Location: France


Postby TazDevil76 » Apr 13, 2005 @ 8:48am

TazDevil76
pm Member
 
Posts: 16
Joined: Apr 9, 2005 @ 8:27pm


Postby Arisme » Apr 13, 2005 @ 1:20pm

yeah sure. But the biggest fun was tracking down all EVC bugs :D
Arisme
pm Insider
 
Posts: 1453
Joined: Jan 27, 2002 @ 1:07am
Location: France


Postby TazDevil76 » Apr 18, 2005 @ 8:12pm

I just tried something...I added this function to palette.cpp:

byte ScummEngine::adjustBrightness(byte data, float factor)
{
int newValue = data*factor;
return newValue > 255 ? 255 : (byte)newValue;
}

And then I changed the else-part of ScummEnginge::updatePalette():

...
} else {
*p++ = adjustBrightness(data[0], 1.5f);
*p++ = adjustBrightness(data[1], 1.5f);
*p++ = adjustBrightness(data[2], 1.5f);
*p++ = 0;
}
...

The factor 1.5 gives very good results on my 3870 - I can play DOTT without guessing where to click. I think this feature should really be included and able to be adjusted in the options menu.
I would do it myself for "my own" PocketScummVM version but I'm still havin loads of problems when running my compiled version: no sound, tons of exceptions and linker errors...still hoping for a ZIP of a eVC4 workspace and all needed files.

Regards,

René
TazDevil76
pm Member
 
Posts: 16
Joined: Apr 9, 2005 @ 8:27pm


Postby Dan East » Apr 18, 2005 @ 9:56pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Arisme » Apr 19, 2005 @ 12:28am

Arisme
pm Insider
 
Posts: 1453
Joined: Jan 27, 2002 @ 1:07am
Location: France


Postby TazDevil76 » Apr 19, 2005 @ 8:32am

TazDevil76
pm Member
 
Posts: 16
Joined: Apr 9, 2005 @ 8:27pm


Postby Dan East » Apr 19, 2005 @ 12:39pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby TazDevil76 » Apr 19, 2005 @ 1:16pm

TazDevil76
pm Member
 
Posts: 16
Joined: Apr 9, 2005 @ 8:27pm


Previous

Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

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 post attachments in this forum

cron