Server Help

ASSS Questions - Does Python 2.5 work with AS3?

Animate Dreams - Tue Mar 04, 2008 9:00 pm
Post subject: Does Python 2.5 work with AS3?
I've been playing around with as3 on Windows, and my first goal is to get it to compile, in Dev-C++. Aside from a few problems where asss.dev references files that don't exist, I needed to install Python and put the .exe in windeps to get it to work. I've already set system.mk to reflect that I'm using version 2.5. But when it looks for the dll, it looks for Python24.dll. I don't have that, I just have Python25.dll. I already tried renaming it... but I didn't expect that to work. Anyway, is this going to work with Python 2.5, or do I have to use 2.4? I'll probably uninstall 2.5 and run 2.4 anyway because I've run out of ideas and I'm impatient, but it'll still be nice to know if it works with Python2.5 or not.
Anonymous - Tue Mar 04, 2008 9:13 pm
Post subject:
There may be a way to get it to work with 2.5, but I just used 2.4 and that worked fine. No reason to use 2.5 unless you use python for other things as well.
Additionally, python modules suck. There are a few things they lack which you can only do via c module. Just my personal opinion tho.
Animate Dreams - Tue Mar 04, 2008 9:16 pm
Post subject:
Agile wrote:
Additionally, python modules suck. There are a few things they lack which you can only do via c module. Just my personal opinion tho.


If I never wanted to use flags or compile AS3, then I wouldn't bother with Python.
Anonymous - Tue Mar 04, 2008 9:29 pm
Post subject:
Never realized the flag modules were python modules=( Lame.
Animate Dreams - Tue Mar 04, 2008 11:54 pm
Post subject:
Now that I'm using Python2.4 I'm still getting a weird error

Compiler: Default compiler
Executing make...
make.exe -f "Makefile" all
../windeps/install.exe core/backtrace ../build/asss.exe ../build/funky.dll ../build/turf.dll py/exec.py py/fg_turf.py py/fg_wz.py py/fm_password.py py/watchgreen.py ../windeps/zlib1.dll ../windeps/pthreadGC2.dll ../windeps/python24.dll ../windeps/libdb4.dll ../bin
process_begin: CreateProcess((null), uname -s, ...) failed.

Execution terminated


That's from Dev-C++... I have no idea what that means
Anonymous - Wed Mar 05, 2008 12:37 am
Post subject:
Looks like your copy of install.exe is buggy. All it does is copy all those files listed to ../bin, so you can replace it (in the makefile) with any equivalent method.
Doc Flabby - Wed Mar 05, 2008 5:42 am
Post subject:
I've got python25 to work fine. You need to copy python.exe and pythong25.dll to the windeps directory and then update the make files to use 25 instead of 24. Ive attached the make files I use, they may or may not help u. Also i recommend, if you have not already is you ensure you install mingw separate to dev-C++ as the version that comes with dev-c++ is very old and doesn't work with vista,
Animate Dreams - Wed Mar 05, 2008 11:58 am
Post subject:
Lol, I don't have vista. My problem now is that thing I just posted... I have no idea what that is or what to do about it.

When you got python2.5 to work, was that on Linux or Windows? If Windows, which compiler?
Dr Brain - Wed Mar 05, 2008 3:18 pm
Post subject:
Search for that createprocess failed thing. I've seen it in other threads.
Doc Flabby - Wed Mar 05, 2008 3:36 pm
Post subject:
Animate Dreams wrote:
Lol, I don't have vista. My problem now is that thing I just posted... I have no idea what that is or what to do about it.

When you got python2.5 to work, was that on Linux or Windows? If Windows, which compiler?

it was on windows, linux works with not changes. Try looking at the make files i uploaded and comparing them to your own (they in the rar file i attached) These definatly work for python.
tcsoccerman - Wed Mar 05, 2008 4:03 pm
Post subject:
Python is a good option because it supports "multi-operating systems" meaning you don't need to recompile it into a .so when changing from windows to linux, or a .dll in the other direction. You don't even need to compile it.
Smong - Thu Mar 06, 2008 12:13 pm
Post subject:
Instead of reading the last sentence and going "oh vista .... doesn't work ..." I suggest you try Doc Flabby's makefiles since it sounds like he made similar, probably better edits than me.

I think the "createprocess failed" thing is a hack to detect devcpp, only it doesn't work if you also have cygwin installed, see http://forums.minegoboom.com/viewtopic.php?p=75095#75095 for how I got devcpp to compile with python 2.5.
Animate Dreams - Thu Mar 06, 2008 1:49 pm
Post subject:
Smong wrote:
Instead of reading the last sentence and going "oh vista .... doesn't work ..." I suggest you try Doc Flabby's makefiles since it sounds like he made similar, probably better edits than me.


That's not what I did at all. I don't even have Vista. Besides, I've already deleted Python2.5 and replaced it with Python2.4. There's no telling what other kind of errors I might run into Python wise without me having any idea what's causing it. I'll get it running with 2.4, and then I'll worry about updating to 2.5.
Anonymous - Thu Mar 06, 2008 10:27 pm
Post subject:
Smong wrote:
Instead of reading the last sentence and going "oh vista .... doesn't work ..." I suggest you try Doc Flabby's makefiles since it sounds like he made similar, probably better edits than me.


Sometimes you can show a man the solution and he still will look for his own answer. My make files will work just as well for 2.4 if you simply rename 25 to 24....
Animate Dreams - Thu Mar 06, 2008 11:58 pm
Post subject:
I thought your makefiles were only for making it work with 2.5?
Doc Flabby - Fri Mar 07, 2008 10:23 am
Post subject:
Animate Dreams wrote:
I thought your makefiles were only for making it work with 2.5?

2.5 links into asss just the same as 2.4. It would simply be a matter or changing all references to 24 to 25. Theres no real difference in the c interface between the versions. I'm currently working on a make file that works for windows and linux. At the moment i'm having to use 2 different ones.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group