RepASM : all the news
Version 4.1.3 : fix for patch 1.16 - 31/12/2008 14:18

Hello everyone,

It turns out that Blizzard's recent patch for StarCraft (the infamous 1.16) breaks JCA's API which RepASM is using. After several weeks of unability to get enough free time to fix this, I was able to find something today. So here's version 4.1.3 where the in-game chat is now counted as an action. The text written is also available for those of you who want to parse it. However, be aware that the text is generally prefixed with some weird characters : I haven't investigated yet but I suppose it's merely StarCraft's color code.
This version is used on RepDepot so you can see how it works by yourself. The demo page also works now.

As always, the latest version can be found in the Download section. The Windows binaries are available for the latest versions of PHP only (namely 5.2.8 and 4.4.9).
Sorry for the late fix, but as I said above, I was unable to find time before :(

RepASM 4.1.2 + end of support of RepASM for PHP 4 - 05/01/2008 18:31

Happy new year !
Here comes a small fix for RepASM about the team management for 4x4 replays. It should work better now.
More important is that RepASM 4.1.2 will be the last version supporting PHP 4. As most of you know, PHP will not release any further version for PHP 4 and will mainly focus on PHP 5 and 6. Therefore, RepASM will not provide binaries for an unsupported version of PHP any longer.
However, there is no reason that you will not be able to compile RepASM for PHP 4 by yourself if you need to.
RepASM 4.1.2 is available in the Download section.

Oops : RepASM 4.1.1 - 14/10/2007 15:37

Thanks to sailor from YGOSU, I have just fixed a small issue concerning hotkeys that could lead the php_bw_get_actions() function to fail sometimes. This is now fixed and I advise anyone using this function to upgrade. See the Download section to get RepASM 4.1.1 and sorry for the inconvenience !

RepASM 4.1 : huge bugfix - 13/10/2007 19:53

Thanks to nunof, it has been brought to my attention that php_bw_extract_map didn't work on Unix -_-; This was due to a problem in StormLib so I took a deep breath and went debugging in it. After some helpful tips by Ladislav Zezula (the author of StormLib), I finally found the flaw a couple days ago. And after a struggling fight with gcc, I ported RepASM to a brand new version of StormLib. So what's new :

  • php_bw_extract_map() now works on Unix. Hurray :P
  • fixed a stupid bug in the matchup for replays involving the computer
All Unix users of RepASM are strongly advised to switch to RepASM 4.1 unless they do not plan on using php_bw_extract_map at all. As always, the new version is available in the Download section.
Sorry for the inconvenience and all the stupid things I've made so far. Now I hope I'll be able to focus on other things (mainly ReXplorer 2.1 and a new layout for the website) !

RepASM 4.0.2 : minor fixes again - 07/09/2007 13:39

Yay, another new version :P This one fixes two things :

  • build error on some Unix compilers (thanks to Sailor from YGClan)
  • error with maps not using standard sizes ; now all sizes are accepted (thanks to Flint)
As always, you can download RepASM from the Download page.

RepASM 4.0.1 : minor fix + PHP 5.2.4 - 01/09/2007 18:09

I felt I had to release this minor version for a couple fixes :

  • fixed how map names are read ; could sometimes lead to a coredump with this kind of replay.
  • version 1.15.1 is now supported.
Moreover, since PHP 5.2.4 was released a few days ago, RepASM 4.0.1 for Windows and PHP 5 is built against it. If you need RepASM for another version of PHP, you can either compile it yourself or ask me kindly to do it for you :P

Dependancy update - 16/08/2007 17:32

Sorry, I forgot to update the dependancies needed to install and run RepASM 4.0 for Windows. There is a new version of Microsoft's Visual C++ 2005 Runtime Library linked in the Download section. You need to install this to run RepASM 4.0 on Windows. You can either get it from Microsoft's website or repasm.net.
Sorry again for the inconvenience and thanks to piR4te_p4Rn for pointing this out !

RepASM 4.0 - 10/08/2007 02:53

OK guys, here we go, RepASM 4.0 is now officially out ! Here's a list of what's new :

  • Winner detection. This is a guess, this is NOT a 100% reliable information. The probability is specified, anyway. This is a new object in php_bw_load_replay().
  • List of actions for a player. Will enable you to build charts "à la BWChart" using PHP and your favorite graphic library !
  • FPREP detection. This is a new integer in php_bw_load_replay().
  • RWT detection. This is a new integer in php_bw_load_replay().
  • Map extraction. Get the SCM/SCX that is included in the replay.
  • Map analysis. There's a new function called php_bw_load_scm().
  • Map information is now much more precise in php_bw_load_replay().
WARNING : the Map member in the object returned by php_bw_load_replay() is now an object (it was a string in 3.2 and prior). So be careful when using RepASM 4.0 that your PHP scripts can handle this.
That's quite a huge release. Go download it ! Thanks a lot to all people who helped me, suggested new ideas or simply encouraged me during these 19 long months. You did not wait for nothing !
I will now try to integrate most of these changes in ReXplorer ; in the meantime, you know how to reach me if you see a bug ;p

New home - 08/08/2007 01:31

That's done and official, RepASM and ReXplorer have a new home :) So update your bookmarks as things will happen only on repasm.net !
Somewhere this week RepASM 4.0 (yeah, changed the version number because too many things have changed) !

Incoming - 23/07/2007 23:23

OK I'm back and I have the motivation. Took me 1 year to overcome Chris' sudden disappearance ; I hope he would approve what I have done these past few weeks. Aaaaaanyway, what can you expect for a near future ? Here's a list :

  • RepASM 3.3. New, great and useful features (map extraction (finally !), winner detection, action list... you name it). Expect a release very soon (probably before August starts).
  • A new home for RepASM/ReXplorer. We have finally agreed with some friend to rent a dedicated server of our own so that's where RepASM and ReXplorer will be. Should happen somewhere in August.
  • RepASM WS. WS stands here for WebServices. Very often we've had the complaint "but my host won't allow me to compile/install a PHP extension :(" Yeah that's true, RepASM is a powerful tool but his major drawback relies in the fact that it's a PHP extension and requires an admin connection to your site. So I am going to offer services where people will be able to upload replays, RepASM will analyse them and return a message containing all the info about the replays. Should appear in late August/early September.
  • Other cool services. Can't tell much about them now but I hope people will like them :) Should be up in September, maybe October.
So stay tuned !

Happy Birthday RepASM ! - 17/03/2006 16:04

Today, RepASM is 1 year old ! On March 17th, 2005 at around 9:30 AM, the first test was successful. Here's what we saw in our web browser :

length=638
Map=The Lost Temple_Game-Q
GameName=CHUNG=RYONG
 
[VT]SsongGun - Terran - White - 207
[Oops]Reach - Protoss - Brown - 259
CHUNG=RYONG - Terran - Blue - 32

One year later, RepASM weighs more than 9,000 lines of code and is able to generate minimaps.

We would like to thank Chr1s from PGTour who was the first to believe in our job and encouraged us to improve it. Hope it's useful for people who use it !

RepASM 3.2.1 : bugfix - 31/01/2006 20:34

Nothing new with this update, this is mostly a bugfix. On some really really bad cases, RepASM may crash when trying to generate a map with a non-power-of-two destination bitmap. The bugfix is small, but since stability is a primary concern, you may want to update your installation.
See the Download section.

RepASM 3.2 : Minimap generation - 14/01/2006 15:03

As some of you might have noticed by looking at the demo server these past few days, we've been working on a new feature for RepASM. We told you in 3.1 release news that we delayed any other activity on ReXplorer and RepASM because we were working on it. Actually, we've been working hard on it since mid-September. And here it is...
RepASM is now able to generate images from maps !

We have added 4 new functons to the extension so that you can generate minimaps from SCM or replays, using a fixed size or a ratio method. See the API documentation section for more info on how to use these functions.
You can choose what to display on the final image (starting locations, resources, doodads, extra units...) and how to display it (resolution of the image, high or low quality mode, JPEG compression level). Performance was not sacrificed : on a P4 3.4 GHz, it takes only 300 ms to generate a 512x512 JPEG image with 10 % compression with all details in high-quality mode. And if you feel like it, you can even generate a 1:1 image of any map (e.g. for Lost Temple, you will get a 4096x4096 image) ; pointless and heavy but funny anyway ;)
Another small feature added in 3.2 is that RepASM is now listed in phpinfo(). This can help you knowing if it was correctly built and installed on your web server.

We hope you will enjoy this release as much (if not more) as we had fun making it. And now, go download it or try the demo server !

New feature... - 10/01/2006 23:41

Before we release version 3.2 (yes, THAT soon), you can have a preview of what it will contain by using the demo server. You should notice somthing new...
Hope you will enjoy it :)

