Author Topic: Soldat on Linux & OS X Systems  (Read 345190 times)

0 Members and 1 Guest are viewing this topic.

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Soldat on Linux Systems
« Reply #40 on: August 17, 2006, 06:48:06 am »
Alright, I'll remember to do that some time.... but do you have any insight on the issue I'm having? :P

Offline Stealth

  • Soldier
  • **
  • Posts: 132
    • Just Deserts...
Re: Soldat on Linux Systems
« Reply #41 on: August 17, 2006, 07:36:53 am »
As far as I can tell, it seems to be have been an issue with the installation or something. For some reason it can't find the DirectX dlls that WINE has, so it won't be able to start Soldat. You could try doing a soft link from /usr/local/lib/wine to also be /usr/lib/wine and if you want, I can give you the dlls that you're missing :) If you haven't already, I would try getting it via apt-get (using these repos for latest version)  ;)
Soldat on Linux: It does work! Need help?

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Soldat on Linux Systems
« Reply #42 on: August 17, 2006, 07:46:36 am »
Alright, I didn't realize that 0.9.19 was already packaged up.  I'll try that tonight when I get home from work (I didn't go home after work yesterday, didn't get a chance to try anything else)

edit: it starts with the installation from the wine repos, though I'm having problems with input (it won't read mouse input and won't read most of my keystrokes, no movement, only escape and maybe a couple of others seem to work).

This is a slow computer (800mhz) , and not really game-in-wine friendly until it is more bug-free and has the debugging output turned off, so I will try again soon on my laptop which is much faster. 

I'll let you know how that goes.
« Last Edit: August 17, 2006, 08:30:57 pm by FliesLikeABrick »

Offline Stealth

  • Soldier
  • **
  • Posts: 132
    • Just Deserts...
Re: Soldat on Linux Systems
« Reply #43 on: August 18, 2006, 06:38:30 am »
Yup, exact same input problems. Then it has to be those repos that are doing it.

If you do the WINE GIT stuff, the input problem is gone. I don't why there is a deifference, but it kinda sucks doesn't it :P
Soldat on Linux: It does work! Need help?

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: Soldat on Linux Systems
« Reply #44 on: August 18, 2006, 05:59:11 pm »
I'm pretty new to linux, but I am trying hard to get this working.

I had a few problems with running git as I tryed to install it with apt-get but didn't run properly.
Finally found out "According the git INSTALL file" theres a so called wrapper GNU Interactive Tools so I deleted it and it now works.

Just gotta get cogito working, I installed it but when any commands related to cogito, 'cg' aretyped in konsole there not found

Once I get this problem fixed I'll give it a go.

BTW good job stealth I don't think Soldat on Linux has ever moved along this fast before you came
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Soldat on Linux Systems
« Reply #45 on: August 18, 2006, 06:05:42 pm »
BTW good job stealth I don't think Soldat on Linux has ever moved along this fast before you came

I agree
--

I'll try looking into GIT testing when I get some free time, and hopefully I can help you if you're still looking for help... or the other way around

--edit:

I tried installing git and getting the tree via that.  I encountered the following:

Code: [Select]
root@ryandc1:~# git clone git://source.winehq.org/git/wine.git wine-git

git, the filemanager with GNU Interactive Tools, is now called gitfm.

If you are looking for git, Linus Torvald's content tracker, install
the cogito and git-core packages and see README.Debian and git(7).

This transition script will be removed in the debian stable
release after etch.

If you wish to complete the transition early, install git-core
and use (as root):
 update-alternatives --config git

Press RETURN to run gitfm

/usr/bin/gitfm: warning: invalid extra options ignored

GNU Interactive Tools 4.3.20 (i686-pc-linux-gnu), 04:52:35 Dec  9 2005
GIT is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation; either version 2, or (at your option) any later version.
Copyright (C) 1993-1999 Free Software Foundation, Inc.
Written by Tudor Hulubei and Andrei Pitis, Bucharest, Romania

