Re: [pygame] Python & pygame in the web

2008-12-08 Thread [EMAIL PROTECTED]
On 12/1/08, OsKaR <[EMAIL PROTECTED]> wrote:
>
> Is it any way to put python and pygame in a web? I mean to create a game
> and put it on the web like flash games.


if you want to use python for web games then i think at the moment
silverlight/moonlight and ironpython are your best bets.

Oscar
>


Re: [pygame] pygame web plugin

2008-09-10 Thread [EMAIL PROTECTED]
>
> One option that I didn't see mentioned in this thread is the new
> IronPython. IronPython is a new open source implementation of a fully
> compliant Python. There is also an open source project called Moonlight
> that allows IronPython to run in the browser.


i mentioned moonlight earlier in the thread.

> However, you will still likely not get pygame
> > games running! :)


i don't think it would have to be 100% compatible with pygame if this isn't
easy to achieve. as similar as possible would be enough for me.

maybe even the canvas html element could be enough. i just really prefer
python over javascript. :)

> Unless
> the Web Community and Industry decides
> that Python is a better language than
> JavaScript (and it is), and start implementing
> this as a standard in Web Browsers.

yes, this would be great and i think i have read something about a project
which aims to make this possible. but maybe that just was some article about
silverlight (or maybe about some pypy project). can't remember.


Re: [pygame] pygame web plugin

2008-09-07 Thread [EMAIL PROTECTED]
On 9/7/08, Ron Dippold <[EMAIL PROTECTED]> wrote:
>
> This is something Java actually does pretty well. I dislike it for the most
> part, but its sandboxing is better than anything I've ever seen (except
> certain secure OSes). Flash actually does it pretty well now too, though
> holes keep turning up occasionally. Interestingly, unless they've changed
> Flash or Java recently, I don't think there's anything that limits the
> amount of cpu or memory usage since I still see one occasionally running off
> into the weeds. The solution is just 'fix or don't run that jar/swf'.
>
> Anyhow, a security model needs to be included from the ground up, and
> python went for the opposite approach - giving you near unlimited power to
> tinker with things. Which is just great from an app dev standpoint - as long
> as you don't hang yourself it's astoundingly easy to make huge fundamental
> changes with small amounts of code. But its horrible if you're then trying
> to prevent the code from doing 'naughty' operations. There have been at
> least half a dozen attempts to sandbox python I can think of, all of which
> failed, scuttled by some obscure reef that ends up making the whole thing
> useless (because if there's a single hole, that's sufficient to blow the
> whole thing wide open). You're welcome to try again, of course, but at least
> research past efforts first.
>
> Porting python to a bytecode interpreter that's already secure has been the
> most successful so far (Jython, IronPython), and I really like the idea of
> using PyPy to convert to Flash. That seems the way to go to me, since
> everyone has Flash.


i like the idea of converting to flash with pypy too...

where can i find more information about this? is this useable already (by
non-hardcore computer scientists :))? is it necessary to write your code in
rpython then or can the full python language be used?


> Ron
>


Re: [pygame] pygame web plugin

2008-09-06 Thread [EMAIL PROTECTED]
On 9/6/08, J Dunford <[EMAIL PROTECTED]> wrote:

> On Fri, Sep 5, 2008 at 6:07 PM, [EMAIL PROTECTED] <
> [EMAIL PROTECTED]> wrote:
>
>> hi,
>>
>> i would like to bring up this topic again since a python based open source
>> alternative to flash which could be used to create browser games would
>> be super awesome. :)
>>
>> if i understand this correctly then the main problem of something like
>> that is security.
>>
>>
>
> In my experience, the general consensus with sandboxing python is - don't
> try it. There are simply too many holes to plug, and finding them in the
> first place is often a matter of trial and error.
>
> Having said that, there was a blog post recently (sorry, don't remember
> where) that talked about compiling Python into Tamarin VM code. There was
> some mention of either using PyPy as a starting point, or perhaps as a
> reference model.
>
> So what you're proposing may already be in the works. :)
>

yes, such projects are interesting... hopefully someday we will have the
choice of other languages than javascript in the browser.

what about silverlight and moonlight? are they taking off? i didn't hear
much anymore about them after the first announcements.




>
>
>
>


[pygame] pygame web plugin

2008-09-05 Thread [EMAIL PROTECTED]
hi,

i would like to bring up this topic again since a python based open source
alternative to flash which could be used to create browser games would
be super awesome. :)

if i understand this correctly then the main problem of something like that
is security.

i noticed on the blender mailing list that someone started to revive the
blender game engine web plugin. they use python too and apparently they have
found a way to sandbox python.

http://lists.blender.org/pipermail/bf-committers/2008-August/021660.html

what do you think about this?
wouldn't a web plugin be a big opportunity for pygame?
i am no expert on all of this though... maybe making a web version of
pygame is totally unfeasible?


Re: [pygame] controlled midi playback

2008-01-02 Thread [EMAIL PROTECTED]
thanks! it works great! :)

the next step for my project is figuring out the best way to read midi files
but this shouldn't be that hard... i found some specifications and example
code already.

On 1/2/08, Lenard Lindstrom <[EMAIL PROTECTED]> wrote:
>
> Here it is.
>
> Lenard
>
>
> [EMAIL PROTECTED] wrote:
> > thanks, i will keep trying to compile it considering your tips but it
> > would be nice if i could test your pypm.pyd in the meantime!
> >
>
>
>


Re: [pygame] controlled midi playback

2008-01-02 Thread [EMAIL PROTECTED]
thanks, i will keep trying to compile it considering your tips but it would
be nice if i could test your pypm.pyd in the meantime!

