![]() |
2010-12-22
, 22:08
|
Posts: 20 |
Thanked: 6 times |
Joined on Jun 2010
@ Sweden
|
#2
|
![]() |
2010-12-22
, 22:30
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#3
|
I've tried taking the textures and fonts from an android version which did make it better looking in the menu, but not in-game. The executable is probably locked to 480*320, which makes the android idea kind of useless, unless that can be changed through a hex editor or something?
Isn't there anyone who knows how to make preenv force another resolution?
The Following User Says Thank You to javispedro For This Useful Post: | ||
![]() |
2010-12-22
, 23:06
|
Posts: 135 |
Thanked: 151 times |
Joined on Dec 2009
@ Slovakia/Bratislava
|
#4
|
![]() |
2010-12-22
, 23:19
|
|
Posts: 534 |
Thanked: 723 times |
Joined on Oct 2009
|
#5
|
PDL_Err PDL_GetScreenMetrics(PDL_ScreenMetrics* metrics) { TRACE("Application asks for screen metrics; giving true ones"); metrics->horizontalPixels = 480; metrics->verticalPixels = 800; metrics->horizontalDPI = 213; metrics->verticalDPI = 183; metrics->aspectRatio = 1.164; return PDL_NOERROR; }
outMetrics->horizontalPixels = 320; // Number of pixels horizontally outMetrics->verticalPixels = 480; // Number of pixels vertically outMetrics->horizontalDPI = 213; // Number of pixels per inch horizontally outMetrics->verticalDPI = 183; // Number of pixels per inch vertically outMetrics->aspectRatio = 1.164; // horizontalDPI/verticalDPI
The Following User Says Thank You to jflatt For This Useful Post: | ||
![]() |
2010-12-22
, 23:26
|
Posts: 20 |
Thanked: 6 times |
Joined on Jun 2010
@ Sweden
|
#6
|
the resolution is afaik in lua sources. that might help you getting there.
![]() |
2010-12-22
, 23:32
|
|
Posts: 534 |
Thanked: 723 times |
Joined on Oct 2009
|
#7
|
The Following User Says Thank You to jflatt For This Useful Post: | ||
![]() |
2010-12-22
, 23:43
|
Posts: 123 |
Thanked: 56 times |
Joined on Jun 2010
@ Portugal
|
#8
|
Can you do a screenshot? CTRL-SHIFT-P? Or does it look like this:
http://talk.maemo.org/showpost.php?p...&postcount=854
![]() |
2010-12-23
, 00:05
|
Posts: 20 |
Thanked: 6 times |
Joined on Jun 2010
@ Sweden
|
#9
|
Don't have environment in front of me, but what about:
preenv pdl.c
From Palm documentation:Code:PDL_Err PDL_GetScreenMetrics(PDL_ScreenMetrics* metrics) { TRACE("Application asks for screen metrics; giving true ones"); metrics->horizontalPixels = 480; metrics->verticalPixels = 800; metrics->horizontalDPI = 213; metrics->verticalDPI = 183; metrics->aspectRatio = 1.164; return PDL_NOERROR; }
I see the pixel count was changed, but the DPI and ratio wasn't changed, surely these values are different between devices. Do they even matter at all? I can try it out in a couple daysCode:outMetrics->horizontalPixels = 320; // Number of pixels horizontally outMetrics->verticalPixels = 480; // Number of pixels vertically outMetrics->horizontalDPI = 213; // Number of pixels per inch horizontally outMetrics->verticalDPI = 183; // Number of pixels per inch vertically outMetrics->aspectRatio = 1.164; // horizontalDPI/verticalDPI
![]() |
2010-12-23
, 00:34
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#10
|
#define ENABLE_SCALING 1 #define ENABLE_FS_SCALING 1
Therefore I was wondering if anyone else done this, and maby even fixed it somehow? Can you run preenv "windowed" or something? Or is it possible to take the "right" scaled textures and stuff from the Android version? Feels like it should be an easy fix, so please come with ideas.