xboxscene.org forums

Pages: 1 ... 3 4 [5] 6 7 ... 16

Author Topic: Launching Swf Files Via Kiosk Disk  (Read 2074 times)

kanderson

  • Archived User
  • Newbie
  • *
  • Posts: 9
Launching Swf Files Via Kiosk Disk
« Reply #60 on: December 29, 2005, 06:17:00 AM »

QUOTE(Altsi @ Dec 29 2005, 02:19 PM) View Post

I'm not sure if you have already figured this out, but this is about the button mapping used in xbox360 arcade (FLASH) games.

It seems that the A, B, X, and Y buttons on pad are referred as they would be in keyboard.
The movement (atleast 4-way pad) looks like its referred as keyboards arrow-keys and the start (|>) looks like its just a keyboard's S-key.

This could be easily figured out by playing HexicDeluxe.swf on PC (runs quite slow BTW).
I think it was in xboxhacker forums that someone found out that hexic uses xml files to localization.
So there seems to be xml support.


About the Hexic keyboard mapping : I did not have the time to figure this one out yet, but it seems like HexicDeluxe.swf is doing some specific stuff for this.

About the XML functionality : I am sorry, I was unclear, to support RSS Feeds we not only need the XML support , but we need XML support that loads off the network. It's now loading local files.
Logged

Altsi

  • Archived User
  • Newbie
  • *
  • Posts: 3
Launching Swf Files Via Kiosk Disk
« Reply #61 on: December 29, 2005, 06:33:00 AM »

QUOTE(kanderson @ Dec 29 2005, 03:24 PM) View Post

About the XML functionality : I am sorry, I was unclear, to support RSS Feeds we not only need the XML support , but we need XML support that loads off the network. It's now loading local files.


Yep, or atleast networking functions that would let us dl files from the net.
And somehow i doubt we have that this easily.
Logged

serialized

  • Archived User
  • Newbie
  • *
  • Posts: 2
Launching Swf Files Via Kiosk Disk
« Reply #62 on: December 29, 2005, 10:07:00 AM »

QUOTE(Altsi @ Dec 29 2005, 02:40 PM) View Post

Yep, or atleast networking functions that would let us dl files from the net.
And somehow i doubt we have that this easily.


There should be a few ways to identify what classess and global variables methods available in the system
in this particular document
Flash Document for probing methods/variables accessible to an object

It should be entirely possible to do the following
CODE

_root.createTextField( "txtLabel", 1, 0, 0, 1000, 720 );
_root.txtLabel.text += "_root properties\n";
for (var propName in _root)
{
     _root.txtLabel.text += ( propName + "\n" );
}

_root.txtLabel.text += "\n_global properties\n";
// Not sure if ASSetPropFlags function exists, but if it is we can uncover a lot more classess/functions
ASSetPropFlags(_global, null, 6, 1);

for ( var propName in _global )
{
    _root.txtLabel.text += ( propName + " values: " + _global[propName] + "\n" );
}

// Get System information
_root.txtLabel.text += "\nSystem capabilities\n";
// Not sure if ASSetPropFlags function exists, but if it is we can potentially uncover a lot more
// informations
ASSetPropFlags( System.capabilities, null, 6, 1 );

for ( var propName in System.capabilities )
{
     _root.txtLabel.text += ( propName + ": " +  System.capabilities[ propName ] + "\n" );
}


Hope we can get more information in regards to exposed properties/functions of both _root and _global

Regards.
Logged

kanderson

  • Archived User
  • Newbie
  • *
  • Posts: 9
Launching Swf Files Via Kiosk Disk
« Reply #63 on: December 29, 2005, 10:30:00 AM »

QUOTE(serialized @ Dec 29 2005, 06:14 PM) View Post

There should be a few ways to identify what classess and global variables methods available in the system
in this particular document
Flash Document for probing methods/variables accessible to an object

It should be entirely possible to do the following
CODE

 bunch of code in original post


Hope we can get more information in regards to exposed properties/functions of both _root and _global

Regards.


As posted, we tried to run a swf with a similar script. It will crash the flash player on the xbox. I am guessing it's due to the fonts in the dynamic textfields.
Logged

serialized

  • Archived User
  • Newbie
  • *
  • Posts: 2
Launching Swf Files Via Kiosk Disk
« Reply #64 on: December 29, 2005, 10:51:00 AM »

QUOTE(kanderson @ Dec 29 2005, 06:37 PM) View Post

As posted, we tried to run a swf with a similar script. It will crash the flash player on the xbox. I am guessing it's due to the fonts in the dynamic textfields.


How about if trying to creating textfield object on the fly

Hence.. instead of doing _root.textLabel.text += "string" all the time
We try to do this instead
CODE

var i = 1;
for (var propName in _global )
{
    _root.createTextField("txtLabel" + i, i, 0, i * 15, 1000, 15);
    _root[ "txtLabel" + i ].text = propName;
       i++;
}


instead? They might have restriction of how much characters can a textfield has, but certainly they don't have
limits on how many objects we can made (hopefull?)

Regards.

Note:
If this is also not possible, it is entirely possible to create a timer object that swaps the context of textfields
on the fly. Or if we're really desperate we can create 27 movieclips that represent each alphabet letter. And create a function that attaches movieclips of the passed argument. I.e. display( "propName" );
The movieclipe p, r, o, p, n, a, m, e (we can use alternate background color to indentify capital or small letter). Sounds farfetch, but I don't think MS/Macromedia restrict attaching movies tongue.gif
Logged

LiquidIce629

  • Archived User
  • Newbie
  • *
  • Posts: 20