On 1/2/08, Lenard Lindstrom <[EMAIL PROTECTED]> wrote:
>
> I guess it is getting late. LIBCMT.LIB is one version of the VC 6.0 C
> library, so apparently isn't present in VC 7.1. I expect uuid.lib is
> still be available. I am not so sure about OLDNAMES.LIB, but then you
> did not mention a LNK1104 for it so I assume it is also available. So
> try replacing line 34 in setup.py with the following two lines:
>
>  libraries = ["portmidi", "winmm", "porttime"],
>  extra_link_args = ["NODEFAULTLIB:LIBCMT"])
>
> If it the linker complains about an invalid argument try adding a
> forward slash "/" before NODEFAULTLIB.
>
> Lenard
>
>
> Lenard Lindstrom wrote:
> > Python 2.5 extensions are compiled on Windows with vctoolkit2003 by
> > default. It is the same compiler used on Python 2.5. When I compile
> > with MinGW I get these warnings:
> >
> > Warning: .drectve `-defaultlib:LIBCMT ' unrecognized
> > Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized
> > Warning: .drectve `-defaultlib:uuid.lib ' unrecognized
> > Warning: .drectve `-defaultlib:uuid.lib ' unrecognized
> > Warning: .drectve `-defaultlib:LIBCMT ' unrecognized
> > Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized
> > Warning: .drectve `-defaultlib:LIBCMT ' unrecognized
> > Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized
> > Warning: .drectve `-defaultlib:uuid.lib ' unrecognized
> > Warning: .drectve `-defaultlib:uuid.lib ' unrecognized
> > Warning: .drectve `-defaultlib:LIBCMT ' unrecognized
> > Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized
> >
> > which appear to be related to the libraries portmidi.lib and
> > porttime.lib. Maybe the VC linker can ignore -defaultlib directives in
> > a library. I find there is a /NODEFAULTLIB:library linker option.
> > Maybe add something like the following to setup.py after libraries =
> > [] for win32:
> >
> >  extra_link_args=["NODEFAULTLIB:LIBCMT",
> > "NODEFAULTLIB:OLDNAMES", "NODEFAULTLIB:uuid.lib"]
> >
> > Or try running vcvars32.bat (is there one for the 2003 toolkit) before
> > executing setup.py.
> >
> > If you wish you may try the pypm.pyd I compiled MinGW. It links to
> > msvcr71.dll, which is the big issue with Python 2.5, and works with my
> > small test program.
> >
> >
> > Lenard
> >
> >
> > [EMAIL PROTECTED] wrote:
> >> that fixed the pyrex problem. i have the .c file now but there is
> >> another problem i ran into.
> >>
> >> i tried to use code::blocks and the vctoolkit2003 to compile the
> >> extension. i get this error message: fatal error LNK1104: cannot open
> >> file 'LIBCMTD.LIB'
> >>
> >> maybe you can give me another tip?
> >>
> >> what compiler did python 2.5 for windows get compiled with? i read
> >> somewhere that it can get messy if you don't use the same compiler
> >> for extensions.
> >>
>
>


Re: [pygame] controlled midi playback

2008-01-01 Thread [EMAIL PROTECTED]
that fixed the pyrex problem. i have the .c file now but there is another
problem i ran into.

i tried to use code::blocks and the vctoolkit2003 to compile the extension.
i get this error message: fatal error LNK1104: cannot open file 'LIBCMTD.LIB
'

maybe you can give me another tip?

what compiler did python 2.5 for windows get compiled with? i read somewhere
that it can get messy if you don't use the same compiler for extensions.

On 1/2/08, Lenard Lindstrom <[EMAIL PROTECTED]> wrote:
>
> Yeah. To make Pyrex compatible with C++ enumerations are no longer
> treated as integers, though assignment of an enumeration to an integer
> is still allowd. Not accepting an enumeration as a boolean value may be
> a bug. I would have to check. But then again it makes some sense. Just
> edit line 357 to be:
>
>
>    while(Pm_Poll(self.midi) != pmNoError):
>
>
> [EMAIL PROTECTED] wrote:
> > awesome! :) thanks a lot...
> >
> > now i only have to get pyportmidi compiled for python 2.5. i get this
> > pyrex error:
> > pypm.pyx:357:21: Type 'PmError' not acceptable as a boolean
> >
> > do you have an idea what causes this?
> >
> > On 1/1/08, *Lenard Lindstrom* <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> > This was something I put together to see if pygame and PyPortMidi
> > would
> >     get along. They do. It is very simple. You can use the keyboard or
> > the
> > mouse to play a four note pipe organ.
> >
> > Lenard
> >
> >
> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> wrote:
> > > thanks!
> > >
> > > and does anyone know if there are examples somewhere? like a
> simple
> > > program which allows you to play a midi instrument (best using the
> > > integrated synthesizer on the sound card) with the computer
> > keyboard?
> > >
> > >
> > > On 1/1/08, *Lenard Lindstrom* < [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>
> > > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
> > >
> > > Try http://alumni.media.mit.edu/~harrison/code.html
> > <http://alumni.media.mit.edu/%7Eharrison/code.html>
> > > <http://alumni.media.mit.edu/%7Eharrison/code.html>
> > >
> > > Lenard
> > >
> > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
> > > > thanks!
> > >     > http://sound.media.mit.edu/~harrison/pyportmidi/
> > <http://sound.media.mit.edu/%7Eharrison/pyportmidi/>
> > >     <http://sound.media.mit.edu/%7Eharrison/pyportmidi/>
> > > > < http://sound.media.mit.edu/%7Eharrison/pyportmidi/>
> >     > > it sounds like it is what i need but unfortunately it
> doesn't
> > > seem to
> > > > be available anymore...
> > > >
> > > > On 1/1/08, *Lenard Lindstrom* <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>
> > > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> > > > mailto:[EMAIL PROTECTED]>
> > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>>> wrote:
> > > >
> > > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > mailto:[EMAIL PROTECTED]>>
> > > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>>
> wrote:
> > > > > hi,
> > > > >
> > > > > i have a midi song (not polyphonic) and want to play
> > back
> > > one note
> > > > > after another triggered by key presses. what would
> > be the best
> > > > way to
> > > > > do this? i guess i can't directly do this with
> > pygame but
> > > i need
> > > > some
> > > > > midi library? does anyone know which one would be
> > suited
> > > for that
> > > > > (ideally it should work in linux and windows)? has
> > anyone
> > > tried to
> > > > > do something similar?
> > > > Check out the Python music page:
> > > >
> > > > http://wiki.python.org/moin/PythonInMusic
> > > > <http://wiki.python.org/moin/PythonInMusic
> > <http://wiki.python.org/moin/PythonInMusic>>
> > > >
> > > > Of the various midi packages PyPortMidi is still
> > available.
> > > >
> > >
> > >
> >
> >
> >
>
>


Re: [pygame] controlled midi playback

2008-01-01 Thread [EMAIL PROTECTED]
awesome! :) thanks a lot...

