Port to Motorola z6

Discussion about other and unofficial ports of ScummVM

Moderator: ScummVM Team

CepiPerez
Posts: 7
Joined: Wed May 06, 2009 4:56 am

Post by CepiPerez »

ignore my friend's last comment...
scummvm ported and working 100%, thanks to all of you...
User avatar
sev
ScummVM Lead
Posts: 2308
Joined: Wed Sep 21, 2005 1:06 pm
Contact:

Post by sev »

...And now it would be not bad to make the port official...


Eugene
CepiPerez
Posts: 7
Joined: Wed May 06, 2009 4:56 am

Post by CepiPerez »

It's the same as Motorola A1200
The problem was SDL.
Lubomyr's port works fine on Z6
User avatar
sev
ScummVM Lead
Posts: 2308
Joined: Wed Sep 21, 2005 1:06 pm
Contact:

Post by sev »

So far Lubomyr struggled with making his patch acceptable. What is needed there is to make proper inheritance and not just gross copy-pasting of our SDL backend,

If you would give him a helping hand, that would be awesome.


Eugene
CepiPerez
Posts: 7
Joined: Wed May 06, 2009 4:56 am

Post by CepiPerez »

I don't quite understand what you need
Do you need our Z6 SDL?
User avatar
md5
ScummVM Developer
Posts: 2250
Joined: Thu Nov 03, 2005 9:31 pm
Location: Athens, Greece

Post by md5 »

CepiPerez wrote:I don't quite understand what you need
Do you need our Z6 SDL?
No, we need code without duplication and hacks. If you don't understand what is inheritance in C++, you'll need to read on some books on it.
E.g. with a quick Google search:
http://www.cs.bu.edu/teaching/cpp/inheritance/intro/
http://www.codersource.net/cpp_tutorial ... tance.html
http://www.anyexample.com/programming/c ... xample.xml
User avatar
sev
ScummVM Lead
Posts: 2308
Joined: Wed Sep 21, 2005 1:06 pm
Contact:

Post by sev »

It was already sorted out, and the new code will be contributed soon. As of z6, the only difference from A1200 port is only SDL library.


Eugene
User avatar
Lubomyr
Posts: 90
Joined: Fri Mar 07, 2008 6:56 pm
Location: L'viv, Ukraine
Contact:

Post by Lubomyr »

differences motorola A1200/A1600/ROKR E6 and Z6/V8 ports
for autohide app (with stoping audio) when incoming call - 100% same code
difference in control A1200/A1600/ROKR E6 - touchscreen phones with 6 keys
Z6/V8 - not touchscreen phones with full numeric keyboard
A1200/A1600/ROKR E6 - have strange bug in sdk and needed corrected file common/stream.cpp, Z6/V8 port don't needed this changes
difference lib - sdl, libmad, and others lib (because different sdk)
User avatar
ERKAN
Posts: 45
Joined: Thu Apr 10, 2008 12:39 pm
Location: Ukraine

Post by ERKAN »

Ant-ON ported version 0.13.1 to Z6
Topic can be found here (Russian)
User avatar
ERKAN
Posts: 45
Joined: Thu Apr 10, 2008 12:39 pm
Location: Ukraine

Post by ERKAN »

The only prob. is that quickload/quicksave keys don't work!
If anyone can help, please do so, cause we can't save some of the games
(For example: Lure of the Temptress and Simon the Sorcerer series can't be saved!)
User avatar
ERKAN
Posts: 45
Joined: Thu Apr 10, 2008 12:39 pm
Location: Ukraine

Post by ERKAN »

Thanks for "helping"
CepiPerez
Posts: 7
Joined: Wed May 06, 2009 4:56 am

Post by CepiPerez »

My new version works fine with Lure of Temptress
I didn't test Simon the Sorcerer. But it should work.
Check it here
User avatar
ERKAN
Posts: 45
Joined: Thu Apr 10, 2008 12:39 pm
Location: Ukraine

Post by ERKAN »

Cepi, Don't worry, I often visit ModMyMoto and I just converted your Hexen and Heretic games to .pep, so I know you have your version of ScummVM, the problem is, that your controls are bad! :(
Ant-ON has better controls but in his version QS/QL doesn't work!
Anyway, I also think it's stupid to port SVNs and way better if you port the 0.13.1 version cause it's checked, it's compatible with most games and it has a lot less bugs than the SVNs
Also, I think you should team up with Ant-ON and release new versions together (So they will be tested better and contain less bugs)
Just a thought :wink:
User avatar
Lubomyr
Posts: 90
Joined: Fri Mar 07, 2008 6:56 pm
Location: L'viv, Ukraine
Contact:

Post by Lubomyr »

@ Motorola porters

latest trunk version ScummVM support linuxmoto backend
for configuring please use

for motomagx platform (Motorola Z6, V8 )
./configure --host=motomagx

example
./configure --host=motomagx --enable-vkeybd --enable-zlib --enable-mad --enable-vorbis --enable-flac --enable-mpeg2


for motoezx platform (Motorola A1200, ROKR E6, A1600)
./configure --host=motoezx

example
./configure --host=motoezx --enable-vkeybd --enable-zlib --enable-mad --enable-vorbis --enable-flac --enable-mpeg2

backend linuxmoto will be automatically selected

What is backend linuxmoto ?

linuxmoto is backend, based on SDL, with autohide scummvm, when incoming call, sms, others phone events) and with changes in control

if you corrected sources please post your patches to me or post patches on patch-tracker

i try to add in future script for making installation-package: .pkg -for motoezx, .mpkg -for motomagx

for example

make motoezx
make motomags

for download latest trunk scummvm source use

svn co https://scummvm.svn.sourceforge.net/svn ... mvm/trunk/
User avatar
ERKAN
Posts: 45
Joined: Thu Apr 10, 2008 12:39 pm
Location: Ukraine

Post by ERKAN »

Дякую за допомогу! :D
Post Reply