xboxscene.org forums

Author Topic: Porting Flash Game To The Xbox  (Read 327 times)

enliteneer

  • Archived User
  • Newbie
  • *
  • Posts: 10
Porting Flash Game To The Xbox
« on: November 17, 2004, 10:35:00 PM »

What would it take to run a flash on app on the xbox (assuming its modded)??

Logged

blueshogun96

  • Archived User
  • Sr. Member
  • *
  • Posts: 395
Porting Flash Game To The Xbox
« Reply #1 on: November 18, 2004, 09:05:00 AM »

Go to xbins and get the flash player for xbox  ;)   The src for it is available if you are interested ;)  
Logged

total_ass

  • Archived User
  • Hero Member
  • *
  • Posts: 1201
Porting Flash Game To The Xbox
« Reply #2 on: November 18, 2004, 12:19:00 PM »

flash on the xbox?

since when :blink:  
Logged

flux2k

  • Archived User
  • Jr. Member
  • *
  • Posts: 66
Porting Flash Game To The Xbox
« Reply #3 on: November 18, 2004, 04:07:00 PM »

I think it's been out for a month or 2 - I think it's by the linksboks guy. He's planning on folding it into linksboks so that we'll be able to view embedded flash files on websites. I hope he continues to develop the offline version with directx acceleration. It'd actually make a pretty good platform for making games if it gets graphics acceleration.
Logged

enliteneer

  • Archived User
  • Newbie
  • *
  • Posts: 10
Porting Flash Game To The Xbox
« Reply #4 on: November 18, 2004, 05:26:00 PM »

Thanks!!

Heres the .nfo from the 8-20-04 release:

swfx & swfxplayer 0.1

swfx
====
version 0.1

The original GPLFlash homepage is: http://swift-tools.net/Flash/
The new homepage for the "revived" version is: http://gplflash.sourceforge.net/
My homepage (The LinksBoks Wiki) is: http://ysbox.online.fr/


What's this?
~~~~~~~~~~~~

This is a decoding library for Macromedia Flash™ animations, compiled for use
with homebrew applications compiled with the XDK.

Due to the number of requests for Flash support in LinksBoks, I've decided to
experiment a bit on this library and here's the result.


How well does it work?
~~~~~~~~~~~~~~~~~~~~~~

The original library could play any file in the Flash 4 format and below. Tomas
Groth included support for compressed SWF files so that Flash 6/7 files are
supposed to work. However, there's a lot of remaining limitations:

- No sound on Xbox! Because there's quite a lot of work to do, and it doesn't
 work so well in Linux too; no compressed (MP3...) support. But it will happen
 one day, I hope.
- No videos.
- Problems with semi-transparent JPEG files (visible in the Happy Tree Friends,
 for example ;)
- No text boxes, etc.
- No real-time downloading support or socket access (as far as I know).
- Graphic glitches and performance issues here and there.
- Probably a lot more...

But a lot of animations do work very well, if not perfect.


I want to use it in my app/dashboard/etc!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Great! Start by taking a look in the swfxplayer sources, it's rather
straightforward and doesn't show every feature available (like interactivity).
You may want to check the original X player too (gplflash-x.x.xx/player/main.c).

If you want to test the player, copy the movie.swf (or any other Flash movie
renamed to movie.swf) on the Xbox in the player's directory if you want it to
work. Check out the Readme.txt file in the swfxplayer directory.

Feel free to contact me with any inquiries.


Couldn't you use the Flash player sources provided by Macromedia?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Macromedia distributes the Flash Player source code with their Flash Player SDK
(http://www.macromedia.com/software/devices/licensing/sourcecode/faq/) but we
must request it via a submission form, and we have virtually no chance of being
accepted. And they are royalties to pay "for each device that ships with the
Flash Player". I guess they're illegal versions of this SDK circulating on the
Internet, but I don't want to bother about that.

Besides, making the official player run on Xbox probably would have require more
work than porting the GPL Flash library (done it in less than 2 days, and the
end result is, in my opinion, not that bad...).


Acknowlegments
~~~~~~~~~~~~~~

As always:

 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License, version 2, as
 published by the Free Software Foundation.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.


The example movie is "Jailbreak" from Larry Adlon, found on AtomFilms:
http://atomfilms.shockwave.com/af/content/jailbreak
Hope they don't mind.

Also included (for fun) is "Humphrey...The Dentist", by Benjamin Lane, Cher
Klosner Lane. Works well too.
http://atomfilms.shockwave.com/af/content/atom_1478

Thanks to:
- Olivier Debon, Fabrice Bellard and Tomas Groth for the (great) original work.
- Everyone on the Xbox scene.



Logged

blueshogun96

  • Archived User
  • Sr. Member
  • *
  • Posts: 395
Porting Flash Game To The Xbox
« Reply #5 on: November 19, 2004, 03:44:00 PM »

Thanks for the info  B)  
Logged

Deryck

  • Archived User
  • Newbie
  • *
  • Posts: 18
Porting Flash Game To The Xbox
« Reply #6 on: November 26, 2004, 06:30:00 AM »

Can the sound and stuff even be done on the xbox or is it something that an xbox can't do?
Logged

UsagiY0jimb0

  • Archived User
  • Newbie
  • *
  • Posts: 9
Porting Flash Game To The Xbox
« Reply #7 on: November 26, 2004, 08:09:00 AM »

major kudos if they could get flash games to run, i.e Alien Hominid!  
Logged

chilin_dude

  • Archived User
  • Hero Member
  • *
  • Posts: 3068
Porting Flash Game To The Xbox
« Reply #8 on: November 26, 2004, 10:14:00 AM »

I think that we will be able to get sound, on the open flash site that was linked to:
QUOTE
News
15-10-2004: Version 0.4.12 is released! Get the packeage from the SourceForge filelist.
New features:
Support for MP3-compressed sound using libmad (which is now required)


That was released after the release of the xbox version, so maybe just intergrating these sources would get sound working!
Logged

deathx88

  • Archived User
  • Hero Member
  • *
  • Posts: 973
Porting Flash Game To The Xbox
« Reply #9 on: November 26, 2004, 11:19:00 AM »

i would love to see madness interactive on the xbox
best flash game ever  :D  
Logged

Boff

  • Archived User
  • Newbie
  • *
  • Posts: 24
Porting Flash Game To The Xbox
« Reply #10 on: December 06, 2004, 05:45:00 AM »

Hope sound is incorperated soon so I can here the rants of Foamy The Squirrel on my TV  :)  
Logged

VampX

  • Archived User
  • Hero Member
  • *
  • Posts: 1611
Porting Flash Game To The Xbox
« Reply #11 on: December 06, 2004, 07:23:00 AM »

The idea of homestarrunner on my tv makes me so very very happy.

(no i'm not gonna buy the dvd)
Logged

BlaCkAdDa

  • Archived User
  • Full Member
  • *
  • Posts: 133
Porting Flash Game To The Xbox
« Reply #12 on: December 06, 2004, 07:31:00 PM »

A good test would be to see if you could get frozen bubble to work on xbox with flash player
Logged