Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Stracciatella Project (Platform Independent JA2) » Release 0.12 - Walnut - now with 64 crunchy bits!
Release 0.12 - Walnut - now with 64 crunchy bits![message #220823] Fri, 12 June 2009 15:12 Go to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
I am proud to announce the twelth release of JA2-Stracciatella - codenamed Walnut.
The important changes are:
  • 64bit support (e.g. AMD64)
  • Allow all printable characters (e.g. umlauts and cyrillic letters) in text input fields (e.g. savegame description and name of IMP)
  • Fix a bug from the previous release which prevented re-entering a sector in the Windows version
  • Bobby Ray's page can now be used in the Russian (Agoniya Vlasti) version
  • Fix many more vanilla crashes, bugs and glitches
  • Fix some bugs from previous releases
  • Plug vanilla resource leaks
Apart from many bug fixes, the source code has been further cleaned up to improve maintainability and facilitate integration of extensions.
Download the source code - binaries for Windows are also available. You can also read the full changelog there.

Report message to a moderator

Sergeant 1st Class
Re: Release 0.12 - Walnut - now with 64 crunchy bits![message #220849] Fri, 12 June 2009 17:25 Go to previous messageGo to next message
zed is currently offline zed

 
Messages:42
Registered:November 2006
good job!
one question if i may,
when will the obvious step will be taken - combining 1.13 and JA2-Stracciatella?
SDL platform will give the motivation for making changes in the game engine and break the current limitation.

Report message to a moderator

Corporal
Re: Release 0.12 - Walnut - now with 64 crunchy bits![message #221003] Sat, 13 June 2009 18:13 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
I do not consider this step obvious. There are no plans for this either.

Report message to a moderator

Sergeant 1st Class
Re: Release 0.12 - Walnut - now with 64 crunchy bits![message #221103] Sun, 14 June 2009 13:25 Go to previous messageGo to next message
quartercast is currently offline quartercast

 
Messages:50
Registered:May 2009
Thanks Tron, I'm having great fun JA2 on my mac now. So to apply this update I just have to copy the source and run make again?

Report message to a moderator

Corporal
Re: Release 0.12 - Walnut - now with 64 crunchy bits![message #221118] Sun, 14 June 2009 15:01 Go to previous messageGo to next message
Realist

 
Messages:28
Registered:September 2005
Location: Duesseldorf, Germany
Hi, wanna report a problem with 0.12 win32 binaries (for English datafiles):

I'm experiencing a CTD whenever I'm trying to hire an AIM merc (crashes on clicking 'hire' button). No output in stderr.txt/stdout.txt. The same thing works fine in 0.11, though.

Report message to a moderator

Private 1st Class
Re: Release 0.12 - Walnut - now with 64 crunchy bits![message #221152] Sun, 14 June 2009 21:27 Go to previous messageGo to next message
Realist

 
Messages:28
Registered:September 2005
Location: Duesseldorf, Germany
Alright, I think I identified the problem. Some kind of out-of-bounds error:

Index: Build/Laptop/AIMMembers.cc
===================================================================
--- Build/Laptop/AIMMembers.cc  (revision 6010)
+++ Build/Laptop/AIMMembers.cc  (working copy)
@@ -1383,7 +1383,7 @@
        }

        //draw the select light for the buy equipment buttons
-       for (UINT16 i = 0; i != 3; ++i)
+       for (UINT16 i = 0; i != 2; ++i)
        {
                DrawButtonSelection(giBuyEquipmentButton[i], gfBuyEquipment == i);
        }

Hope this helps.

Report message to a moderator

Private 1st Class
Re: Release 0.12 - Walnut - now with 64 crunchy bits![message #221158] Sun, 14 June 2009 22:18 Go to previous messageGo to next message
edmondo is currently offline edmondo
Messages:1
Registered:June 2009
That's huge! Thanks a lot for the 64 bit support and as usual all the fixes.

Report message to a moderator

Civilian
Re: Release 0.12 - Walnut - now with 64 crunchy bits![message #221285] Mon, 15 June 2009 22:16 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
Realist
Hi, wanna report a problem with 0.12 win32 binaries (for English datafiles):

I'm experiencing a CTD whenever I'm trying to hire an AIM merc (crashes on clicking 'hire' button). No output in stderr.txt/stdout.txt. The same thing works fine in 0.11, though.

There's a new release (v0.12.1) available, which has this problem resolved. Thanks for reporting the problem.

Report message to a moderator

Sergeant 1st Class
Re: Release 0.12 - Walnut - now with 64 crunchy bits![message #221286] Mon, 15 June 2009 22:18 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
quartercast
Thanks Tron, I'm having great fun JA2 on my mac now. So to apply this update I just have to copy the source and run make again?

It depends on how you obtain the source. If you use the .tar.bz2, then you unpack it, copy you config.default and build. If you use SVN, then just do svn up (if you use trunk) or svn switch svn://tron.homeunix.org/ja2/tags/0.12.1 (if you use the releases) and then build.

Report message to a moderator

Sergeant 1st Class
Re: Release 0.12 - Walnut - now with 64 crunchy bits![message #230891] Wed, 12 August 2009 12:53 Go to previous messageGo to next message
bru is currently offline bru
Messages:4
Registered:August 2009
Location: Poland
Hi there!!
Sorry for noobish question but is there any change to run JA2:Stracciatella for ppc64 on Linux?
Thanks any for answer;)
Cheers

[Updated on: Wed, 12 August 2009 13:01] by Moderator

Report message to a moderator

Civilian
Re: Release 0.12 - Walnut - now with 64 crunchy bits![message #230999] Thu, 13 August 2009 12:32 Go to previous messageGo to next message
bru is currently offline bru
Messages:4
Registered:August 2009
Location: Poland
Ja2 Stracciatella Day 2 Wink
I need some help to install Ja2
i go with this tutu

Install GCC either from your package manager or use MSYS+MinGW on Windows.
Install SDL development libraries either from your package manager or get them from the SDL site.
Get the source code of JA2-Stracciatella either via SVN from svn://tron.homeunix.org/ja2/trunk or get a source package
Copy config.template to config.default, edit the resulting file: Uncomment ONE language, optionally uncomment some build options.
For MSYS+MinGW uncomment the parts specific to it regarding SDL and adjust the path to SDL as necessary
Build it by typing make (or gmake on some platforms)
Start the game once, it will generate a config file .ja2/ja2.ini (or JA2/ja2.ini on Windows) in your home directory and terminate. Edit the file and adjust the path in their to point to your Jagged Alliance 2 data files.


Here is the plan
1. Get JA2 Windows ver. & JA2 Stracciatella
2. Compile it!
3. Play Wink

First step
- I installed required packages libsdl1.2-dev, gcc-4.2, make from repo
- Then i go to my friend & install JA2 Windows ver. (polish ver. it's native language) on external hdd e:/ja2
- Back home Wink & plug my external hdd to playstation 3 where the linux is installed
- Download JA2-Stracciatella v0.12.1 - Walnut source code to ~/
- Untar & cd ja2-0.12.1
- then 'Copy config.template to config.default, edit the resulting file' uncheck # LNG := POLISH (delete #) and tell path SGPDATADIR := /media/disk/ja2
- then make
- make lowercase
- sudo make install
- run ./ja2

lee@localhost:~/ja2-0.12.1$ ./ja2
WARNING: Could not open configuration file ("/home/lee/.ja2/ja2.ini").
Please edit "/home/lee/.ja2/ja2.ini" to point to the binary data.
ERROR: caught unhandled exception:
Path to binary data is not set.
lee@localhost:~/ja2-0.12.1$ ./ja2
ERROR: caught unhandled exception:
Initialising libraries failed
lee@localhost:~/ja2-0.12.1$


So i edit the /.ja2/ja2.ini with this entry data_dir = /media/disk/ja2/ & run again ./ja2
and i get
ERROR: caught unhandled exception:
Initialising libraries failed

Anyone have similar problem?
I'm new in linux, and need some help with this.
Any help would be appreciated.
Many Thanks.

[Updated on: Thu, 13 August 2009 12:45] by Moderator

Report message to a moderator

Civilian
Re: Release 0.12 - Walnut - now with 64 crunchy bits![message #231018] Thu, 13 August 2009 22:19 Go to previous messageGo to next message
mgl is currently offline mgl

 
Messages:255
Registered:December 2007
Location: France
I think it's the game libraries, not Linux's. The sound and video engines, the memory and file managers for example.

You may have more output if you enable the JA2BETAVERSION and JA2TESTVERSION flags in the file "config.default". Run "$ make clean" and recompile. Run ja2. A file called "debug.txt" will be created in the folder where the executable "ja2" is. It contains a list of the game libraries that the program tried to initialize. It may show precisely the one which failed.

If it's the sound, you can disable it on the command line.

I don't know if the processor's endianness is still a problem or not.

Report message to a moderator

Master Sergeant
Re: Release 0.12 - Walnut - now with 64 crunchy bits![message #231024] Thu, 13 August 2009 23:40 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
bru
Hi there!!
Sorry for noobish question but is there any change to run JA2:Stracciatella for ppc64 on Linux?

Supporting big endian architectures (like PPC) needs more work. At the moment only little endian architectures (like AMD64) are supported.

bru
So i edit the /.ja2/ja2.ini with this entry data_dir = /media/disk/ja2/ & run again ./ja2
and i get
ERROR: caught unhandled exception:
Initialising libraries failed

The path given in data_dir is not correct and the .slf files are not found. Show the results of "cat ~/.ja2/ja2.ini" and "ls -R /media/disk/ja2/".

Report message to a moderator

Sergeant 1st Class
Re: Release 0.12 - Walnut - now with 64 crunchy bits![message #231120] Sat, 15 August 2009 21:21 Go to previous message
bru is currently offline bru
Messages:4
Registered:August 2009
Location: Poland
First i want thanks You for reply Wink & sorry that i write so late but i was not at home.

Here is my "cat ~/.ja2/ja2.ini"
lee@kotek:~$ cat ~/.ja2/ja2.ini
#Tells ja2-stracciatella where the binary datafiles are located
data_dir = /media/disk/ja2 

& "ls -R /media/disk/ja2/"
lee@kotek:~/ja2-0.12.1$ ls -R /media/disk/ja2/
/media/disk/ja2/:
Data  Ja2.ini  Ja2.set  Readme.txt  Uninst.isu  ja2.exe  mss32.dll  smackw32.dll

/media/disk/ja2/Data:
BINARYDATA.SLF  LOADSCREENS.SLF  TILECACHE    bigitems.slf  fonts.slf    music.slf    speech.slf
BattleSNDS.slf  NPC_SPEECH.SLF   Temp         cursors.slf   laptop.slf   npcdata.slf  stsounds
INTERFACE.SLF   RADARMAPS.SLF    ambient.slf  data.slf      maps.slf     polish.slf   tilesets.slf
Intro.slf       ShadeTables      anims.slf    faces.slf     mercedt.slf  sounds.slf

/media/disk/ja2/Data/ShadeTables:
RGBDist.dat

/media/disk/ja2/Data/TILECACHE:
CP_DEAD1_nb.jsd   I_DEAD1_nb.jsd    Mustard2.sti     h_dead1_nb.jsd   must_exp.sti      s_dead2.jsd
CT_DEAD1_nb.jsd   K_dead2.jsd       P_DECOMP2.jsd    heli_sh.sti      mustchze.sti      s_dead2_nb.jsd
CT_DEAD_nb.jsd    K_dead2_nb.jsd    S_DEAD1_nb.jsd   hm_wrek.jsd      mustrd.sti        s_expld.jsd
CW_DEAD1_nb.jsd   L_dead1.JSD       S_D_BCK_nb.jsd   i_dead1.jsd      q_dead.jsd        shckwave.sti
C_DEAD1_nb.jsd    L_dead1_nb.JSD    Teargas.sti      ic_wrek.jsd      q_dead_nb.jsd     smalmust.sti
FT_DEAD1_nb.jsd   M_BCK_nb.jsd      Tk2_wrek.jsd     j_dead.jsd       qn_dead.jsd       smalsmke.sti
F_D_BCK_nb.jsd    M_DEAD1_nb.jsd    Tk2_wrek_nb.jsd  k_dead1.jsd      s_burnt.jsd       smaltear.sti
F_d_dhd.JSD       M_D_BCK_nb.jsd    W_DEAD1_nb.jsd   k_dead1_nb.jsd   s_d_bck.jsd       smkechze.sti
F_d_dhd_nb.jsd    M_JFK_nb.jsd      W_DEAD2_nb.jsd   knifing.sti      s_d_dhd.jsd       smoke.sti
F_d_fall.JSD      M_d_dhd.JSD       c_dead1.jsd      m_bck.jsd        s_d_dhd_nb.jsd    spit2.sti
F_d_fall_nb.jsd   M_d_dhd_nb.jsd    cp_dead1.jsd     m_d_bck.jsd      s_d_fall.jsd      spit_gas.sti
F_d_fallf.JSD     M_d_fall.JSD      ct_dead.jsd      m_dead1.jsd      s_d_fall_nb.jsd   tear_exp.sti
F_d_fallf_nb.jsd  M_d_fall_nb.jsd   ct_dead1.jsd     m_dead2.jsd      s_d_fallf.JSD     tearchze.sti
F_d_fwd.JSD       M_d_fallf.JSD     cw_dead1.jsd     m_dead2_nb.jsd   s_d_fallf_nb.jsd  tk_wrek.jsd
F_d_fwd_nb.jsd    M_d_fallf_nb.jsd  f_d_bck.jsd      m_jfk.jsd        s_d_fwd.jsd       tk_wrek_nb.jsd
F_d_jfk.JSD       M_d_fwd.JSD       f_dead.jsd       miniboom.sti     s_d_fwd_nb.jsd    w_dead1.jsd
F_d_jfk_nb.jsd    M_d_fwd_nb.jsd    f_dead_nb.jsd    mn_dead1.jsd     s_d_jfk.jsd       w_dead2.jsd
F_d_prn.JSD       M_d_jfk.JSD       fly_shdw.sti     mn_dead1_nb.jsd  s_d_jfk_nb.jsd    wat_exp.sti
F_d_prn_nb.jsd    M_d_jfk_nb.jsd    ft_dead1.jsd     mn_dead2.jsd     s_d_prn.jsd       zgrav_a.sti
F_d_wtr.JSD       M_d_prn.JSD       ft_dead2.jsd     mn_dead2_nb.jsd  s_d_prn_nb.jsd    zgrav_b.sti
F_d_wtr_nb.jsd    M_d_prn_nb.jsd    ft_dead2_nb.jsd  msle_sma.sti     s_d_wtr.jsd       zgrav_c.sti
H_dead2.jsd       M_d_wtr.JSD       gen_blow.sti     msle_smk.sti     s_d_wtr_nb.jsd    zgrav_d.sti
H_dead2_nb.jsd    M_d_wtr_nb.jsd    h_dead1.jsd      msle_spt.sti     s_dead1.jsd

/media/disk/ja2/Data/Temp:

/media/disk/ja2/Data/stsounds:
blah.wav  blah2.wav


i also recompile it with flags
JA2BETAVERSION := yes
JA2TESTVERSION := yes

first JA2BETAVERSION := yes then JA2TESTVERSION := yes and then both
and always get this when run ja2
lee@kotek:~/ja2-0.12.1$ ja2
{ 0 } Initializing Memory Manager [Line 133 in sgp/SGP.cc]
{ 1 } Initializing File Manager [Line 137 in sgp/SGP.cc]
{ 2 } Initializing Video Manager [Line 140 in sgp/SGP.cc]
Initializing the video manager
{ 149 } Initializing Video Object Manager [Line 143 in sgp/SGP.cc]
{ 150 } Initializing Video Surface Manager [Line 146 in sgp/SGP.cc]
{ 152 } CD Library /media/disk/ja2/Data/data.slf opened. [Line 139 in sgp/LibraryDataBase.cc]
{ 153 } Warning in InitializeFileDatabase(): Library Id #0 (data.slf) is to be loaded but cannot be found.
 [Line 79 in sgp/LibraryDataBase.cc]
ERROR: caught unhandled exception:
Initialising libraries failed
Shutting down the Video Surface manager
Shutting down the video manager

and similar info is in debug.txt file

So i think it will not run on ppc64 property because isn't supported.
I'm keeping my fingers crossed for you! & Thank You for good Job!
Cheers

EDIT
BTW: Best strategy game ever, I have this game stored in my box of immortal games that should always be remembered. Wink

[Updated on: Sat, 15 August 2009 21:30] by Moderator

Report message to a moderator

Civilian
Previous Topic: Enemies seem to come out through solid wall
Next Topic: Enemy soldiers cannot be found
Goto Forum:
  


Current Time: Wed Jan 22 10:02:28 GMT+2 2025

Total time taken to generate the page: 0.01665 seconds