Want to improve WINE!

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
V0idExp
Newbie
Newbie
Posts: 2
Joined: Tue Jun 09, 2009 12:59 pm

Want to improve WINE!

Post by V0idExp »

Hi 2 all! I'm completely new to WINE development (but I have a good programming experience in C, especially in 2D/3D graphics and games programming), and I'd like to write a patch related to Fallout 1.x mouse lags. I've never written code on windows, Linux was always my development environment, so I dont know if the lack of M$ experience is a problem. But I really want to see one of my favourite games running smoothly on Linux, so I'll try to do my best to realise this thing. So, I have a copy of Fallout and the latest source of Wine, where I have to start from? It would be nice if you explain the steps in detail... ;) And sorry for my poor english knowledge...
James Huk

Want to improve WINE!

Post by James Huk »

2009/6/10 V0idExp <[email protected]>
Hi 2 all! I'm completely new to WINE development (but I have a good
programming experience in C, especially in 2D/3D graphics and games
programming), and I'd like to write a patch related to Fallout 1.x mouse
lags. I've never written code on windows, Linux was always my development
environment, so I dont know if the lack of M$ experience is a problem. But I
really want to see one of my favourite games running smoothly on Linux, so
I'll try to do my best to realise this thing. So, I have a copy of Fallout
and the latest source of Wine, where I have to start from? It would be nice
if you explain the steps in detail... ;) And sorry for my poor english
knowledge...





For Fallout2 (and probably 1) mouse bug can be fixed be setting
MouseWarpOverride to "disable". Still it would be nice if you would be able
to fix this, so no reg tweking would be needed;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Want to improve WINE!

Post by vitamin »

V0idExp wrote:Hi 2 all! I'm completely new to WINE development (but I have a good programming experience in C, especially in 2D/3D graphics and games programming), and I'd like to write a patch related to Fallout 1.x mouse lags.
That depends on what the problem really is.

Is the game too slow drawing the cursor? Or the mouse events getting "stuck"? Former might have something to do with absent DIB engine. Later, could be caused by number of things that's really hard to fix.
James Huk

Want to improve WINE!

Post by James Huk »

2009/6/11 vitamin <[email protected]>
V0idExp wrote:
Hi 2 all! I'm completely new to WINE development (but I have a good
programming experience in C, especially in 2D/3D graphics and games
programming), and I'd like to write a patch related to Fallout 1.x mouse
lags.

That depends on what the problem really is.

Is the game too slow drawing the cursor? Or the mouse events getting
"stuck"? Former might have something to do with absent DIB engine. Later,
could be caused by number of things that's really hard to fix.





Mouse speed is related to some changes in DirectDraw and DirectInput – as I
said, it can be „fixed” by setting MouseWaropOverride to “disable” - however
there is still bug during combat (mouse should be movable, and it is not),
as for game's speed, DIB doesn't seem to help, it actually makes things
worse – so without fast CPU this game is rather unplayable I'm afraid :(

Also look here:

http://bugs.winehq.org/show_bug.cgi?id=6033
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
James Huk

Want to improve WINE!

Post by James Huk »

2009/6/11 James Huk <[email protected]>

2009/6/11 vitamin <[email protected]>
V0idExp wrote:
Hi 2 all! I'm completely new to WINE development (but I have a good
programming experience in C, especially in 2D/3D graphics and games
programming), and I'd like to write a patch related to Fallout 1.x mouse
lags.

That depends on what the problem really is.

Is the game too slow drawing the cursor? Or the mouse events getting
"stuck"? Former might have something to do with absent DIB engine. Later,
could be caused by number of things that's really hard to fix.





Mouse speed is related to some changes in DirectDraw and DirectInput – as
I said, it can be „fixed” by setting MouseWaropOverride to “disable” -
however there is still bug during combat (mouse should be movable, and it is
not), as for game's speed, DIB doesn't seem to help, it actually makes
things worse – so without fast CPU this game is rather unplayable I'm afraid
:(

Also look here:

http://bugs.winehq.org/show_bug.cgi?id=6033
Emmm for combat bug I meant, mouse is not movable during enemies movement,
when player is moving, mouse works just fine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
V0idExp
Newbie
Newbie
Posts: 2
Joined: Tue Jun 09, 2009 12:59 pm

Post by V0idExp »

I know about "MouseWarpOverride" trick, which for me fixes the problem with mouse speed, but there's still a problem with mouse motion bounds. Sometimes you can move the mouse cursor within entire Fallout window, and sometimes after dialog or menu pop-up, these bounds seems to be translated somewhere, so you cannot reach for example the lower part of screen. What should I do to begin working on these bugs?
Locked