The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
October 26, 2021, 01:18:29 am
Home Help Search Login Register
News: Paul & Fred have reached a settlement with Stardock!

  Show Posts
Pages: [1] 2 3 ... 5
1  The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port? on: April 15, 2009, 07:46:19 pm
Is there a way to get the CE port to work on WM5-based keyboardless smartphones with a touchscreen, such as Samsung i710-740? It runs just fine, but I can't even exit the game, as it doesn't recognize neither the cursor buttons, nor the middle button.
Thanks!

UQM doesn't support touch-screen (aka mouse). I suggest playing around with the key files.
2  The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port? on: February 28, 2009, 08:26:22 am
Good question. I think the SDL port is hard-coded to flip to landscape mode, I'll check it out when I get a chance.
3  The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port? on: February 27, 2009, 01:46:10 am
This is apparently a cegcc compiler issue (caused by changes in WM 6.1). I am not sure whether they've fixed it, but I'll try to recompile with the latest version of cegcc.

Problem solved (or, rather, worked around). It looks like executables produced with the cegcc compiler don't play well with WM 6.1. A workaround is to run "upx" (the Ultimate Packer for eXecutables) on the executables (both .dll and .exe).

The http://wiki.uqm.stack.nl/Windows_CE_port Ultronomicon page has been updated with binaries that work under WM6.1.

I've tested this on my Sprint HTC Diamond, and the game starts up (should be working on PRO as well, since Diamond and PRO are nearly identical).
4  The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port? on: February 24, 2009, 05:47:46 am
Anyone have any luck getting this to work on the HTC Touch Pro?  I'm getting "'uqm' is not a valid Pocket PC application." error   Cry

This is apparently a cegcc compiler issue (caused by changes in WM 6.1). I am not sure whether they've fixed it, but I'll try to recompile with the latest version of cegcc.
5  The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port? on: June 02, 2008, 05:37:45 am
Meep-eep, do mean just a note/comment column off to the right of "Device,OS, Memory, KeyFile", expanding the compatibility section more, or something else entirely?

I would say upload the zipped starcon.key file (not the auto-generated one), then add a link to the .zip in the KeyFile column of the corresponding device line.
6  The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port? on: June 01, 2008, 01:50:33 am
I don't think this particular port will work on any OS older than Windows Mobile 5, given my own experiences with it. (It definitely doesn't seem to work under WM2003SE...)

I'll see if I can recompile for WM2003 and will let you know when done so you can test it.
7  The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port? on: June 01, 2008, 01:49:42 am
Thanks for that info, NamelessPlayer, I'll stop trying to force it to work unless I can find a way to upgrade my Jornada. I just tried this on a Cingular 3125 and it works great. Should we be adding working devices to the wiki?

By all means!
8  The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port? on: May 22, 2008, 06:02:54 pm
Now we are at a point where we got d-pad working on the HP 210.. Although now there is a different issue:
When pressing certain buttons, TWO keyboard events are generated... But only for certain buttons.

I was able to reproduce on my HTC Touch - only one button (Camera) does that:
SYM:334, VK:0xCC, SC:0x0000
SYM:323, VK:0xC1, SC:0x0000

The rest of the buttons seem to be behaving:

Talk:
SYM:284 VK:0x72, SC:0x0000

HangUp:
SYM:285 VK:0x73, SC:0x0000

volumeUp:
SYM:287 VK:0x75, SC:0x0000

VolumeDn:
SYM:288 VK:0x76, SC:0x0000

Although, interestingly enough, "Return" button gives two events (one seems to be unmapped 0x86):
Return:
SYM:0   VK:0x86, SC:0x0000
SYM:13  VK:0x0D, SC:0x0000
9  The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port? on: May 21, 2008, 07:35:38 pm
Quote
There is a standard? I expect that the hardware just produces its own codes and that a windows driver translates those codes to those 0x2something codes.
Good point.

Quote
Maybe SDL isn't using the windib driver. Setting the environment variable SDL_VIDEODRIVER to "windib" may help. It's likely to break the screen rotation though.
Also good point. Here's a link to SDL.dll with hard-coded windb env var: http://rapidshare.com/files/116571038/SDL.dll.html
10  The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port? on: May 21, 2008, 07:22:06 pm
Try this:
1. Get sdl.dll from http://rapidshare.com/files/116568260/SDL.dll.html
2. On your HP 210, create a new directory, and place the new sdl.dll there
3. Place keytest.exe there as well
4. Run keytest.exe and repeat the test (press the 4 keys and return)