/usr/bin/gitfm: fatal error: `chdir' failed: permission denied.
« Last Edit: August 18, 2006, 06:10:03 pm by FliesLikeABrick »

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: Soldat on Linux Systems
« Reply #46 on: August 19, 2006, 01:44:44 am »
Quote from: FliesLikeABrick
git, the filemanager with GNU Interactive Tools, is now called gitfm.

If you are looking for git, Linus Torvald's content tracker, install
the cogito and git-core packages and see README.Debian and git(7).

This transition script will be removed in the debian stable
release after etch.

I had that exact same message.

I had a few problems with running git as I tryed to install it with apt-get but didn't run properly.
Finally found out "According the git INSTALL file" theres a so called wrapper GNU Interactive Tools so I deleted it and it now works.

FliesLikeABrick you must delete GNU Interactive Tools, same syncronym git.
Once deleted it worked for me.

-----
BTW got cogito working with ?reboot?
Quote from: Stealth
Code:
Code: [Select]
git clone git://source.winehq.org/git/wine.git wine-git
This code here seemed to be doing nothing so I tried

Code: [Select]
cg clone git://source.winehq.org/git/wine.git wine-git
plus you can pick-up where downloading left from with

cg fetch

----
When compiling asked me to install flex and bison
After that all went well.

Ran wine, installed Soldat and it worked perfectly.
Screenshots Added - Ignore toolbar, when playin soldat its not there

All credit goes to Stealth for making it work
« Last Edit: August 19, 2006, 03:25:12 am by Frenchie »
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline echo_trail

  • Global Moderator
  • Rainbow Warrior
  • *****
  • Posts: 2222
  • ménage-à-trois
    • my last.fm
Re: Soldat on Linux Systems
« Reply #47 on: August 19, 2006, 09:14:00 am »
Hi. A friend of mine wanted me to ask following:
Does it work on Ubuntu 6.06 dapper drake? And is there a "how to" for it?

I have no idea what this thread is even about, just helping out a mate.
I fucking miss all you cunts!

Offline MofoNofo

  • Veteran
  • *****
  • Posts: 1019
Re: Soldat on Linux Systems
« Reply #48 on: August 19, 2006, 09:49:12 am »
 :o Awesome! Soldat is so close to reaching full linux playability. When and if the texts get fixed, i'll remove windows.

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Soldat on Linux Systems
« Reply #49 on: August 19, 2006, 10:48:17 am »
Hi. A friend of mine wanted me to ask following:
Does it work on Ubuntu 6.06 dapper drake? And is there a "how to" for it?

I have no idea what this thread is even about, just helping out a mate.

Yes, I believe most of us are testing it on ubuntu 6.0.6.  If you read through this thread carefully, you should learn enough to be able to do it. 

Offline Mippe

  • Major(1)
  • Posts: 2
Re: Soldat on Linux Systems
« Reply #50 on: August 19, 2006, 11:19:08 am »
Quote
Hi. A friend of mine wanted me to ask following:
Does it work on Ubuntu 6.06 dapper drake? And is there a "how to" for it?

I have no idea what this thread is even about, just helping out a mate

Hi! Im the 'friend' :)
Yesterday i made my mind and changed to Ubuntu Dapper Drake. I can get wine configured but im not sure about the rest, it would be cool if FLAB you could make HOWTO :)

Offline MofoNofo

  • Veteran
  • *****
  • Posts: 1019
Re: Soldat on Linux Systems
« Reply #51 on: August 19, 2006, 01:42:55 pm »
You should be asking Stealth..

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Soldat on Linux Systems
« Reply #52 on: August 19, 2006, 02:17:33 pm »
mippe, once you have wine installed do the following commands

Code: [Select]
cd
wget http://u13.net/go.php?id=71
unzip Soldat131.zip
wine soldat131.exe
cd .wine/drive_c/Soldat
wine Soldat.exe

If all goes well, you should be able to play soldat and use the tweaks/tips/suggestions in this thread to make it work [right|better]

Offline jettlarue

  • Flagrunner
  • ****
  • Posts: 724
Re: Soldat on Linux Systems
« Reply #53 on: August 19, 2006, 03:19:08 pm »
also, after you install soldat and run it for the first time, sometimes you need to restart your system before the menu will work.

Offline Stealth

  • Soldier
  • **
  • Posts: 132
    • Just Deserts...
Re: Soldat on Linux Systems
« Reply #54 on: August 21, 2006, 06:39:21 am »
FLAB and Frenchie: Yea, that was that issue I previously mentioned:
Quote
gitk/git-core seems to be needed, otherwise you'll get this weird error about git. you'll see what I mean if you try.

So Frenchie took cogito (I used git-core, I guess gitk was something else) so atleast you were able to figure that out.  Then was when you'd probably do the:
Code: [Select]
update-alternatives --config git
and selected the cogito thing. I will definitely be adding this info to the Soldat HOWTO (which, btw, for those who wanted it is located here)

And as far as I can tell, it seems that everyone is using Ubuntu 6.06 at the moment!  ;D

Thanks guys!
Soldat on Linux: It does work! Need help?

Offline MofoNofo

  • Veteran
  • *****
  • Posts: 1019
Re: Soldat on Linux Systems
« Reply #55 on: August 21, 2006, 07:13:09 am »
No, thank YOU.

Offline Stealth

  • Soldier
  • **
  • Posts: 132
    • Just Deserts...
Re: Soldat on Linux Systems
« Reply #56 on: August 28, 2006, 01:26:53 pm »
Oh boy, not again. Wine 0.9.20 released, and still getting that input bug. I'm gonna do some regression testing on GIT to see if WINE 0.9.19 has it, and if so, do testing between it and 0.9.18 to find the patch that broke it.  >:(

Right now it seems GIT (or CVS) is the only way getting Soldat to work, seeing as how in GIT you can use versions "in-between" the official ones, which seem to not work properly...-.-

Date Posted: August 24, 2006, 07:52:23 PM
Yup, time to fire up those GIT trees people...here's the deal.

Wine 0.9.19 and Wine 0.9.20 have a bug with mouse input (possibly keyboard?). Now, I remember updating my GIT tree after 0.9.19 came out, and it worked fine. MEANING, that a patch after 0.9.19 fixed it, but then another patch was introduced the broke it again, before 0.9.20 could even come out.

So what I'm doing right now, is checking specific commits (you can check all of them in the GIT log here) and going backwards. We know that 0.9.18 didn't work, so we need to start with some patches after it was released. SO, if you'd like to help, please start testing patches in between 0.9.18 and 0.9.19. Once you find a patch after .18 that starts up Soldat correctly you can start looking for the patch that broke the input. Just keep trying patches (skip a day for each patch you try, I tried one from 8-7-06 and it still didn't work, so try earlier ones) until you find one that stopped working with input. If you find the good and bad end points, we can do a regression test in between to see the specific one that broke input.

I hope I made myself clear...its late and I'm tired. If you need further explanation, I'll post tomorrow...-.-

Date Posted: August 24, 2006, 10:43:44 PM
Ok, this is my mini-tutorial on how to do a GIT (specifically using git-core, cogito users need to find the appropriate equal commands) test!

The following is all done in a terminal, and is assuming you already have an installed GIT version of WINE and are currently in that folder (cd $HOME/wine-git)...

(1) Have the latest stuff! Update your GIT with the latest patches using a:
Code: [Select]
git fetch
(2) The endpoints! This is how to do a basic regression test. Let's say Soldat worked in 0.9.19, but not in 0.9.20, this is how you do a regression test inbetwen them.
Code: [Select]
git bisect start
git bisect good wine-0.9.19
git bisect bad wine-0.9.20

From there you got it all set to test the patches in between both versions. Now you just do:
Code: [Select]
./configure && make clean && make depend && make
./wine 'c:SoldatSoldat.exe'

This will compile WINE at the first patch introduced after 0.9.19 and will run Soldat to test it. You then follow every test run in Soldat with either a "git bisect good" or "git bisect bad" depending on if Soldat functioned properly or not. So if your first patch runs Soldat fine, you do "git bisect good". After you do that, it will go to the next patch and you will have to run:
Code: [Select]
./configure && make clean && make depend && make
./wine 'c:SoldatSoldat.exe'

...once again. This is why regression is so pain-stakingly long, because you must compile WINE after each patch, which takes about 20 minutes. If this second patch breaks Soldat, you do a "git bisect bad" and continue on compiling the next patch. Don't get happy if you find one patch that has Soldat running improperly, as you must complete all the patches to know the exact one causing the problem. After you are done, it will print something out for you about which patch that one is. That's what you want to post up in the bug report. That's your basic stuff, I'll add later on how to regression test more specific patches...
Soldat on Linux: It does work! Need help?

Offline kestasjk

  • Major(1)
  • Posts: 10
Re: Soldat on Linux Systems
« Reply #57 on: September 06, 2006, 05:06:11 am »
I don't think it would improve compatibility.

Ask Michael what Direct3D command / primitive type is used to display map polygons then we can do some bug hunting.

I've already modified wine to see if it was a z-normal culling problem but I have no idea if my hack actually did anything :/


We wouldn't have to ask him, there are heaps of stub errors and I'm betting the one which needs to get implemented is given by the debugger output.

Besides, Michael probably doesn't know, Delphi (or whatever toolkit he uses) is abstracted from Direct3D.

Offline soupcan

  • Major(1)
  • Posts: 12
Re: Soldat on Linux Systems
« Reply #58 on: September 13, 2006, 09:34:28 pm »
mippe, once you have wine installed do the following commands

Code: [Select]
cd
wget http://u13.net/go.php?id=71
unzip Soldat131.zip
wine soldat131.exe
cd .wine/drive_c/Soldat
wine Soldat.exe

If all goes well, you should be able to play soldat and use the tweaks/tips/suggestions in this thread to make it work [right|better]

Just to let everyone know. I did the above to setup Soldat on my linux box. and it works beautifully. The sound is a little laggy and I had to do the previously mentioned registry entries to get the menu text correct. But everything is very playable (and still super fun!)

Fedora core 5, Wine 0.9.20, IBM Thinkpad T40.

Wanted to post a success story on something other than Ubuntu. Thanks.

-- adam

p.s. Would I need to buy Soldat again to register on this linux box as well? I don't want to chance ruining my reg key

Offline The Bone Collector

  • Veteran
  • *****
  • Posts: 1126
  • I'm so sexy.
    • Daniel Rutter Films
Re: Soldat on Linux Systems
« Reply #59 on: September 13, 2006, 10:44:51 pm »
I don't think a windows reg key would work on linux. I ain't a linux pro like these guys, so I don't know if that is true or not. I was testing all this stuff on my Linux partition, untill it just stopped booting into the graphic interface...
:D When I re-install windows, I'll install Ubantu again :D
Just another soul to burn.