now i only have to get pyportmidi compiled for python 2.5. i get this pyrex
error:
pypm.pyx:357:21: Type 'PmError' not acceptable as a boolean

do you have an idea what causes this?

On 1/1/08, Lenard Lindstrom <[EMAIL PROTECTED]> wrote:
>
> This was something I put together to see if pygame and PyPortMidi would
> get along. They do. It is very simple. You can use the keyboard or the
> mouse to play a four note pipe organ.
>
> Lenard
>
>
> [EMAIL PROTECTED] wrote:
> > thanks!
> >
> > and does anyone know if there are examples somewhere? like a simple
> > program which allows you to play a midi instrument (best using the
> > integrated synthesizer on the sound card) with the computer keyboard?
> >
> >
> > On 1/1/08, *Lenard Lindstrom* <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> > Try http://alumni.media.mit.edu/~harrison/code.html
> >     <http://alumni.media.mit.edu/%7Eharrison/code.html>
> >
> > Lenard
> >
> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> wrote:
> > > thanks!
> > > http://sound.media.mit.edu/~harrison/pyportmidi/
> > <http://sound.media.mit.edu/%7Eharrison/pyportmidi/>
> > > <http://sound.media.mit.edu/%7Eharrison/pyportmidi/>
> > > it sounds like it is what i need but unfortunately it doesn't
> > seem to
> >     > be available anymore...
> > >
> >     > On 1/1/08, *Lenard Lindstrom* <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>
> > > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
> > >
> > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
> > > > hi,
> > > >
> > > > i have a midi song (not polyphonic) and want to play back
> > one note
> > > > after another triggered by key presses. what would be the
> best
> > > way to
> > > > do this? i guess i can't directly do this with pygame but
> > i need
> > > some
> > > > midi library? does anyone know which one would be suited
> > for that
> > > > (ideally it should work in linux and windows)? has anyone
> > tried to
> > > > do something similar?
> > > Check out the Python music page:
> > >
> > > http://wiki.python.org/moin/PythonInMusic
> > > <http://wiki.python.org/moin/PythonInMusic>
> > >
> > > Of the various midi packages PyPortMidi is still available.
> > >
> >
> >
>
>
>


Re: [pygame] controlled midi playback

2008-01-01 Thread [EMAIL PROTECTED]
thanks!

and does anyone know if there are examples somewhere? like a simple program
which allows you to play a midi instrument (best using the integrated
synthesizer on the sound card) with the computer keyboard?


On 1/1/08, Lenard Lindstrom <[EMAIL PROTECTED]> wrote:
>
> Try http://alumni.media.mit.edu/~harrison/code.html
>
> Lenard
>
> [EMAIL PROTECTED] wrote:
> > thanks!
> > http://sound.media.mit.edu/~harrison/pyportmidi/
> > <http://sound.media.mit.edu/%7Eharrison/pyportmidi/>
> > it sounds like it is what i need but unfortunately it doesn't seem to
> > be available anymore...
> >
> > On 1/1/08, *Lenard Lindstrom* <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> wrote:
> > > hi,
> > >
> > > i have a midi song (not polyphonic) and want to play back one note
> > > after another triggered by key presses. what would be the best
> > way to
> > > do this? i guess i can't directly do this with pygame but i need
> > some
> > > midi library? does anyone know which one would be suited for that
> > > (ideally it should work in linux and windows)? has anyone tried to
> > > do something similar?
> > Check out the Python music page:
> >
> > http://wiki.python.org/moin/PythonInMusic
> > <http://wiki.python.org/moin/PythonInMusic>
> >
> > Of the various midi packages PyPortMidi is still available.
> >
>
>


Re: [pygame] Collision Resolver module

