Forum Archive

Go Back   3D Realms Forums > 3D Realms Topics > Duke Nukem > Duke Nukem 3D Modifications
Blogs FAQ Community Calendar

Notices

 
 
Thread Tools
Old 12-14-2008, 01:24 PM   #1
Nuno Martinez

Nuno Martinez's Avatar
Exclamation [Mapster32] Linux problems.
I've compiled eDuke 20081121, it compiled perfectly (Xubuntu 8.04.1) but runs not perfectly. EDuke freezes at first frame of the game, any map, any level, any configuration (Intel graphix ) but I can use the original DUKE.EXE on my DOSBox so I can live with this.

I'm more interested on Mapster32 because I can't use BUILD.EXE to edit my maps (most them are outside the grid! ) but some issues of Mapster are annoying or don't work properly.

When Mapster is running I can't change to another program. Is it an issue? It's annoying because I can't read documentation while I'm editing.

The '[' and ']' don't change ceiling/ground slope, the first doesn't do nothing and the last changes the tile number. Maybe is Mapster using Uk keyboard instead of Spanish keyboard or something? I can't find a key that changes ceiling/ground slope.

Thanks in advance
Nuno Martinez is offline  
Old 12-14-2008, 02:40 PM   #2
Plagman

Plagman's Avatar
Re: [Mapster32] Linux problems.
You can switch to another application by releasing the mouse when mapster32 is running. That's achieved by displaying the OSD (console), usually by pressing `. You can rebind your keys by editing the configuration file of mapster32; I think it uses scancodes instead of characters so it won't take your spanish layout into account unless you rebind your keys manually.

As for EDuke32 freezing when loading a map, make sure the timidity and freepats packages are installed.
__________________
EDuke32 - "The corrupt doctrine of terror has begun."
Plagman is offline  
Old 12-14-2008, 04:48 PM   #3
Mblackwell

Mblackwell's Avatar
Re: [Mapster32] Linux problems.
Mapster32 (and Eduke32) is programmed for US keyboards.
__________________
I don't wanna be like other people are
Don't wanna own a key, don't wanna wash my car
Don't wanna have to work like other people do
I want it to be free, I want it to be true

Eduke32.com : The Rejected Applications : The Meadhall of the Comitatus
Mblackwell is offline  
Old 12-15-2008, 03:33 AM   #4
Nuno Martinez

Nuno Martinez's Avatar
Re: [Mapster32] Linux problems.
Thanks for the replies. I've installed the packages you suggested and now it works.

I must investigate about the keyboard. I didn't know that it's possible to configure the edition keys. I thought they were hardcoded as the original Build editor.

Do you know how I can get the scancodes I need? I think I can use the eDuke's configuration file to get them, or is there a better way to get them?
Nuno Martinez is offline  
Old 12-15-2008, 06:27 AM   #5
Plagman

Plagman's Avatar
Re: [Mapster32] Linux problems.
From mapster32.cfg:

Code:
; Key Settings
;  Here's a map of all the keyboard scan codes: NOTE: values are listed in hex!
; +---------------------------------------------------------------------------------------------+
; | 01   3B  3C  3D  3E   3F  40  41  42   43  44  57  58          46                           |
; |ESC   F1  F2  F3  F4   F5  F6  F7  F8   F9 F10 F11 F12        SCROLL                         |
; |                                                                                             |
; |29  02  03  04  05  06  07  08  09  0A  0B  0C  0D   0E     D2  C7  C9      45  B5  37  4A   |
; | ` '1' '2' '3' '4' '5' '6' '7' '8' '9' '0'  -   =  BACK    INS HOME PGUP  NUMLK KP/ KP* KP-  |
; |                                                                                             |
; | 0F  10  11  12  13  14  15  16  17  18  19  1A  1B  2B     D3  CF  D1      47  48  49  4E   |
; |TAB  Q   W   E   R   T   Y   U   I   O   P   [   ]    \    DEL END PGDN    KP7 KP8 KP9 KP+   |
; |                                                                                             |
; | 3A   1E  1F  20  21  22  23  24  25  26  27  28     1C                     4B  4C  4D       |
; |CAPS  A   S   D   F   G   H   J   K   L   ;   '   ENTER                    KP4 KP5 KP6    9C |
; |                                                                                      KPENTER|
; |  2A    2C  2D  2E  2F  30  31  32  33  34  35    36            C8          4F  50  51       |
; |LSHIFT  Z   X   C   V   B   N   M   ,   .   /   RSHIFT          UP         KP1 KP2 KP3       |
; |                                                                                             |
; | 1D     38              39                  B8     9D       CB  D0   CD      52    53        |
; |LCTRL  LALT           SPACE                RALT   RCTRL   LEFT DOWN RIGHT    KP0    KP.      |
; +---------------------------------------------------------------------------------------------+

keyforward = C8
keybackward = D0
keyturnleft = CB
keyturnright = CD
keyrun = 2A
keystrafe = 9D
keyfire = 1D
keyuse = 39
keystandhigh = 1E
keystandlow = 2C
keylookup = D1
keylookdown = C9
keystrafeleft = 47
keystraferight = 49
key2dmode = 9C
keyviewcycle = 1C
key2dzoomin = D
key2dzoomout = C
keychat = F
keyconsole = 29
remap =
As you said, I don't think there's a way to remap [ and ] through mapster32.cfg. You can just look in the source for their scancodes and replace them, though. Or you can just press whatever is in their place on the spanish keyboard.
__________________
EDuke32 - "The corrupt doctrine of terror has begun."
Plagman is offline  
Old 03-29-2009, 09:19 AM   #6
Nuno Martinez

Nuno Martinez's Avatar
Re: [Mapster32] Linux problems.
I'm late, but I thought I did answer your last message yet. Sorry.

I did fix it changing file 'astub.c'. I looked for "KEYSC_RBRACK" and "KEYSC_LBRACK" in function "keys3d" and use different "KEYSC_..." name (defined at "keys.h"). Then I recompile and it worked.

Thanks for the suggestions.
Nuno Martinez is offline  
 

Bookmarks

Tags
linux, mapster32


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 12:24 PM.

Page generated in 0.12236404 seconds (100.00% PHP - 0% MySQL) with 16 queries

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

Website is ©1987-2014 Apogee Software, Ltd.
Ideas and messages posted here become property of Apogee Software Ltd.