Home » MODDING HQ 1.13 » v1.13 Idea Incubation Lab  » [Linux] ja2 1.13 linux port (alpha release)
Re: [Linux] ja2 1.13 linux port (alpha release)[message #182116] Fri, 18 April 2008 23:39 Go to previous messageGo to next message
cdunigan is currently offline cdunigan

 
Messages:132
Registered:September 2007
Location: Madison, Wisconsin, USA
A different error this time, so you're right, I forgot to make clean the last time. But it still failed when I did. I even removed the entire Lesh/lpja2 directory and got another copy from svn, with the same result.

The entire set or error lines is too long, but it starts with (including last successful line for context):

usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DJA2 -DENGLISH -I../../src/. -I../../src/sgp -I../../src/utils -I../../src/xml -I../../src/tile_engine -I../../src/tactical_ai -I../../src/tactical -I../../src/strategic -I../../src/laptop -I../../src/editor -I../../src/SDL_Config -MD -pipe -m32
In file included from ../../src/sgp/file_man.cpp:35:
../../src/sgp/slf.h:5:20: error: physfs.h: No such file or directory
../../src/sgp/slf.h:10: error:

Report message to a moderator

Sergeant
Re: [Linux] ja2 1.13 linux port (alpha release)[message #182118] Fri, 18 April 2008 23:46 Go to previous messageGo to next message
InHuMan is currently offline InHuMan

 
Messages:44
Registered:November 2006
Location: Czech Republic
JAPH
A different error this time, so you're right, I forgot to make clean the last time. But it still failed when I did. I even removed the entire Lesh/lpja2 directory and got another copy from svn, with the same result.

...
../../src/sgp/slf.h:5:20: error: physfs.h: No such file or directory
...


Do you have physfs devel package installed? Smile

Report message to a moderator

Corporal
Re: [Linux] ja2 1.13 linux port (alpha release)[message #182120] Fri, 18 April 2008 23:55 Go to previous messageGo to next message
cdunigan is currently offline cdunigan

 
Messages:132
Registered:September 2007
Location: Madison, Wisconsin, USA
Um, no, I forgot that the installation instructions might have changed, and I didn't read them. My God, how many times have I told people to read the instructions? :silly:

Trying again, this time the right way....

Report message to a moderator

Sergeant
Re: [Linux] ja2 1.13 linux port (alpha release)[message #182123] Sat, 19 April 2008 00:01 Go to previous messageGo to next message
cdunigan is currently offline cdunigan

 
Messages:132
Registered:September 2007
Location: Madison, Wisconsin, USA
Okay, I'm compiling now. Sorry for wasting your time.

Report message to a moderator

Sergeant
Re: [Linux] ja2 1.13 linux port (alpha release)[message #182729] Thu, 24 April 2008 23:22 Go to previous messageGo to next message
cdunigan is currently offline cdunigan

 
Messages:132
Registered:September 2007
Location: Madison, Wisconsin, USA
Couple of minor bugs, I put them in JaggZilla. I also had to copy *.sha from my original shadetables dir to get ja2lp to work, if that matters.

Report message to a moderator

Sergeant
Re: [Linux] ja2 1.13 linux port (alpha release)[message #187488] Wed, 04 June 2008 13:10 Go to previous messageGo to next message
Luftzig is currently offline Luftzig

 
Messages:18
Registered:November 2007
hmmm, I tried to recompile and I think I should edit the makefile so it'll point to the 32bit lib and not to /usr/lib (which is symlink to /usr/lib64).
I also found out that fmod was only compiled for 64bit.

Report message to a moderator

Private
Re: [Linux] ja2 1.13 linux port (alpha release)[message #187517] Wed, 04 June 2008 19:28 Go to previous messageGo to next message
Luftzig is currently offline Luftzig

 
Messages:18
Registered:November 2007
Yes! I managed to compile on Gentoo 64bit. I had to change the Makefile so it will point to libraries at /usr/lib32/ instead of /usr/lib/, and I linked against libexpat.so.1.
And it works! I mean, it works until I press on the Email icon in the laptop screen. Say Segmantetion fault.
I can get the strategic display, but trying to open the laptop crashes the game, again.

[Updated on: Wed, 04 June 2008 19:34] by Moderator

Report message to a moderator

Private
Re: [Linux] ja2 1.13 linux port (alpha release)[message #187550] Wed, 04 June 2008 23:36 Go to previous messageGo to next message
InHuMan is currently offline InHuMan

 
Messages:44
Registered:November 2006
Location: Czech Republic
Luftzig
Yes! I managed to compile on Gentoo 64bit. I had to change the Makefile so it will point to libraries at /usr/lib32/ instead of /usr/lib/, and I linked against libexpat.so.1.
And it works! I mean, it works until I press on the Email icon in the laptop screen. Say Segmantetion fault.
I can get the strategic display, but trying to open the laptop crashes the game, again.


Same problem here with 64bit Gentoo...

Report message to a moderator

Corporal
Re: [Linux] ja2 1.13 linux port (alpha release)[message #187626] Thu, 05 June 2008 18:13 Go to previous messageGo to next message
Luftzig is currently offline Luftzig

 
Messages:18
Registered:November 2007
How do I start making something useful out of this? I'd really like to help if I can.

Report message to a moderator

Private
Re: [Linux] ja2 1.13 linux port (alpha release)[message #188579] Fri, 13 June 2008 15:30 Go to previous messageGo to next message
Luftzig is currently offline Luftzig

 
Messages:18
Registered:November 2007
Sorry for the bump, but I'd really like to help porting it to linux, but I don't have a clue how. I have only the slightest idea of programming and only in python, but am willing to learn... I just don't know where or how to start.

Report message to a moderator

Private
Re: [Linux] ja2 1.13 linux port (alpha release)[message #189851] Mon, 30 June 2008 10:14 Go to previous messageGo to next message
rp- is currently offline rp-

 
Messages:13
Registered:June 2008
Location: Austria
Luftzig
How do I start making something useful out of this? I'd really like to help if I can.

I guess the same way like in any other open source project, get the source, look at it, play a bit around with it, spot bugs and try to fix them, and after a while if you are more comfortable with the source try to fix bigger regressions.

thats the way i will try to help, just recently started to play ja2 again, currently with wine(which actually works very well), but having a native version is always a better solution.

how is the current status of this port? whats needed? what isn't working? how often is this branch merged with the 1.13 trunk?

Report message to a moderator

Private
Re: [Linux] ja2 1.13 linux port (alpha release)[message #190075] Thu, 03 July 2008 21:13 Go to previous messageGo to next message
cdunigan is currently offline cdunigan

 
Messages:132
Registered:September 2007
Location: Madison, Wisconsin, USA
@Luftzig: Looks like the coders are busy with real life right now. I'm in much the same situation as you - I know a few languages, but C (the one JA2 is coded in) isn't one of them. I've looked over the source code several times, and I have to say that you'll find it a real challenge if you "have only the slightest idea of programming." Not that I want to discourage you, but I do want to be realistic.

If you really want to dive into a project that could easily consume every bit of spare time you now have, you should start by learning your way around in C, first. There are lots of tutorials on the web, but I really can't recommend any since I don't know anything about them beyond their existence. Once you feel comfortable with C, get the source code from SVN (details earlier in this thread), which you'll actually already have if you've installed the Linux port. Then fire up your favorite editor and start learning your way around the code itself.

The biggest trouble I have, at least at the beginning, is the fact that C doesn't have much of a concept of namespace in code. You'll suddenly come across a variable or function call that wasn't defined anywhere that you've seen and wonder how the heck it got in there. C doesn't require you to explicitly state what namespace (file, in this case) something comes from. You just throw an "include " at the top of your current file, and bingo, everything in the other file is now in your current namespace. Not only that, but everything in that other file's includes is also now in your namespace. Add to that the fact that C coders seem to throw most of the rest of the project in the includes, and you'll be searching for things all over the place, all the time. Make friends with grep; you'll be using it a lot. IDE's can do that sort of thing for you, but I tend to be a command-line kind of person, so I can't suggest any.

I probably haven't helped much, but that's all I really know right now. I've decided I can't really code, so I try to help by testing and reporting bugs I find. Use our Bugzilla for that - http://ja2.discusrock.org/bugzilla . That's the other thing I do to help; I run Bugzilla. Good luck!

[Updated on: Thu, 03 July 2008 21:15] by Moderator

Report message to a moderator

Sergeant
Re: [Linux] ja2 1.13 linux port (alpha release)[message #190767] Mon, 14 July 2008 19:41 Go to previous messageGo to next message
Haffe is currently offline Haffe
Messages:1
Registered:July 2008
Hello. I thought this would be an approriate thread to ask in. How dependendent is JA2 V1.13 on the orginal JA2? The reason I am asking is that I am wondering if there is any hope of getting JA2 V1.13 running on Os X.

Report message to a moderator

Civilian
Re: [Linux] ja2 1.13 linux port (alpha release)[message #190805] Tue, 15 July 2008 00:23 Go to previous messageGo to next message
cdunigan is currently offline cdunigan

 
Messages:132
Registered:September 2007
Location: Madison, Wisconsin, USA
Hope? Sure, there's always hope. If you can get the required libraries installed and get the thing to compile, I can't think of an obvious technical reason it couldn't work.

To answer the question, v1.13 depends heavily on original files. You can get a list of what's required from the install instructions on this port. You wouldn't have to run the install program to get them, you'd just copy them from an existing Windows installation. Hope this helps!

Report message to a moderator

Sergeant
Re: [Linux] ja2 1.13 linux port (alpha release)[message #191287] Sun, 20 July 2008 15:47 Go to previous messageGo to next message
Luftzig is currently offline Luftzig

 
Messages:18
Registered:November 2007
I actually started learning C already. Goes really slowly, as I have almost no spare time, but I do manage to learn a little in the time I find.

JAPH, about having to look for functions or variables defined at some other place, vim has a tool named "ctags" just for that. I haven't tried using it, as I'm learn vim side by side with C, but it seems like it is worth a try. Emacs and probably other advanced editors probably have some similar too.

Report message to a moderator

Private
Re: [Linux] ja2 1.13 linux port (alpha release)[message #191418] Mon, 21 July 2008 20:51 Go to previous messageGo to next message
cdunigan is currently offline cdunigan

 
Messages:132
Registered:September 2007
Location: Madison, Wisconsin, USA
@Luftzig: Yeah, I know about tags, and emacs has them, too. I just haven't taken the time to set it up and learn how to use it.

@Erpe: I just noticed that I never responded to your questions. I'd say that the status of the port right now is "mostly playable." I haven't seen Lesh around here for a while, and I recall him writing that his time was limited. I also haven't seen InHuMan for a bit. I'm pretty sure that Lesh only merges main code bug fixes back into the trunk. I've heard that merging the changes for the port itself will be more difficulty than anyone is ready to take on right now. I can't say for sure, just commenting on what I've heard. I do know that the trunk has moved into significantly different new directions since Lesh branched from it. As for what needs to be done, I think only Lesh can answer that, sorry.

Report message to a moderator

Sergeant
Re: [Linux] ja2 1.13 linux port (alpha release)[message #198210] Mon, 06 October 2008 07:27 Go to previous messageGo to next message
fcj is currently offline fcj
Messages:1
Registered:October 2008
I know some c and c++,may be do some help.
I am reading the code.
I like this game.

Report message to a moderator

Civilian
Re: [Linux] ja2 1.13 linux port (alpha release)[message #200065] Sat, 25 October 2008 19:44 Go to previous messageGo to next message
Lesh 2 is currently offline Lesh 2

 
Messages:107
Registered:September 2006
Location: Izhevsk, Russia
Do you have linux box?

Try to compile development branch https://81.169.133.124/source/ja2/branches/Lesh/lpja2/

Report message to a moderator

Sergeant
Re: [Linux] ja2 1.13 linux port (alpha release)[message #203540] Sun, 07 December 2008 23:35 Go to previous messageGo to next message
MrGreen is currently offline MrGreen

 
Messages:14
Registered:December 2008
Location: Europe
here's another amd64 gentoo'er!

i can't seem to pass the ./configure Neutral i hv the libfmod but it keeps failing to find it.

i've also ran install_fmod but the same error appears.
checking for FSOUND_Init in -lfmod... no
configure: error: echo Fmod library not found!


# whereis libfmod
libfmod: /usr/lib/libfmod.so /usr/lib64/libfmod.so


any hints?

Report message to a moderator

Private
Re: [Linux] ja2 1.13 linux port (alpha release)[message #204651] Mon, 22 December 2008 13:33 Go to previous messageGo to next message
310 is currently offline 310
Messages:2
Registered:December 2008
Location: Russia
It looks like media-libs/fmod:0 (3.xx) is required.

Here is the ebuild I made for myself. It is quite incomplete though -- it doesn't contain ALL the necessary dependencies, only those I was missing on my box. It also doesn't take care of the original data location. You need to manually prepare it ("make lowercase" from ja2-stracciatella project) and copy/symlink to /usr/share/ja2lp/base.

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils subversion

DESCRIPTION="Linux port of Jagged Aliance 2 + mod113"
HOMEPAGE="http://www.ja-galaxy-forum.com/board/ubbthreads.php?ubb=showflat&Number=150445"

ESVN_REPO_URI="https://81.169.133.124/source/ja2/branches/Lesh/lpja2"
LICENSE=""
SLOT="0"
KEYWORDS="~x86"

IUSE=""
DEPEND="media-libs/fmod:0
        dev-games/physfs
        media-libs/sdl-image"
RDEPEND="${DEPEND}"

src_compile() {
    econf --prefix=/usr/local || die "econf failed"
    emake || die "emake failed"
}

src_install() {
    einstall || die "einstall failed"
}

Report message to a moderator

Civilian
Re: [Linux] ja2 1.13 linux port (alpha release)[message #204652] Mon, 22 December 2008 13:47 Go to previous messageGo to next message
310 is currently offline 310
Messages:2
Registered:December 2008
Location: Russia
Also noticed that emerged version runs distinctly faster (saving, loading, animations, etc.) vs. manually built one. Obviously make.conf does matter Grin

Report message to a moderator

Civilian
Re: [Linux] ja2 1.13 linux port (alpha release)[message #204998] Sat, 27 December 2008 14:30 Go to previous messageGo to next message
MrGreen is currently offline MrGreen

 
Messages:14
Registered:December 2008
Location: Europe
ummmm, thanks!! i'll try it and see if i can compile. i already hv those packages installed.

Report message to a moderator

Private
Re: [Linux] ja2 1.13 linux port (alpha release)[message #207029] Fri, 23 January 2009 20:13 Go to previous messageGo to next message
devoid is currently offline devoid
Messages:1
Registered:January 2009
Haffe
Hello. I thought this would be an approriate thread to ask in. How dependendent is JA2 V1.13 on the orginal JA2? The reason I am asking is that I am wondering if there is any hope of getting JA2 V1.13 running on Os X.


It is indeed possible:

http://img228.imageshack.us/img228/1705/ja2osxrs1.th.png

http://img511.imageshack.us/img511/6407/ja2osx12aq2.th.png

You have to install a lot of extra packages (darwinports is your friend) and know your way around the GNU build tools to get there however. I only had to hack up a few places in the source to get it to compile.

It is quite a bit easier to compile the JA2-Stracciatella on OSX as all it needs is SDL and already has hooks in the code for compiling on mac, but this can be made to work if you want to play with the full 1.13 mod.

Report message to a moderator

Civilian
Re: [Linux] ja2 1.13 linux port (alpha release)[message #207796] Mon, 02 February 2009 18:04 Go to previous messageGo to next message
Lesh 2 is currently offline Lesh 2

 
Messages:107
Registered:September 2006
Location: Izhevsk, Russia
Wow! Can I get diff patch you made in order to compile it under OSX?

Report message to a moderator

Sergeant
Re: [Linux] ja2 1.13 linux port (alpha release)[message #221931] Fri, 19 June 2009 01:20 Go to previous messageGo to next message
Beeyotch
Messages:1
Registered:June 2009
Hello!

My ./configure worked but "make" didn't, i got stuck at this point:

echo './'`slf.cpp
slf.cpp: In function 'BOOLEAN SLF_FindFilenameInDatabase(const CHAR8*, INT32*, INT32*)':
slf.cpp:567: error: invalid conversion from 'const char*' to 'CHAR8*'
make[3]: *** [libja_sgp_a-slf.o] Error 1



Any pointers?

[Updated on: Fri, 19 June 2009 01:24] by Moderator

Report message to a moderator

Civilian
Re: [Linux] ja2 1.13 linux port (alpha release)[message #242160] Mon, 18 January 2010 13:20 Go to previous messageGo to next message
shazow is currently offline shazow
Messages:1
Registered:January 2010
Hi there, I got the same error as Espectro.

The following patch fixed it for me:

--- slf.cpp	(revision 3316)
+++ slf.cpp	(working copy)
@@ -564,7 +564,7 @@
 
 	// now browse through library filelist, searching pFilename,
 	// but first cutoff first directory name
-	pResourceName = strchr( pFilename, '/' );
+	pResourceName = strchr((CHAR8*)pFilename, '/' );
 	if ( !pResourceName ) pResourceName = (CHAR8*)pFilename;
 	else pResourceName++;


- shazow

Report message to a moderator

Civilian
Re: [Linux] ja2 1.13 linux port (alpha release)[message #243467] Sun, 07 February 2010 19:58 Go to previous messageGo to next message
buggerbot is currently offline buggerbot

 
Messages:31
Registered:October 2008
Hey.

I have a problem with the sound. I compiled the developer version (https://81.169.133.124/source/ja2/branches/Lesh/lpja2/, r3319) and installed the game. Everything is fine, but I have no background sound! In my bash I get the error "MUS music\menumix.ogg not found". I've opened the music.slf and there is a "menumix.wav".

Whats wrong? Where do I get this *.ogg file?

Report message to a moderator

Private 1st Class
Re: [Linux] ja2 1.13 linux port (alpha release)[message #247389] Sat, 20 March 2010 20:47 Go to previous messageGo to next message
pyg is currently offline pyg

 
Messages:42
Registered:August 2007
Is this project still alive? I've been trying the dev version and have found some bugs and build problems. The sound does work better than when I last tried it with libfmod.

TRACE map_status_load(). File: save_load_map.cpp, line: 111

Program received signal SIGSEGV, Segmentation fault.
0x083491ff in FindStructure (sGridNo=-20376, fFlags=1) at structure.cpp:1230
1230                    if ((pCurrent->fFlags & fFlags) != 0)

#0  0x083491ff in FindStructure (sGridNo=-20376, fFlags=1) at structure.cpp:1230
#1  0x08344a77 in DamageStructsFromMapTempFile (pMap=0xa2fd650) at save_load_map.cpp:915
#2  0x083432b0 in map_status_apply_patch (data=0xa2fd650, user_data=0x0) at save_load_map.cpp:316
#3  0x00191307 in g_slist_foreach () from /lib/libglib-2.0.so.0
#4  0x08343d62 in LoadAllMapChangesFromMapTempFileAndApplyThem () at save_load_map.cpp:558
#5  0x082c17f5 in LoadCurrentSectorsInformationFromTempItemsFile () at tactical_save.cpp:1227
#6  0x08067e5d in LoadSavedGame (ubSavedGameID=0 '\000') at save_load_game.cpp:2716
#7  0x0806ea21 in DoneFadeOutForSaveLoadScreen () at save_load_screen.cpp:2083
#8  0x0804e66e in HandleFadeOutCallback () at fade_screen.cpp:115
#9  0x0806bc65 in SaveLoadScreenHandle () at save_load_screen.cpp:369
#10 0x08051cfc in GameLoop () at game_loop.cpp:299
#11 0x0804f887 in GameCycle () at game.cpp:144
#12 0x0805dde2 in main (argc=1, argv=0xbffff9e4) at main.cpp:52

Report message to a moderator

Corporal
Re: [Linux] ja2 1.13 linux port (alpha release)[message #264472] Fri, 08 October 2010 01:10 Go to previous messageGo to next message
loonyphoenix is currently offline loonyphoenix

 
Messages:45
Registered:September 2010
Even with shazow's patch I hit a similar error in another file:

g++ -DHAVE_CONFIG_H -I. -I../..  -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DJA2 -DJA2EDITOR -DENGLISH -DDATADIR=\"/usr/local/share/ja2lp\" -I.. -I../editor -I../laptop -I../strategic -I../tactical -I../tactical_ai -I../tile_engine -I../xml -I../sgp   -O0 -g -m32 -pthread -pipe -MT libja_utils_a-text.o -MD -MP -MF .deps/libja_utils_a-text.Tpo -c -o libja_utils_a-text.o `test -f 'text.cpp' || echo './'`text.cpp
text.cpp: In function 

Report message to a moderator

Corporal
Re: [Linux] ja2 1.13 linux port (alpha release)[message #264475] Fri, 08 October 2010 01:19 Go to previous messageGo to next message
lynxlynxlynx is currently offline lynxlynxlynx

 
Messages:109
Registered:September 2005
Location: Slovenija
That looks trivial to fix, but the linux version is an old snapshot anyway, so there's not much to be gained.

Report message to a moderator

Sergeant
Re: [Linux] ja2 1.13 linux port (alpha release)[message #303780] Mon, 23 April 2012 05:43 Go to previous messageGo to next message
Shank is currently offline Shank

 
Messages:11
Registered:April 2012
I know this thread is really really old, almost two years, but I must state this for whoever finds this thread in search machine. A historical note to say so.


To run ja 1.13 on Linux (or any other OS), please use JA2 1.13 Straciatella.
http://www.ja-galaxy-forum.com/board/ubbthreads.php?ubb=showflat&Number=240035


Not this one.


JA2 1.13 runs on Linux today thanks to collective efforts. Thank you!!!

Report message to a moderator

Private
Re: [Linux] ja2 1.13 linux port (alpha release)[message #303785] Mon, 23 April 2012 11:32 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3658
Registered:July 2009
Hello Shank, Welcome to the Pit :wave:
Straciatella is not 1.13, it's just a ported Vanilla version with additional bugfixes.

Report message to a moderator

Captain

Re: [Linux] ja2 1.13 linux port (alpha release)[message #305027] Mon, 21 May 2012 04:43 Go to previous messageGo to next message
Shank is currently offline Shank

 
Messages:11
Registered:April 2012
Hello, Bread.

Damn, I almost hoped its not ... :/
Damn.

Why are vanilla not using SDL? I mean, they are going Windows-only, this can't be serious! Sad

I probably should have named myself depressive too Sad Sad

Report message to a moderator

Private
Re: [Linux] ja2 1.13 linux port (alpha release)[message #305030] Mon, 21 May 2012 07:53 Go to previous messageGo to next message
bnolsen is currently offline bnolsen

 
Messages:5
Registered:May 2012
Shank

Why are vanilla not using SDL? I mean, they are going Windows-only, this can't be serious! Sad


a mixture of insanity and stupidity. windows isn't really an interesting platform anymore. mobile and tablet are and they tossed these interesting platforms by what they did. I noticed the SMP project stalled. I also notice there haven't been any source code drops for the 1.13 branch in forever. Is there any way to make them drop the latest 1.13 code in something simple like a zip file? (no lame windows install packages pls!)

[Updated on: Mon, 21 May 2012 07:54] by Moderator

Report message to a moderator

Private
Re: [Linux] ja2 1.13 linux port (alpha release)[message #305032] Mon, 21 May 2012 08:11 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3658
Registered:July 2009
Hello bnolsen, Welcome to the Pit :wave:
What's wrong with SVN? Gets you the most current 1.13 source.

Also, you two realize that Vanilla was developed when the standard 'mobile platform' was your good ol' indestructible Nokia cell phone phone booth?

Report message to a moderator

Captain

Re: [Linux] ja2 1.13 linux port (alpha release)[message #305044] Mon, 21 May 2012 16:02 Go to previous messageGo to next message
bnolsen is currently offline bnolsen

 
Messages:5
Registered:May 2012
gogle has not been my friend for finding instructions for getting any source. The best I've found is a source code drop for 4452 and dead subversion links.

Report message to a moderator

Private
Re: [Linux] ja2 1.13 linux port (alpha release)[message #305048] Mon, 21 May 2012 17:44 Go to previous messageGo to next message
Sam Hotte

 
Messages:1966
Registered:March 2009
Location: Middle of Germany
There's a thread in "1.13 dev center" about new SVN Address:
http://www.bears-pit.com/board/ubbthreads.php/topics/293324/New_SVN_address.html#Post293324

Report message to a moderator

Sergeant Major
Re: [Linux] ja2 1.13 linux port (alpha release)[message #305139] Thu, 24 May 2012 15:51 Go to previous messageGo to next message
pyg is currently offline pyg

 
Messages:42
Registered:August 2007
Just in case any other Linux fans read this thread, Lesh2's Linux port is not worth bothering with at this point. Ja2 works very well under wine with one caveat. I'm currently playing a recent AIMNAS release (personal favorite flavor of ja2) under wine 1.5.x. The caveat is that most mods are developed on a brain dead case insensitive OS and need sanitizing before installing. I wrote a little python script to fix this by recursively lowercase a directory tree. Use with caution as this will create havoc if applied carelessly in the wrong place. Usage: lowercase.py directory

#!/usr/bin/env python
import os, sys
if __name__ == "__main__":
  for (dirpath, dirnames, filenames) in os.walk(sys.argv[1], topdown = False):
    for item in filenames+dirnames:
      target = os.path.join(dirpath, item)
      lower =  os.path.join(dirpath, item.lower())
      os.rename(target, lower)


Best order of operations is to do a clean install of ja2 base, lowercase it, extract SCI/mod into a separate directory, lowercase that, 'cp -r mod base_install', PLAY! Ja2 and wine 1.2.x was very slow on my machine, wine 1.5.x and pulseaudio do not get along.

Report message to a moderator

Corporal
Re: [Linux] ja2 1.13 linux port (alpha release)[message #305147] Thu, 24 May 2012 17:37 Go to previous messageGo to next message
bnolsen is currently offline bnolsen

 
Messages:5
Registered:May 2012
wine might work okay on an x86. However something like the stracciatella build works just fine and smooth on one of these:

http://www.alibaba.com/product-gs/561021330/TV_box_Android_IP_TV_set.html

cortex a8 system with 512MB ram. We should start seeing more of these going for under 50USD this summer.

I don't have a raspberry pi to test it on but it should run on there. Not sure how smooth it will be though.

one liner for changing case:
for i in $(find . -type f); do mv "$i" "$(echo $i|tr A-Z a-z)"; done


also looks like lesh 2's source code repo is gone (or maybe moved).

[Updated on: Thu, 24 May 2012 17:57] by Moderator

Report message to a moderator

Private
Re: [Linux] ja2 1.13 linux port (alpha release)[message #305149] Thu, 24 May 2012 20:08 Go to previous messageGo to previous message
Scheinworld is currently offline Scheinworld

 
Messages:961
Registered:December 2007
Location: Baltic Sea, Germany
Hello,

bnolsen
also looks like lesh 2's source code repo is gone (or maybe moved).


I hope Lesh's last data is saved in the JA2 archive:

http://kermi.pp.fi/JA_2/Mods_v1.13/Lesh/Linux_Port_Alpha/

Edit: I found it! The repository is located here now:

https://ja2svn.dyndns.org/source/ja2/branches/Lesh/


Maybe interesting for some Linux users as well the vanilla source files for Linux:

http://kermi.pp.fi/JA_2/Mods_Vanilla/Source/Linux/


Best regards; Schein

[Updated on: Thu, 24 May 2012 20:20] by Moderator

Report message to a moderator

First Sergeant

Previous Topic: A Small Compilation of New Features
Next Topic: New Interface & Laptop folders
Goto Forum:
  


Current Time: Fri Mar 29 12:39:30 GMT+2 2024

Total time taken to generate the page: 0.02882 seconds