We will release RepASM 3.2 before Sunday. Stay tuned !

RepASM 3.1 - 03/01/2006 13:07

First, we wish you a happy new year :)
In order to celebrate, here's the latest version of RepASM. Nothing's really new, we just had some troubles with a few replays because of some buggy code. This should now be fixed and all replays should hopefully be handled correctly. RepASM is now more stable than ever.
We took some time to release this because we were really busy working on the next version which will contain a very nice feature. Expect it before march !

Demo server back - 12/11/2005 17:43

The demo server is now working again. You can test RepASM whenever you like :)

Demo server down - 03/10/2005 11:53

As the title implies, we are having troubles with our demo server. So do not panic if you see an error when trying to submit a replay, it's "normal", at least until further notice :)

RepASM 3.0 - 15/07/2005 22:28

Because we found lots of new things to add in this release, RepASM 3.0 is out with a few days' delay. Sorry for that, we'll hope you'll be happy with the changes :

  • New architecture : the whole architecture of the project has been completely remade for better maintenance and reusability of the code.
  • Gets the game type : the type of the game (Melee, Top vs Bottom, Team CTF, etc...) is now recognized and exported to the GameType variable.
  • Enhanced teams detection : the detection and building of teams was enhanced according to the game type and other parameters, making the feature more reliable.
  • Better APM calculation : the APM is now computed on the total duration of a player's presence in a game, no more on the whole duration of the game.
  • Error management : when the php_bw_load_replay() function fails to load a replay it no longer returns FALSE but returns an object containing an error code and an error message.
