File probably truncated

2004-02-02 Thread Thomas Brix Larsen
Hi again,
I'm getting stuff like this when trying to use Windows programs:

0009:trace:module:map_image mapped PE file at 0x40-0xf89000
0009:trace:module:map_image mapping section .text at 0x401000 off 1000
size 6a4000 flags 6020
0009:err:module:map_image Could not map section .text, file probably
truncated

Why?

Anybody please?


-- 
Thomas Brix Larsen <[EMAIL PROTECTED]>




Re: Still trying to get Wine running with kernel 2.6

2004-01-25 Thread Thomas Brix Larsen
Hi Brian,

søn, 2004-01-25 kl. 02:19 skrev Brian Vincent (C):
> > I tried your suggestion and saw that the uxtheme.dll couldn't find a
> reg
> > key. I did a 'regedit winedefaults.reg' and it stop'd complaining.
> 
> Hm.  I'm not sure Wine installed properly.  It kind of sounds
> like you might have done a regular configure && make depend &&
> make like most programs require.  Wine is a bit more complex 
> and after building it you'll need to get some initial settings
> installed.  Fortunately there's a tool that will do this. I'd 
> wipe things clean by doing the following (this will recompile
> and install wine):
> 
> 1) Go into your original build directory and run:
> make uninstall
> 
> 2) When it's done, run:
> make clean
> 
> 3) Then run:
> ./tools/wineinstall
> 

I did install using the wineinstall script.

But anyway I tried your suggestion, but nothing changed.


ALL my programs still says:

err:module:map_image Could not map section .text, file probably
truncated

But the files are not trucated, they work fine in Windows :|


Other suggestions?


-- 
Thomas Brix Larsen <[EMAIL PROTECTED]>




Re: Still trying to get Wine running with kernel 2.6

2004-01-24 Thread Thomas Brix Larsen
Hi,
I tried your suggestion and saw that the uxtheme.dll couldn't find a reg
key. I did a 'regedit winedefaults.reg' and it stop'd complaining.

Now Skype only makes wine enter the debugger.


But, I still have the problem that most of my .exe files can't be
started.


-- 
Thomas Brix Larsen <[EMAIL PROTECTED]>




Still trying to get Wine running with kernel 2.6

2004-01-24 Thread Thomas Brix Larsen
Hi list,

I'm still trying to get Wine running with kernel 2.6.

I've finally got Wine built (OpenGL header prob.), but now it says this
about files that Wine could run before my switch to 2.6:

$ wine machine.exe:

Warning: Language '' was not recognized, defaulting to English.
err:module:map_image Could not map section .text, file probably
truncated
wine: could not load L"G:\\Corp\\machine.exe" as Win32 binary

The only program (Skype) I have which actually starts (or well, almost
starts) displays a msgbox:

Exception EAccessViolation in module uxtheme.dll at 63BE.
Acess violation at adress 427963BE in module 'uxtheme.dll'. Write of
adress .

Any help?

-- 
Thomas Brix Larsen <[EMAIL PROTECTED]>





Direct3D8 - OpenGL header problem

2004-01-07 Thread Thomas Brix Larsen
Hi list, just upgraded to 2.6.0 and the NVIDIA driver from minion.de
and now I get this error when compiling wine:


directx.c: In function `IDirect3D8Impl_GetDeviceCaps':
directx.c:639: `GL_MAX_VERTEX_UNITS_ARB' undeclared (first use in this
function)


My X11/include/GL/ headers date, 2001-2002.


Greetings,
--Thomas
_
My worst enemy gave me a copy of Windows...




Direct3D8 - OpenGL header problem

2004-01-03 Thread Thomas Brix Larsen
Hi list, just upgraded to 2.6.0 and the NVIDIA driver from minion.de
and now I get this error when compiling wine:


directx.c: In function `IDirect3D8Impl_GetDeviceCaps':
directx.c:639: `GL_MAX_VERTEX_UNITS_ARB' undeclared (first use in this
function)


My X11/include/GL/ headers date, 2001-2002.


