Home » MODDING HQ 1.13 » v1.13 General Development Talk » Jagged Alliance 2 v1.13 mercenaries details API (Looking for a way to display the mercenaries details on a website)
Jagged Alliance 2 v1.13 mercenaries details API[message #359484] Sat, 11 April 2020 18:39 Go to next message
andywong31 is currently offline andywong31
Messages:2
Registered:April 2020
Hi. Just recently got to playing JA 2 v1.13 again and im loving it! Im a web developer and im wondering if there's an API that i can use regarding mercenaries' details (e.g. stats, salaries, skills,etc.) so i can make a website of it. I want to make a web app where i can view these details on my phone or other devices and implement a better UI. Found some websites that have these details but i find it too bland. (Just plain html table with no picture of the mercenaries) no offense to the people who made it though.

Report message to a moderator

Civilian
Re: Jagged Alliance 2 v1.13 mercenaries details API[message #359486 is a reply to message #359484] Sat, 11 April 2020 20:14 Go to previous messageGo to next message
Deleted.

 
Messages:2656
Registered:December 2012
Location: Russian Federation
There is no API, information is stored in Data-1.13\TableData\MercProfiles.xml
Portraits are in Data-1.13\faces, STI's can be batch converted with sticom.exe, other portraits are in Data\faces and Data\faces.slf (use UNSLF.exe to unpack).



Left this community.

Report message to a moderator

Lieutenant

Re: Jagged Alliance 2 v1.13 mercenaries details API[message #359498 is a reply to message #359486] Sun, 12 April 2020 10:03 Go to previous messageGo to next message
andywong31 is currently offline andywong31
Messages:2
Registered:April 2020
thanks for helping me out man! have no problem with the XML files for the merc's details but having trouble with the sti files for the portraits as I don't know how to open them. is there a step by step instruction here regarding opening them? not much of a designer, so not really familiar with images and stuff. been searching the forums for the past 30 minutes or so but cant find any. any help is greatly appreciated!

Report message to a moderator

Civilian
Re: Jagged Alliance 2 v1.13 mercenaries details API[message #359499 is a reply to message #359498] Sun, 12 April 2020 10:18 Go to previous message
Asdow is currently offline Asdow

 
Messages:143
Registered:August 2010
https://storage.rcs-rds.ro/links/4729f8d6-f44b-42b7-aa3e-e0ddc6deead6?path=%2FJA_2%2FModding_Tools
You can find the sticom tool seven mentioned in this link. It's a command line tool that can convert .sti images into .bmp. It should have a readme that explains the arguments it expects and a few examples.
If you need any portraits that are in those .slf files, also grab the unslf tool from the same link so you can unpack those.

Report message to a moderator

Sergeant
Previous Topic: Code cleanups, how to contribute
Next Topic: New Briefing Room feature - Where can I find more info!?
Goto Forum:
  


Current Time: Mon Jan 20 15:15:12 GMT+2 2025

Total time taken to generate the page: 0.01204 seconds