Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi,

    I wanted to use the HWA features of MMF in my extension (based on Edif SDK). Since I do not find lots of documentation about it, I tried to use the Perspective extension from Andos as a start point. I noticed that I need another dll to compile it.
    I had contact with Yves and he sent me the mmf2.dll to compile it but it seems that all his private message were deleted between old and new forum.

    Can I get this dll back?

    Can someone with HWA experience give me some tips and a first overview of what is available for HWA: for example, GetRenderTargetSurface(), BeginRendering(,), etc?

    Damien

  • The latest version of EDIF and the version on my fork are both HWA supported. You don't need to do anything special by changing linker settings with various DLLs or anything, you just need to code it for HWA. Just as with building for Unicode, there are two equally redundant ways to check if you are in HWA: you can use #ifdef to detect at compile time, or you can use the Runtime.IsHWA() function.

    Also, you should mark this thread as English so other people can actually see it.

    Working as fast as I can on Fusion 3

  • Ok thanks LB. I need to check this. I did not manage to compile my project last time I tried with those particular functions with EDIF.

    Newbie question: how do you mark a thread as English?

    EDIT: Ok, I found that I have a conditional compilation #ifdef HWABETA in this EDIF version. It makes sense now.

    But I still need to add a reference to another mmfs2.lib in Linker. Otherwise I have unresolved external symbols.

    Damien

    Edited 2 times, last by conceptgame (March 26, 2013 at 8:15 PM).

  • How old is that version of EDIF you have?

    You can try downloading the latest lib files from the EDIF repository (download the whole repo as a zip):
    Please login to see this link.

    Working as fast as I can on Fusion 3

  • I have downloaded it for six months on github (same link). The library that Yves sent me is bigger (291Kb) and seems to work. I did not try the linker with the mmf2su library but it should not make a difference for HWA.

    EDIT: I confirmed by editing quickly both library files: there is no BeginRendering function in the mmfs2.lib. In my HWA version, it is available.

    Damien

    Edited once, last by conceptgame (March 27, 2013 at 6:37 AM).

  • I don't know then, Looki is using EDIF for Surface and he has had HWA working. At this point, I'd say just ask Yves again about this issue, perhaps link him to this thread. It would be nice to update EDIF to support that.

    Working as fast as I can on Fusion 3

  • I took a look on the source code of Looki's extension Surface on github and all the code regarding HWA is commented. Is there any reason to do so (bug, stability) or is this code working properly?

    Damien

  • Huh, well I know he had had HWA working - I think he had to drop support for some reason, to update the extension, etc. I know for sure older versions of the extension worked in HWA.

    Working as fast as I can on Fusion 3

  • Surface works in HWA but it's unoptimized. That commented code there... not sure what you mean. Maybe it was an optimization attempt of mine, but maybe it was also something related to support of the runtime, i.e. float angles in Active objects. Anyway, itt works simply because it uses GetRunObjectSurface instead of DisplayObject. That's all you need to make your extension work in HWA.

    An extension that is HWA-optimized would be Tile Map but unfortunately I bodged the HWA code and haven't been able to fix it...

    I have no idea at all what any of the functions you mentioned do, sorry. I don't know how to use any Direct3D features in MMF. All I know is how to blit via Direct3D, which is relative easy, there are Surface drivers and types (for the GetSurfacePrototype action). Getting them to work requries a certain combination though...

    Please login to see this link.

    Edited 2 times, last by Looki (March 29, 2013 at 7:59 AM).

  • Hallo Looki,

    Since I don't need any ink effects or transition for this particular extension, I did not take it into account. I will check if I have better performance with this one.
    I am in contact with Yves to know if what I want to achieve really need those functions I tried.

    Thank you for the feedback.

    Damien

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!