2008-01-01 Thread [EMAIL PROTECTED]
did anyone look into box2d? (http://www.box2d.org/)
i think this also could be nice for using it with pygame. is there a python
wrapper for it? sorry for being slightly offtopic...

On 1/1/08, Laura Creighton <[EMAIL PROTECTED]> wrote:
>
> In a message of Tue, 01 Jan 2008 04:46:08 EST, bhaaluu writes:
> >Perhaps the collission-resolver module should be included in a "Game Engi
> >ne"
> >leaving PyGame as is?
> >
> >The collission-resolver is a really nice module, but adding it to PyGame
> >seems
> >like the beginning of creeping feature bloat? I'd rather see it added to
> >a Game
> >Engine, and have a nice tutorial written on how to implement it in severa
> >l
> >different types of game senarios.
> >
> >Happy Programming!
>
> If it isn't to go into pygame I would rather have it as another module
> to load, included as a library.  Thank you for writing this sjbrown.
>
> Laura
>
>


Re: [pygame] controlled midi playback

2008-01-01 Thread [EMAIL PROTECTED]
thanks!
http://sound.media.mit.edu/~harrison/pyportmidi/
it sounds like it is what i need but unfortunately it doesn't seem to be
available anymore...

On 1/1/08, Lenard Lindstrom <[EMAIL PROTECTED]> wrote:
>
> [EMAIL PROTECTED] wrote:
> > hi,
> >
> > i have a midi song (not polyphonic) and want to play back one note
> > after another triggered by key presses. what would be the best way to
> > do this? i guess i can't directly do this with pygame but i need some
> > midi library? does anyone know which one would be suited for that
> > (ideally it should work in linux and windows)? has anyone tried to
> > do something similar?
> Check out the Python music page:
>
> http://wiki.python.org/moin/PythonInMusic
>
> Of the various midi packages PyPortMidi is still available.
>
> --
> Lenard Lindstrom
> <[EMAIL PROTECTED]>
>
>


[pygame] controlled midi playback

2007-12-31 Thread [EMAIL PROTECTED]
hi,

i have a midi song (not polyphonic) and want to play back one note after
another triggered by key presses. what would be the best way to do this? i
guess i can't directly do this with pygame but i need some midi library?
does anyone know which one would be suited for that (ideally it should work
in linux and windows)? has anyone tried to do something similar?


Re: SV: [pygame] Fullscreen perfomance problems

2007-05-30 Thread [EMAIL PROTECTED]

Your driver are too old ?

http://www.pygame.org/docs/tut/newbieguide.html
   It might be slower anyway. Many drivers are not accelerated for the 
types of drawing that we do, and since everything has to be blitted 
across the video bus (unless you can cram your source surface into video 
memory as well), it might end up being slower than software access anyway.



John Eriksson a écrit :

Ok, some progress.

This gives poor perfomance:
FULLSCREEN|DOUBLEBUF|HWSURFACE

This gives poor perfomance:
FULLSCREEN|DOUBLEBUF

This gives poor perfomance and some bad flickering:
FULLSCREEN|HWSURFACE

This gives perfect result:
FULLSCREEN

What do you think about this?

/John



-  Ursprungligt Meddelande 
Från: pygame-users@seul.org
Till: pygame-users@seul.org 
Ämne: [pygame] Fullscreen perfomance problems
Datum: 2007/05/30 19:46

  

Hi,

I'm having huge perfomance problems when testing my game Slingshot in
fullscreen mode. There are no perfomance problems what so ever when


playing
  

in windows mode.

I've tried both with and without hardware surface display. When trying to
convert the images there are a huge perfomance boost but then I loose the
alpha values.

I've also tried to use convert_alpha but without improvement.

The original images are PNG with alpha-channel.

Is there anything I can do or is it impossible to get alpha-blitting
perfomance in fullscreen mode.

Oh, yeah...I only have this problems on Windows XP. There are no problems


on
  

Linux.

All ideas are welcome!

Best Regards
/John Eriksson









  




Re: [pygame] Help making surfarray work

2007-05-09 Thread [EMAIL PROTECTED]


Highlighted Numeric-24.2.win32-py2.5.exe and did a google search...
Gone most places, but found it here ..
http://blog.litwiniuk.net/2007/04/22/numeric-242-pod-win-dla-py25/
Not sure what language that is.. Chech, polish ??  don't know.
Hope it helps though.
Dennis





 --- On Wed 05/09, Elliott Slaughter < [EMAIL PROTECTED] > wrote:
From: Elliott Slaughter [mailto: [EMAIL PROTECTED]
To: pygame-users@seul.org
Date: Wed, 9 May 2007 18:56:24 -0700
Subject: Re: [pygame] Help making surfarray work

Sorry, the binary doesn't seem to be there:"The requested URL 
/~rene/stuff/Numeric-24.2.win32-py2.5.exe was not found on this server."Thanks 
again for your help.
On 5/9/07, René Dudfield <[EMAIL PROTECTED]> wrote:
Here's a numeric binary for windows 
python2.5.http://rene.f0o.com/~rene/stuff/Numeric-24.2.win32-py2.5.exeCheers,On 
5/10/07, Elliott Slaughter <
[EMAIL PROTECTED]> wrote:> I have been having trouble getting the surfarray 
module to work. I am using> Python 2.5.1 and Pygame 1.7.1 (both installed from 
binaries) on Windows XP.
> It seems that surfarray uses the Numeric module, which is no longer being> 
> actively supported. There is no binary for Numeric, and it would be some> 
> trouble to compile it from sources seeing as I have not bothered compiling
> anything else from source. I have seen the patch for making surfarray use> 
> Numpy instead of Numeric, but again, being a nube, I don't know how to use> 
> the patch to make surfarray work, and I can't seem to find any documentation
> on it. So I am wondering:>> a) What do I use to patch surfarray?> b) Does the 
> patch work on already installed versions of surfarray, or will I> have to run 
> it on the source code and then compile it from scratch?
> c) If I am forced to compile pygame to patch surfarray, will MSCV++ Express> 
> 2005 work, or do I need another compiler?> d) If I am forced to compile 
> pygame, do I need to compile python and> everything else from scratch as well?
>> Thanks in advance!>> --> "Any road followed precisely to its end leads 
>> precisely nowhere." -Frank> Herbert> Elliott Slaughter> 
[EMAIL PROTECTED]>-- "Any road followed precisely to its end leads precisely 
nowhere." -Frank HerbertElliott Slaughter
[EMAIL PROTECTED]


___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




Re: [pygame] PyGame Runtime

2007-05-07 Thread [EMAIL PROTECTED]


I don't know.. The drag and drop thing is nice and all, but it's pretty damn 
easy just to search for what you want in Synaptic, mark it, and click apply.
.
The whole central repository thing has advantages as well. What are the chances 
of getting malware from it ? It has to go through a screening process to become 
available in the repository. Not saying that it is impossible for baddies to 
get in there, but pretty darn difficult.
.
There is also nothing stopping a group of enterprising individuals from 
creating their own gaming repository. complete with all various versions of 
libraries, that might not be included in the main distro repo. but isn't it 
much easier to target your game to work on the more popular distros and submit 
them for inclusion there ?  You could worry whether your game works for kitten 
linux light, but why ? If there are users that want it, someone will build it 
for them.
.
Distribution through repositories is the best way. Unknown .exe's for download 
is why Windows users have the problems they do. Personaly, I don't want to get 
my software direct. If it's in the repository I know it's been through some 
screening and testing. This is not to say I wouldn't get some source code 
direct from someone who already has submissions in a repo. My level of trust 
would be greater from them I guess.
.
Just my 2 cents.
Dennis






 --- On Mon 05/07, Richard Jones < [EMAIL PROTECTED] > wrote:
