Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171475 - New ebuild: games-strategy/ja2-stracciatella
Summary: New ebuild: games-strategy/ja2-stracciatella
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Games
URL: http://tron.homeunix.org/ja2/
Whiteboard:
Keywords: EBUILD
: 138290 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-19 19:27 UTC by Aniruddha
Modified: 2012-05-10 20:11 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Not working ja2-stracciatella-0.4 ebuild (ja2-stracciatella-0.4.ebuild,687 bytes, application/octet-stream)
2007-08-18 09:32 UTC, Aniruddha
Details
ja2-stracciatella-0.5.ebuild (ja2-stracciatella-0.5.ebuild,1.60 KB, text/plain)
2007-08-26 01:26 UTC, Friedrich Göpel
Details
SFI license file (SFI,5.67 KB, text/plain)
2007-08-26 01:28 UTC, Friedrich Göpel
Details
files/ja2-wrapper.sh (ja2-wrapper.sh,319 bytes, text/plain)
2007-08-26 01:29 UTC, Friedrich Göpel
Details
files/ja2-stracciatella.png (ja2-stracciatella.png,1.17 KB, image/png)
2007-08-26 01:30 UTC, Friedrich Göpel
Details
ja2-stracciatella-9999.ebuild (ja2-stracciatella-9999.ebuild,1.61 KB, text/plain)
2007-08-26 01:32 UTC, Friedrich Göpel
Details
ja2-stracciatella-0.8.ebuild (ja2-stracciatella-0.8.ebuild,1.55 KB, text/plain)
2008-02-27 20:25 UTC, Bernd Buschinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aniruddha 2007-03-19 19:27:11 UTC
I think that an ebuild Jagged for Alliance2-stracciatella  would be an excellent addition to our already extensive games portfolio. I some it willing to teach me how I could make an ebuild  :).

Reproducible: Always
Comment 1 Aniruddha 2007-03-19 19:27:48 UTC
Oops, forget the link added it now:
http://ja2.dragonriders.de/index.html
Comment 2 Kai Huuhko 2007-04-10 15:34:15 UTC
The project is now at version 0.3.

As for creating an ebuild, I haven't found any method to extract the original game data-files from the Windows-version installation package (600MB .exe wise-installer...), other than running it in wine. The files could be extracted from the original Linux-version easily, but I don't have one.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2007-04-10 20:36:31 UTC
Well, I would likely only build support for the Linux version, since that's what I own and this *is* a Linux distribution.  If someone came up with a way to extract the data, I'd add it, of course.
Comment 4 Kai Huuhko 2007-04-10 21:00:20 UTC
The homepage has these instructions for the original Linux version:

- unpack all the files from /tar on installer CD to $SGPDATADIR
- Copy contents of game CD to $SGPDATADIR
- Rename "data" to "Data" in $SGPDATADIR
- Rename "tilecache" to "TILECACHE" in $SGPDATADIR/Data

and then

- copy config.template to config.default and edit config.default according to your needs (you have to specifiy exactly one language and at least the SGPDATADIR). For the moment german data-files will work and english should. SGPDATADIR should point to the directory, where your Windows-Installation/Linux version of Jagged Alliance 2 is located (it expects a directory Data and a directory Data/TILECACHE below SGPDATADIR)
- make
- make lowercase (Converts all datafiles to lowercase - needed!)

But of course the ebuild could rename the files and directories itself so there would be no need to run "make lowercase" afterwards.
Comment 5 Aniruddha 2007-04-11 08:39:14 UTC
Here's the contents from my JA2 WIndows cd,we should be able to extract the cab file?!

CD 1
$ ls ..
AUTORUN.EXE  AUTORUN.INF  INSTALL

/INSTALL $ ls
DATA.TAG   _INST32I.EX_  _sys1.cab   lang.dat    setup.bmp
SETUP.EXE  _ISDEL.EXE    _user1.cab  layout.bin  setup.ins
SETUP.INI  _SETUP.DLL    data1.cab   os.dat      setup.lid

CD 2
$ ls
00000001.TMP  AUTORUN.EXE  WIZARDRY 8 DEMO  clokspl.exe   secdrv.sys
00000413.016  AUTORUN.INF  clcd16.dll       dplayerx.dll
00000413.256  DATA         clcd32.dll       drvmgt.dll

