Pages

Saturday, October 13, 2012

Gruntz REZ Patcher 0.1.0

Skończyłem pierwszą wersję programu "Gruntz REZ Patcher". Słowem wstępu: program jest pisany przeze mnie dla gry Gruntz, ale bardzo prawdopodobne, że będzie również działał i dla innych gier Monolith'u, takie jak Claw (Kapitan Pazur), czy też Get Mediaval. Z założenia ma umożliwić tworzenie modów do gry, czyli stałoby się możliwe tworzenie nowych tile setów, dodawanie nowych image setów, dźwięków itp. co dotychczas było niemożliwe przy aktualnym stanie rzeczy.

Póki co, zaimplementowałem same najważniejsze rzeczy, czyli funkcję tworzenia paczki REZ oraz możliwość wyeksportowania jej zawartości na dysk. Aplikacja działa przez wiersz poleceń i nie ma GUI - dodam go później. Na razie ma działać.
I've just finished the first version of "Gruntz REZ Patcher". The application is primaly written for use in the game Gruntz, however it's very likely to work with other Monolith games as well, such as Claw and Get Mediaval. Its primary goal is to make it possible to mod Gruntz: the program would allow anyone to create new tile sets, adding new image sets, sounds etc. As of now it isn't really possible because of a lack of proper tools.

This version features only the most important functions, which practically are the "basis" of the future versions. These features are: creating a REZ package and exporting its contents. The user input is received via command-line; it's got no GUI - I'll add it later, since it's not a priority now.

DownloadPobierz
Gruntz REZ Patcher 0.1.0 (435KB)




Lista argumentów jest traktowana jako lista poleceń - są analizowane jedna po drugiej i na bieżąco wykonują określone zadania. Póki co są cztery możliwe polecenia:

-dr <adres katalogu> <adres nowego pliku REZ>
-rd <adres pliku REZ> <adres katalogu na wyeksportowane pliki>
-lr <adres pliku REZ>
-l


Przykładowa linia poleceń może więc wyglądać następująco:

W kolejnej wersji nacisk będzie postawiony na automatyczną konwersję plików PID, zarówno podczas tworzenia paczki REZ jak i podczas jej eksportowania. Dopiero potem zastanowię się nad jakimś prostym GUI.
A list of arguments can be thought of as a list of commands - they area analized one by one and the proper functions are being executed on the fly. There are four commands so far:

-dr <directory path> <output REZ file>
-rd <REZ file> <output directory path>
-lr <REZ file>
-l


Here are some examples of command lines:

The next version will be all about implementing automatic conversion of PID files during packing as well as exporting a REZ file. Then I'll think of a simple GUI.

No comments:

Post a Comment