Greetings,
--Thomas
_
My worst enemy gave me a copy of Windows...




Re: Sound capture issues...

2003-12-04 Thread Thomas Brix Larsen
Hi,

tor, 2003-12-04 kl. 08:01 skrev Sylvain Petreolle:
> What audio backend are you using ?

I'm using OSS, I would believe this is standard, right?

Greetings,
--Thomas
_
My worst enemy gave me a copy of Windows...




Sound capture issues...

2003-12-02 Thread Thomas Brix Larsen
Hi list,
in the voice com program Skype (www.skype.org), I'm able to hear other
people but I can't talk to them myself. 

Does anyone have a clue why?

I believe this program uses DirectX to capture voice input. Not
implented?

Greetings,
--Thomas
_
My worst enemy gave me a copy of Windows...




Re: Crypt32.dll - CryptProtectData

2003-11-30 Thread Thomas Brix Larsen
søn, 2003-11-30 kl. 22:05 skrev Vincent Béron:
> >  @ stub RegQueryValueExU
> >  @ stub RegSetValueExU
> > +@ stdcall CryptProtectData(ptr wstr ptr ptr ptr long ptr)
> 
> Try to keep the functions in alphabetical order in the spec file please.
Done.

> > +BOOL WINAPI CryptProtectData(DATA_BLOB* pDataIn, LPCWSTR szDataDescr, DATA_BLOB* 
> > pOptionalEntropy, PVOID pvReserved, void* pPromptStruct, DWORD dwFlags, DATA_BLOB* 
> > pDataOut)
> 
> You said you changed the type of pPromptStruct to void* for cause of
> non-documentation. Better to get documentation for it, such as from
> WinCrypt.h from the SDK.
> I suggest you add something along those lines in Wine's wincrypt.h:
Done.

Sent to [EMAIL PROTECTED]



Greetings,
--Thomas
_
My worst enemy gave me a copy of Windows...




Crypt32 - CryptProtectData

2003-11-30 Thread Thomas Brix Larsen
Hi list,
I've been trying to get the application "Skype" (http://skype.org)
working in wine. But it complains about that it can't locate the
function CryptProtectData, which MSDN says belongs to crypt32.dll.
I've been trying to implement this function as a stub.

By adding this to crypt32/main.c:

BOOL WINAPI CryptProtectData(DATA_BLOB* pDataIn, LPCWSTR szDataDescr,
DATA_BLOB* pOptionalEntropy, PVOID pvReserved, void* pPromptStruct,
DWORD dwFlags, DATA_BLOB* pDataOut)
{
FIXME("stub!\n");
return FALSE;
}

I know the args aren't correct but I had a problem with
CRYPTPROTECT_PROMPTSTRUCT*, which isn't implented, so I just replaced
with void*.

I added:
@ stdcall CryptProtectData(ptr wstr ptr ptr ptr long ptr)
to crypt32.spec

But, the app still says it can't locate CryptProtectData, so what needs
to be done?


Greetings,
--Thomas
_
My worst enemy gave me a copy of Windows...




Re: Make failed, something about D3D8 & D3Dcore...

2003-11-12 Thread Thomas Brix Larsen
ons, 2003-11-12 kl. 15:30 skrev Vincent Béron:
> Le mer 12/11/2003 à 09:19, Thomas Brix Larsen a écrit :
> > Hi Raphael,
> > 
> > glx.h is mesa 3.2
> > glext.h is SGI 1.2.1
> > 
> > Hmm... It seems I'm using very old headers...
> > I'm using the newest NVIDIA "driver".
> 
> When you install the NVIDIA driver, there's an option to install
> development headers at the same time.
> 
> Vincent
> 

No, not with my Lunar Linux (lunar-linux.org) it extracts and compiles
the "driver", not using NVIDIAs system. I should probaly contact the
Lunar development team, and tell them about the missing headers.

But I've found the headers in /usr/share/doc/NVIDIA_GLX-1.0/
And it is compiling now.

Greetings,
--Thomas
_
My worst enemy gave me a copy of Windows...




