I am trying to find a way to remap keyboard keys forcefully. 
I tried using xmodmap and setxkbmap, but they do not work for one specific application. Such commands work for other normal windows/applications on X tho. 

I think the application may be reading the keyboard raw data and ignoring X input? 

The related thread for the application is this: 
http://forums.thedarkmod.com/topic/14266-keyboard-issue-in-new-version-108/ 
The issues I have are the same: some keys are ignored and considered all with the same value 0x00 at that game "The Dark Mod".

So again: how to remap keys without using xmodmap and setxkbmap? if it is ever possible to be done using some software.

PS.: also tried xkeycaps, xkbcomp, but did not try loadkeys, as it is running on X.