Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Stracciatella Project (Platform Independent JA2) » JA2-Stracciatella Continued
JA2-Stracciatella Continued[message #315908] Mon, 04 March 2013 13:53 Go to next message
Gennady is currently offline Gennady

 
Messages:14
Registered:March 2013
Location: Russia
Hello everyone,

I took the liberty to continue Tron's work.

The goals are exactly the same as before:

Tron
What is the goal of JA2-Stracciatella?
The goal is to make Jagged Alliance 2 available to a wide range of platforms, improve its stability, fix bugs and provide a stable platform for mod development.
Here is list of changes I already made:

  • There is no need anymore to lower-case game resources on Linux.
  • Single exe can now work with many versions (localizations) of the game.
  • Added solution files for Visual Studio 10 Express, Xcode 4.2, 4.6
  • Added compilation instructions for building the project on Linux, Windows, Mac OS 10.6 - 10.8, cross building on Linux for Windows.
  • Some code cleanup.

I haven't yet integrated any patches posted on this forum.

Project home page and repository: bitbucket.org/gennady/ja2-stracciatella

Update 2013-03-13:

  • Added support for high video resolutions. For example, game can be
    started in 1024x768 mode like this: ja2.exe -res 1024x768
    Any reasonable resolution should work.
  • Some bugfixes from this forum have been integrated.
  • Map editor is now included into the game exe.
    Start it with command-like key '-editor' or '-editorauto'.
    Map editor requires Editor.slf to work. High resolution is also supported.
  • Binary package for Mac OS X is available for download.

Builds for Windows and Mac OS X: bitbucket.org/gennady/ja2-stracciatella/downloads
Compilation instructions for other platforms you can find in COMPILATION.txt.

Best regards,
Gennady

[Updated on: Thu, 29 December 2022 15:24] by Moderator

Report message to a moderator

Private
Re: JA2-Stracciatella Continued[message #316054] Thu, 07 March 2013 22:31 Go to previous messageGo to next message
mgl is currently offline mgl

 
Messages:255
Registered:December 2007
Location: France
Welcome to the forum Gennady.

Even if your code doesn't enforce it anymore, it's a good policy to have the data files in lower case on a case-sensitive OS, it makes consistency in naming. The only exception was the map files, with the letter of the coordinates in upper case, like "A10.dat".

Tron stopped working on stracciatella in november 2009 and came back a last time in the summer 2010 to fix a couple of bugs.

Long life to JA2-Stracciatella Continued

Report message to a moderator

Master Sergeant
Re: JA2-Stracciatella Continued[message #316060] Fri, 08 March 2013 00:52 Go to previous messageGo to next message
Gennady is currently offline Gennady

 
Messages:14
Registered:March 2013
Location: Russia
mgl
Even if your code doesn't enforce it anymore, it's a good policy to have the data files in lower case on a case-sensitive OS, it makes consistency in naming. The only exception was the map files, with the letter of the coordinates in upper case, like "A10.dat".


Good idea. I will keep it in mind.

Report message to a moderator

Private
Re: JA2-Stracciatella Continued[message #316241] Wed, 13 March 2013 20:57 Go to previous messageGo to next message
Gennady is currently offline Gennady

 
Messages:14
Registered:March 2013
Location: Russia
Announce of high resolution support: High resolutions support added

Map editor is now included into the game exe.
Start it with command-like key '-editor' or '-editorauto'.
Map editor requires Editor.slf to work. High resolution is also supported.
http://s15.postimage.org/p4gcv9dsn/map_editor_1600x1024.jpg

Report message to a moderator

Private
Re: JA2-Stracciatella Continued[message #322021] Wed, 26 June 2013 00:03 Go to previous messageGo to next message
Crimson Rider is currently offline Crimson Rider

 
Messages:19
Registered:April 2004
Location: Netherlands
Absolutly cool project. I would love to play JA2 on my tablet, Mac book etc.

One questions, what branch is this based on? When I start this i get the ja2 1.13 screen, but it seems like 1.13 vanilla, not with all the improvements and such in there. Such as choosing the number of IMP characters on the starting screen.

What is the correlation there? Is there a way to combine those, or is that just not going to happen?

Report message to a moderator

Private
Re: JA2-Stracciatella Continued[message #323361] Sun, 28 July 2013 17:03 Go to previous messageGo to next message
Gennady is currently offline Gennady

 
Messages:14
Registered:March 2013
Location: Russia
Crimson Rider
Absolutly cool project. I would love to play JA2 on my tablet, Mac book etc.

One questions, what branch is this based on? When I start this i get the ja2 1.13 screen, but it seems like 1.13 vanilla, not with all the improvements and such in there. Such as choosing the number of IMP characters on the starting screen.

What is the correlation there? Is there a way to combine those, or is that just not going to happen?


This is Vanilla JA2 without any changes from JA2 v1.13
It is practically imposible to merge JA2 v1.13 to JA2 Stracciatella (this is so much work, that nobody can do it).

Report message to a moderator

Private
Re: JA2-Stracciatella Continued[message #323367] Sun, 28 July 2013 18:46 Go to previous messageGo to next message
Gennady is currently offline Gennady

 
Messages:14
Registered:March 2013
Location: Russia
Versioin 0.12.189 has been released

- Fixed issue #59 (Inventory won't open on strategic screen if using a non-default resolution)
- Fixed issue #58 (Game crashing while entering some sectors)
- Fixed issue #57 (Deadlock leads to player turn without reseting the AP)
- Fixed issue #56 (laptop mode has problems with high resolutions)
- Fixed issue #53 (crash when saving the game)
- Fixed issue #52 (High res glitch with merc move menu)
- Fixed issue #51 (Broken text log after loading a saved game)
- Fixed issue #47 (High res glitch on loading game)

Windows and Mac builds can be downloaded here:
https://bitbucket.org/gennady/ja2-stracciatella/downloads/ja2-v0.12.189-win.zip
https://bitbucket.org/gennady/ja2-stracciatella/downloads/ja2-v0.12.189-macos.zip

Report message to a moderator

Private
Re: JA2-Stracciatella Continued[message #325262] Tue, 17 September 2013 08:05 Go to previous messageGo to next message
redpoint is currently offline redpoint
Messages:1
Registered:December 2010
Location: Russia, Rostov-on-Don
Hi, I tried to compile with "debug mode", and got some errors.
On Linux:
Quote:
make WITH_DEBUGINFO=1 _DEBUG=1


Fix:
diff --git a/Build/Strategic/AI_Viewer.cc b/Build/Strategic/AI_Viewer.cc
index cd8c0ae..ce2b315 100644
--- a/Build/Strategic/AI_Viewer.cc
+++ b/Build/Strategic/AI_Viewer.cc
@@ -39,6 +39,7 @@
 #include "Video.h"
 #include "WordWrap.h"
 #include "SGP.h"
+#include "UILayout.h"
 
 
 #define VIEWER_LEFT			15
@@ -836,7 +837,7 @@ static void HandleViewerInput(void)
 					if( Event.usKeyState & ALT_DOWN )
 					{
 						gfExitViewer = TRUE;
-						gfProgramIsRunning = FALSE;
+						//gfProgramIsRunning = FALSE;
 					}
 					break;
 				case 'm':
diff --git a/Build/Strategic/Auto_Resolve.cc b/Build/Strategic/Auto_Resolve.cc
index 9f52f06..4a02fe8 100644
--- a/Build/Strategic/Auto_Resolve.cc
+++ b/Build/Strategic/Auto_Resolve.cc
@@ -66,6 +66,7 @@
 #include "MemMan.h"
 #include "Debug.h"
 #include "UILayout.h"
+#include "GameRes.h"
 
 #ifdef JA2BETAVERSION
 #	include "Cheats.h"
diff --git a/Build/Strategic/Game_Events.cc b/Build/Strategic/Game_Events.cc
index 7b2d142..c61dff4 100644
--- a/Build/Strategic/Game_Events.cc
+++ b/Build/Strategic/Game_Events.cc
@@ -572,7 +572,7 @@ void LoadStrategicEventsFromSavedGame(HWFILE const f)
 TEST(GameEvents, asserts)
 {
 #ifdef JA2TESTVERSION
-  EXPECT_EQ(lengthof(gEventNameXX), NUMBER_OF_EVENT_TYPES);
+//  EXPECT_EQ(lengthof(gEventNameXX), NUMBER_OF_EVENT_TYPES);
 #endif
 }
 
diff --git a/Build/Strategic/Map_Screen_Interface_Map.cc b/Build/Strategic/Map_Screen_Interface_Map.cc
index e4c4089..d6dc2b0 100644
--- a/Build/Strategic/Map_Screen_Interface_Map.cc
+++ b/Build/Strategic/Map_Screen_Interface_Map.cc
@@ -1105,7 +1105,7 @@ static void ShadeMapElemZoomIn(const INT16 sMapX, const INT16 sMapY, INT32 iColo
 
 void InitializePalettesForMap(void)
 {
-	SGP::AutoPtr uiTempMap(AddVideoSurfaceFromFile(INTERFACEDIR "/b_map.pcx"));
+	SGP::AutoPtr uiTempMap(AddVideoSurfaceFromFile(INTERFACEDIR "/b_map.pcx"));
 
 	SGPPaletteEntry const* const pal = uiTempMap->GetPalette();
 
diff --git a/Build/Strategic/StrategicMap.cc b/Build/Strategic/StrategicMap.cc
index 2b71b75..dff246d 100644
--- a/Build/Strategic/StrategicMap.cc
+++ b/Build/Strategic/StrategicMap.cc
@@ -413,7 +413,7 @@ static void EndLoadScreen(void)
 	if( fStartNewFile )
 	{ //start new file
 		fp = fopen( "TimeResults.txt", "w" );
-		ScreenMsg(FONT_YELLOW, MSG_TESTVERSION, L"See JA2/%s/TimeResults.txt for more detailed timings.", FileMan::getDataDirPath());
+		ScreenMsg(FONT_YELLOW, MSG_TESTVERSION, L"See JA2/%s/TimeResults.txt for more detailed timings.", FileMan::getDataDirPath().c_str());
 		fStartNewFile = FALSE;
 	}
 	else
diff --git a/sgp/SGP.cc b/sgp/SGP.cc
index bae89e4..4d4687d 100644
--- a/sgp/SGP.cc
+++ b/sgp/SGP.cc
@@ -444,7 +444,7 @@ static BOOLEAN ParseParameters(int argc, char* const argv[],
 		}
 		else if (strcmp(argv[i], "-domaps") == 0)
 		{
-      GameState::setMode(GAME_MODE_MAP_UTILITY);
+      //GameState::setMode(GAME_MODE_MAP_UTILITY);
 		}
 #endif
 		else if (strcmp(argv[i], "-editor") == 0)


Hope this helps someone.

Report message to a moderator

Civilian
Re: JA2-Stracciatella Continued[message #339149 is a reply to message #325262] Wed, 28 January 2015 11:09 Go to previous messageGo to next message
Mythrell is currently offline Mythrell

 
Messages:78
Registered:May 2008
Location: Mikkeli, Finland
Well that's just great job. Tried to play some JA2 first time in years and the steam version didn't even start. happy

There's plenty of bug fixes on this at the project page.

[Updated on: Wed, 28 January 2015 19:48]

Report message to a moderator

Corporal
Aw: JA2-Stracciatella Continued[message #339186 is a reply to message #315908] Sat, 31 January 2015 03:23 Go to previous messageGo to next message
ATigersClaw is currently offline ATigersClaw

 
Messages:209
Registered:October 2014
Is this Straciatella project still running? Is anybody working on it?

I always thought the focus towards portable devices like android systems has a stronger interest nowadays with all the smartphones and tablets.

[Updated on: Sat, 31 January 2015 03:40]

Report message to a moderator

Sergeant 1st Class
Re: Aw: JA2-Stracciatella Continued[message #343523 is a reply to message #339186] Sun, 20 December 2015 17:18 Go to previous messageGo to next message
mgl is currently offline mgl

 
Messages:255
Registered:December 2007
Location: France
ATigersClaw wrote on Sat, 31 January 2015 02:23
Is this Straciatella project still running? Is anybody working on it?

Quick update:

After being inactive for 10 months, there were a lot of commits in the repository this fall.

Report message to a moderator

Master Sergeant
Aw: Re: Aw: JA2-Stracciatella Continued[message #343637 is a reply to message #343523] Tue, 05 January 2016 21:49 Go to previous messageGo to next message
ATigersClaw is currently offline ATigersClaw

 
Messages:209
Registered:October 2014
mgl schrieb am So, 20 Dezember 2015 16:18
Quick update:

After being inactive for 10 months, there were a lot of commits in the repository this fall.


This sounds great. I hope work continues towards mobile devices.
Does anybody know who's working on it?

Report message to a moderator

Sergeant 1st Class
Re: Aw: Re: Aw: JA2-Stracciatella Continued[message #365054 is a reply to message #343637] Tue, 20 December 2022 11:11 Go to previous message
misanthropos is currently offline misanthropos

 
Messages:14
Registered:October 2009
There is now is now an official release available for Android.

ja2-stracciatella-0.20.0

Report message to a moderator

Private
Previous Topic: Jagged Alliance 2 Android Stracciatella Port RC2 Release - please test
Next Topic: Install on Android
Goto Forum:
  


Current Time: Fri Apr 19 00:34:55 GMT+3 2024

Total time taken to generate the page: 0.01689 seconds