From: Richard Jones [mailto: [EMAIL PROTECTED]
To: pygame-users@seul.org
Date: Tue, 8 May 2007 08:20:20 +1000
Subject: Re: [pygame] PyGame Runtime

On Tue, 8 May 2007, James Paige wrote:> Okay, I gotta step in here. Non-linux 
users should stop trying to impose> a windows-style installation scheme on 
Linux users.>> rpm's debs' and ebuilds are all great systems. All three of them 
do> something really tremendously important that windows/mac users often> fail 
to understand-- they handle dependencies.>> When packaging for Linux, you 
should NOT be trying to bundle in a copy> of python and pygame and all other 
dependencies. You should instead use> a packaging format which simply describes 
the packages/versions that it> depends on. The package manager handles the 
rest.Without wanting to be too rude about it, I have to say that's an 
interesting fantasy world you live in there :)1. while I'd like to believe that 
we'll magically get packages for all the games produced by PyWeek I know it's 
never going to happen.2. you'll never, ever get the library version sets 
correct. One game will require library X version 1.1.1, another version
  
1.1.2 (assume there's binary incompatibility between the two ;). You can't 
expect Linux distributions to maintain so many library versions, or cope with 
them all being installed. This means there's no single "dependency" that can 
satisfy all game's requirement for "library X".3. I'm speaking as a happy 
Ubuntu user here, but even synaptic etc. on Ubuntu can't hold a candle to the 
drag-n-drop installation of applications under OS X. Richard

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




Re: [pygame] PyGame Runtime EGGS

2007-05-06 Thread [EMAIL PROTECTED]


I like it.. I don't know crap about jars (which is what they compared it to).. 
But it seems to me it would be better compared to APT.
.
APT solved a lot of these same problems in Linux.
.
Just my 2 cents
Dennis




 --- On Sun 05/06, Laura Creighton < [EMAIL PROTECTED] > wrote:
From: Laura Creighton [mailto: [EMAIL PROTECTED]
To: pygame-users@seul.org
Date: Sun, 06 May 2007 22:04:29 +0200
Subject: Re: [pygame] PyGame Runtime

Python eggs are supposed to be the way to 
go.see:http://blogs.nuxeo.com/sections/blogs/lennart_regebro/2006_04_13_easter-python-eggshttp://peak.telecommunity.com/DevCenter/PythonEggsbut
 not http://www.python-eggs.org/ which doesn't appear to have anythingto do 
with the topic at all.But I have never made one.Laura

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




Re: [pygame] How to use the current Desktop Wallpaper as pygame background

2007-05-06 Thread [EMAIL PROTECTED]


In Linux, there is a command line utility called xwd , this is probably the 
best way to go, because it is included as part of the X-server packages... But 
(isn't there always one ?) The output file is saved as a ".xwd" file. Gimp has 
no problem displaying them, but other veiwers require Imagemagick to be 
installed.. and the conversion utils also seem to require it..
So.. the question is Can Pygame display ".xwd" files ?  If not, then is there 
an easy way to convert without installing more packages ?
.
If more linux packages have to be installed, then may as well use "import" or 
"fbgrab" which can make the conversion immediately. But as I said xwd is better 
because every linux user should have it.
.
Well, hope this helps you get the Linux version running anyway.
Dennis



 --- On Sun 05/06, Will McGugan < [EMAIL PROTECTED] > wrote:
From: Will McGugan [mailto: [EMAIL PROTECTED]
To: pygame-users@seul.org
Date: Sun, 06 May 2007 16:58:05 +0100
Subject: Re: [pygame] How to use the current Desktop Wallpaper as pygame 
background

Horst JENS wrote:>Please point me to solutions/code snippets because i doubt 
that i'm the>first with this question:>>How to use the current Desktop 
Wallpaper as a background graphic for>pygame ?>>Do i have to check wich 
OS/variant the user is running and then locate>the current Desktop Wallpaper 
file in the users file system ?>Like Linux/Gnome, Linux/KDE, Windows98, WinXP, 
MacOSX etc?>or is there an elegant solution that works with every OS/Variant 
?>>I don't care if i get the Desktop Wallpaper or a Screenshot of the>Desktop 
with all the Icons on it...>I want to make an action game where the user feel 
that he has to defend>"his" very own Desktop.>  >PIL has a ImageGrab modules 
that can grab the current desktop and return an image. Alas, the documentation 
says it is Windows only.Will

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




Re: [pygame] pygame and Ubuntu

2007-04-29 Thread [EMAIL PROTECTED]


Open a terminal..  Applications..Accessories..Terminal
Then type cd Desktop  (notice the uppercase D)
type ls
It will list the files on the Desktop (just like dir)
type python yourprogram.py  (whatever it is named)
See if that works..


 --- On Sun 04/29, Jason Coggins < [EMAIL PROTECTED] > wrote:
From: Jason Coggins [mailto: [EMAIL PROTECTED]
To: pygame-users@seul.org
Date: Sun, 29 Apr 2007 17:38:33 -0400
Subject: Re: [pygame] pygame and Ubuntu

I am trying to run them from the desktop by double clicking on them then 
selecting either run or run in terminal from the box that pops up.  I tried 
right clicking on the program to select "open with python" but that was not an 
option.  When I right clicked and selected "open with another application" 
python was not listed on the application list.  I know I have python 2.5 
installed because it states so on the synamtic package manager.Jason- 
Original Message ----- From: <[EMAIL PROTECTED]>To: 
Sent: Sunday, April 29, 2007 4:45 PMSubject: Re: 
[pygame] pygame and Ubuntu>>> How are you trying to run them ?> I have not had 
alot of success with the "open with python" right click > thing.. (but that's 
me, yours might work fine)> I usually just open a terminal, navigate to the 
directory containing the > program and type ..>  python myprogram.py>>>>> --- 
On Sun 04/29, Jason Coggins < [EMAIL PROTECTED] > wrote:> From: Jason Coggins 
[mailto: 
[EMAIL PROTECTED]> To: pygame-users@seul.org> Date: Sun, 29 Apr 2007 16:14:37 
-0400> Subject: Re: [pygame] pygame and Ubuntu>> Alright, I found the package 
and installed it but for some reason none of > the python programs I wrote will 
run on Ubuntu.  They run perfectly fine > on windows.  I already have Python 
2.5 installed on Ubuntu.  Is there > anything else I should get to make python 
run on Ubuntu?Jason-  > Original Message - From: <[EMAIL PROTECTED]>To: 
> Sent: Sunday, April 29, 2007 3:59 PMSubject: RE: > 
[pygame] pygame and Ubuntu>> Go to Synaptic and make sure Universe is > checked 
as a repository.. > update.. and search again.. (I used by > description and 
name) for pygame.>>>>> --- On Sun 04/29, Jason Coggins < > [EMAIL PROTECTED] > 
wrote:> From: Jason Coggins [mailto: > [EMAIL PROTECTED]> To: 
pygame-users@seul.org> Date: Sun, 29 Apr > 2007 15:19:44 -0400> Subject: 
[pygame] pygame and Ubuntu>> I am trying to > 
install pygame on the Ubuntu Linux operating system but I > cannot find it > in 
any software repository.  Could someone tell me where to > find a copy > in a 
software> repository for Ubuntu?Jason>> > 
___> Join Excite! - > 
http://www.excite.com> The most personalized portal on the Web!>>>> 
___> Join Excite! - 
http://www.excite.com> The most personalized portal on the Web!>> 

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




Re: [pygame] pygame and Ubuntu

2007-04-29 Thread [EMAIL PROTECTED]


How are you trying to run them ?
I have not had alot of success with the "open with python" right click thing.. 
(but that's me, yours might work fine)
I usually just open a terminal, navigate to the directory containing the 
program and type ..>  python myprogram.py




 --- On Sun 04/29, Jason Coggins < [EMAIL PROTECTED] > wrote:
From: Jason Coggins [mailto: [EMAIL PROTECTED]
To: pygame-users@seul.org
Date: Sun, 29 Apr 2007 16:14:37 -0400
Subject: Re: [pygame] pygame and Ubuntu

Alright, I found the package and installed it but for some reason none of the 
python programs I wrote will run on Ubuntu.  They run perfectly fine on 
windows.  I already have Python 2.5 installed on Ubuntu.  Is there anything 
else I should get to make python run on Ubuntu?Jason- Original Message 
- From: <[EMAIL PROTECTED]>To: Sent: Sunday, April 
29, 2007 3:59 PMSubject: RE: [pygame] pygame and Ubuntu>> Go to Synaptic and 
make sure Universe is checked as a repository.. > update.. and search again.. 
(I used by description and name) for pygame.>>>>> --- On Sun 04/29, Jason 
Coggins < [EMAIL PROTECTED] > wrote:> From: Jason Coggins [mailto: [EMAIL 
PROTECTED]> To: pygame-users@seul.org> Date: Sun, 29 Apr 2007 15:19:44 -0400> 
Subject: [pygame] pygame and Ubuntu>> I am trying to install pygame on the 
Ubuntu Linux operating system but I > cannot find it in any software 
repository.  Could someone tell me where to > find a copy in a software 
repository for Ubuntu?Jason>> ___> 
Join Excite! - http://www.excite.com> The most personalized portal on the 
Web!>> 

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




RE: [pygame] pygame and Ubuntu

2007-04-29 Thread [EMAIL PROTECTED]

Go to Synaptic and make sure Universe is checked as a repository.. update.. and 
search again.. (I used by description and name) for pygame.




 --- On Sun 04/29, Jason Coggins < [EMAIL PROTECTED] > wrote:
From: Jason Coggins [mailto: [EMAIL PROTECTED]
To: pygame-users@seul.org
Date: Sun, 29 Apr 2007 15:19:44 -0400
Subject: [pygame] pygame and Ubuntu

I am trying to install pygame on the Ubuntu Linux operating system but I cannot 
find it in any software repository.  Could someone tell me where to find a copy 
in a software repository for Ubuntu?Jason 

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




Re: [pygame] Re: Europython - FREE VACATION!

2007-04-29 Thread [EMAIL PROTECTED]


  A google search tells me that this one is in Vilnus Lithuania. I have not 
been there, but I did spend some time in Klaipeda and my experience with 
Lithuania in general was a positive one. (I plan to visit Klaipeda again 
someday)
  If I was not such a newbie hack at both Python and Pygame.. I'd be all over 
it. I would probably take a side trip to St Petersburg since it's "in the 
neighborhood". (well it is compared to Reno NV)
  I'm jealous.. traveling is so much fun, and to be able to use something like 
skills at Python and Pygame to help pay for it is awesome.

Dennis



 --- On Sat 04/28, Laura Creighton < [EMAIL PROTECTED] > wrote:
From: Laura Creighton [mailto: [EMAIL PROTECTED]
To: pygame-users@seul.org
 Cc: [EMAIL PROTECTED]
Date: Sun, 29 Apr 2007 00:21:28 +0200
Subject: Re: [pygame] Re: Europython - FREE VACATION!

In a message of Sun, 29 Apr 2007 03:02:33 +0930, Tim Ansell writes:>> I just 
wanted to do>> something to combat the known problem that people who live 
outside>> of Europe assume that Europython is not for them.>>Could the "Euro" 
part have something to do with it ;)>>> Laura>>Plus it's an evil 26 hour flight 
from most places in Australia :P>>Tim Ansell>PS Just ignore me, I am being 
cheeky.Not a chance.  In general, Europython loves cheeky people. so farpeople 
from Oz have made a big hit.Want to come? be willing to work? we even have 
'sweat equity'memberships Laura

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




Re: [pygame] Menu Selection

2007-04-25 Thread [EMAIL PROTECTED]

I hope you don't mind, but I snagged it for a look as well. I am not exactly 
making menus, but I am trying to get a better understanding on making "buttons" 
(I only have to make 108 of em for my 20 card keno) I have been collecting bits 
of code and experimenting to learn.




 --- On Wed 04/25, Dave LeCompte (really) < [EMAIL PROTECTED] > wrote:
From: Dave LeCompte (really) [mailto: [EMAIL PROTECTED]
To: pygame-users@seul.org
Date: Wed, 25 Apr 2007 15:25:14 -0700 (PDT)
Subject: Re: [pygame] Menu Selection

"Luke Paireepinart" <[EMAIL PROTECTED]>> Simon Jackson wrote:>> Hello, I want 
to make a program that lets you select an item from a>> list. Check out the 
screenshot below for an example:>>>> 
http://lemonlauncher.sourceforge.net/snap/snap3.png>>>> Can anyone point me to 
a tutorial or something similar that will show>> me how to do this?> If you 
have a series of rects that describe the menu boxes, it's trivial> to do a 
point-rect collision with your> list of menu items and the coordinates of the 
mouse.> Hints: pygame.mouse.get_pos()  and Rect.collidepoint(x,y)That's exactly 
what I do for my menu code. If you don't mind wadingthrough a more-or-less 
complete game, you can see my main menu code 
here:http://www.bigdicegames.com/Woody/BDG_07_04.zipLook at stateMainMenu.py 
which is a menu (a couple of buttons), and thenthere's stateNewGameMenu.py and 
stateOptions.py which look like modaldialog boxes, but operate the same way.The 
function in stateMainMenu.py to look at is 
"handleMouseButton" on line165, which iterates over the buttons, and checks to 
see if the user hasclicked inside the widget, and if so, calls a method on the 
widget.It's not a tutorial, but it might be useful.-Dave LeCompte

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




Re: [pygame] New here, me and my game

2007-04-09 Thread [EMAIL PROTECTED]


I am pretty hard headed when it comes to doing something on a computer that I 
know can be done. With my programming I research and try many things till I get 
it to work... of course learning in the process.

What is really neat with Python and Pygame, is there are so many ways to 
accomplish the same things. I am tackling different parts of my game and 
learning at each step. The things that I am (trying) to learn about OOP have 
shown me there are better ways to do the things I previously did. I have kind 
of been following the plan in my head to progress my game.. and although I 
might be able to keep going the way I have been without OOP and even get a 
finished game, it would be a huge peice of code (it already is)... besides, I 
know I can do this and I will keep plugging at it until I do.

Dennis


 --- On Mon 04/09, Rikard Bosnjakovic < [EMAIL PROTECTED] > wrote:
From: Rikard Bosnjakovic [mailto: [EMAIL PROTECTED]
To: pygame-users@seul.org
Date: Tue, 10 Apr 2007 00:10:28 +0200
Subject: Re: [pygame] New here, me and my game

On 4/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:> I am 99 percent 
certain that I am going to have to do most of it over, and probably more than 
once before I am through.That's what we usually call empirism, or "learning by 
doing". Keep upand it'll all add up eventually.-- - Rikard - 
http://bos.hack.org/cv/

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




[pygame] New here, me and my game

2007-04-09 Thread [EMAIL PROTECTED]


Hi,

  I have been playing around with Python for a bit, and Pygame for a couple 
weeks now. I did alot of programming in Basic wy back when. I have been a 
Linux guy since about 1999 (come a long way since then).

  Anyway, my latest project is a 20 card Keno game. It is based on the game 
that you would find in a casino (I live in Reno NV BTW) and my graphics are 
probably too close for comfort to the real game, but I don't really have much 
intention of selling it, so I don't worry about that (yet anyway).

My biggest challenge so far, is trying to fully grasp OOP. (I pretty much get 
it.. pretty much). As I just went into mad scientist mode, plunged into 
programming my game, I am 99 percent certain that I am going to have to do most 
of it over, and probably more than once before I am through.

I hope that this is the kind of group that doesn't mind helping people by 
spotting flaws in code, because I will probably have a lot more questions than 
answers for others for awhile.

Anyway, glad to be a new member.

Dennis



___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




[pygame] so how can i know?

2006-08-25 Thread [EMAIL PROTECTED]
so how can i know site population? i dont know this site popular or not_
Get free webmail @bumer.lt!
20MB enabled mailbox!
http://mail.bumer.lt/register

[pygame] pygame users list

2006-08-25 Thread [EMAIL PROTECTED]
where i can see all www.pygame.org registered accounts list?_
Get free webmail @bumer.lt!
20MB enabled mailbox!
http://mail.bumer.lt/register

Re: [pygame] ideas for renaming pygame-ctypes

2006-08-24 Thread [EMAIL PROTECTED]
hm... i wouldn't name it after a weapon even if it is catchy. how about something with a more positive connotation? :p
On 8/24/06, James Paige <[EMAIL PROTECTED]> wrote:
On Thu, Aug 24, 2006 at 08:25:10AM -0700, Peter Shinners wrote:> On Thu, 2006-08-24 at 22:14 +0930, Tim Ansell wrote:
> > > current pygame-ctypes SDL-wrapping core => Pistol, or PistolCore> > > higher-level pygame-ctypes stuff (sprites, etc) => PistolGrip> >> > How about Pystol (pronounced Pistol) and 
Pystol.Grip (pygame> > compatibility lib)>> Kind of catchy. I prefer without the "y" at this point, but the "i" will> be harder to search for. On the other hand, being a lower level library,
> I don't mind a lower level name.>Absolute balderdash! The tradition of naming python libraries afterMonty Python sketches is sacred!python-cytpes must be renamed pySelfDefenceAgainstFreshFruit and the
pySDL thin wrapper needs to be renamedpyThompsonComeAtMeWithThatRaspberryComeOnBeAsViciousAsYouLikeWithItThese are the /only/ sane choices, and anyone who disagrees with me is adamn communist!
---James Paige


[pygame] help!!!

2006-08-24 Thread [EMAIL PROTECTED]
i write this message and i sending this message for all subscripted users?_
Get free webmail @bumer.lt!
20MB enabled mailbox!
http://mail.bumer.lt/register

Re: [pygame] pypy?

2006-08-22 Thread [EMAIL PROTECTED]
sounds very promising!
 
...will the pypy-translator only be useable for the pypy source? will something like pyrex or shedskin emerge from it as a side effect? or will python on pypy-c be as fast as the kind of code pyrex or shedskin can produce anyway? :)

 
so far rpython just seems to be a set of rules for using normal python? will there be a real rpython interpreter/compiler (hm... that's the same question as above)?
 
On 8/22/06, John Eikenberry <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:> on their site they write:
>> "Rumors have it that the secret goal is being faster-than-C which is> nonsense, isn't it?">> python code will run faster than c? :)Their goal is to get it to run fast. The 'faster-than-c' bit is sort of a
half-joking goal. C is often used as a sort of benchmark, but is often donetonge-in-cheek given the history (http://c2.com/cgi/wiki?AsFastAsCee).> or does it mean python code will run faster than on cpython? or faster than
> on cpython+psyco? what performance will theoretically be possible?They are definaly shooting for something that will be much faster thancpython or cpython+psyco. The psyco developer is one of the core group
working on pypy and they are integrating pysco like optimizations into pypyallowing it to do a lot more than pysco can do for cpython.--John Eikenberry[[EMAIL PROTECTED]
 - http://zhar.net]__"It is difficult to produce a television documentary that is both incisiveand probing when every twelve minutes one is interrupted by twelve dancing
rabbits singing about toilet paper." - Rod Serling


[pygame] pypy?

2006-08-22 Thread [EMAIL PROTECTED]
hi,
 
sorry, this is a bit off topic i guess but in the other thread about the future of pygame + pygame-ctypes i read about speculations about the overall future of python and pypy... :)
 
i find the idea of pypy very fascinating but i am also confused about some details.
 
on their site they write:
 
"Rumors have it that the secret goal is being faster-than-C which is nonsense, isn't it?"
 
python code will run faster than c? :)
 
or does it mean python code will run faster than on cpython? or faster than on cpython+psyco? what performance will theoretically be possible?
 
...
and what about parrot? will this be interesting for python?


Re: [pygame] pygame webplugin

2006-07-08 Thread [EMAIL PROTECTED]
thanks for the links! python in firefox sounds nice.
 
python together with the canvas html element (canvas opengl support is also planned if i remember correctly) maybe the problem will solve itself? :) i think this would almost be like pygame... 
On 7/9/06, Bob Ippolito <[EMAIL PROTECTED]> wrote:


The C Python implementation can not currently be sandboxed in a way that makes this feasible. Brett Cannon has recently started working on a dissertation for a new restricted execution design [1], but don't hold your breath. 


 
A more viable solution would probably be to write a Python to haXe [2] translator (maybe a PyPy backend). Then you could compile down to ActionScript and run it in the Flash player, which has extremely high penetration and would be much better than trying to get users to install some crap just to play your game in a browser. The ActionScript 3 VM in Flash 9 is quite fast and would be suitable for pygame-like applications. This is of course non-trivial, but it would be a really exciting project if someone is so inclined. ActionScript 3 bytecode could also be used directly, but haXe would give you _javascript_ support for free as well.

 
This of course wouldn't get you SDL/pygame, but it wouldn't be hard to write something API compatible with pygame that used something else as a backend.
 
A somewhat easier alternative might be to write something API compatible with pygame that worked on top of Java via Jython. However, Java applets are much more annoying than Flash (longer load time, etc.).
 
[1] http://mail.python.org/pipermail/python-dev/2006-June/066344.html

[2] http://www.haxe.org/


-bob



On Jul 8, 2006, at 2:45 PM, [EMAIL PROTECTED] wrote:

i see. isn't there a way to block modules from being importable somehow? and only allow the absolutely needed and secure ones?
 
the same problem also exists with standalone pygame applications though, or not? someone could make a game that formats your harddisk? but with a webplugin it would be more serious since you potentially reach a bigger audience and it runs automatically? 
 
On 7/8/06, Luke Paireepinart <[EMAIL PROTECTED]
> wrote: 

[EMAIL PROTECTED] wrote:> hi,>> with google i came across various hints that people work on a pygame > webplugin. what did happen to these projects?>> i think having a python alternative to flash and java applets would be
> awesome! :)>> what are the difficulties involved in doing such a webplugin? i guess > if it were easy it already would have been done?The biggest problem I see is security.What keeps the web programmer from doing an 
os.popen("FORMAT C:/") orwhatever?you have to go through every function and make sure it's not a security risk, and if it is, eliminate it.Whitelisting would be the answer here I think, blacklisting would take
too long.But yeah, being able to do animations in python would roxxor. 



Re: [pygame] pygame webplugin

2006-07-08 Thread [EMAIL PROTECTED]
i see. isn't there a way to block modules from being importable somehow? and only allow the absolutely needed and secure ones?
 
the same problem also exists with standalone pygame applications though, or not? someone could make a game that formats your harddisk? but with a webplugin it would be more serious since you potentially reach a bigger audience and it runs automatically?
 
On 7/8/06, Luke Paireepinart <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:> hi,>> with google i came across various hints that people work on a pygame
> webplugin. what did happen to these projects?>> i think having a python alternative to flash and java applets would be> awesome! :)>> what are the difficulties involved in doing such a webplugin? i guess
> if it were easy it already would have been done?The biggest problem I see is security.What keeps the web programmer from doing an os.popen("FORMAT C:/") orwhatever?you have to go through every function and make sure it's not a security
risk, and if it is, eliminate it.Whitelisting would be the answer here I think, blacklisting would taketoo long.But yeah, being able to do animations in python would roxxor.


[pygame] pygame webplugin

2006-07-08 Thread [EMAIL PROTECTED]

hi,
 
with google i came across various hints that people work on a pygame webplugin. what did happen to these projects?
 
i think having a python alternative to flash and java applets would be awesome! :)
 
what are the difficulties involved in doing such a webplugin? i guess if it were easy it already would have been done?