mirror of
https://github.com/joel16/VitaShell.git
synced 2024-11-27 13:50:22 +00:00
Use objcopy to embed resources into the executable
This commit is contained in:
parent
f600302d4e
commit
b88850b685
9
Makefile
9
Makefile
@ -9,6 +9,10 @@ FEXCSRCS = $(foreach dir, $(FEXDIRS), $(wildcard $(dir)/*.c))
|
||||
FEXCPPSRCS = $(foreach dir, $(FEXDIRS), $(wildcard $(dir)/*.cpp))
|
||||
OBJS += $(FEXCSRCS:.c=.o) $(FEXCPPSRCS:.cpp=.o)
|
||||
|
||||
RESOURCES_PNG = resources/battery.png resources/battery_bar_green.png resources/battery_bar_red.png
|
||||
RESOURCES_TXT = resources/english_us_translation.txt
|
||||
OBJS += $(RESOURCES_PNG:.png=.o) $(RESOURCES_TXT:.txt=.o)
|
||||
|
||||
#stubs.o include this crashes fex!!!
|
||||
|
||||
LIBS = -lvita2d -lpng -ljpeg -lz -lm -lc \
|
||||
@ -35,6 +39,11 @@ all: $(TARGET).velf
|
||||
$(TARGET).elf: $(OBJS)
|
||||
$(CC) $(CFLAGS) $^ $(LIBS) -o $@
|
||||
|
||||
%.o: %.png
|
||||
$(PREFIX)-objcopy -I binary -O elf32-littlearm -B arm $< $@
|
||||
%.o: %.txt
|
||||
$(PREFIX)-objcopy -I binary -O elf32-littlearm -B arm $< $@
|
||||
|
||||
clean:
|
||||
@rm -rf $(TARGET).velf $(TARGET).elf $(OBJS)
|
||||
|
||||
|
12
init.c
12
init.c
@ -21,9 +21,9 @@
|
||||
#include "file.h"
|
||||
#include "module.h"
|
||||
|
||||
#include "resources/battery.h"
|
||||
#include "resources/battery_bar_red.h"
|
||||
#include "resources/battery_bar_green.h"
|
||||
extern unsigned char _binary_resources_battery_png_start;
|
||||
extern unsigned char _binary_resources_battery_bar_red_png_start;
|
||||
extern unsigned char _binary_resources_battery_bar_green_png_start;
|
||||
|
||||
vita2d_pgf *font = NULL;
|
||||
char font_size_cache[256];
|
||||
@ -88,9 +88,9 @@ void initVita2dLib() {
|
||||
font_size_cache[i] = vita2d_pgf_text_width(font, FONT_SIZE, character);
|
||||
}
|
||||
|
||||
battery_image = vita2d_load_PNG_buffer(battery);
|
||||
battery_bar_red_image = vita2d_load_PNG_buffer(battery_bar_red);
|
||||
battery_bar_green_image = vita2d_load_PNG_buffer(battery_bar_green);
|
||||
battery_image = vita2d_load_PNG_buffer(&_binary_resources_battery_png_start);
|
||||
battery_bar_red_image = vita2d_load_PNG_buffer(&_binary_resources_battery_bar_red_png_start);
|
||||
battery_bar_green_image = vita2d_load_PNG_buffer(&_binary_resources_battery_bar_green_png_start);
|
||||
}
|
||||
|
||||
void finishVita2dLib() {
|
||||
|
@ -19,7 +19,8 @@
|
||||
#include "main.h"
|
||||
#include "language.h"
|
||||
|
||||
#include "resources/english_us_translation.h"
|
||||
extern unsigned char _binary_resources_english_us_translation_txt_start;
|
||||
extern unsigned char _binary_resources_english_us_translation_txt_size;
|
||||
|
||||
static char *lang[] ={
|
||||
"japanese",
|
||||
@ -120,7 +121,7 @@ int loadLanguageContainer(void *buffer, int size) {
|
||||
strcpy(language_container[i], line);
|
||||
i++;
|
||||
}
|
||||
|
||||
|
||||
size -= res;
|
||||
p += res;
|
||||
} while (res > 0 && i < LANGUAGE_CONTRAINER_SIZE);
|
||||
@ -150,5 +151,5 @@ void loadLanguage(int id) {
|
||||
}
|
||||
|
||||
if (!loaded)
|
||||
loadLanguageContainer(english_us_translation, size_english_us_translation);
|
||||
}
|
||||
loadLanguageContainer(&_binary_resources_english_us_translation_txt_start, (int)&_binary_resources_english_us_translation_txt_size);
|
||||
}
|
||||
|
@ -1,29 +0,0 @@
|
||||
#ifndef __battery__
|
||||
#define __battery__
|
||||
|
||||
static unsigned int size_battery = 322;
|
||||
static unsigned char battery[] __attribute__((aligned(16))) = {
|
||||
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
|
||||
0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x14, 0x08, 0x06, 0x00, 0x00, 0x00, 0xff, 0x46, 0x7f,
|
||||
0xbb, 0x00, 0x00, 0x00, 0x04, 0x67, 0x41, 0x4d, 0x41, 0x00, 0x00, 0xb1, 0x8f, 0x0b, 0xfc, 0x61,
|
||||
0x05, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x0e, 0xbf, 0x00, 0x00, 0x0e,
|
||||
0xbf, 0x01, 0x38, 0x05, 0x53, 0x24, 0x00, 0x00, 0x00, 0x18, 0x74, 0x45, 0x58, 0x74, 0x53, 0x6f,
|
||||
0x66, 0x74, 0x77, 0x61, 0x72, 0x65, 0x00, 0x70, 0x61, 0x69, 0x6e, 0x74, 0x2e, 0x6e, 0x65, 0x74,
|
||||
0x20, 0x34, 0x2e, 0x30, 0x2e, 0x39, 0x6c, 0x33, 0x7e, 0x4e, 0x00, 0x00, 0x00, 0xc0, 0x49, 0x44,
|
||||
0x41, 0x54, 0x48, 0x4b, 0xd5, 0x96, 0xd1, 0x12, 0x40, 0x20, 0x10, 0x45, 0x8b, 0x61, 0x78, 0x34,
|
||||
0xe3, 0x13, 0xfc, 0xff, 0x2f, 0x26, 0xd4, 0x5a, 0x74, 0x53, 0x0f, 0x65, 0x35, 0xd3, 0x4b, 0x65,
|
||||
0x1c, 0xf7, 0xee, 0xdd, 0x28, 0x63, 0x8c, 0x02, 0xd3, 0x2e, 0x7f, 0x3e, 0x94, 0x64, 0xb8, 0x5d,
|
||||
0x9d, 0x37, 0x40, 0xb4, 0x5f, 0x63, 0xfd, 0x00, 0xbc, 0x0f, 0x07, 0xed, 0xbd, 0xad, 0x01, 0x12,
|
||||
0x15, 0xe9, 0xc2, 0x67, 0xa9, 0x26, 0x3b, 0x17, 0x56, 0x79, 0x72, 0x00, 0x41, 0x1c, 0x64, 0x00,
|
||||
0x02, 0xb8, 0x7e, 0x93, 0x37, 0x52, 0xa7, 0xa5, 0xf7, 0x28, 0x24, 0x33, 0x03, 0x6c, 0x3d, 0x94,
|
||||
0xf7, 0x5e, 0x02, 0x60, 0x43, 0x89, 0x70, 0x54, 0x1f, 0x42, 0x71, 0x57, 0x48, 0x41, 0xcd, 0x01,
|
||||
0x73, 0xe0, 0x0a, 0xab, 0xfc, 0x04, 0xcc, 0x81, 0xe3, 0x2d, 0x2a, 0xf7, 0xb9, 0xc4, 0xf3, 0x04,
|
||||
0x38, 0x08, 0x69, 0x2b, 0xf7, 0xd0, 0x11, 0xe0, 0x18, 0xb2, 0xb8, 0xb0, 0x7d, 0x29, 0x1d, 0xe0,
|
||||
0xbc, 0x49, 0x40, 0x9b, 0xd1, 0x22, 0xda, 0x0c, 0x53, 0x2a, 0xc4, 0x99, 0xf2, 0xa5, 0xa5, 0xce,
|
||||
0xc0, 0xbb, 0xb8, 0x13, 0x52, 0x93, 0x61, 0x40, 0x67, 0xab, 0x9c, 0x9f, 0x05, 0x10, 0xf9, 0xdf,
|
||||
0x00, 0x82, 0xfc, 0xd4, 0x5b, 0x8e, 0x15, 0x78, 0x3d, 0x0a, 0xfc, 0x26, 0xb5, 0x02, 0x34, 0x39,
|
||||
0xbc, 0x30, 0xbe, 0x6c, 0x1c, 0xac, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42,
|
||||
0x60, 0x82,
|
||||
};
|
||||
|
||||
#endif
|
@ -1,45 +0,0 @@
|
||||
#ifndef __battery_bar_green__
|
||||
#define __battery_bar_green__
|
||||
|
||||
static unsigned int size_battery_bar_green = 591;
|
||||
static unsigned char battery_bar_green[] __attribute__((aligned(16))) = {
|
||||
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
|
||||
0x00, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00, 0x10, 0x08, 0x06, 0x00, 0x00, 0x00, 0x9c, 0x37, 0xc6,
|
||||
0x5a, 0x00, 0x00, 0x02, 0x16, 0x49, 0x44, 0x41, 0x54, 0x48, 0x4b, 0xc5, 0x96, 0x4b, 0x8e, 0xdc,
|
||||
0x30, 0x0c, 0x44, 0x29, 0x7f, 0x3a, 0x07, 0x99, 0x45, 0x56, 0x41, 0x82, 0x5c, 0x32, 0x8b, 0x6c,
|
||||
0x82, 0xcc, 0x5d, 0x03, 0x4c, 0x5b, 0xa2, 0x52, 0xc5, 0x12, 0xed, 0xf1, 0xc0, 0x40, 0x76, 0x31,
|
||||
0x1b, 0x6a, 0x52, 0x6a, 0x5a, 0x7a, 0xe6, 0xc7, 0xee, 0x62, 0x1f, 0xe4, 0xe5, 0x87, 0xf5, 0x65,
|
||||
0x31, 0x7b, 0xac, 0x66, 0xf3, 0x3c, 0xc6, 0x24, 0xbd, 0x2e, 0xf2, 0x99, 0xa6, 0xd4, 0x30, 0x8a,
|
||||
0xec, 0x52, 0x86, 0x41, 0xe9, 0x1c, 0xdd, 0x9a, 0xd3, 0x30, 0x73, 0xe8, 0xd6, 0xa0, 0x31, 0xa5,
|
||||
0x6e, 0x3e, 0x74, 0x35, 0x7b, 0x62, 0x54, 0x8c, 0xad, 0xee, 0x5b, 0x1d, 0xf2, 0xf9, 0xa7, 0xf5,
|
||||
0xc7, 0x03, 0x07, 0x0f, 0x10, 0x82, 0x11, 0x62, 0x9a, 0x0a, 0xa0, 0x70, 0x38, 0xf4, 0x54, 0x38,
|
||||
0x26, 0x2b, 0x03, 0x8a, 0x72, 0x82, 0xe1, 0xb6, 0x80, 0x21, 0x84, 0x77, 0x0f, 0x4d, 0xc0, 0x0a,
|
||||
0x82, 0x5a, 0x05, 0x16, 0x40, 0x03, 0x82, 0xe3, 0xb9, 0x5d, 0xc0, 0x7c, 0xf9, 0x65, 0x9d, 0x87,
|
||||
0x73, 0x44, 0x34, 0xd6, 0x62, 0x0b, 0x0c, 0x46, 0x81, 0x40, 0x1c, 0x38, 0x39, 0xc0, 0xf2, 0xfc,
|
||||
0x8f, 0x20, 0xbd, 0x2b, 0x22, 0xd4, 0x34, 0xdd, 0xdd, 0x3a, 0x80, 0x08, 0x43, 0x5b, 0x50, 0x84,
|
||||
0xc3, 0xd8, 0x04, 0xf3, 0x76, 0x05, 0xf3, 0xfd, 0x15, 0x30, 0xab, 0x22, 0xb2, 0x2c, 0x03, 0x04,
|
||||
0x79, 0xa2, 0x9e, 0x69, 0xf3, 0xe0, 0xa2, 0x14, 0x09, 0x42, 0x07, 0xcb, 0x1e, 0xdb, 0x0d, 0x18,
|
||||
0x1f, 0xd1, 0x51, 0xca, 0x10, 0xa1, 0x26, 0x10, 0x02, 0x6d, 0xa0, 0xc9, 0xf4, 0x24, 0xd0, 0x09,
|
||||
0xe6, 0xeb, 0x6f, 0xa4, 0x68, 0x55, 0x54, 0x32, 0x22, 0x2b, 0xa8, 0x22, 0x2a, 0x33, 0x23, 0x33,
|
||||
0x1d, 0x11, 0x61, 0xaa, 0xa2, 0x78, 0x7a, 0x6c, 0xf2, 0x1e, 0xe6, 0x88, 0xcc, 0x11, 0x95, 0xe6,
|
||||
0x2d, 0x6a, 0xa8, 0x21, 0x1c, 0x7b, 0x84, 0x60, 0xbf, 0x3d, 0x7b, 0x40, 0x45, 0x9a, 0xbe, 0xa1,
|
||||
0x46, 0xfe, 0x20, 0x7f, 0x9f, 0x58, 0x27, 0x09, 0xc2, 0x02, 0x7e, 0x28, 0x12, 0x11, 0x91, 0x45,
|
||||
0x69, 0x22, 0x08, 0xd7, 0x32, 0x22, 0xd4, 0x4a, 0x5b, 0x62, 0x8c, 0x22, 0x8a, 0x88, 0x78, 0x60,
|
||||
0x52, 0x0b, 0x88, 0x75, 0x42, 0x20, 0xdf, 0x81, 0x2a, 0x28, 0x9e, 0x9b, 0x07, 0x08, 0xeb, 0x27,
|
||||
0xae, 0x66, 0x21, 0x72, 0xff, 0x68, 0x0e, 0xe8, 0x79, 0xe1, 0x21, 0x80, 0x98, 0x98, 0x22, 0xa5,
|
||||
0x66, 0x2e, 0x07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39, 0x25, 0xcc, 0x3f, 0x5f, 0x94, 0x77, 0xfe, 0x85, 0xf8, 0x0b, 0x9e, 0x26, 0xfc, 0xbd, 0x68,
|
||||
0x27, 0xc3, 0xba, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
|
||||
};
|
||||
|
||||
#endif
|
@ -1,59 +0,0 @@
|
||||
#ifndef __battery_bar_red__
|
||||
#define __battery_bar_red__
|
||||
|
||||
static unsigned int size_battery_bar_red = 812;
|
||||
static unsigned char battery_bar_red[] __attribute__((aligned(16))) = {
|
||||
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
|
||||
0x00, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00, 0x10, 0x08, 0x06, 0x00, 0x00, 0x00, 0x9c, 0x37, 0xc6,
|
||||
0x5a, 0x00, 0x00, 0x02, 0xf3, 0x49, 0x44, 0x41, 0x54, 0x48, 0x4b, 0xcd, 0x96, 0x5b, 0x72, 0xdb,
|
||||
0x30, 0x0c, 0x45, 0x41, 0x8a, 0xb2, 0xe3, 0x4e, 0x67, 0xba, 0xf7, 0x7e, 0x74, 0x01, 0xe9, 0x22,
|
||||
0x5d, 0x4b, 0x7c, 0xf4, 0x1e, 0x40, 0x92, 0x95, 0xc4, 0x0b, 0x08, 0x34, 0x10, 0x2d, 0x12, 0x04,
|
||||
0x2e, 0xf1, 0x20, 0x9c, 0xee, 0xf7, 0xbb, 0x9d, 0xe9, 0xcf, 0xaf, 0xdb, 0x28, 0xc3, 0xec, 0x5a,
|
||||
0xcd, 0xf2, 0x98, 0xac, 0x58, 0xb2, 0xc9, 0x79, 0xb6, 0x8b, 0xde, 0x10, 0x73, 0x50, 0xb6, 0x6e,
|
||||
0x43, 0x0f, 0xb4, 0x8f, 0x50, 0xf2, 0xc7, 0xac, 0x49, 0x02, 0x6a, 0xe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8f, 0x71, 0x75, 0xb1, 0x27, 0x90,
|
||||
0x50, 0x80, 0x32, 0x45, 0x3c, 0x0d, 0x29, 0xd7, 0x56, 0x71, 0xca, 0x1a, 0xc5, 0xa3, 0x93, 0x2b,
|
||||
0xca, 0x91, 0x44, 0x96, 0x6c, 0xf9, 0x33, 0xb6, 0xfc, 0xd1, 0x54, 0xef, 0xdd, 0x6a, 0x6f, 0x2e,
|
||||
0x47, 0x86, 0xa1, 0x29, 0x8e, 0xc7, 0x68, 0xf6, 0x10, 0xb8, 0x07, 0xb9, 0xa3, 0x31, 0xfd, 0xb6,
|
||||
0x79, 0xb4, 0x79, 0xb5, 0xab, 0x62, 0x77, 0x71, 0x10, 0x84, 0xa5, 0xc8, 0x85, 0xe8, 0xe2, 0x14,
|
||||
0x6c, 0xeb, 0x07, 0x90, 0x52, 0x66, 0x37, 0x8c, 0x72, 0x07, 0x90, 0xe5, 0x95, 0xd1, 0xfc, 0xdc,
|
||||
0x39, 0x07, 0x88, 0xbe, 0x01, 0x34, 0xed, 0x01, 0x8c, 0x03, 0xd2, 0xf7, 0x68, 0x8b, 0xb1, 0xb4,
|
||||
0x03, 0x6a, 0x1e, 0xd4, 0x2e, 0xae, 0x02, 0x84, 0x1d, 0x8b, 0x58, 0xb9, 0x31, 0xaf, 0x81, 0xe4,
|
||||
0x3e, 0x09, 0x20, 0x6c, 0x8b, 0x9a, 0x48, 0x27, 0x20, 0x96, 0x30, 0x9c, 0x15, 0x1a, 0x62, 0xde,
|
||||
0x7d, 0x2e, 0xa5, 0x0d, 0x80, 0x98, 0x79, 0x2d, 0xbb, 0xfa, 0x94, 0x8b, 0xcb, 0xba, 0x37, 0x91,
|
||||
0x73, 0xb8, 0x9b, 0x61, 0x97, 0x76, 0xeb, 0xdb, 0x9b, 0x89, 0x67, 0x55, 0x6e, 0x80, 0x3e, 0x51,
|
||||
0x7a, 0x6e, 0xde, 0x89, 0x7c, 0x40, 0x79, 0x04, 0x91, 0xdc, 0x08, 0x63,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, 0x22, 0x5e, 0xbc, 0xae, 0x04,
|
||||
0x05, 0x11, 0xb6, 0xe2, 0x39, 0x53, 0x6b, 0xb5, 0xda, 0x24, 0xeb, 0xac, 0xdf, 0xab, 0x94, 0xaf,
|
||||
0xda, 0xa5, 0x6f, 0x18, 0x99, 0x36, 0xc2, 0x13, 0xfb, 0x25, 0x11, 0xe1, 0x0f, 0x20, 0xd5, 0xc2,
|
||||
0x96, 0x37, 0xcc, 0xf2, 0xa2, 0x9a, 0x1e, 0x9a, 0xac, 0x1b, 0x20, 0x50, 0xe3, 0x46, 0x36, 0xd3,
|
||||
0xfe, 0xb8, 0xa4, 0xd4, 0xcf, 0x5c, 0xf9, 0xc3, 0x2f, 0x75, 0x5a, 0xe2, 0x45, 0x73, 0x8c, 0xb3,
|
||||
0x73, 0x33, 0x5a, 0x25, 0x80, 0x27, 0x97, 0x01, 0x78, 0xb4, 0x4a, 0x40, 0xcd, 0xf6, 0xef, 0xf0,
|
||||
0x04, 0xba, 0xc9, 0x39, 0xb1, 0xba, 0xf3, 0x3a, 0xbd, 0x00, 0x43, 0x3b, 0x3f, 0x03, 0x5a, 0xf4,
|
||||
0xdc, 0xa5, 0xe2, 0xee, 0xde, 0xca, 0x6e, 0x98, 0x76, 0xd9, 0x7d, 0xc4, 0x40, 0x78, 0x8d, 0xf6,
|
||||
0xf8, 0xe4, 0x1d, 0x00, 0x00, 0xa3, 0x4d, 0xde, 0x05, 0x31, 0x0e, 0x16, 0x3a, 0x0f, 0x8f, 0xe8,
|
||||
0x2f, 0xc4, 0x2a, 0x14, 0x55, 0x1d, 0xf8, 0x3f, 0x76, 0xc1, 0xeb, 0x15, 0xe9, 0x84, 0x61, 0x81,
|
||||
0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
|
||||
};
|
||||
|
||||
#endif
|
Binary file not shown.
@ -1,4 +0,0 @@
|
||||
bin2c english_us_translation.txt english_us_translation.h english_us_translation
|
||||
bin2c battery.png battery.h battery
|
||||
bin2c battery_bar_red.png battery_bar_red.h battery_bar_red
|
||||
bin2c battery_bar_green.png battery_bar_green.h battery_bar_green
|
@ -1,42 +0,0 @@
|
||||
#ifndef __english_us_translation__
|
||||
#define __english_us_translation__
|
||||
|
||||
static unsigned int size_english_us_translation = 529;
|
||||
static unsigned char english_us_translation[] __attribute__((aligned(16))) = {
|
||||
0x45, 0x72, 0x72, 0x6f, 0x72, 0x20, 0x30, 0x78, 0x25, 0x30, 0x38, 0x58, 0x2e, 0x0d, 0x0a, 0x46,
|
||||
0x6f, 0x6c, 0x64, 0x65, 0x72, 0x0d, 0x0a, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x0d, 0x0a, 0x4d,
|
||||
0x61, 0x72, 0x6b, 0x20, 0x61, 0x6c, 0x6c, 0x0d, 0x0a, 0x55, 0x6e, 0x6d, 0x61, 0x72, 0x6b, 0x20,
|
||||
0x61, 0x6c, 0x6c, 0x0d, 0x0a, 0x4d, 0x6f, 0x76, 0x65, 0x0d, 0x0a, 0x43, 0x6f, 0x70, 0x79, 0x0d,
|
||||
0x0a, 0x50, 0x61, 0x73, 0x74, 0x65, 0x0d, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x0d, 0x0a,
|
||||
0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x0d, 0x0a, 0x4e, 0x65, 0x77, 0x20, 0x66, 0x6f, 0x6c, 0x64,
|
||||
0x65, 0x72, 0x0d, 0x0a, 0x59, 0x6f, 0x75, 0x20, 0x6d, 0x75, 0x73, 0x74, 0x20, 0x75, 0x73, 0x65,
|
||||
0x20, 0x57, 0x69, 0x2d, 0x46, 0x69, 0x20, 0x74, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x74, 0x68, 0x69,
|
||||
0x73, 0x2e, 0x0d, 0x0a, 0x46, 0x54, 0x50, 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x72,
|
||||
0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x20, 0x6f, 0x6e, 0x20, 0x49, 0x50, 0x20, 0x25, 0x73, 0x20,
|
||||
0x50, 0x6f, 0x72, 0x74, 0x20, 0x25, 0x69, 0x2e, 0x0d, 0x0a, 0x41, 0x72, 0x65, 0x20, 0x79, 0x6f,
|
||||
0x75, 0x20, 0x73, 0x75, 0x72, 0x65, 0x20, 0x79, 0x6f, 0x75, 0x20, 0x77, 0x61, 0x6e, 0x74, 0x20,
|
||||
0x74, 0x6f, 0x20, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x3f, 0x0d, 0x0a, 0x41, 0x72, 0x65, 0x20, 0x79, 0x6f, 0x75, 0x20, 0x73, 0x75,
|
||||
0x72, 0x65, 0x20, 0x79, 0x6f, 0x75, 0x20, 0x77, 0x61, 0x6e, 0x74, 0x20, 0x74, 0x6f, 0x20, 0x64,
|
||||
0x65, 0x6c, 0x65, 0x74, 0x65, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x66, 0x6f, 0x6c, 0x64, 0x65,
|
||||
0x72, 0x3f, 0x0d, 0x0a, 0x41, 0x72, 0x65, 0x20, 0x79, 0x6f, 0x75, 0x20, 0x73, 0x75, 0x72, 0x65,
|
||||
0x20, 0x79, 0x6f, 0x75, 0x20, 0x77, 0x61, 0x6e, 0x74, 0x20, 0x74, 0x6f, 0x20, 0x73, 0x69, 0x67,
|
||||
0x6e, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x3f, 0x0d, 0x0a, 0x43, 0x61,
|
||||
0x6e, 0x6e, 0x6f, 0x74, 0x20, 0x73, 0x69, 0x67, 0x6e, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x2e, 0x0d, 0x0a, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c,
|
||||
0x6c, 0x79, 0x20, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x2e, 0x5c, 0x50, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x20, 0x63, 0x6f, 0x70, 0x79,
|
||||
0x20, 0x61, 0x6e, 0x79, 0x20, 0x45, 0x42, 0x4f, 0x4f, 0x54, 0x2e, 0x50, 0x42, 0x50, 0x20, 0x61,
|
||||
0x6e, 0x64, 0x20, 0x5f, 0x5f, 0x73, 0x63, 0x65, 0x5f, 0x65, 0x62, 0x6f, 0x6f, 0x74, 0x70, 0x62,
|
||||
0x70, 0x20, 0x66, 0x72, 0x6f, 0x6d, 0x20, 0x61, 0x20, 0x50, 0x53, 0x4e, 0x20, 0x50, 0x53, 0x50,
|
||||
0x20, 0x67, 0x61, 0x6d, 0x65, 0x20, 0x74, 0x6f, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x66, 0x6f,
|
||||
0x6c, 0x64, 0x65, 0x72, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x74, 0x68, 0x65, 0x6e, 0x20, 0x72, 0x65,
|
||||
0x62, 0x75, 0x69, 0x6c, 0x64, 0x20, 0x74, 0x68, 0x65, 0x20, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,
|
||||
0x73, 0x65, 0x2e, 0x0d, 0x0a, 0x43, 0x6f, 0x70, 0x69, 0x65, 0x64, 0x20, 0x25, 0x64, 0x20, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x73, 0x2f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x0d, 0x0a, 0x4d,
|
||||
0x6f, 0x76, 0x69, 0x6e, 0x67, 0x2e, 0x2e, 0x2e, 0x0d, 0x0a, 0x43, 0x6f, 0x70, 0x79, 0x69, 0x6e,
|
||||
0x67, 0x2e, 0x2e, 0x2e, 0x0d, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x2e,
|
||||
0x2e,
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user