Show Posts
|
Pages: [1]
|
1
|
The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port?
|
on: June 01, 2008, 08:52:25 am
|
I added the two devices I successfully tested to the Wiki. I'd like to add the keymap files as well since I had to do extensive tweaking to them. Where should I post them (as an attachment on this forum?) and in what format? By format I mean the filename as well as whether the original file should be updated or the post in-game configuration version is acceptable (which removes all the annotations).
|
|
|
2
|
The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port?
|
on: May 21, 2008, 08:15:23 pm
|
Here is the output from the sdl_log.txt file: xyz: tlbr = 0/0/0/0 0x003B SYM:106, VK:0x25, SC:0xC03B SYM:44, VK:0x26, SC:0x0041 SYM:44, VK:0x26, SC:0xC041 SYM:103, VK:0x27, SC:0x0034 SYM:103, VK:0x27, SC:0xC034 SYM:0, VK:0x28, SC:0x0038 SYM:0, VK:0x28, SC:0xC038 SYM:0, VK:0x86, SC:0x0000 SYM:13, VK:0x0D, SC:0x0000 SYM:106, VK:0x25, SC:0x003B SYM:106, VK:0x25, SC:0xC03B SYM:44, VK:0x26, SC:0x0041 SYM:44, VK:0x26, SC:0xC041 SYM:103, VK:0x27, SC:0x0034 SYM:103, VK:0x27, SC:0xC034 SYM:0, VK:0x28, SC:0x0038 SYM:0, VK:0x28, SC:0xC038 SYM:0, VK:0x86, SC:0x0000 SYM:13, VK:0x0D, SC:0x0000 SYM:13, VK:0x0D, SC:0xC000 SYM:0, VK:0x86, SC:0xC000 SYM:106, VK:0x25, SC:0x003B SYM:106, VK:0x25, SC:0xC03B SYM:44, VK:0x26, SC:0x0041 SYM:44, VK:0x26, SC:0xC041 SYM:103, VK:0x27, SC:0x0034 SYM:103, VK:0x27, SC:0xC034 SYM:0, VK:0x28, SC:0x0038 SYM:0, VK:0x28, SC:0xC038 SYM:0, VK:0x86, SC:0x0000 SYM:13, VK:0x0D, SC:0x0000 SYM:13, VK:0x0D, SC:0xC000 SYM:0, VK:0x86, SC:0xC000
|
|
|
3
|
The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port?
|
on: May 21, 2008, 07:44:29 pm
|
1.2.13 is bundled with the latest SCUMMVM for Win32. There's no SDL.DLL included in the WinCE port, though. Maybe their WinCE distribution compiles a special version into the EXE? For whatever it is worth I spoke with Sam Lantinga from the SDL project. He wasn't sure who was even working on the WinCE version of SDL these days so he suggested was to post to the SDL development mailing list. He also said that it should be possible to run SDL in debug mode and grab the raw key codes. Keytest doesn't work with the distribution SDL 1.2.13 FWIW. The first DLL you provided ( http://rapidshare.com/files/116568260/SDL.dll.html) gave the same results as the first test. The second DLL ran in a window ( http://rapidshare.com/files/116571038/SDL.dll.html) and gave the same results as well.
|
|
|
4
|
The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port?
|
on: May 21, 2008, 06:26:31 pm
|
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?
Here is the webpage with the "ButtonFinder" application ( link). It's grabbing the raw key codes as I understood it. However, four of these keys do generate non-zero codes, and even though they are the wrong ones, these keys can be used without having to modify SDL. You can't use the in-game key config, as you can't get to the in-game key config with these key settings, but by editing the key config file manually, you can get these keys to work in UQM. UQM will see your left key as "j", up as ",", right as "g", enter as "Return", ok as "RightSuper", and mail as "i". You should use these strings literally in your key config. You'll be missing the down key, but you should be able to play the game without it. Thanks for this! I was able to get enough things mapped to control the menu. A few of your suggested keys don't work, though. Could this be something to do with key down vs. key up codes? Anyway, using the key configuration utility from the Setup menu I was able to confirm the following... Up: "," Down: Unknown Left: "j" Right: "g" Enter: "Return" Record: App6 Calendar: Unknown Start: (keypress isn't even detected!) OK: Unknown Mail: Unknown I noticed one additional quirk. Most keys register the key press immediately, but OK doesn't. Releasing OK is unknown, but holding it down... OK (held): "k" It doesn't seem to actually work in practice, though. Perhaps UQM is seeing the key down code first and ignoring the held code. The thing I don't understand is why SCUMMVM (which is also using SDL) works fine with my device.
|
|
|
5
|
The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port?
|
on: May 21, 2008, 12:17:23 am
|
I ran it several times (deleting the log between each attempt) and the results are consistent:
pressed: 106 pressed: 44 pressed: 103 pressed: 0 pressed: 0 pressed: 13
I don't know why down is showing up as "0".
I ran this against the other buttons individually just for fun (0 and 13 are always the last two values recorded, which I assume is the "Enter" action) Record: 328 Calendar: 0,0 Start: (null) OK: 312,0 Mail: 0,105
|
|
|
7
|
The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port?
|
on: May 20, 2008, 12:38:21 am
|
D-Pad: Up: 0x26 Down: 0x28 Left: 0x25 Right: 0x27 Enter: 0x0D
The Enter key seems to be a standard 0x0D, but d-pad keys .... not sure what to make of them. This is from SDL_keysym.h: SDLK_DOLLAR = 36, SDLK_AMPERSAND = 38, SDLK_QUOTE = 39, SDLK_LEFTPAREN = 40, SDLK_RIGHTPAREN = 41, ... SDLK_UP = 273, SDLK_DOWN = 274, SDLK_RIGHT = 275, SDLK_LEFT = 276, There is no 0x25 (37 dec). Do other SDL apps work on your PDA? I am able to map all the buttons on my device using SCUMMVM 0.11.1. That's the only other SDL app I have. The default keys were probably messed up in Scumm too but SCUMMVM supports the stylus so it wasn't an issue I noticed. SCUMMVM does display a "friendly name" for the various keys when you map them. The names look similar to the SDL ones in the UQM starcon.key file. Here's what I get for each key... App: Record: application 6 App1 (Calendar): application 1 App2 (Start): home App3 (OK): volume up App4 (Mail): application 4 The D-Pad is mapped as expected for left-hand landscape mode (i.e. the "up" key is mapped as "left"). Enter is "action". I tried editing the starkey.map file to match the SCUMMVM names (App4, App1, VolumeUp, Home, etc.) but still no luck.
|
|
|
8
|
The Ur-Quan Masters Re-Release / Technical Issues / Re: Windows Mobile port?
|
on: May 17, 2008, 03:40:49 am
|
I'm very excited to see UQM ported to the Pocket PC (finally). Unfortunately I can't get anything but the "enter" key to work in the game on my iPaq 210. I have to soft-reset to exit every time.
I found a free key map utility. It doesn't work with two of the special keys but very few applications do. The keys that I can log show up as follows:
App: Record: 0xc6 App1 (Calendar): 0xCC (keydown), 0xC1 (keyup) App2 (Start): ?? App3 (OK): ?? App4 (Mail): 0xCD (keydown), 0xC4 (keyup)
D-Pad: Up: 0x26 Down: 0x28 Left: 0x25 Right: 0x27 Enter: 0x0D
I'm happy to run any utility or debug versions you might have if you need more information.
|
|
|
|
|