Related
Hello,
I've spent the last month trying desperately to find a free 2D (or 3D, but not required) graphics API I can use for high performance games on Windows Mobile. I initially set about trying to find a managed API to use, but now I've broadened my search to include any API (that I can call from C++ or .NET), and I'm still struggling to find anything.
The options seem to be:
- GDI: not nearly fast enough for high performance games
- DirectDraw: probably OK, but doesn't seem possible to use this on my HTC Touch Pro 2 due to memory problems (see http://blogs.msdn.com/windowsmobile/archive/2009/04/17/twisted-pixels-3-memory-mysteries.aspx -- I've got the same problem and have not yet found any way to work around this)
- Direct3D: no hardware driver on my Touch Pro 2, this renders about 0.2 frames per second in the samples, which is not good enough
- OpenGL: I've tried and tried, and can't get any samples working for this. The closest I've found is the tutorials here: http://www.zeuscmd.com/tutorials/opengles/index.php, but these all fail with an error, "Unable to create OpenGL|ES context" as soon as I run them (or alternatively using the "Ug" version, I get no window appearing at all).
Does anyone have any suggestions as to how I can progress from here? I really want to write some Windows Mobile games, but I can't even get started. :-(
Thanks,
Adam.
For 'better' graphics performance have a look at the 2D/3D Driver Development for MSM720X devices!
After installation of this driver pack try my OpenGL test app (source also available) found in my sig! Installing this driver pack will increase d3d performance, too!
Hi heliosdev,
Many thanks for posting the sourcecode for your OpenGL test -- I have that compiling very nicely here and producing very promising results too. I think this may finally be the answer I've been looking for.
Do you have any idea how much of a performance hit using PInvoke to interact with OGLES is likely to be? I don't know whether PInvoke is slow to use or not, but it strikes me that it may be slower use it hundreds of times per frame compared to coding directly in C++ and not needing to PInvoke at all..?
Thanks again,
Adam.
For comparison NuShrike implemented torus test in C++. As you can see the difference is 'minimal' even NuShrike optimized it using vertex buffer objects (I'm using standard vertex arrays and just triangles, i.e. no triangle strips).
This is the Droid VNC server discussion page.
Before reporting your success/insuccess install the latest build from this thread.
CHANGELOG:
v1.1RC0
- ICS support
- Changed to official libvncserver v0.9.9.
- Decoupled native screen grabber from jni sources, you wont need to have AOSP anymore to compile the daemon, just the precompiled libs.
- Fixed misc random segfault
- Added display rotation to 180, for zte
v1.0a3
- Rotation now fully working (on demand with F4 key)
- Speed improvements and bug fixes
- Improved server state detection (using IPC)
- changed to LibVNCServer from kanaka repository
- New webserver vnc client (noVNC), uses javascript
- Ability to make a reverse connection
- Two new framebuffer access methods (gingerbread and adb)
- New minimalistic interface
--------------------------
To download the app
Download from Play Store:
https://play.google.com/store/apps/details?id=org.onaips.vnc
OR
Download latest dev version:
https://github.com/oNaiPs/droid-VNC-server/tree/master/bin
still green on nexus one, froyo, frf83
Support for Nexus added on version 0.2b.
See my blog.
0.2b does work fine. Thanks.
Some things I learnt.
- Right click acts as "home" button press
- Escape on the keyboard acts as the "back" button
- Cursor keys work fine.
Cool
Now i'd just need to alter the framebuffer change detection to speed up the performance in updating screen...
How is the screen update performace on pc of nexus?
its not very snappy, slight delay before rendering new windows.
Whoah! Kudos to you, it works on my HTC EVO 4G!! Thanks a bunch!
wow i've been researching and looking into a possible solution to windows mobile mymobiler
www.mymobiler.com before making the complete jump to android and your project looks like a really good solution to mymobiler for me compared to the android screencast app
i was looking around on your blog (added it to my rss feed to keep up) i'm really interested in this
i'm a part time android user (dual boot windows and android 2.2) next time I switch over to android I will definitely install this and check it out with tinyvnc
keep the updates coming great job
and if possible add some of the ideas from mymobiler a lot of people are really interested in seeing a mymobiler for android and it looks like your working on a great solution
Green lines on HTC Desire.
Thanks for the job.
Is it possible to install landscape mode for looking on TV?
CU Ulli
If there are much people interested i think i can implement it
UPDATE: The app is already on the market, search for vnc server
Dear lord, this app is FANTASTIC! Works great (though the interface is a tad rough).
And just for fun, I couldn't help but try a camera feedback loop between my laptop & Evo running a VNC connection:
hxxp://i26.tinypic.com/2r2u7w1.jpg
Thanks so much for the app!
onaips said:
If there are much people interested i think i can implement it
UPDATE: The app is already on the market, search for vnc server
Click to expand...
Click to collapse
Very many thousands of users have a Dreambox Dbox or (Linux set-top box, satellite receiver) with VNC client. Look here: www_tuxbox_org
Greets Ulli01
Rotate VNC Window
Does anyone know how to rotate the VNC window (without rotating the entire desktop) for when the phone is in landscape mode?
This is cool!
Downloading in now.....
would be nice it to work on over wifi without rooting but nevertheless great app!
ulli01 said:
Very many thousands of users have a Dreambox Dbox or (Linux set-top box, satellite receiver) with VNC client. Look here: www_tuxbox_org
Greets Ulli01
Click to expand...
Click to collapse
Ok, i think it wont be to hard to implement it...
Don't hope to visualize movies this way though...
http installation:
download complete... installation successful.
market installation:
downloading droid nvc server... item downloaded successfully... installation unsuccessful: package is signed incorrectly.
evo 4g dc 3.2.3
Did you have an older version installed by apk? Please remove it...
i dont think so i got it from your qr and then tried to install from the market like 10 min later
also any help with this?
edit: uninstalled http version and market installed correctly which corrected problem 2
Hi... maybe this is no the correct site... but i have updated
iMAME4all site with the new iMAME4all Android port called MAME4droid
that I have been developing recently.
iOS iMAME4all is the best MAME mobile experience since iOS runs very
well iMAME. Android is very hard to deal with (performance) and till
Android 3.0 there is not HW 2D accelerated APIs.
Anyway... i think i have done a good job and with the correct HW...
MAME4droid is a very good experience.
Features:
Port of iMAME4all 1.9 for Android 2.1 and upper phone versions.
Native Support for Android honeycomb tablets.
Android 3.0 (Honeycomb) 2D Hardware Accelerated.
Autorotate. HW Keys remapping supported. Selectable hide/show touch
Controller. Smoothed image. Animated touch stick and more.
Some features still missing are: analog touch control, native wiimote (but you can use 3rd party apps on market) and overlays. The rest iOS features are
there.
I haven't published to market yet, as this is an early release and I'm waiting for comments and (hopefully very few) bug reports.
As a new user I'm not allowed to post links, so to download the apk, search for iMAME4all at google code site.
Maybe this is of interest to you or any of you friends.
I have a Acer Iconia A500 to test this with. Ill post my findings.
Link for others: http://code.google.com/p/imame4all/
Sent from my GT-P1000 using XDA Premium App
Thanks....let me know your findings.
I have published a b2...fixing a rotation bug...
Fantastic news. I tried it out and seems to be working great. Any possible chance to add support for wiimotes? I can't seem to get it to accept a key from it.
I am incorrect. It can work with wiimotes.
However, there is no way to change the the definition of keys for those of us without a physical keyboard.
Thanks a bunch for doing this work.
Fantastic work...had been hoping someone would pick this up.
Did some testing on my Galaxy 10.1 tab (Bonsai rom, 1.4gHz) and it went well with the few games I tried. On screen controls are a little sluggish but disabling the animated controls smoothed it out.
Please let me know if I can help with any testing. Will be watching this one closely.
So I have it loaded and it seems to run, but I have loaded several roms that are all on the list and all seem to fail. I get missing files for ever single one of the roms. Any clue as to why?
You mention that there isn't 2d hardware accel without honeycomb. Couldn't the 2d be drawn to a 3d layer? There are numerous hardware accelerated games on android 2.x
Yes I will do... But at first I wanted to do 2d engine, so buggy gles drivers were not a problem and supporting all kind of smartphones.
the 2d rendering is very good without filtering now...
how to make working roms? i tried several roms but without success..
Marcelo Henrique dos Sant said:
how to make working roms? i tried several roms but without success..
Click to expand...
Click to collapse
same here. it seems that most of the roms are missing files in the zip... I have verified that the same issue also happens in the desktop version of the same build this is made from. So not many roms seem to be working and the rom checker program doesn't fix any of them or I just don't know how to work it.
Sadly that port is not usable for me simply because the onscreen controls dont seem to work right. The analog stick doesnt center unless I lift my finger off the screen. Dead zone on/off doesnt change that. Is this actually supposed to be that way or is it a bug.
I use this on the subway a lot and I was wondering if others would find it helpful to have a quick pause feature. Maybe touch the middle of the screen to pause/unpause.
Just wanted to make that suggestion.
I really like this Mame port, fast, good looking and compatable with many games !
I found a full working romsets in the usual places (just check for mame gp32 romset).
I usually play using a wiimote or a gamepad (android 3.2 is great for that!).
BTW is there an option to enable more buttons on the virtual joystick ? As I have 4 in portrait mode, but only 2 in landscape one.
Also, do you plan to add 2 players support in the input settings?
Thanks for your hard work ! It's so nice to play those good old games on Android.
Can the "Mahjong electron base" game run on Android SYS?
I have the game source of mame for PSP
how to change it to run the mahjong electron base game on Android SYS?!
http://forum.xda-developers.com/showthread.php?t=1274215
running on galaxy s starts with buttons and a black screen. then android tells me app is not responding.
I ran this on my gtab 10.1 and it works GREAT!!! I use to use winmo and this is far better than any mame emulator i used there. Great work!!
Hello this is a good working emulator. But i was wondering if it is possible to change or create a conf file, to change the location of the roms folder.
Hi guys
As mame4droid will never support save state
i was thinking does anything know anyway of freeezing it i mean keep it running in the background, without having the android reset the emulators status after a while in the background
that way rather than save state we could resume it and open up from the background and resume our games that way(bit like the xperia play emulator resume method).
i've tried other mame emulators they support save state but dont support dip switches this is pointless as i always like upping the difficulty in my games. mame4droid allows this.
p.s i already tried freezing mame4droid with titanium backup,
no joy
after unfreezing the app resets itself and u lose your rom status.
any help is much appreciated.
Intercepter-NG is a multifunctional network toolkit for various types of IT specialists. It has functionality of
several famous separate tools and more over offers a good and unique alternative of Wireshark for android.
The main features are:
* network discovery with OS detection
* network traffic analysis
* passwords recovery
* MITM attacks (ARP spoofing, DNS spoofing ...)
* security scanner
Intercepter-NG [Android Edition] v2.8
+ Captive Portal MiTM (Mostly for Windows targets)
+ SSL MiTM (HTTPS with SNI support)
+ SSH2 MiTM (Passwords + Sessions)
- ARP Defender removed
- Forced Download removed
* OUI and fingerprints updated
* X-Scan's report saving
* Samsung related bug fixed
* MDNS issue fixed
* Icons optimization
* SSLStrip improved
* Fixes and improvements
* Android support 5-12+ (x86, ARM, ARMv8)
[APP][4.4+] Intercepter-NG 2.5
-----
Intercepter-NG [Android Edition] v2.5
+ Automatical Save&Restore of routing rules and iptables
+ Preloaded results of the last scan + prescan on startup
+ Text resize by gestures, tab switch by swipes, vibro reactions
+ OS Fingerprinting system based on Satori format
+ Port Scan upgraded to X-Scan with EternalBlue checker
+ Scanning engine is greatly improved
+ HSTS Spoofing with improved sslstrip
+ Self-diagnosis for troubleshooting
+ LOTS of other fixes and improvements
************
* UI updated
* libpcap updated to 1.9.1 (for API >=24)
* No more SuperSU and Busybox dependencies -> Magisk
* Android support from 4.4 up to 10+ (x86, ARM, ARMv8)
************
https://github.com/intercepter-ng/intercepter-ng.github.io
Looking great!!
Sent from my Galaxy Nexus running Android 4.2 JB
Feel free to post feedback and features requests.
Will you make this open-source?
Or does it send the recovered passwords directly to you?
devrruti said:
Will you make this open-source?
Or does it send the recovered passwords directly to you?
Click to expand...
Click to collapse
lol, NO to both questions.
Hi. Does it run on lower resolutions? Like 480*854 or 320*240? And how is this different from DSploit? A lot of your features can be found in DSploit and that works great Ofc that is an open source project.
Keep up the good work
crancker said:
Hi. Does it run on lower resolutions? Like 480*854 or 320*240? And how is this different from DSploit? A lot of your features can be found in DSploit and that works great Ofc that is an open source project.
Keep up the good work
Click to expand...
Click to collapse
its runs on lower resolutions.
dsploit have a lot of useless functions and doesn't sniff a lot of stuff that intercepter do.
dsploit doesnt handle that much auth methods (http filter is very smart).
dsploit doesnt reconstruct files from tcp stream.
dsploit doesnt intercept messengers.
it says it does sslstrip, but i never had a luck with it.
at last, intercepter has unique raw mode.
And dSploit is open-source
One can easily dissassemble it with dex2jar and jad so if someone wants a source he can get it.
Why not share the experience you gathered with the world?
Sent from my Galaxy Nexus running Android 4.2 JB
mDroidd said:
And dSploit is open-source
One can easily dissassemble it with dex2jar and jad so if someone wants a source he can get it.
Why not share the experience you gathered with the world?
Sent from my Galaxy Nexus running Android 4.2 JB
Click to expand...
Click to collapse
actually, you dont know what you talking about.
dsploit is just a wrapper for different tools. it doesnt gather passwords itself (it runs ettercap), it doesnt scan network itself (it runs nmap) and so on.
android version of intercepter is just a wapper for original intercepter-ng console edition written in c. dex2jar will show you nothing
I just ran your tool, and I must say it's faster then dSploit.
But I have to say you really have to improve the UI.
You should make it more verbose, too. Some buttons won't tell people anything.
Good work
Sent from my Galaxy Nexus running Android 4.2 JB
Demo video - http://www.youtube.com/watch?v=IGVj2toH1Fc
Hey! It is just not starting. I am using a ZTE Grand X In with 4.0.4. The phone is rooted. After I click on the icon it seems like it is starting, but nothing happens. What should I do?
bkelemen said:
Hey! It is just not starting. I am using a ZTE Grand X In with 4.0.4. The phone is rooted. After I click on the icon it seems like it is starting, but nothing happens. What should I do?
Click to expand...
Click to collapse
first of all check if busybox installed. after that turn off your 3g connection and leave only wifi active.
Intercepter-ng said:
first of all check if busybox installed. after that turn off your 3g connection and leave only wifi active.
Click to expand...
Click to collapse
Actually it seems like the problem is on my end. I did install busybox, but since my phone has an Intel cpu in it, and all the busybox apps are written for ARM the problem might lie there. Hopefully there's gonna be a version which actually supports Intel. Thx anyways!
bkelemen said:
Actually it seems like the problem is on my end. I did install busybox, but since my phone has an Intel cpu in it, and all the busybox apps are written for ARM the problem might lie there. Hopefully there's gonna be a version which actually supports Intel. Thx anyways!
Click to expand...
Click to collapse
oh, sure it wont run...intercepter also compiled for arm.
http://sniff.su/intercepter.apk updated
intercepter now detects and prevents user from outer arp poison attacks. it doesnt just turns off wifi connection, but blocks attacker and allows to continue inet surfing.
http://sniff.su/intercepter.apk updated
runs on android >=2.1 (previously only 2.3)
new gallery tab. shows reconstructed pictures.
It cant find gateway
I have problem on milestone with android 4.0.3 (rooted - busybox 1.20.2 - 3G off)
In the first screen it finds other hosts, and correctly shows device IP and gateway but on the arp spoofing section after pressing play button it prints "Strating capturing on tiwlan0 ((null))" and after about a minute it prints Gateway not found
Thats strange. somehow gateway doesnt respond on arp requests for defined period of time. Are there any securty options set on your wifi network?
I have that problem: 'Interface not found,very strange'..anybody had this messege?
Sent from my GT-I9001 using xda premium
Only created my account today, so I don't have enough posts to put this in the developer section. Maybe someone can help me out.
I managed to get the Quake2 source from Ids ftp server to build (with a lot of warnings) for ARM in Visual Studio 2012.
I've attached a screen shot and the binaries to this post.
All you need to do is drop the pak0.pak and players folder into baseq2.
Enjoy!
EDIT: should also mention that this is a native port (not .net or winrt) -- props to XDA guys for the hack!
EDIT2: for those with errors, keep in mind you need the pak files and players folder from the quake2 install for this to work (or you can grab them from the demo). Google is your friend! . If you encounter the famous "water crash" then run "sw_waterwarp 0" in the quake console.
EDIT3: For a joke. I've added the OpenGL Quake2 renderer and a software based OpenGL implementation (built from an older version of Mesa3D) as attachments. Given that Windows RT doesn't have support for OpenGL this is probably as good as its going to get without a port that has Direct3D support. While the OpenGL version looks much better, be warned.. it runs __very__ slow. If you want to give it a try, just go into video options and change the 'driver' option to "default opengl". Enjoy!
EDIT4: So.. in an effort to clean up some of the bugs, I stumbled upon KMQuakeII which has an 'unofficial' 3.23 patch for the Quake 2 source. I've managed to compile that version of the source for ARM. I was hoping this would fix the full screen issues, but it didn't. Regardless, there are probably worthwhile bug fixes anyway.. so I'm posting it here. There are also extra video modes in this version (very easy to add btw!) however the 1366x768 mode didn't work correctly on my Surface.
Well done! Link added to the list. Much appreciated...
bfosterjr said:
Only created my account today, so I don't have enough posts to put this in the developer section. Maybe someone can help me out.
I managed to get the Quake2 source from Ids ftp server to build (with a lot of warnings) for ARM in Visual Studio 2012.
I've attached a screen shot and the binaries to this post.
All you need to do is drop the pak0.pak and players folder into baseq2.
Enjoy!
EDIT: should also mention that this is a native port (not .net or winrt) -- props to XDA guys for the hack!
Click to expand...
Click to collapse
cool, seems to run nicely, -just using one core.
At first : Thanks for the work!
But i get an Error :"Couldn't load pics/colormap.pcx
(on Surface Jailbrocken)
I can't manage to open it. It says there is an error.
Another question... I want to do it for Bluestacks. Do you know anyone that could've done this? Thank you.
save_jeff said:
At first : Thanks for the work!
But i get an Error :"Couldn't load pics/colormap.pcx
(on Surface Jailbrocken)
Click to expand...
Click to collapse
Make sure you have the pak files and players folder from your quake2 install in the baseq2 folder. If you don't own quake2 then you can grab these files from the quake2 demo install (google for it). Good luck!
Awesome job!
I got mine working smoothly
There is some issues that often when I load saves the game crashed (quake2.exe has stopped working)
I have no idea. Save game works perfectly and start new game works as well.
Looks like this guy back in 2005 have the same problem (except he is using... Amiga?): ht tp://eab.abime.net/showthread.php?t=17808
Tanks i did not know that ;]
I Will get a Demo right now ans try ist.
Does it work with any Version of quake II ?
---------- Post added at 10:54 PM ---------- Previous post was at 10:29 PM ----------
Okay now it works like a charm! Realy impressiv
shog7n said:
Awesome job!
I got mine working smoothly
There is some issues that often when I load saves the game crashed (quake2.exe has stopped working)
I have no idea. Save game works perfectly and start new game works as well.
Looks like this guy back in 2005 have the same problem (except he is using... Amiga?): ht tp://eab.abime.net/showthread.php?t=17808
Click to expand...
Click to collapse
Yeah, there could be several bugs in it. This is built straight from iD's source. There are many other 'ports' of quake2 that have encountered and (in some cases) fixed various bugs. Still, its extremely playable even with a few annoying bugs!
I cant get mine to go to full screen.... is this usual behaviour?
advancedservers said:
I cant get mine to go to full screen.... is this usual behaviour?
Click to expand...
Click to collapse
Yep. The pure Quake2 source has known issues with full screen on "odd" resolutions. Given the time frame for when Quake2 was developed.. the 1366 x 786 resolution that is common today doesn't make any sense that's why its "not supported". There were some unofficial patches added to Quake2 many years ago to add wide screen support and more resolutions. A lot of people also fixed the problem by just using the OpenGL version (which I could also provide binaries for.. but its _dog_ slow). What I've ported here is the 'software render' which got very little attention once the '3d boom' hit. If I get bored, I may see if I can get full screen working in the software renderer.
Joystick or Xbox Controller?
App is cool and runs well with mouse or keyboard but I have tried joystick and Xbox controller (both recognised by WinRT) and app ignores both. I have turned on Joystick under options.
I didnt get any bugs yet.
But Fullscreen would be nice
Woww this game bring me so many good memories nice work!!!
advancedservers said:
I cant get mine to go to full screen.... is this usual behaviour?
Click to expand...
Click to collapse
Same here. 800x600 is the best resolution to me..
Btw can you load your saves after close the game and restart it?
For what its worth, I've updated the original post with 'newer' binaries and software based OpenGL support. The fullscreen thing is also bothering me so I'll put some effort into that over the next couple days -- hopefully its been fixed in a different Quake2 port and I just need to migrate the code over. Cheers!
If you don't mind me asking where did you get the source files from? I would have done this two days ago but I couldn't open the project files from id's github. I then tried quake 3 and doom 3 but getting those working is a different problem entirely. Those games have inline assembly in them that I don't have the skill to replace.
johnnyfives12 said:
If you don't mind me asking where did you get the source files from? I would have done this two days ago but I couldn't open the project files from id's github. I then tried quake 3 and doom 3 but getting those working is a different problem entirely. Those games have inline assembly in them that I don't have the skill to replace.
Click to expand...
Click to collapse
The source came straight from ftp.idsoftware.com. There is a lot of pain in getting a working vs2012 solution file and convincing the source that Win32 does not imply x86! Many issues with libs and older CRT functions too. Just takes time, patience and good experience with VS & C code.
You're absolutely right about Q3 or Doom3. They will require an overhaul and will need to be ported to Direct3D10+. Sadly I don't have the spare time to get _that_ involved -- though I'm happy to help if someone wants to lead the charge.
Cheers
Game crashes sometimes when I try to load a saved game. Also performance is far from what I expected. I remember playing it on my Nokia n95 with software renderer and it was fluid, on surface higher resolutions cause serious performance degradation. The more I use desktop apps ported to Windows RT(quake, dosbox) the more I think that tegra 3 suck.
bartekxyz said:
Game crashes sometimes when I try to load a saved game. Also performance is far from what I expected. I remember playing it on my Nokia n95 with software renderer and it was fluid, on surface higher resolutions cause serious performance degradation. The more I use desktop apps ported to Windows RT(quake, dosbox) the more I think that tegra 3 suck.
Click to expand...
Click to collapse
Same loading problem here...
But it runs pretty fluid on my Surface...