Linux port[message #101508]
|
Sun, 11 July 2004 10:47
|
|
actmodern |
|
Messages:9
Registered:July 2004 |
|
|
Hi,
I started porting JA2 to Linux yesterday. I only recently found the sourcecode here.
Has anyone else attempted this? Is there a project going on anywhere?
I'm in the middle of porting the filemanager. I did some work in autoconfing it etc. I'm interested in hearing of any on-going Linux port so as not to duplicate effort.
Report message to a moderator
|
Private
|
|
|
|
|
|
|
|
|
|
|
|
Re: Linux port[message #101518]
|
Fri, 10 September 2004 02:59
|
|
ebuck |
|
Messages:123
Registered:August 2004 Location: Houston, TX |
|
|
I've had success at translating the smacker files to avi files.
There's an avi player for linux, but it's not really finished, and I don't know if it really suits our needs. I know the mpeg plays on both linux and windows nicely, so that's what I've been concentrating my efforts on. Should you have a better idea for the movie file formats, please speak up.
I know that avi files are not exactly mpegs but it's a step in the right direction. I've been experimenting with translating the resulting avi files into mpegs, but not with a lot of success.
Seems that the avi files have a very low color depth which tends to make things fall apart when trying to reassemble them into mpegs. So now I'm looking into pulling each frame out of the avi files and saving it to a separate file, creating a new frame from the base file with a deeper color depth per pixel, and packing those back together into a mpeg movie.
Haven't looked into the picture file formats, but I imagine we will encounter similar issues.
Cheers
Report message to a moderator
|
Sergeant
|
|
|
|
Re: Linux port[message #101520]
|
Sat, 11 September 2004 12:23
|
|
Dougster |
|
Messages:27
Registered:August 2004 Location: Chatting with Hans |
|
|
Quote:Originally posted by Edwin Buck:
I've had success at translating the smacker files to avi files.
There's an avi player for linux, but it's not really finished, and I don't know if it really suits our needs. I know the mpeg plays on both linux and windows nicely, so that's what I've been concentrating my efforts on. Should you have a better idea for the movie file formats, please speak up.
I know that avi files are not exactly mpegs but it's a step in the right direction. I've been experimenting with translating the resulting avi files into mpegs, but not with a lot of success.
Seems that the avi files have a very low color depth which tends to make things fall apart when trying to reassemble them into mpegs. So now I'm looking into pulling each frame out of the avi files and saving it to a separate file, creating a new frame from the base file with a deeper color depth per pixel, and packing those back together into a mpeg movie.
Haven't looked into the picture file formats, but I imagine we will encounter similar issues.
Cheers The commercial linux version of JA2 already has mpeg movies. I just played "movies.dat" in mplayer and it worked perfectly. It appears that all the movies are combined into one big file and the game engine plays specific portions of the file at various times.
Actmodern expressed some concern that the smac movies are still property of Strategy First and are not covered under the source code license.
However, if any of you want to work on the coding of the movies, we can "presume" that linux people have access to the linux version of movies.dat and provide a stub file in case they don't have it. *Maybe* we can eventually get permission to make that file available for linux people to download.
I have the linux "movies.dat" file here, if any of you want it to work on the code. I will make it available for download temporarily if you send me a private email. Its 35M bzip2'ed.
Report message to a moderator
|
Private 1st Class
|
|
|
|
|
Re: Linux port[message #101523]
|
Fri, 12 November 2004 09:16
|
|
bob |
Messages:1
Registered:November 2004 |
|
|
Hi everybody,
I'm interested on developping JA2 for linux but I wasn't able to find the source codes for linux. Does averybody work alone from the windows source code or someone post somewhere the source codes for linux.
I can help in C/C++ developpment for linux only because I don't have windows and wine isn't configured.
Cheers
Bob
Report message to a moderator
|
Civilian
|
|
|
|
Re: Linux port[message #101525]
|
Fri, 10 December 2004 09:48
|
|
ptruog |
Messages:4
Registered:December 2004 Location: Seattle |
|
|
Is there a public repository for code already worked on? Or is everyone working on the linux code simply starting from scratch? I can't even seem to get to a working cvs server for the windows code... so I've no idea how current the code i have actually is.
Thanks
Report message to a moderator
|
Civilian
|
|
|
|
Re: Linux port[message #101527]
|
Sat, 18 December 2004 05:03
|
|
ptruog |
Messages:4
Registered:December 2004 Location: Seattle |
|
|
Edwin,
Thanks for the response. I've seen the svn link, but the connection always fails.. so I naturally was curious if the server was still available at all.. And as I could not find a working svn/cvs server I asked this community so as to not duplicate efforts. And as I see there are many questions that sound a lot like mine.. I can't be the only one who wondered about the state of a port.
I agree, there is a lot to be discussed and worked on.
I have read on other posts that someone was at least attempted, and I believe had some success at porting the movies formats to something else... I only hope that this work was updated to the svn server...
Anyway, thanks for the response.
Report message to a moderator
|
Civilian
|
|
|
Re: Linux port[message #101528]
|
Sat, 18 December 2004 15:11
|
|
ebuck |
|
Messages:123
Registered:August 2004 Location: Houston, TX |
|
|
George,
Try the https:// version of the svn link. I've never had that fail on me yet. It's
https://www.hobby-software.com/svn/ja2test/
for some reason the http:// URL doesn't work nearly as well. Also, if you had a failed http:// attempt, svn will cache who you tried to pull from in the newly created ja2test directory. Remove it and retry with https and all should be good.
I was the one that experimented with "porting" one of the movie files from smacker to mpeg. I got the file from smacker to avi using free tools available from the web. I tried to convert the avi to a mpeg, but most mpeg libraries don't like the particular colormap / bit depth of the movie files, so I guess it could be done (worst case, exporting all the frames into files, coverting the frames one by one to a more digestable colordepth, and then building a movie from all the frames), just not easily.
The SVN server has none of the media files. Space is limited, and media files are strategically omitted from the tree to conserve server space.
Report message to a moderator
|
Sergeant
|
|
|
|
|
Re: Linux port[message #176342]
|
Sat, 23 February 2008 07:07
|
|
Lightkey |
Messages:1
Registered:February 2008 Location: Germany, W |
|
|
To bump this for everyone interested, nothing came out of this thread but luckily others completed the task already a while ago with the project Jagged Alliance 2: Stracciatella. They (mostly one developer) released version 0.8 recently. Videos are not working but a bunch of bugs and translations from the original have been fixed. Work has been focused to clean up the source code, only mouse scrolling in the menu has been added, the gameplay has not been altered otherwise.
Report message to a moderator
|
Civilian
|
|
|
Re: Linux port[message #186149]
|
Sat, 24 May 2008 20:42
|
|
Gincan |
|
Messages:15
Registered:August 2005 |
|
|
LightkeyTo bump this for everyone interested, nothing came out of this thread but luckily others completed the task already a while ago with the project Jagged Alliance 2: Stracciatella. They (mostly one developer) released version 0.8 recently. Videos are not working but a bunch of bugs and translations from the original have been fixed. Work has been focused to clean up the source code, only mouse scrolling in the menu has been added, the gameplay has not been altered otherwise.
I've now tried the 0.9 and it is very stable, just a few bugs (San Mona boxing comp is broke). I also ran into some AI bugs but I guess you have to rewrite the AI code to get rid of them. Not a single savegame went CTD (more than 30 hours worth of gameplay) so that is great. Hopefully you can add the 1.13 multiplayer and some of the AI functions to give the player a little more challenge.
[Updated on: Sat, 24 May 2008 20:45] by Moderator Report message to a moderator
|
Private
|
|
|
|
|
Re: Linux port[message #186304]
|
Mon, 26 May 2008 00:46
|
|
Tron |
|
Messages:225
Registered:August 2007 Location: Germany |
|
|
Well, as I said before: If you want the problem resolved, report it to me and preferably include a savegame, so I can reproduce the problem. Otherwise there is little I can do.
Report message to a moderator
|
Sergeant 1st Class
|
|
|