/DATA $ ls
Intro.slf  LOADSCREENS.SLF  MAPS.SLF  NPC_SPEECH.SLF  SPEECH.SLF
Comment 6 Kai Huuhko 2007-04-18 10:45:31 UTC
(In reply to comment #5)
> Here's the contents from my JA2 WIndows cd,we should be able to extract the cab
> file?!
> 
> CD 1
> $ ls ..
> AUTORUN.EXE  AUTORUN.INF  INSTALL
> 
> /INSTALL $ ls
> DATA.TAG   _INST32I.EX_  _sys1.cab   lang.dat    setup.bmp
> SETUP.EXE  _ISDEL.EXE    _user1.cab  layout.bin  setup.ins
> SETUP.INI  _SETUP.DLL    data1.cab   os.dat      setup.lid
> 

Try this command:
cabextract -l data1.cab

And paste the output here please.
Comment 7 Aniruddha 2007-05-14 19:56:30 UTC
Here's what I get :(:
$ cabextract -l data1.cab
data1.cab: WARNING; found InstallShield header. This is probably an InstallShield file. Use UNSHIELD (http://synce.sf.net) to unpack it.
data1.cab: no valid cabinets found

All done, errors in processing 1 file(s)
Comment 8 Aniruddha 2007-06-07 17:20:08 UTC
Maybe it's an idea to install the windows version with Wine first and then transfer the files?
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2007-06-20 00:58:59 UTC
We won't ever put something like that into the tree.  Instead, we'd just require the user to provide the data.  The user can use wine to get it, or any other means at their disposal, but forcing someone to install wine to install a game sucks, especially since the games team openly discourages the use of wine and recommends Linux-native gaming only.
Comment 10 Aniruddha 2007-06-22 11:42:53 UTC
(In reply to comment #9)
> We won't ever put something like that into the tree.  Instead, we'd just
> require the user to provide the data.  The user can use wine to get it, or any
> other means at their disposal, but forcing someone to install wine to install a
> game sucks, especially since the games team openly discourages the use of wine
> and recommends Linux-native gaming only.
> 

That was not what I meant. We were exploring if Jagged Alliance2-stracciatella only works with the Linux version of Ja2 or that there is a possibility to use the Windows version of Ja2 too (just like with Return to Castle Wolfenstein).

Anyhow I think it would be great to have an ebuild for  Jagged Alliance2-stracciatella so that owner of the Linux Ja2 can easily install their game.
Comment 11 Dennis Schridde 2007-08-07 08:10:54 UTC
Version 0.5 of this game has just been released. Any idea when the ja2-straciatella provide-your-own-files ebuild will make it into the tree?
Comment 12 Chris Gianelloni (RETIRED) gentoo-dev 2007-08-17 19:57:26 UTC
http://www.gentoo.org/proj/en/desktop/games/#doc_chap5_sect10
Comment 13 Aniruddha 2007-08-18 09:32:53 UTC
Created attachment 128471 [details]
Not working ja2-stracciatella-0.4
ebuild
Comment 14 Aniruddha 2007-08-18 09:34:50 UTC
This is how far I got with my ebuild :( I got complete stuck with the install phase. See also this forum thread:
http://forums.gentoo.org/viewtopic-t-560455-highlight-.html
Comment 15 Friedrich Göpel 2007-08-26 01:26:57 UTC
Created attachment 129189 [details]
ja2-stracciatella-0.5.ebuild

fixed up ebuild for 0.5, might still need some improvement
Comment 16 Friedrich Göpel 2007-08-26 01:28:21 UTC
Created attachment 129190 [details]
SFI license file
Comment 17 Friedrich Göpel 2007-08-26 01:29:01 UTC
Created attachment 129191 [details]
files/ja2-wrapper.sh
Comment 18 Friedrich Göpel 2007-08-26 01:30:46 UTC
Created attachment 129193 [details]
files/ja2-stracciatella.png
Comment 19 Friedrich Göpel 2007-08-26 01:32:09 UTC
Created attachment 129195 [details]
ja2-stracciatella-9999.ebuild
Comment 20 Bernd Buschinski 2008-02-27 20:25:12 UTC
Created attachment 144775 [details]
ja2-stracciatella-0.8.ebuild

I tried to update the ebuild
I hope it works but lost my CD, so I couldnt test it :(

nexttime I will first look for the CD :)
Comment 21 Tomáš Chvátal (RETIRED) gentoo-dev 2009-11-28 21:14:38 UTC
*** Bug 138290 has been marked as a duplicate of this bug. ***
Comment 22 Julian Ospald 2012-05-08 23:41:57 UTC
is there still a reason why this is not in the tree?

version 0.12.1 is the latest, seems stable to me and I have done a few changes to the current ebuild from gamerlay
Comment 23 Julian Ospald 2012-05-10 20:11:26 UTC
+*ja2-stracciatella-0.12.1_p7072 (10 May 2012)
+
+  10 May 2012; Julian Ospald <hasufell@gentoo.org> +files/ja2-convert.sh,
+  +ja2-stracciatella-0.12.1_p7072.ebuild,
+  +files/ja2-stracciatella-0.12.1_p7072-makefile.patch, +metadata.xml:
+  initial import wrt #171475


+*ja2-stracciatella-data-1 (10 May 2012)
+
+  10 May 2012; Julian Ospald <hasufell@gentoo.org>
+  +ja2-stracciatella-data-1.ebuild, +metadata.xml:
+  initial import wrt #171475