The output file you will be looking for will be sdl_log.txt (it might be located in your "My Documents", or possibly in the root folder of the device).

The output format is as following:
"SYM:%d, VK:0x%02X, SC:0x%04X\n", keysym->sym, vkey, scancode
11  The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port? on: May 21, 2008, 07:13:58 pm
Maybe they're supplying a patched version of SDL? Or maybe they are using a newer version of SDL which has fixes for your device.
One thing to try would be copying over keytest.exe to a location with SCUMMVM's sdl.dll and running it there (although might not work if the SDL version they used is not 1.2.12)....

Does it say somewhere in the release notes of SCUMMVM what version of SDL they are using?
12  The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port? on: May 21, 2008, 06:58:04 pm
This is merely a workaround though, and the real fix is to patch SDL.

Edit: Oh, and the 0x2something codes look like the low(er) level codes. If someone is going to fix SDL to work with your PDA, he/she will need these codes.

That's the thing though - patch SDL to do what? I can't imagine that HP 210 would have non-standard d-pad codes. There's something strange going on here. The uqm wince files from the wiki page has been confirmed to work with at least ability to navigate the main menu, on several PDA's. People reported being able to get into melee at least, and to get into melee dpad is required.

Plus, it looks like the low-level codes are already the correct ones.

The following is in the winuser.h:
#define VK_LEFT           0x25
#define VK_UP             0x26
#define VK_RIGHT          0x27
#define VK_DOWN           0x28

The following is in SDL's video/windib/SDL_dibevents.c:
...
void DIB_InitOSKeymap(_THIS)
{
...
    VK_keymap[VK_UP] = SDLK_UP;
    VK_keymap[VK_DOWN] = SDLK_DOWN;
    VK_keymap[VK_RIGHT] = SDLK_RIGHT;
    VK_keymap[VK_LEFT] = SDLK_LEFT;
...
}

...

#define EXTKEYPAD(keypad) ((scancode & 0x100)?(mvke):(keypad))

...

static int SDL_MapVirtualKey(int scancode, int vkey)
{
#ifndef _WIN32_WCE
    int mvke  = MapVirtualKeyEx(scancode & 0xFF, 1, hLayoutUS);
#else
    int mvke  = MapVirtualKey(scancode & 0xFF, 1);
#endif
...
   switch(mvke) {
        /* Distinguish between keypad and extended keys */
        case VK_DOWN:   return EXTKEYPAD(VK_NUMPAD2);
        case VK_LEFT:   return EXTKEYPAD(VK_NUMPAD4);
        case VK_RIGHT:  return EXTKEYPAD(VK_NUMPAD6);
        case VK_UP:     return EXTKEYPAD(VK_NUMPAD8);
    }
    return mvke?mvke:vkey;
}

And finally, the following is in ./include/SDL_keysym.h:
...
    SDLK_UP         = 273,
    SDLK_DOWN       = 274,
    SDLK_RIGHT      = 275,
    SDLK_LEFT       = 276,
...

13  The Ur-Quan Masters Re-Release / General UQM Discussion / Re: You know you're an insane SC2 fan[boy/girl] when... on: May 21, 2008, 04:53:19 pm
- You name all of your WOW characters after star control 2 races, and get pissed off when it says "name too long" for "Ariloulaleelay".  Grin
14  The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port? on: May 21, 2008, 04:25:11 pm
pressed: 106
pressed: 44
pressed: 103
pressed: 0
pressed: 0
pressed: 13

I don't know what to make of this. You mentioned earlier some kind of "free key map utility" ... What is that?

Also you mentioned these values:
D-Pad:
Up: 0x26
Down: 0x28
Left: 0x25
Right: 0x27
Enter: 0x0D

Where are you seeing them?
15  The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port? on: May 20, 2008, 10:49:44 pm
Using the stock configuration: the D-Pad does not navigate the menus.  Enter works to select "New Game" or cancel the credits.  None of the other buttons do anything.  Using an alternate configuration doesn't seem to affect anything.

Let's find out what your D-Pad key codes are (as seen by SDL).

1. Download http://rs217.rapidshare.com/files/116366571/keytest.zip
2. Extract keytest.exe and place it into your uqm directory on your Pocket PC
3. Run keytest.exe and press the following keys, in the following order (don't press anything else):

D-PAD LEFT
D-PAD UP
D-PAD RIGHT
D-PAD DOWN
D-PAD RETURN

After you press RETURN, the app should exit out and you will end up with keytest_out.txt file.
Please provide the contents of that file.
Pages: [1] 2 3 ... 5


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!