So WARNING : if you used previous a version of RepASM, every PHP code testing if the return of the php_bw_load_replay() function was FALSE is now obsolete ! Please see the API Documentation section !
Find out more about these features in the Features and API Documentation sections !
The demo page was modified to reflect these changes in the results display.

New project and next version - 30/06/2005 20:17

We are currently working on a new project called ReXplorer and on version 3.0 of RepASM at the same time. You can find more about ReXplorer by clicking on its link in the menu.

About RepASM 3.0, do not be fooled by the version number, it just means that the whole architecture will change a lot so that RepASM becomes modular and scalable for future developments. There will not be new features in this release but there will be some bug fixes. RepASM 3.0 might be released within a week.

Version 2.2 : Obs, Teams, Matchups and SC/BW distinction - 27/06/2005 00:34

Here are some cool new features in RepASM 2.2 :

  • find observers : a new member of the Player object is now available : IsObserver. This flag is set to 1 if the player has never built anything during the game, 0 otherwise. So no, we do not detect BM obs.
  • find teams : a new array is available : Teams. It does not appear if no Ally action was made during the game, so it's highly probable some game types (like Top vs Bottom) will not be handled correctly. Read carefully the "Notes and warning" paragraph in the Features section.
  • find matchups : a new variable in the base object is available : Matchup. It tells what was the matchup during the game, even for team games, under the form XvX were X can be P, T or Z.
  • get BroodWar or StarCraft replay : a new flag in the base object is available : IsBroodWar. If set to 1, then the game was played using the Brood War extension. Otherwise, it was played using StarCraft (or "Vanilla StarCraft").
Find out more about these features in the Features and API Documentation sections !
The demo page was modified to reflect these changes in the results display.

Game version : a PHP code snippet by Chr1s - 03/06/2005 21:42

Since the patch version of a game is not stored in a replay file, the only way to guess this information is to rely on the date the game was played on and find what patch was in use at that date. Therefore, Chr1s (yeah, the PGT admin :) ) provided us a code snippet that does it for you ! See the Documentation section for it. Thanks Chr1s !

Version 2.1 : colors enhanced - 14/05/2005 23:10

RepASM is now able to handle some custom colors used for players in certain maps. However, the whole list of 230 possible colors is not supported ; only the most used (the 15 first) are handled. The changes are :

  • in the Color attribute, the returned value can go up to 255 (but is very likely to be limited to the 1-12 range) ;
  • the ColorName attribute was enhanced to support a few more colors (see source code of Info.cpp for more information) and will return the string "Unsupported" if unknown ;
  • a new attribute, ColorHTML has been added for the first 12 colors : it returns an integer value that represents the decimal value of the color in RGB format. See the API documentation for more info on how to use this.

Version 2.0, sources and first user - 17/04/2005 18:28

As RepASM arrived at PGTour, we experienced our first deployment issues on *nix environments :) After fixing some code and Makefile issues, chrisbk modified the sources so that there are only one version of them for both Windows and *nix systems.

Moreover, Chr1s asked for a new feature : getting the starting locations coordinates on the map. That's why we are proud to release version 2.0 of RepASM. See the brand new History section for more info !
Anyway, we are really glad that RepASM is currently being integrated at PGT. We just hope that there won't be too many bugs ;p Thanks again to the whole PGT crew for trusting us, especially Chr1s and Pat !

Extension is finished - 26/03/2005 22:34

Version 1.0 of RepASM is finished. It can be downloaded in the Downloads section. Don't forget to read the documentation in order to know how to install it !
We have tested RepASM on Windows XP using Apache 2 and PHP 5.0.3 and on Linux Red Hat with Apache 1 and PHP 4.3.10.

Site is launched ! - 20/03/2005 20:02

Okay, today the site is making its first appearance on the Internet. There's a good chance you came here by pure accident, so I don't think you'll find anything really interesting :)