Author Topic: R linux port  (Read 10669 times)

0 Members and 1 Guest are viewing this topic.

Offline Michal Marcinkowski

  • Creator of Soldat
  • Flagrunner
  • ******
  • Posts: 808
  • I ain't got time to bleed.
    • Soldat home page
R linux port
« on: October 13, 2007, 11:00:20 am »
A while ago a gentleman named GJJ compiled R for linux. If you want check if it works, cause I can't at the moment.

http://crimson.link-dead.net/R/R-LinuxWindows.tar.gz

There is a problem with music in this port:
Quote
One problem with the SDL_mixer port though is that at least the library
I include in the attached zip doesn't have mp3 support.  For music to
work, the SDL_mixer library either needs to be replaced with one that
includes mp3 support, OR all the mp3 files (conspicuously named wav)
needs to be converted to a format the SDL_mixer supports, such as ogg
vorbis.  This is s/benny.wav and everything in s/m/.  FMOD also
supports ogg vorbis btw, so if this could be done in the main archive
there'd be no need for conversion.. =)
« Last Edit: July 08, 2009, 11:12:22 am by jrgp »

Offline InuYasha

  • Soldier
  • **
  • Posts: 184
  • I'm Blue
    • HomeWork
Re: R linux port
« Reply #1 on: October 13, 2007, 11:02:41 am »
Yay! hope some1 fixes the problem

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6142
    • Ultimate 13 Soldat
Re: R linux port
« Reply #2 on: October 13, 2007, 02:21:25 pm »
I don't see those sound files in the archive, otherwise I'd fix this and repost it.

edit: oh, this is a patch for the original archive.  I'll patch it and re-post it as an entirely separate download
« Last Edit: October 13, 2007, 02:24:22 pm by FliesLikeABrick »

Offline rfreak

  • Soldier
  • **
  • Posts: 152
Re: R linux port
« Reply #3 on: October 13, 2007, 03:22:10 pm »
Good Job!!

I have one thing to say "R for ever!" :D

This game just rock
R the coolest game ever

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6142
    • Ultimate 13 Soldat
Re: R linux port
« Reply #4 on: October 13, 2007, 03:29:14 pm »
I can't seem to run the binary files, it segfaults (I'm guessing that is because all of the game content is missing from the Linux download)

I also don't understand what folder the patch should be applied to.   MM, can you point the guy who did this to these forums so we can work with him to get this working?  I'd like to know how to do this so that I can make a full linux download so people don't need to patch it themselves.


--


Ok, I extracted the tar.gz into the windows R folder and have it running on linux, but without sound.  I'm working on converting the wav (mp3) files to ogg right now.
« Last Edit: October 13, 2007, 03:41:10 pm by FliesLikeABrick »

Offline rfreak

  • Soldier
  • **
  • Posts: 152
Re: R linux port
« Reply #5 on: October 13, 2007, 03:42:06 pm »
If the guy pass by this forum can he let out the source?
R the coolest game ever

Offline InuYasha

  • Soldier
  • **
  • Posts: 184
  • I'm Blue
    • HomeWork
Re: R linux port
« Reply #6 on: October 13, 2007, 04:02:01 pm »
If the guy pass by this forum can he let out the source?
Thats up to MM to decide.

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6142
    • Ultimate 13 Soldat
Re: R linux port
« Reply #7 on: October 13, 2007, 04:10:18 pm »
I got R working on Linux with sound.  I'm uploading the archive.  All you should need to do is extract it and run ./r in the R folder

Can someone test this on Windows?  If this archive (link coming) works on Windows, then MM might as well just use the ogg files instead of the wav+mp3.

edit:

http://crimsonengine.com/R/R-LinuxWindows.zip
http://crimsonengine.com/R/R-LinuxWindows.tar.gz

Both of those are the same thing and should work on Linux and Windows 100%

If the guy pass by this forum can he let out the source?
Thats up to MM to decide.

No, MM already released the source code for R.  rfreak is asking if the guy who made the Linux port can share the source code of his changes.

I hope so ;)

Apparently SDL is more easily cross-platform than FMOD.  A game developer friend of mine said that FMOD can be grumpy on OSX
« Last Edit: October 13, 2007, 04:30:43 pm by FliesLikeABrick »

