Active Topics

 



Notices


Reply
Thread Tools
gidzzz's Avatar
Posts: 282 | Thanked: 2,387 times | Joined on Sep 2011
#1
Introduction:

I tried to get Homeworld SDL working on N900 and after solving a couple of compilation problems the game appears to run fine (but it could use some overclocking when there's a battle going on). Out of the box it was impossible to play, because the control scheme stands in the way. I had to rewrite a bit of the camera code, add support for the Fn key and remap a few actions, and the result is quite playable.


Screenshots:

http://talk.maemo.org/showpost.php?p...7&postcount=13


How to start:

1. Install the original Homeworld on your PC. If you're not on Windows, Wine works well.
2. Install 1.05 patch (download it from here, for example).
3. Create a folder, let's call it "Homeworld".
4. From the installation directory copy the following files to our "Homeworld" folder: "Homeworld.big", "Update.big", "HW_Comp.vce", "HW_Music.wxd".
5. Download the binary (or this one if you want the Thumb version), extract it and put in that folder too.
6. Place "Homeworld" in N900's memory (it takes some space, so MyDocs might be a good place).
7. Open the terminal and navigate to the game directory: "cd /home/user/MyDocs/Homeworld/".
8. Run the game: "./homeworld".


Some notes on the controls:

My goal was to get the whole tutorial working and I have accomplished it, so hopefully the rest of the game can also be completed. Using the second level of ships' right-click menu is a bit tricky. You have to press an option from the first level and then drag the stylus/finger to the second level when it appears. Only after that choosing an item will be registered. With keyboard shortcuts available I don't think it's much of an issue though.

Touching the screen acts as left-click, but there are also some more touch controls. Camera sensitivity can be adjusted in the options.
  • Fn + Tap -> right-click menu
  • Fn + Slide -> rotate camera
  • Fn + Ctrl + Slide -> zoom camera

Touching the bottom of the screen to bring up Task Bar is close to impossible, so I added a keyboard shortcut.
  • Fn + Space -> toggle Task Bar

There are not enough modifier keys on N900, so A is used as Alt.
  • A -> Alt

The first keyboard row is used for number keys, so nothing surprising here.
  • Fn + Q, W, ..., P -> 1, 2, ..., 0

The second row provides function keys.
  • Fn + A, S, ..., Enter -> F1, F2, ..., F12

Last but not least, a few important otherwise inaccessible keys.
  • Fn + Backspace -> Escape
  • Fn + Left -> Home
  • Fn + Right -> Tab

Some actions are still unavailable, even with those modifications (tactical overlay and canceling of orders are the most interesting two), but you can easily remap them yourself in the options menu


Updates:
2012/06/28 - Fix for external mice
2012/12/02 - Fixed some graphical bugs, FPS in the terminal, Thumb build
2012/12/03 - Improved Thumb build (GCC 4.6.2 -> 4.7.2)
__________________
My Thumb mini-repository: http://gidzzz.mooo.com/maemo/.

Last edited by gidzzz; 2014-03-20 at 17:28.
 

The Following 47 Users Say Thank You to gidzzz For This Useful Post:
ammyt's Avatar
Posts: 1,918 | Thanked: 3,118 times | Joined on Oct 2010 @ My pants
#2
My god this is awesome. Another game won't hurt
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#3
WHAT?! Homeworld on N900?

I though I'll drop from my chair (physical, not Council one ), when I've red it. I was almost sure, that someone called his program like that by coincidence. But, there was small sparkle of hope. Then, I've opened this thread, saw gdizzz as author and first line... My goodness, it's really it! Holy Magdalene, Mary, and child Joseph! (or how this quotation from "Longest Journey" goes? )

I need to catch my breath, which will, likely, last till I download it, install, move my - never disappearing from hard drive - Homeworld folder to N900, and run.

Expect *lot* of feedback, after I smash some fighters I *never* expected, that we have enough resources to run it. Damn, even after so many years this game looks amazing, not to mention gameplay. And music!

/Estel

// Edit

Sorry for asking before checking myself - what about multiplayer? Is it working, or planned? And, maybe, allowing to configure keys on user's own, would be good idea?
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 4 Users Say Thank You to Estel For This Useful Post:
sifo's Avatar
Posts: 1,359 | Thanked: 1,292 times | Joined on Oct 2011 @ Tartus.Syria
#4
very nice i really appreciate your hard work, thanks



Originally Posted by Estel View Post
WHAT?! Homeworld on N900?

I though I'll drop from my chair (physical, not Council one ), when I've red it. I was almost sure, that someone called his program like that by coincidence. But, there was small sparkle of hope. Then, I've opened this thread, saw gdizzz as author and first line... My goodness, it's really it! Holy Magdalene, Mary, and child Joseph! (or how this quotation from "Longest Journey" goes? )

I need to catch my breath, which will, likely, last till I download it, install, move my - never disappearing from hard drive - Homeworld folder to N900, and run.

Expect *lot* of feedback, after I smash some fighters I *never* expected, that we have enough resources to run it. Damn, even after so many years this game looks amazing, not to mention gameplay. And music!

/Estel

// Edit

Sorry for asking before checking myself - what about multiplayer? Is it working, or planned? And, maybe, allowing to configure keys on user's own, would be good idea?
woo Estel this is the first time i see you jumping like that glad to know you are having fun

./sifo
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7
 
Posts: 193 | Thanked: 348 times | Joined on Dec 2009
#5
Brilliant!. Thank-you! Works really really well... up to mission 2 already

Last edited by wormdrummer; 2012-06-26 at 03:01.
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#6
First impressions:

Absolutely awesome

Obvious observation, is that it doesn't play nicely with xbindkeys being binded to fn + anything (like, right click as fn+tap release in whole Maemo) - after disabling it, controls wen smoothly.

I must admit, gdizzz, You've made controls very comfortable. Without "special training" I was able to jump straight into skirmish vs CPU and start reasonable fighting I'm sure that with a little practice, it can be no less controlable, than on desktop.

Console return many warnings about small errors, like "tried to execute NULL flightman" or something about bad navi light - if they're meaningful for port, I can collect and report them (although, may be related to mainstream only, I suppose). It also segfault from time to time (maybe just initially, as later, I had no problems).

It seems that LAN is possible - or pretend to.

I wonder, if it would be possible to bind some things to fn + shift + key? Mixed with proposed custom keymaps, it would resut in even more comfortable control

Anyway, even at current stage, it's definitely worth hitting repositories (of course, with game files being installed manually by every player, as it is with most open engines for commercial games on N900).

Thanks a lot - it's unbeliveable, to see carrier, fighters, or mothership, painted so beautifuly in space, on screen of our N900. I must admit, that first few minutes I just scrolled and rolled camera around them, at different distances

/Estel

// Edit

I don't know if those options mean anything in our case, but I've set texture buffer to max (32 MB RAM) and on device @900mhz, it was smooth, even in small battles, with every graphic setting turned to max, and all effect enchancements ON (+ 32 channels of sound events, mixed for stereo output).

What exactly it's running at, thanks to SDL? Sole CPU, or OpenGLES?
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 2 Users Say Thank You to Estel For This Useful Post:
ajack's Avatar
Posts: 288 | Thanked: 175 times | Joined on Oct 2010 @ Petaling Jaya, Selangor, Malaysia
#7
Not trying to be pushy or anything but screenshots would be appreciated...
__________________
Visit my blog at http://lifewithmaemo.blogspot.com or my website at http://www.renegade-uiq.com
 
Posts: 661 | Thanked: 1,625 times | Joined on Apr 2012 @ Croatia,Zagreb
#8
Great!It is always good to have some new games! (well new for Maemo)

Thanks a lot
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#9
Originally Posted by gidzzz View Post
I tried to get Homeworld SDL working on N900 and after solving a couple of compilation problems the game appears to run fine
I like you.
 

The Following 4 Users Say Thank You to ukki For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#10
Most "serious" crash I've hit so far - required to kill homeworld from within Maemo, as it hanged totally. Last message in console was:

Code:
Xlib: unexpected async reply (sequence 0x54fd8)!
Of course, it wasn't any problem, killing from powerkey menu was enough.

I wonder, if custom keymaping for Maemo port isn't exclusive with playing via mouse (bluetooth or hostmode)? Will check it later.

Also, I'll answer myself about "does it run solely on CPU" - yes, it does, with moderate ammount of ships, CPU is occupied like 96%-98% @900 mhz. Still plays quite smoothly, but I suppose, that during bigger battles, it may hit the limit. No big deal in single player, as we have active pause (pause where we can assign orders), but in multiplayer it coud be a small issue. I wonder, if some optimisation is possible...

After playing X-Plane simulators things via preenv, I though that it's heaven of modern gaming on N900? How deliciously wrong I were

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following User Says Thank You to Estel For This Useful Post:
Reply

Tags
homeworld, homeworldsdl


 
Forum Jump


All times are GMT. The time now is 05:45.