PWI with Linux

2»

Comments

  • Ethismos - Dreamweaver
    Ethismos - Dreamweaver Posts: 2 Arc User
    edited March 2009
    Just fixed it... for some reason i kept getting the same error with 1.1.16 and i downloaded an older version and it worked the first time. Either i did something stupid with extracting with the old one (hm...) or it was bugged (hm..hm...) or nothing works in linux unless you spend a few hours in front of a screen for something that seems easy (hm..hm..hm...).

    Anyway , thanks for all the help.
  • Julyah - Sanctuary
    Julyah - Sanctuary Posts: 160 Arc User
    edited March 2009
    It must be that something changed in the 1.1.16. I did it with .15 and someone told me it worked with .14 as well.
    Someone here posted the instructions for .16 too. Think it's page 3.
    [Tech Support Junkie]
    Player 1: "I dont believe this is an off-topic worthy thread."
    Player 2: "It's not even worth it for lower depths. What do we do?"
    Player 3: "Delete it?"
    Mod: "Moving this to tech support."
    _________________________________
    Sanctuary: Julyah - Venomancer | Tevos - Wizard | Elliana - Archer
  • Fasalina - Heavens Tear
    Fasalina - Heavens Tear Posts: 9 Arc User
    edited March 2009
    Just fixed it... for some reason i kept getting the same error with 1.1.16 and i downloaded an older version and it worked the first time. Either i did something stupid with extracting with the old one (hm...) or it was bugged (hm..hm...) or nothing works in linux unless you spend a few hours in front of a screen for something that seems easy (hm..hm..hm...).

    Anyway , thanks for all the help.

    hehehehe u have 2 spend days to make
    a game work proper hahahaha XD
  • psycho3d
    psycho3d Posts: 1 Arc User
    edited March 2009
    anyone knows how to fix these broken texts in the launcher? looks like there's some wrong ttf file or something.
    screenshot20.png

    it worked once, then i didn't play for some time and now the launcher looks weird. the rest of the game is ok (apart from the known problem with icons)

    os is gentoo 64, updater works afaik (the manual patch button blinks but the files say it's version 86)
  • Fasalina - Heavens Tear
    Fasalina - Heavens Tear Posts: 9 Arc User
    edited April 2009
    new patch:
    diff --git a/dlls/wined3d/surface_base.c b/dlls/wined3d/surface_base.c
    index 8d9d941..7683afb 100644
    --- a/dlls/wined3d/surface_base.c
    +++ b/dlls/wined3d/surface_base.c
    @@ -1664,6 +1664,10 @@ HRESULT WINAPI IWineD3DBaseSurfaceImpl_BltFast(IWineD3DSurface *iface, DWORD dst
         /* Handle first the FOURCC surfaces... */
         if (sEntry->Flags & dEntry->Flags & WINED3DFMT_FLAG_FOURCC)
         {
    +        UINT block_width;
    +        UINT block_height;
    +        UINT block_byte_size;
    +
             TRACE("Fourcc -> Fourcc copy\n");
             if (trans)
                 FIXME("trans arg not supported when a FOURCC surface is involved\n");
    @@ -1675,8 +1679,36 @@ HRESULT WINAPI IWineD3DBaseSurfaceImpl_BltFast(IWineD3DSurface *iface, DWORD dst
                 ret = WINED3DERR_WRONGTEXTUREFORMAT;
                 goto error;
             }
    -        /* FIXME: Watch out that the size is correct for FOURCC surfaces */
    -        memcpy(dbuf, sbuf, This->resource.size);
    +
    +        if (This->resource.format_desc->format == WINED3DFMT_DXT1)
    +        {
    +            block_width = 4;
    +            block_height = 4;
    +            block_byte_size = 8;
    +        }
    +        else if (This->resource.format_desc->format == WINED3DFMT_DXT2
    +                || This->resource.format_desc->format == WINED3DFMT_DXT3
    +                || This->resource.format_desc->format == WINED3DFMT_DXT4
    +                || This->resource.format_desc->format == WINED3DFMT_DXT5)
    +        {
    +            block_width = 4;
    +            block_height = 4;
    +            block_byte_size = 16;
    +        }
    +        else
    +        {
    +            FIXME("Unsupported FourCC format %s.\n", debug_d3dformat(This->resource.format_desc->format));
    +            ret = WINED3DERR_WRONGTEXTUREFORMAT;
    +            goto error;
    +        }
    +
    +        for (y = 0; y < h; y += block_height)
    +        {
    +            memcpy(dbuf, sbuf, (w / block_width) * block_byte_size);
    +            dbuf += dlock.Pitch;
    +            sbuf += slock.Pitch;
    +        }
    +
             goto error;
         }
         if ((sEntry->Flags & WINED3DFMT_FLAG_FOURCC) && !(dEntry->Flags & WINED3DFMT_FLAG_FOURCC))
    
  • Subdivide - Sanctuary
    Subdivide - Sanctuary Posts: 1 Arc User
    edited May 2009
    Added notice about this thread by Darthpanda16: Will make this a stickie until the community has a few proven methods worked out, then I may add the community's suggestions into the Tech Support FAQ. Even though we don't support Linux, I figured this would be helpful to you all. :)

    One of my computers runs ubuntu and when i try to play PWI using the program Wine the skills are all messed up. The pictures are weird looking, very multi colored and its the same with items in my inventory. If anyone knows anything I can do or if the programmers are trying to make PWI for linux also it would be great.

    http://www.youtube.com/watch?v=t32GRBnc0T0
  • Taylstoo - Heavens Tear
    Taylstoo - Heavens Tear Posts: 2 Arc User
    edited May 2009
    The Settings of Wine:
    Windows version: WinXP
    Graphic:
    - Tick emulate virtual desktop, set the size as necessary. It doesn't matter when you play full screen in virtual desktop as it resize by itself.
    I play PWI full screen in virtual desktop. I don't know why the position of all the interface's position went to the top left when the client minimized without virtual desktop.
    - DirectX 3D : Hardware, turn on pixel shader

    I hope that help. If you want to ask something, you can PM me, Ulty, in Lost City server.

    that was it for me! thank you very much... was getting all naked characters before changing my wine settings, and starting with one always errored out... now it's running better than it ever did under windows :)
This discussion has been closed.