Offline rfreak

  • Soldier
  • **
  • Posts: 152
Re: R linux port
« Reply #8 on: October 13, 2007, 10:06:25 pm »
Yes but SDL_mixer as less functions I think for sounds
R the coolest game ever

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6142
    • Ultimate 13 Soldat
Re: R linux port
« Reply #9 on: October 13, 2007, 10:49:08 pm »
I asked MM if he had the source for this.  He said he actually got these linux binaries from the dude back in June or July and never asked for the source.  He said he'll see if he can get it


edit:

In the Linux version I can't move in the air with the umbrella out unless I just tap ctrl then use the arrow keys.  If I hold ctrl, I can't move side-to-side.  Is this how it is in Windows?
« Last Edit: October 14, 2007, 12:23:49 am by FliesLikeABrick »

Offline Yes

  • Soldier
  • **
  • Posts: 157
  • Yes.
Re: R linux port
« Reply #10 on: October 14, 2007, 12:42:25 am »
I just get a nice big black screen for some reason. Then it just exits out of R by itself.
One Love
Yes

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6142
    • Ultimate 13 Soldat
Re: R linux port
« Reply #11 on: October 14, 2007, 12:55:16 am »
Are you running it through r or r.bin?

Offline Yes

  • Soldier
  • **
  • Posts: 157
  • Yes.
Re: R linux port
« Reply #12 on: October 14, 2007, 01:05:34 am »
Are you running it through r or r.bin?
Just r
One Love
Yes

Offline rfreak

  • Soldier
  • **
  • Posts: 152
Re: R linux port
« Reply #13 on: October 14, 2007, 08:05:52 am »
In windows you jump and wen in air you press Ctrl to open umbrela and releasse Ctrl the umbrella stays open you can move right left and repress Ctrl to close umbrela preaty sweet hey :P
R the coolest game ever

Offline temporarysanity

  • Major(1)
  • Posts: 7
Re: R linux port
« Reply #14 on: October 14, 2007, 10:59:07 am »
Coolness :) Thanks for making it possible to play on the Penguin.
A stupid question: How do I apply the patch included in the archive?

Plus, I can't get the sound to work (both sound and music). I'm running ArchLinux and have sdl_mixer 1.2.8 installed. :(

Everytime I look at this game I think how cool would it be if we finished it. Blah.

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6142
    • Ultimate 13 Soldat
Re: R linux port
« Reply #15 on: October 14, 2007, 03:10:40 pm »
You don't need to use the patch. Download the whole thing from the links in my post instead of MM's.  Mine has the audio files all converted to a format that works on linux and windows.

Offline temporarysanity

  • Major(1)
  • Posts: 7
Re: R linux port
« Reply #16 on: October 15, 2007, 01:59:20 pm »
I did that. Unfortunately both: sound and music won't work :(

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5014
Re: R linux port
« Reply #17 on: October 15, 2007, 03:03:47 pm »
I did that. Unfortunately both: sound and music won't work :(

Yeah, I am experiencing the same thing. For me the game plays perfectly, but I cannot hear any sound from the game whatsoever. My sound drivers are fine (I listen to music with Rhythmbox and other programs constantly).

My system is running the latest version of 64 bit Ubuntu with all the updates.
GFX Card: GeForce 6600 w/ 256 megs of onboard ram
Sound Card: integrated into the nforce4 style motherboard. I think it's a realtek
Careful with that axe, Eugene.

Offline a-4-year-old

  • Veteran
  • *****
  • Posts: 1918
Re: R linux port
« Reply #18 on: October 15, 2007, 03:20:21 pm »
didn't work on Dapper, barely worked on windows. But hey, at least it isn't on a repository or some crap like that.
If we hit the bullseye the rest of the dominoes will fall like a house of cards. Checkmate. -Zapp Brannigan

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5014
Re: R linux port
« Reply #19 on: October 15, 2007, 04:10:01 pm »
didn't work on Dapper, barely worked on windows. But hey, at least it isn't on a repository or some crap like that.

On the same system I posted info about above, when it was running xp pro, R ran extremely perfectly. It only barely works on windows if the system isn't relatively very top notch.
Careful with that axe, Eugene.