Re: Make failed, something about D3D8 & D3Dcore...

2003-11-12 Thread Thomas Brix Larsen
Hi Raphael,

glx.h is mesa 3.2
glext.h is SGI 1.2.1

Hmm... It seems I'm using very old headers...
I'm using the newest NVIDIA "driver".

I will try to find some newer headers.

Greetings,
--Thomas
_
My worst enemy gave me a copy of Windows...




Make failed, something about D3D8 & D3Dcore...

2003-11-11 Thread Thomas Brix Larsen
Hi,
after updating CVS today I get the following errors from make:

In file included from d3d8_private.h:220,
 from basetexture.c:31:
d3dcore_gl.h:161: syntax error before '*' token
d3dcore_gl.h:161: warning: type defaults to `int' in declaration of
`PGLXFNGLXGETFBCONFIGSPROC'
d3dcore_gl.h:161: warning: data definition has no type or storage class
d3dcore_gl.h:162: syntax error before '*' token
d3dcore_gl.h:162: warning: type defaults to `int' in declaration of
`PGLXFNGLXCHOOSEFBCONFIGPROC'
d3dcore_gl.h:162: warning: data definition has no type or storage class
d3dcore_gl.h:163: syntax error before "GLXFBConfig"
d3dcore_gl.h:164: syntax error before "GLXFBConfig"
d3dcore_gl.h:165: syntax error before '*' token
d3dcore_gl.h:165: syntax error before "GLXFBConfig"
d3dcore_gl.h:165: warning: type defaults to `int' in declaration of
`GLXWindow'
d3dcore_gl.h:165: `GLXWindow' declared as function returning a function
d3dcore_gl.h:167: syntax error before "GLXFBConfig"
d3dcore_gl.h:169: syntax error before '*' token
d3dcore_gl.h:169: syntax error before "GLXFBConfig"
d3dcore_gl.h:169: warning: type defaults to `int' in declaration of
`GLXPbuffer'
d3dcore_gl.h:169: `GLXPbuffer' declared as function returning a function
d3dcore_gl.h:172: syntax error before "GLXFBConfig"
d3dcore_gl.h:333: syntax error before "PGLXFNGLXCREATEPBUFFERPROC"
d3dcore_gl.h:333: warning: no semicolon at end of struct or union
d3dcore_gl.h:333: syntax error before "glXChooseFBConfig"
d3dcore_gl.h:333: warning: type defaults to `int' in declaration of
`glXChooseFBConfig'
d3dcore_gl.h:333: warning: data definition has no type or storage class
d3dcore_gl.h:335: syntax error before '}' token
d3dcore_gl.h:335: warning: type defaults to `int' in declaration of
`GL_Info'
d3dcore_gl.h:335: warning: data definition has no type or storage class
In file included from basetexture.c:31:
d3d8_private.h:275: syntax error before "GL_Info"
d3d8_private.h:275: warning: no semicolon at end of struct or union
d3d8_private.h:278: syntax error before '}' token
make[2]: *** [basetexture.o] Error 1
make[2]: Leaving directory `/usr/src/wine/dlls/d3d8'
make[1]: *** [d3d8] Error 2

I'm not sure if it's only today that Wine-cvs won't compile, as I'm
using a "system update script".
I don't think this is my fault. But it could probaly be.

Greetings,
-- Thomas
_
My worst enemy gave me a copy of Windows...





Re: Assertion failure: DDRAW_width_bpp_to_pitch

2003-11-10 Thread Thomas Brix Larsen
Okay... I've sendt the trace to Lionel, if anybody else wants it, I will
mail it to the list.


Greetings,

-- Thomas
_
My worst enemy gave me a copy of Windows...





5 games tested in wine...

2003-11-09 Thread Thomas Brix Larsen
Hi again list,
motivated by my previous mail to the list,
I have tried some more of my games with wine, and 2 out of 5 works
perfect, but has some minor problems.
Hmm, I guess a trace could be needed on some of them?
But anyway here it goes:

  * Risk II:
The "loading screen" displays, but:
err:wave:OSS_WaveOutInit /dev/mixer1: No such file or directory
err:wave:OSS_WaveInInit /dev/mixer1: No such file or directory
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel
(0x404f6cc8)->(00020021,0811)
fixme:x11drv:X11DRV_XF86VM_SetCurrentMode Need to update SYSMETRICS
after resizing display (now 800x600)
fixme:x11drv:X11DRV_XF86VM_ChangeDisplaySettingsExW Cannot change screen
BPP from 32 to 16
fixme:x11drv:X11DRV_XF86VM_SetCurrentMode Need to update SYSMETRICS
after resizing display (now 800x600)
fixme:ole:CoCreateInstance no classfactory created for CLSID
{49c47ce5-9ba4-11d0-8212-00c04fc32c45}, hres is 0x80040154
wine: Unhandled exception (thread 0009), starting debugger...

  * Empire Earth:
winevdm: can't exec 'G:\Empire Earth\Empire Earth.exe': error=21

  * Europa Universalis 2:
Is a bit slow but works perfectly. :D
But can only be started from the konsole. If I try to start it from
konqueror it says it can't find its data files.
Something to do with konqueror not setting cwd? (or whatever it's
called)
The konsole is full of:
err:ddraw:Main_DirectDrawSurface_GetSurfaceDesc Impossible/Strange
struct size 0.

  * BattleField 1942:
Alot of KEYFOUND: ... happens.
But there is never displayed any graphic.
Could this be something to do with the no-cd crack?

  * Master of Orion 3:
Game works perfect, some menu graphic missing, and mouse cursor ugly.
I found something VERY interesting with this game and wine,
the nebulas in game is different in wine and surely looks way better :D.

The mouse cursor thing probaly have something to do with:
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW Animated icons not
correctly implemented! 0x496b
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW icon entry found!
0x496b
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW icon size ok.
offset=0x496b0108
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW Animated icons not
correctly implemented! 0x496b
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW icon entry found!
0x496b
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW icon size ok.
offset=0x496b00b6
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW Animated icons not
correctly implemented! 0x496b
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW icon entry found!
0x496b
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW icon size ok.
offset=0x496b00d0
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW Animated icons not
correctly implemented! 0x496b
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW icon entry found!
0x496b
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW icon size ok.
offset=0x496b0234

Greetings,
-- Thomas
_
My worst enemy gave me a copy of Windows...





Assertion failure: DDRAW_width_bpp_to_pitch

2003-11-09 Thread Thomas Brix Larsen
Hi list,
I have been trying to get "The Sims: Hot date" working with wine.

But an Assertion failure happens, which I don't think I'm able to fix:

err:wave:OSS_WaveOutInit /dev/mixer1: No such file or directory
err:wave:OSS_WaveInInit /dev/mixer1: No such file or directory
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel
(0x404f3c08)->(,0008)
fixme:imm:ImmGetDefaultIMEWnd (0x10022): semi-stub
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel
(0x404f46b0)->(00010022,0808)
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel
(0x404f46b0)->(00010022,0811)
fixme:x11drv:X11DRV_XF86VM_SetCurrentMode Need to update SYSMETRICS
after resizing display (now 800x600)
fixme:x11drv:X11DRV_XF86VM_ChangeDisplaySettingsExW Cannot change screen
BPP from 32 to 16
fixme:x11drv:X11DRV_XF86VM_SetCurrentMode Need to update SYSMETRICS
after resizing display (now 800x600)
fixme:dsound:IDirectSoundImpl_SetCooperativeLevel level=DSSCL_PRIORITY
not fully supported
fixme:ddraw:DIB_DirectDrawSurface_Blt dwFlags DDBLT_WAIT and/or
DDBLT_ASYNC: can't handle right now.
wine: main.c:645: DDRAW_width_bpp_to_pitch: Assertion `bpp != 0' failed.
wine: Unhandled exception (thread 0009), starting debugger...

I'm using the CVS version from a few days ago.

Greetings,
-- Thomas
_
My worst enemy gave me a copy of Windows...