Launching Swf Files Via Kiosk Disk
« Reply #65 on: December 29, 2005, 11:04:00 AM »

I just tried the Hexic files on my xbox 360 US edition (NTSC). I get a black screen. Is this restricted to use by PAL xbox360' for now?? Or am I not burning it correctly? I just dropped all hexic files including default.xbx into the root of the dvd and burnt in nero. Any tips or am i sol?
Logged

Chris_F

  • Archived User
  • Newbie
  • *
  • Posts: 20
Launching Swf Files Via Kiosk Disk
« Reply #66 on: December 29, 2005, 01:35:00 PM »

QUOTE(LiquidIce629 @ Dec 29 2005, 01:11 PM) View Post

I just tried the Hexic files on my xbox 360 US edition (NTSC). I get a black screen. Is this restricted to use by PAL xbox360' for now?? Or am I not burning it correctly? I just dropped all hexic files including default.xbx into the root of the dvd and burnt in nero. Any tips or am i sol?


I get the same thing. Hexic causes my xbox to freeze. I have a NTSC version as well. Will the kiosk disk only run on PAL xboxs?
Logged

cyberplague

  • Archived User
  • Newbie
  • *
  • Posts: 28
Launching Swf Files Via Kiosk Disk
« Reply #67 on: December 29, 2005, 01:48:00 PM »

QUOTE(Chris_F @ Dec 29 2005, 09:42 PM) View Post

I get the same thing. Hexic causes my xbox to freeze. I have a NTSC version as well. Will the kiosk disk only run on PAL xboxs?


Works on my NTSC Box, it is NOT PAL ONLY.

CP
Logged

ItalianMob

  • Archived User
  • Newbie
  • *
  • Posts: 2
Launching Swf Files Via Kiosk Disk
« Reply #68 on: December 29, 2005, 02:35:00 PM »

I'm with CP

I've got a NTSC box and it works just fine.

It might have been in the way you replaced the file in the ISO.

Just a thought

If you've tried networking capabilities outside your network and had those fail, have you though about networking to a local pc?  We know the xbox itself has this capability.  I've got MCE running and that proves that the box itself can spider a local network without bumping outside of the network.  If this is the case you could always create a xml spider on a pc to grab the info on a regular basis and then have the flash player load from that location on the local network.  This might bypass the crashing of the player.  As the player could have predefined "Trusted" sites to obtain information from.

Italian
Logged

Abaddon666

  • Archived User
  • Newbie
  • *
  • Posts: 3
Launching Swf Files Via Kiosk Disk
« Reply #69 on: December 29, 2005, 03:26:00 PM »

I just burnt the contents of the demo\hexic folder as root of a CD-RW using Nero. Before that, I also replaced the splash.swf with the one posted here. The disc boots on my pal Xbox360 Core without any probs.
Maybe you are missing some files of the kiosk disc.
By the way, is there already any flash game/movie/App which can be run instead of Hexic ?


Greetz,
Abaddon666
Logged

XBoxgeek

  • Archived User
  • Full Member
  • *
  • Posts: 168
Launching Swf Files Via Kiosk Disk
« Reply #70 on: December 29, 2005, 03:27:00 PM »

I just burnt a CDR with just Hexic on and it works fine. I used Nero 6 and used CD UDF as the template.
Screen shot
Logged

Abaddon666

  • Archived User
  • Newbie
  • *
  • Posts: 3
Launching Swf Files Via Kiosk Disk
« Reply #71 on: December 29, 2005, 03:35:00 PM »

These files should be in the root of your disc, check it.

54.wma
Badback.wma
Belkell.wma
Cobblers.wma
convectionui.ttf
default.xex
de_g.xml
de_k.xml
es_g.xml
es_k.xml
fr_g.xml
fr_k.xml
g.xml
gothic.ttf
HexicDeluxe.swf
HexicHDLoading.swf
it_g.xml
it_k.xml
ja_g.xml
ja_k.xml
k.xml
KeyMap_HXIC.xml
ko_g.xml
ko_k.xml
Lubax.wma
Oilyn.wma
pt_g.xml
SdGD_M.ttf
Slartisfgh.wma
Splash.swf
Underlow.wma
xarialuni.ttf
zh_g.xml
zh_k.xml


Greetz,
Abaddon666
Logged

LiquidIce629

  • Archived User
  • Newbie
  • *
  • Posts: 20
Launching Swf Files Via Kiosk Disk
« Reply #72 on: December 29, 2005, 03:43:00 PM »

Thanks for the screenshot and the filenames. It seems like whoever packaged these files used a bad program, it converted all of the files to use short filenames. I just went through and renamed each file to the correct file name, and I'm reburning to try again.

Will post back with my success or failures.
Logged

krawhitham

  • Archived User
  • Full Member
  • *
  • Posts: 212
Launching Swf Files Via Kiosk Disk
« Reply #73 on: December 29, 2005, 04:04:00 PM »

is a SWF based divx/xvid player possible?
Logged

PedrosPad

  • Archived User
  • Hero Member
  • *
  • Posts: 1277
Launching Swf Files Via Kiosk Disk
« Reply #74 on: December 29, 2005, 04:12:00 PM »

Just wanted to say "excellent R&D guys".  smile.gif I got an X360 for Xmas and this the most interesting thead I've read yet.   biggrin.gif

Not used AS for years (really!), certainly before XML was integrated.  Consequently, I've got an XML parser I implemented myself entirely in AS which I can contribute if eventually required (on a 5 1/4" floppy in loft  laugh.gif )
Logged
Pages: 1 ... 3 4 [5] 6 7 ... 16