[Q] Converting PC game to Xperia Play - Xperia Play Q&A, Help & Troubleshooting

Hello everyone. I was wondering if there is any way to convert the popular game, "I wanna be the guy" to the Xperia Play. Or for that matter, any Multimedia Fusion game. Since the game was made in Multimedia Fusion 2, and the source code was released, AND there is an option to export the game into android, it should be possible, right? If anyone knows how to do this, and will be willing to work on it with me, then please reply to this thread. Thank you.

The android export is only a placeholder-text at this point, it's still being worked on

Hmmm, well there is a java export. Maybe we could somehow import that into eclipse and then edit the buttons.

bballchace said:
Hmmm, well there is a java export. Maybe we could somehow import that into eclipse and then edit the buttons.
Click to expand...
Click to collapse
Its nowhere near that simple. While Android programs are programmed in "Java" theres way more behind the scenes with libraries involved and other parts of the Android SDK.
It could be done, but it is a staggering amount of work.

Rogue Leader said:
Its nowhere near that simple. While Android programs are programmed in "Java" theres way more behind the scenes with libraries involved and other parts of the Android SDK.
It could be done, but it is a staggering amount of work.
Click to expand...
Click to collapse
well, since thats basically out of the question, what if i got an html5 source code of a similar game that was made in gamemaker? would that be possible to port onto the Xperia Play? Sorry about me being such a noob, I am not familiar with the Android SDK, and only know C++

bballchace said:
well, since thats basically out of the question, what if i got an android export of a similar game that was made in gamemaker? would that be possible to port onto the Xperia Play? Sorry about me being such a newbie, I am not familiar with the Android SDK, and only know C++
Click to expand...
Click to collapse
Creating a game using game maker will only give you the binaries not the source, you cant just use it to make an android or iOS game.
Honestly the easiest way to make a game for android would be to create it in flash and then put in in some kind of wrapper to make it launch natively. The proper way to make a game would be to learn how to create one using C++ which will probably take a good few months before you could even create something basic. It depends how fast you are at learning new things.
However if you are going to learn programming I highly recommend starting somewhere easier like VB or Java to at least understand the general concept of programming. (preferably VB is you are a total newbie)

