Staredit Network > Forums > Modding Discussion > Topic: Open source SFmpqapi And grpapi
Open source SFmpqapi And grpapi
Jul 15 2008, 11:10 am
By: ShadowFlare  

Jul 15 2008, 11:10 am ShadowFlare Post #1



I decided to release the source code to the two libraries I mentioned in the title. More info from my site:

Quote
I have decided to release the source code to my SFmpq and Grp libraries licensed under the Simplified BSD License. The source code is contained in repositories created by a tool called Git, available at http://git-scm.com/ ( Windows version at http://code.google.com/p/msysgit/ ). Documentation is available on the Git web site if you would like know how to work with the repositories.

If you have Git installed, you may download the repositories for SFmpq with these commands:

Code
git clone http://sfsrealm.hopto.org/projects/SFmpqapi.git
git clone http://sfsrealm.hopto.org/projects/SComp.git


And download the repository for grpapi with this:

Code
git clone http://sfsrealm.hopto.org/projects/grpapi.git


To update an existing copy with the latest version of the source, from the directory of the source tree the command is as simple as:

Code
git pull


If you just want to quickly get a copy of the latest source code, it may be available in zip file form from the directory at the link below. The repository directories are also at that location.

http://sfsrealm.hopto.org/projects/

The repositories can also be browsed with gitweb here: http://sfsrealm.hopto.org/projects/gitweb.cgi

SFmpqapi should still be able to compile on Linux with the proper configuration; maybe Mac OS X as well (likely needs some work for the latter of those, as I've never had access to such a system to try it). With a few modifications, grpapi should work as well. Of course, I don't have any sort of makefile or similar system set up for either, so there would be some extra work to compile those on a non-Windows system.

If anyone is going to try modifying the source code on their own and possibly contributing changes back, I would highly recommend learning to use Git to download the repositories and to track your own modifications to the code, which would make it easier to get them included in my own source tree. It is pretty much only useful for command-line only at the moment (except for some graphical viewers for some things), but there aren't really many commands that need to be known for basic usage.

There is one little issue currently with the Windows client that I know of, as far as using it to get the code for my projects. When using the git clone command, it may not always get the line endings type that you want, which may require deleting all but the .git folder in the source tree and then using the git reset --hard command. I'll probably later put this info up somewhere on my site as well.


There will likely be more source code that I make available in this manner at some point in the future.

Post has been edited 1 time(s), last time on Aug 6 2008, 7:50 am by ShadowFlare.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: Ultraviolet, Roy