Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

878858 Posts in 32941 Topics- by 24349 Members - Latest Member: Ozymandias

May 22, 2013, 08:34:57 PM
TIGSource ForumsDeveloperTechnical (Moderators: Glaiel-Gamer, ThemsAllTook)Wrapping an swf for steamworks
Pages: [1] 2
Print
Author Topic: Wrapping an swf for steamworks  (Read 2978 times)
st33d
Guest
« on: May 05, 2011, 04:44:55 AM »

Can't find any information on the internet at all about this.

Ideally it would be nice to have access to the stuff in the Steamworks SDK: multiplayer and achievements would become an option.

Are Steam just accepting swf projectors for this stuff or what? As I've said, I've looked about the internet and I can't find anything about wrapping swf in an executable other than a projector let alone getting it to communicate with an SDK.

Any help?
Logged
moi
Level 10
*****


shitposting is the new black


View Profile WWW
« Reply #1 on: May 05, 2011, 10:56:17 AM »

have you tried google?
http://www.codeproject.com/KB/audio-video/flashexternalapi.aspx
http://board.flashkit.com/board/showthread.php?t=747758
http://forums.techarena.in/software-development/1351483.htm
Logged

lelebęcülo
st33d
Guest
« Reply #2 on: May 05, 2011, 11:51:11 PM »

Yup. Tried google. Couldn't get any joy with: swf, flash, steam, wrapper, steamworks

What was the search sentence you used? I may need it in future.

Edit: Just checked those links, the first is for C# and the Steamworks API is in C++, does that mean that C# can communicate with C++? But then how would that work?

The other links refer to accessing C++ APIs, not actually wrapping the swf as an executable. Unless I've missed something that is.
« Last Edit: May 05, 2011, 11:57:27 PM by st33d » Logged
bateleur
Level 10
*****



View Profile
« Reply #3 on: May 06, 2011, 12:18:09 AM »

I don't know if this comment is actually helpful, but I've looked into this before and never found a way to do it.
Logged

moi
Level 10
*****


shitposting is the new black


View Profile WWW
« Reply #4 on: May 06, 2011, 10:07:26 AM »

According to the link there seems to be a way but it requiers c# and possibly .NET (but not sure about this last one)
Logged

lelebęcülo
st33d
Guest
« Reply #5 on: May 06, 2011, 12:38:54 PM »

Yeah, but that rules out a mac release, which bums me out a bit.

If I find anything I'll update here (regardless if it's a proprietary solution).

It's basically to address the endless mode complaint with Steamlands. I need a good pitch to show to my boss to justify the budget for more development time.

The clincher is multiplayer. If I could deliver multiplayer Steamlands (and I would fucking go for it if there was the avenue), then I could confidently offer it as a project to my boss (and throw in endless mode for free).
Logged
Richard Kain
Level 10
*****



View Profile WWW Email
« Reply #6 on: May 06, 2011, 11:40:05 PM »

If you had the technical know-how, you could port your flash project to Haxe, and then compile it to C++. This would allow you to generate all necessary C++ code for compiling your project to multiple platforms, and you could go in and add whatever Steamworks hooks you needed.

I've used Haxe to compile flash-based graphical applications to Windows, Linux, Mac OSX, and even the iPhone simulator. I'm not saying its the optimal solution, but it is A solution.
Logged
seagaia
Level 10
*****


this is okay


View Profile WWW Email
« Reply #7 on: July 04, 2012, 05:43:18 PM »

I know this is a bit of a necro, but the first few posts of this topic from a year ago have useful info so I didn't think it was worth making a new topic.

But it's about a year later, I was wondering if anyone knew any new solutions for this problem, I'm just curious. I looked around a bit and AS3 -> haxe -> C++ seems like the way to go, but hey who knows.

Logged

My devlogs
sigfarter
Level 7
**


卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐卐


View Profile
« Reply #8 on: July 04, 2012, 06:22:25 PM »

You're not supposed to vocalize each letter individually, the proper pronunciation is "swiff".
Logged
brettchalupa
Guest
« Reply #9 on: July 04, 2012, 09:06:20 PM »

SteamWorks Flash Runtime Extension is probably your best bet.

There's also some other solutions out there, but they aren't well documented or totally talked about. I know that the Realm of the Mad God developers successfully did it, and if you send them an email I am sure they'd be happy to help.  Smiley
Logged
Mattivc
Level 0
***

Level 21 Viking Programmer


View Profile WWW Email
« Reply #10 on: July 04, 2012, 10:26:13 PM »

Machinarium is flash as well i believe. Might be worth sending those guys a email as well.
Logged
brettchalupa
Guest
« Reply #11 on: July 04, 2012, 10:36:40 PM »

Did Machinarium have Steam overlay/achievements/cloud-saves? I totally forget!
Logged
Moczan
Level 5
*****



View Profile
« Reply #12 on: July 04, 2012, 10:48:59 PM »

AIR let's you hook up native extensions, so if you can c++, you can write your own classes to communicate between Flash and Steamworks.
Logged
seagaia
Level 10
*****


this is okay


View Profile WWW Email
« Reply #13 on: July 05, 2012, 05:25:24 AM »

I can't C++ off the top of my head, but I can probably deal with learning however much I need to. I guess figuring out AIR and then the necessary C++ is just a matter of needing to put in enough time. I sent those two an e-mail. Thanks for the advice!
Logged

My devlogs
Fallsburg
Level 10
*****


Fear the CircleCat


View Profile WWW
« Reply #14 on: July 05, 2012, 05:29:36 AM »

Use AIR?  You can use the native extensions to use C++.  Don't know if you have any reasons not to use AIR.
Logged

Pages: [1] 2
Print
Jump to:  

Theme orange-lt created by panic