bballchace said:
well, since thats basically out of the question, what if i got an html5 source code of a similar game that was made in gamemaker? would that be possible to port onto the Xperia Play? Sorry about me being such a noob, I am not familiar with the Android SDK, and only know C++
Click to expand...
Click to collapse
That would be even more work than converting the Java program. There is no simple way to "Port" games from one platform to another unless there is an emulator (and they don't make PC emulators for Android, and even if they did it would probably run like ****).
Android games are programmed in Java, however the Android SDK has libraries to make it work for every possible function of an Android Phone. If you don't know Java, you won't get very far in making anything work on Android. There are also special libraries for the Xperia Play you will need to download and then program the code into the game to recognize the gamepad controls.
If you really want to do this I would go ahead and learn Java, make a few programs and then tackle the game. Its going to be quite the project, but you'll definitely learn a lot.

Related

Android application developer Guides (for Dummies!)

Hi all,
I created this thread to collect informations, suggestions and links for who want to start learning developing android applications, whitout being an expert developer.
I like programming (vb6, vb.net ) but I don't know anything about android and linux, and just a little about java... Now I bought an Hero and I met android world... I downladed Eclipse IDE, Android SDK and I starded with dev guide on SDK... I just take a look to helloandorid application... it works! and now? In the xml layout seems easy to add View like buttons or text... but how can I handle to the user actions like the button click? in vb is simple to manage the buttonpressed event...!
If someone knows some simple guides about java, eclipse and android, please let links on this thread!
Thank you!
This one's awesome for learning how to create widgets:
http://nm-blog.sanid.com/wp-content/uploads/2009/07/android_howto-hellowidget.pdf
here are some other resources you could easily find by using google search:
http://www.helloandroid.com/tutorials
http://nexsoftware.net/wp/2009/07/29/tutorial-creating-a-custom-analogclock-widget/
http://www.anddev.org/index.php
Other than that, just start from the simplest Hello World -examples on Google's own Android site.
I'm going to start leurning Android programming
If ill find nice links i will post them here. Is there btw a way to program inside visual studio? Cuz all tutorials on the net are using eclipse.
You'll need to use Eclipse to my knowledge as its all Java based. The other alternatives are the IntelliJ plugin and doing it all from Command line/Text Editor.
Back to the Topic, I'm just trying my hand at a little Android development this week too, the tutorials and manuals at developer.android.com have been great!
Another thing, while I remember, if you've done any sort of .NET/ASP.NET development before you should find it a breeze, apart from the lack of Visual Studio (best IDE that ever was), they're VERY similar compared to some other languages/technologies I've used.
HeY Furios, Im new to android dev also, so if you don't mind, I would like to follow you and share any info I find with you and to whom ever else would like any info...Thanx
SDK 2.1
Hi Guys,
I went onto the SE developer site and got he x10 SDK, but it only gives me the choice for a 1.6 virtual Machine. Is there another place that I have to go to get the SDK for 2.1?
Thanks.
It would be cool to learn how to develop roms as well...or is that much deeper?
Well guy's start here on this thread first >>>http://forum.xda-developers.com/showthread.php?t=667298
Made me think
need minor help!
im actually developing a few games, but im running into some seemingly basic issues, that i seem i cannot get to work. basically a button mash game, single/multi player, well on multi player i cannot for my life get the multi player functions to work, as in in the end the game already knows who the winner is based on an integer score, then it is supposed to use an sqlite database to take the highest scored player such as P1 or P2 and allow them to input there name to be permanently displayed. it cannot seem to differentiate using IF statements, but the feature does work with single player flawlessly, i may link source code if asked, TY

Run iPA files on Android?

Is that even possible? It'd be so awesome to have iPA files running on Android phones.
Prepare to be flamed.
Anyway, I used this simple analogy to explain it to my nephew: it would be like trying to play 360 games on a PS3.
mitch1974 said:
Prepare to be flamed.
Click to expand...
Click to collapse
/thread
Well, I know that these are two different OSs but, it's like all these modifications and Wine program @ Linux OS to run EXEs. All I say is that it would be just awesome to have some abilities to run iPA files.
Well.... hang on a sec...
this would be nothing like playing Xbox360 games on PS3, further than the fact its a different OS/Device playing the others games etc.
As far as im aware,and i could be wrong, they are both based off a Java SDK sort of structure. not 100% on that.
im not saying its going to happen, im just saying i think the SDK's are fairly similar in alot of senses
ok, i looked into it when i could finally be bothered haha
iOS is C
android is java
the only thing i could think is decompiling the IPA and recompiling it with a c compiler on android (if we have one of those). but even then it would probably be looking for the wrong libraries etc.
Man this should b a sticky!
Sent from my HTC Wildfire using XDA Premium App
RevenantX said:
ok, i looked into it when i could finally be bothered haha
iOS is C
android is java
the only thing i could think is decompiling the IPA and recompiling it with a c compiler on android (if we have one of those). but even then it would probably be looking for the wrong libraries etc.
Click to expand...
Click to collapse
iOS uses objective C and the Cocoa touch framework. Android uses Java. Even if they both used Java, still not the same since Android has its own "dex" format to store compiled class files.
Yes, you can make Android apps in C but it's still an extension of Java called the JNI. Look it up if you're interested. Still note even close to being possible though and I don't really have the time to explain why to you D) - try programming an Android app sometime and you'll know why.
nhnt11 said:
iOS uses objective C and the Cocoa touch framework. Android uses Java. Even if they both used Java, still not the same since Android has its own "dex" format to store compiled class files.
Yes, you can make Android apps in C but it's still an extension of Java called the JNI. Look it up if you're interested. Still note even close to being possible though and I don't really have the time to explain why to you D) - try programming an Android app sometime and you'll know why.
Click to expand...
Click to collapse
NDK Am I right? ;D
NickHu said:
NDK Am I right? ;D
Click to expand...
Click to collapse
yup
10char
What about an Emulator of sorts? If we can get Gameboy, or playstation games working on Android could someone make an emulator for playing IPA games?
RevenantX said:
ok, i looked into it when i could finally be bothered haha
iOS is C
android is java
the only thing i could think is decompiling the IPA and recompiling it with a c compiler on android (if we have one of those). but even then it would probably be looking for the wrong libraries etc.
Click to expand...
Click to collapse
If iphone has android emulator i.e compiling java app on c.Then why can't be vice versa i.e iphone emulator compiling c written app on java...............
As of java, it is a language which when compared to c, is much less complicated and less powerfull, see for example, various os like windows me,ios etc are written using it, and about java, it is a capable programing, and ofcourse we have good programs in it,like firefox, also various manfactures like sonyericsson,samsung,nokia,(even china phones too) are embedding java platform on their phones and gadgets, and you may have seen various java platform specifications,etc in their 'about phone' menu. So what we conclude from that is, these devices have a support/platform of java embeded in their os made from another programming language. But of cource the java have many things to do with the phone, even the whole working is depended on java sometimes, and for users only a part of that java platform is open by default,due to security issues,(remember security permission warnnings are shown when we install java programes in those phone, and security certificates are needed for various functions like filesystem access, network connection etc. But ofcource they can be hàcked by patching codes in os). And hence we call it a java os. Also there is a fact that java is one of the highly secured,yet simple programming language,and have varients like java se,me, etc.(me is used in small gadgets like phones). Java can be implimented as small packets(i mean only a part, which is required by user) and not as the whole java program. For example java me contains much less classes, headers etc than original java. It save memory as well as the whole hundreds of classes have nothing to do with a small gadget with limited processing power. Also the programming is bit changed in case of java me.
Google search about java to learn more..
In case of c, it too has varients and not every manufacture use the same c for their need, for example nokia use carbide c for programming app used in s60 phones. Windows me ,an os in c, used in old windows devices may use another c. It depends on manufacture, (u use a knife to cut veg, some other use it to cut wood, some other use to kill.. juz kidding, but see the fact that use depends on user). A bad fact about c, is though it is more powerfull, it requires more powerfull hardware. (Iphone may be more pretty if they use another), and hence implimenting c in java is like asking a sheep to carry a cow, but the reverse may be possible.
I think u may get an idea about the complex process.
But i am an optimist, if man can land on moon, then why cant c run on java. May be in future we can see that too. Well wishes for somebody(if) who work on it.
Sent from my HTC Wildfire using XDA App
Yes it is impossible
But you can run jar files on android . Just type in j2me for android on Google
Sent from my HTC Wildfire using xda premium
http://www.apportable.com/
Apportable offers to port iOS games to Android, but I've never used them myself.
vykana said:
http://www.apportable.com/
Apportable offers to port iOS games to Android, but I've never used them myself.
Click to expand...
Click to collapse
sound nice but im not runnin on X.OS but win8x86
ExpMadness said:
sound nice but im not runnin on X.OS but win8x86
Click to expand...
Click to collapse
use virtual box to run mac os x
from Web Browser
One way to start such but I do not know whether it is created.
Through the Internet browser
This would serve as a form of communication for entering values ​​from one side, from the other side to display unit.
On a web interface should be recorded IPA, this web interface would trigger it and knew you would, therefore, of the online via the browser knows how to use this application
:good:
Hellveig said:
Is that even possible? It'd be so awesome to have iPA files running on Android phones.
Click to expand...
Click to collapse
isn't there an ios emulator for android?

[Q] REAL hacking.

Hello there to all the souls of the xda forums.
im new to wp7. never used one before like 3 days ago. i like it, great device my surround is. but im not here to tell you about how good it is. we all know its good.
im here to ask if theres any real hacking going on with this thing yet. im looking for at least some kind of command line.
from there i could use tools such as aircrack, nmap, metasploit, SET, etc.
ive had an iphone for about 3 years, booting iOS and Android. i am used to hacking from that, but at the same time i know there a bigger user base for those devices, so theres more devs for it. i just wanted to know if anyone has already started on such a project before i dedicate alot of my time to developing this for you all.
BTW i am not interested in pirating apps, cracking apps
With enough effort, command-line interface *might* be possible - the OS technically supports such things - but the underlying core is Windows CE. Even less so than NT, CE really isn't meant for a CLI; apps are written with the intent of being run on a graphical interface. Also, having no POSIX compatibility and only partial Win32 compatibility, a lot of apps that you're used to from the desktop (or from POSIX-based phone OSs like iOS and Android) aren't going to be available.
That said, if you want to get started in the WP7 hacking space, there's certainly plenty to do. One project that I have on the back burner until I get some more urgent stuff out of the way is a SSH client. There are a number of things that are required here. First of all, we have homebrew Socket support, but the official SDK lacks it so you'd need to use a native Homebrew DLL. Second, there's no official command line interface, so you'd need to write one. The second point is all sorts of fun, since what you're really writing is a terminal emulator.
Other interesting projects include getting a unified cross-platform approach to writing to the filesystem, or even reading from all of it (instead of the relatively small portions currently accessible) or figuring out how to make third-party apps run in the background.
thanks man. I think I'll work on getting a full file browser for the phone. That should happen , i think, before anything else. As far as a terminal emu, it sounds like its going to be more of a chalange for me. Again, I'm used to more Linux and UNIX systems than I am windows. I had to reinstall windows 7 onto a partition just so I could sync the phone with the Zune software Microsoft insisted I use.
So is anyone currently working on the file browser? Has there been any progress with it? If so, who should I contact so I can help?
sea_bass said:
thanks man. I think I'll work on getting a full file browser for the phone. That should happen , i think, before anything else. As far as a terminal emu, it sounds like its going to be more of a chalange for me. Again, I'm used to more Linux and UNIX systems than I am windows. I had to reinstall windows 7 onto a partition just so I could sync the phone with the Zune software Microsoft insisted I use.
So is anyone currently working on the file browser? Has there been any progress with it? If so, who should I contact so I can help?
Click to expand...
Click to collapse
TouchXplorer. Do a bit of searching. A lot of homebrew has already been in the works.
thesecondsfade said:
TouchXplorer. Do a bit of searching. A lot of homebrew has already been in the works.
Click to expand...
Click to collapse
Thanks. Just found that page

Please explain what porting is. I'm still confused after countless google searches.

I'm called for a job interview this Monday. They need someone to port some programs children play with on the web to Android. It's educational software that looks accessible to children.
My only experience with porting is working with Unity and going back and forth from PC to my Android phones. My problem is I don't know how porting is done exactly.
Let's say I want to port a Java program to Android. Do I have to create a layer of coding around the original Java source code and make it work with Android? Or is it just modifying the original source code to fit the new platform?
I searched multiple forums and countless google searches. I'm going insane. Please help me!
Thank you! :laugh:
Well I guess it depends. Unless you are using a cross-platform framework (e.g. Xamarin), then it would involve re-writing the code in Java.
If you already have some Java back end code (e.g. some servlet implementation), then I would just create an interface to this module and leave it as it is. No point in rewriting working code in a language that already runs on Android (unless your one of these people who can't help themselves and has to refactor everything to death).
i dont think there is much for u to do, if the games are web based, just build a laucher that links to the games, otherwise look for similar games in android version and install them as a package on all phones.
Sent from my U8150 using xda app-developers app

'Ending' RT Port

Hello.
I was came across a charming little game and I was wondering if anyone would be able to port it to RT?
The game is, of course called Ending. I would have posted this in the RT Development thread but I haven't done enough posts for me to be able to do that so... sorry? Anyway, if anyone can port this then, well, thanks!
The source code, windows version, OSX version and Ubuntu version are all available here:
Oh, hang on, I don't seem to be able to post links either. just search 'robotacid ending' on google and it should be the first result. It'll be a page with the flash game and links to source code and the other stuff I said.
As it is flash there is little we can do for a native port. RT does include flashplayer in internet explorer so if there is a way to run Ending in browser then that should be an option, I'm not a flash dev so I'll let someone with more experience than I report on that one.
I'm a newbie to all of this and I've got to say, I'm pretty annoyed how little we can actually port. Is that due to the RT system or is it just how much Microsoft Visual Studio supports? Also does anyone know how to run flash games on RT if that's what I have to do.
Ruffa-Duffa said:
I'm a newbie to all of this and I've got to say, I'm pretty annoyed how little we can actually port. Is that due to the RT system or is it just how much Microsoft Visual Studio supports? Also does anyone know how to run flash games on RT if that's what I have to do.
Click to expand...
Click to collapse
You can't port a flash game to any os without its source anyways, thats not an RT limitation. To run flash just open the link or swf in the desktop version of internet explorer, I believe you need to modify some registry values to open them in the metro one.
I can play it in both desktop and metro IE 11. For a fullscreen experience just go to the URL + game.swf. I'm not sure what you want in a port. If you want me to put a that swf in a webpage and wrap it in a windows app and submit it to the store, I could do that, I have a dev license. If you want it ported to DirectX or JavaScript, sure it's doable, but a bit more work. Might be fun for a beginning project.
drearyworlds said:
I can play it in both desktop and metro IE 11. For a fullscreen experience just go to the URL + game.swf. I'm not sure what you want in a port. If you want me to put a that swf in a webpage and wrap it in a windows app and submit it to the store, I could do that, I have a dev license. If you want it ported to DirectX or JavaScript, sure it's doable, but a bit more work. Might be fun for a beginning project.
Click to expand...
Click to collapse
Erm... I'm not really fussy. I actually have this game on my iPod anyway so I don't really need or want it that much on my RT. I just figured it was a neat little game that had the source code available and it looked pretty simple so I assumed it might be able to ported which would hopefully benefit someone. But if you want to take a crack at it feel free.
Ruffa-Duffa said:
I'm a newbie to all of this and I've got to say, I'm pretty annoyed how little we can actually port. Is that due to the RT system or is it just how much Microsoft Visual Studio supports?(...)
Click to expand...
Click to collapse
Current porting desktop applications to run natively in Windows RT basically requires the following:
1. It has to be open-source.
2. It has to be compilable in Visual Studio. (No GCC or other fancy compilers)
1 is absolutely mandatory and this requirement will go nowhere (interestingly, this is what most people ignore when they come asking for a port)
2 can possibly be circumvented in the near future if the porting work goes more advanced. The VLC team has been working on a GCC port for Windows RT (ARM) as far as I remember, and you can also run Python & Perl code directly in Windows RT without going through Visual Studio.
While some applications are compilable in VS, they might require other components that might not compile there and bummer. But the main limitations are the two lines above.

Categories

Resources