Scrolling Game Development Kit Forum

SGDK Version 2 => News and Announcements => Topic started by: bluemonkmn on 2009-04-04, 10:01:43 AM

Title: SGDK2 Projects in Linux
Post by: bluemonkmn on 2009-04-04, 10:01:43 AM
Full/automatic Linux support for projects created by SGDK2 is close.  I converted durnurd's Tetris game (http://sgdk2.enigmadream.com/support/MonoTetris.tar.gz) pretty easily.
Title: Re: SGDK2 Projects in Linux
Post by: Jam0864 on 2009-04-04, 05:03:46 PM
Wow. That's impressive. I should install linux again, hopefully this time I can get the wi-fi going so I can have internet. ;O
Title: Re: SGDK2 Projects in Linux
Post by: bluemonkmn on 2009-04-13, 08:52:14 AM
I released beta 1 of SGDK 2.1.1 and a new SGDKLinux211 package.  Without describing it in detail, I'd like to find out if the current arrangement is clear enough that someone can figure it out without help from me.  Wanna give it a try?
Title: Re: SGDK2 Projects in Linux
Post by: durnurd on 2009-04-13, 09:09:58 AM
Definitely need to put some news on the main page about that.
Title: Re: SGDK2 Projects in Linux
Post by: bluemonkmn on 2009-04-13, 11:33:16 AM
I was thinking about waiting until it was out of beta, or at least until someone could verify that it works in at least one case :).  I suppose I could announce the beta, though.
Title: Re: SGDK2 Projects in Linux
Post by: Jam0864 on 2009-04-13, 06:58:51 PM
When you say in the documentation about the linux files being in a separate package, you should perhaps link to them. Someone is bound to get very frustrated if they can't find them.

I don't have a linux installation to test this under at the moment, but the instructions seemed easy to follow so I'd imagine I did it right.  8)
I've uploaded it here (http://www.jam0864.co.cc/files/guitarsim/GuitarSimLinuxTest.zip) so someone with a working linux installation can test it.  ;)
Title: Re: SGDK2 Projects in Linux
Post by: bluemonkmn on 2009-04-14, 05:03:44 AM
How hard was it for you to find the extra Linux package?  Hopefully if I put links to both on the download page, they will be easy enough to find.  I'm hesitant to put direct links like that in the documentation because then they might get out of date.  But I could maybe at least link to the downloads page.
Title: Re: SGDK2 Projects in Linux
Post by: Jam0864 on 2009-04-14, 05:21:40 AM
It was easy because I am familiar with the system. But anyone who just downloaded the program and hasn't been here as long as I have may have troubles.
I think you should at least link to the downloads page and indicate the linux package is on that page.

Did the linux version I uploaded work? Because if it runs under linux I wouldn't mind releasing it.
Title: Re: SGDK2 Projects in Linux
Post by: bluemonkmn on 2009-04-14, 05:17:00 PM
I added a link on the download page, and added a link from the help file to the download page.

I haven't booted into Linux lately so I haven't tried the Linux version of the project.
Title: Re: SGDK2 Projects in Linux
Post by: durnurd on 2009-04-14, 05:46:18 PM
Well, I tried running the Tetris project, and it threw a DLLNotFoundException looking for libfmod-4-whatever.  I confirmed that it was in fact in that directory, named correctly, and I tried getting rid of the ./ in the tetris.exe.config, but it still had that error.  No idea what's going on there.
Title: Re: SGDK2 Projects in Linux
Post by: bluemonkmn on 2009-04-15, 04:41:56 AM
The "./" needs to be there or it may not search the current directory where libfmodex-4.22.01.so is.  Did you try loading the generated project into MonoDevelop?  Are tetris.exe.config and libfmodex-4.22.01.so all lowercase?
Title: Re: SGDK2 Projects in Linux
Post by: durnurd on 2009-04-15, 07:32:06 AM
I couldn't load the generated project into MonoDevelop (it was having errors trying to create the MDP file), so I added all the files to a new project, and after a few quirks, got back to the same point.  Couldn't find the same file, after making sure they're all in the same directory.
Title: Re: SGDK2 Projects in Linux
Post by: bluemonkmn on 2009-04-15, 05:36:16 PM
OK, I know you made projects run in Linux before (you showed me how).  What's the difference between what you made work and this?
Title: Re: SGDK2 Projects in Linux
Post by: bluemonkmn on 2009-04-22, 05:10:33 AM
Has anybody else tried Linux?
Title: Re: SGDK2 Projects in Linux
Post by: bluemonkmn on 2009-04-26, 07:49:45 AM
I don't have a linux installation to test this under at the moment, but the instructions seemed easy to follow so I'd imagine I did it right.  8)
I've uploaded it here (http://www.jam0864.co.cc/files/guitarsim/GuitarSimLinuxTest.zip) so someone with a working linux installation can test it.  ;)

I finally booted into Ubuntu Linux and tried this.  I am unable to extract the contents of the ZIP file.
Title: Re: SGDK2 Projects in Linux
Post by: bluemonkmn on 2009-04-26, 07:52:55 AM
I couldn't load the generated project into MonoDevelop (it was having errors trying to create the MDP file), so I added all the files to a new project, and after a few quirks, got back to the same point.  Couldn't find the same file, after making sure they're all in the same directory.

I am running Mono version 1.2.6  and MonoDevelop 1.0.  How about you?
Title: Re: SGDK2 Projects in Linux
Post by: bluemonkmn on 2009-04-27, 04:49:49 PM
Well, I tried running the Tetris project, and it threw a DLLNotFoundException looking for libfmod-4-whatever.  I confirmed that it was in fact in that directory, named correctly, and I tried getting rid of the ./ in the tetris.exe.config, but it still had that error.  No idea what's going on there.

People on the OpenTK forums said that if you're running in a 64-bit environment, you'll get that error if the only available version of the FMOD library is the 32-bit one.  Can you try getting the 64-bit version of the same version of FMOD?
Title: Re: SGDK2 Projects in Linux
Post by: durnurd on 2009-04-27, 05:52:31 PM
ahh... I'll try that when next I boot.
Title: Re: SGDK2 Projects in Linux
Post by: durnurd on 2009-06-06, 07:31:55 AM
Alright, alright, you got me out of bed.  I downloaded the latest 64-bit FMODEx from their site, took the .so out and put it in place, and it runs with sound an' stuff.  The only problem now is that the keyboard doesn't seem to do anything.  And the window menus show up under the map (i.e. I can't see them)
Title: Re: SGDK2 Projects in Linux
Post by: bluemonkmn on 2009-06-06, 08:08:34 AM
Bah, why does 64-bit have to be such a pain.  There's no way to force 32-bit in Linux eh?