Added script for make GitHub releases

This commit is contained in:
Alexander Popov 2016-10-28 00:49:04 +03:00
parent 775f749489
commit 371c3d00a7
7 changed files with 73 additions and 2 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "zip"]
path = zip
url = git://github.com/kuba--/zip

View File

@ -1,8 +1,9 @@
![FUEL](https://raw.githubusercontent.com/iiiypuk/fuel-stuff/master/.fuel.png)
**Restore saves**
Copy `lllypuk` folder to `%USERPROFILE%\Documents\My Games\FUEL`
`1 -` Download [saves](https://github.com/iiiypuk/fuel-stuff/releases/tag/20162710).
`2 -` See `readme.txt` in archive.
**TODO**
`-` Complete game
`-` Complete game (Career and Challenges)
`-` Get max FUEL
`-` Ride 99999999 km (max spedometer count)

5
build-creator/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
*.exe
*.zip
*.obj
*.dll
*.ini

16
build-creator/Makefile Normal file
View File

@ -0,0 +1,16 @@
CC=cl
all: zip.dll build_creator.c
build-creator.exe
zip.dll:
$(CC) /LD ../zip/src/zip.c /zip.dll
build_creator.c:
$(CC) build-creator.c zip.obj
clean:
del *.obj
del *.exe
del zip.dll
del *.zip

View File

@ -0,0 +1,36 @@
#include <stdio.h>
#include <string.h>
#include "../zip/src/zip.h"
int main() {
struct zip_t *zip = zip_open("FUEL.zip", ZIP_DEFAULT_COMPRESSION_LEVEL, 0);
{
zip_entry_open(zip, "readme.txt");
{
zip_entry_fwrite(zip, "readme.txt");
}
zip_entry_close(zip);
zip_entry_open(zip, "FUEL/xlive.dll");
{
zip_entry_fwrite(zip, "xlive.dll");
}
zip_entry_close(zip);
zip_entry_open(zip, "FUEL/xlive.ini");
{
zip_entry_fwrite(zip, "xlive.ini");
}
zip_entry_close(zip);
zip_entry_open(zip, "Saves/lllypuk/FUEL_SAVE_V14.sav");
{
zip_entry_fwrite(zip, "../lllypuk/FUEL_SAVE_V14.sav");
}
zip_entry_close(zip);
}
zip_close(zip);
return 0;
}

9
build-creator/readme.txt Normal file
View File

@ -0,0 +1,9 @@
https://github.com/iiiypuk/fuel-stuff
Установка:
Файлы из директории FUEL распаковать в директорию с игрой.
Файлы из директории SAVES распаковать в %USERPROFILE%\Documents\My Games\FUEL
Installing:
Files from FUEL directory extract to game directory.
Files from SAVES directory extract to path %USERPROFILE%\Documents\My Games\FUEL

1
zip Submodule

@ -0,0 +1 @@
Subproject commit 84d3cc2d0b3b9e898f77ea45905d4fb0c9011d9c