|
Post by sebaceo on Dec 2, 2007 20:29:27 GMT
can someone create a port compiled to run on a pocket pc, please,
|
|
|
Post by ltronic on Dec 4, 2007 23:19:36 GMT
hi !
just made a checkout on the latest svn build, did a lot of fixes to it to compile as pure C code under VS2005, and got a build compiling and linking, using Arisme modified SDL 1.2.6 for WinCE. I'm debugging it, it seems to be working but during JE_main() PocketPC emulator tells me i'm calling an unsupported emulation function.
The file paths need to be worked out since there is no current directory under WinCE. Will keep it debugging tomorrow's evening and keep in touch with progress.
Rather a quick'n'dirty port so don't expect much of it honestly.
|
|
|
Post by sebaceo on Dec 9, 2007 16:07:09 GMT
THIS IS GREAT NEWs
I hope you have succes on the porting,
i wil post it news in pocket pc sites
sorry about my english, i speak spanish
thanks...
|
|
|
Post by tansoftware on Dec 10, 2007 20:16:12 GMT
That would be great... I've been suffering trying to run Tyrian using dosbox for PPC. I'm seriously addicted to this game, but can't seem to run it decently on my PPC using DosBox.
Thanks for you effort and work :-)
|
|
|
Post by ltronic on Dec 16, 2007 20:48:24 GMT
just a quick update
after a lot of debugging the quick'n'dirty port was not working... I think one of the main underlying problems was the lack of "current directory" support... OpenTyrian code is really messy, I will give it another shots in a few weeks, probably reusing some code from ScummVM for WinCE which implements missing basic libc functions under wince, including getcwd() support
|
|
|
Post by Mindless on Dec 16, 2007 21:22:19 GMT
OpenTyrian code is really messy I'd agree with that ;P
|
|
|
Post by yuriks on Dec 17, 2007 16:52:16 GMT
Indeed I do.
|
|
|
Post by sweetlilmre on Dec 19, 2007 12:40:15 GMT
Hi,
I have sucessfully ported Tyrian to the Gizmondo (WinCE) platform, on top of my SDL port.
This was ported using VS2005. Some minor C99 vs C200x code fixups were required (local variable creation scope) and the only pathing issue found was in the initial path calculation code (once the base path is established everything is fine).
The port is based on the GP2X port due to the similarity of the control handling etc.
I have quite a bit of experience in porting GCC based apps to WinCE, and would like to submit a patch / or join the team for the WinCE based ports if they are interested.
Unfortunately at the moment I have commented FMSynth code out as the Gizmondo sound driver sucks the big one in terms of performance, this is being worked on and hopefully would not be an issue on any WinCE based platform with a decent processor / audio driver.
However, that said, I do not have any other PocketPC based playform to test on (apart from my phone... hmmm) so my port would be, at least initially, Gizmondo specific though I see no major reason why it would not run with a compatible SDL dll.
I will have a look on my phone now and see what happens.
-(e)
|
|
|
Post by sweetlilmre on Dec 19, 2007 13:47:36 GMT
Hi,
Further to this, I have OpenTyrian running on my HTC MTeoR. It even works with my Gizmondo SDL port! amazing...
With samples (no SYNTH) it runs ok.. ish. With synth my ActiveSync connection dies (the music keeps playing, but the whole phone locks down).
Also I don't have any scaling / rotation code so it looks like crap on 240x320.
Anyway...
-(e)
|
|
|
Post by wacko on Dec 19, 2007 21:05:58 GMT
You got my attention now! I want to try it on my hx4700!
640x480 res ;D
|
|
|
Post by yuriks on Dec 19, 2007 23:35:02 GMT
Wtf is C200x? If you can get it to compile on MinGW I would take a look at a patch since last time I looke MSVC didn't support C99 at all. That would need to wait until I convert Enhanced to C++ then.
|
|
|
Post by sweetlilmre on Dec 20, 2007 6:28:21 GMT
Hi,
Okay maybe I got my C standards names confused, it was late, my bad.
VC2005 does not support local variable definitions at any point in a C function, With the VC2005 'standard' you have to decalre variables at the begining of any scope.
So basically just moving some variable declarations.
I guess what I _should_ have said is VC is C90 and does not have C99 support. I stand corrected.
Which means that with minor modifications you can support VC200X and also the free M$ compilers, which I thought might be quite nice for the poor windows sufferers out there, like me.
Oh btw. the changes I have made have no effect on the Win32 MinGW compile, so I haven't broken anything it seems.
-(e)
|
|
|
Post by sweetlilmre on Dec 20, 2007 11:31:43 GMT
You got my attention now! I want to try it on my hx4700! 640x480 res ;D I could try a guick and dirty for you, maybe ... it probably would be 320x200 though. Does your hx4700 have a 'joystick'? the Giz DPad is mapped as a joystick in my SDL port, so my MTeoR works nicely with it. (basically mapped to VK_UP / DOWN / LEFT / RIGHT). However I am away for a few days, so probably only on the w/e. Would be interesting if this works. -(e)
|
|
|
Post by yuriks on Dec 20, 2007 14:38:47 GMT
Yeah, C90 seems more like what MSVC supports, I was just wondering if there was some other C standard around. =P
The changes to make it compile on MSVC kinda involve reverting some changes that we made when we switched from ANSI C to C99, so I would prefer to not revert it back. So I suggest you either try to compile a PocketPC binary using MinGW, or wait until I convert enhanced to C++.
Of course if you want to keep your own local changes so it compile with MSVC that's OK, as long as you stay in sync with the subversion.
|
|
|
Post by wacko on Dec 20, 2007 15:51:51 GMT
You got my attention now! I want to try it on my hx4700! 640x480 res ;D I could try a guick and dirty for you, maybe ... it probably would be 320x200 though. Does your hx4700 have a 'joystick'? the Giz DPad is mapped as a joystick in my SDL port, so my MTeoR works nicely with it. (basically mapped to VK_UP / DOWN / LEFT / RIGHT). However I am away for a few days, so probably only on the w/e. Would be interesting if this works. -(e) it's got a mousepat / trackpad. Which functions almost the same as a d-pad.
|
|