Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decompile rsrc files in the repository #7

Merged
merged 1 commit into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions FastTrax/etc/FastTraX.rdef
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@

resource mini_icon array {
$"FFFFFFFFFFFFFF0000FFFFFFFFFFFFFF"
$"FFFFFFFFFFFFFF0000FF00FF08FFFFFF"
$"FFFFFFFFFFFFFF0000FF00FF00FF0AFF"
$"FFFFFFFFFFFFFFFF0B00000A0C0C1700"
$"FFFFFFFFFFFFFFFF000000000000003F"
$"FFFFFFFFFFFFFFFF33312F2D2B2A000C"
$"FFFF00000000FFFF0A00000000000000"
$"FF000D19190D00FFFF33312F2D2B2A00"
$"000D8E8E8E8E0D00FF0A000000000007"
$"003FB5B5B5B53F00FFFFF72F2D2B2A0D"
$"000D8D8D8D8D0D00FFFF000000000015"
$"FF000D19190D00FFFFFFF72F2D2B2A1A"
$"FFFF00000089D1FFFF0A0000000000FF"
$"FFFFFFFFD18900FFFFF72F2D2B2A0AFF"
$"FFFFFFFFFF000013FF0000000000FFFF"
$"FFFFFFFFFFFF0000FF0A000000FFFFFF"
};

resource large_icon array {
$"FFFFFFFF000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
$"FFFF00003F3F3F3F3F3F0000FFFFFFFF16000016FF000FFFFFFFFFFFFFFFFFFF"
$"FF003F3F0000000000003F3F00FFFFFF00000000FF0000FF000FFFFFFFFFFFFF"
$"003F0F008E8E8E8E8E8E000F3F00FFFF00000000FF0000FF0000FF000FFFFFFF"
$"003F00B5B5B5B5B5B5B5B5003F00FFFF00000000FF000FFF0000FF0000FFFFFF"
$"003F0FB58D8D8D8D8D8DB50F3F00FFFF1600000FFFFFFFFFFFFFFFFF00FF000F"
$"00003F0F0000000000000F3F0000FFFFFF000FFFFF0B000000000B15FFFF0000"
$"008D003F3F3F3F3F3F3F3F000000FFFFFFFFFF0B00000000000000000FFFFF00"
$"008D8D0000000000000000898900FFFFFFFF0B000000000000000000000BFFFF"
$"FF008D676767673F3F0089890000FFFFFFFF0000000000000000000000000BFF"
$"FFFF00006767673F8D0089000000FFFFFFFF33F731302FEB2D2C2B2A2A2A0012"
$"FFFFFFFF0000000000FF000000000CFFFFFF000000000000000000000000000C"
$"FFFFFFFFFFFFFFFFFFFFFF0000000014FFFF0B00000000000000000000000007"
$"FFFFFFFFFFFFFFFFFFFFFFFF0000000014FFFF33F731302FEB2D2C2B2A2A2A00"
$"FFFFFFFFFFFFFFFFFFFFFFFFFF00000000FFFF0B000000000000000000000000"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFF00000014FFFF0B0000000000000000000000"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000014FFFFFF33F731302FEB2D2C2B2A00"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1414FFFFFF0A00000000000000000007"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0E0000000000000000000D"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF731302FEB2D2C2B2A11"
$"FFFFFFFFFFFFFFFFFF0800FF15000015FFFFFFFFFFFF00000000000000000015"
$"FFFFFFFFFFFF0800FF0000FF00000000FFFFFFFFFFFF000000000000000000FF"
$"FFFFFF0800FF0000FF0000FF00000000FFFFFFFFFFFFF731302FEB2D2C2B06FF"
$"FFFFFF0000FF0000FF0800FF00000000FFFFFFFFFFFF00000000000000000CFF"
$"0800FF00FFFFFFFFFFFFFFFF0D000015FFFFFFFFFFFF000000000000000012FF"
$"0000FFFF150B000000000BFFFF0D00FFFFFFFFFFFF3331302FEB2D2C2B001AFF"
$"00FFFF0B00000000000000000BFFFFFFFFFFFFFFFF0000000000000000003FFF"
$"FFFF0B000000000000000000000BFFFFFFFFFFFF0A00000000000000000AFFFF"
$"FF0B000000000000000000000000FFFFFFFFFFFF3331302FEB2D2C2B00FFFFFF"
$"1200000000000000000000000000FFFFFFFFFFFF00000000000000000AFFFFFF"
$"0C00000000000000000000000000FFFFFFFFFFFF0A0000000000000AFFFFFFFF"
$"070000000000000000000000000BFFFFFFFFFFFFFF0A000000000AFFFFFFFFFF"
};

resource file_types message {
"types" = "application/x-vnd.Be-directory",
"types" = "application/x-vnd.Be-volume"
};

resource app_signature "application/x-vnd.Zod-FastTraX";

resource app_version {
major = 1,
middle = 1,
minor = 1,

variety = B_APPV_FINAL,
internal = 0,

short_info = "FastTraX 1.1",
long_info = "FastTraX v1.1 ; (c) 1999-2000, Tim Vernum\[email protected]"
};

resource app_flags B_MULTIPLE_LAUNCH;
Binary file removed FastTrax/etc/FastTraX.rsrc
Binary file not shown.
3 changes: 2 additions & 1 deletion FastTrax/etc/makefile.defs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ FASTTRAX_LIBFIND := $(FASTTRAX_LIB_DIR)/$(notdir $(FINDLIB_TGT))
FASTTRAX_LIBCOMMON := $(FASTTRAX_LIB_DIR)/$(notdir $(COMMON_TGT))
FASTTRAX_LIBS := $(FASTTRAX_LIBFIND) $(FASTTRAX_LIBCOMMON)

FASTTRAX_RSRC := $(FASTTRAX_ETC_DIR)/FastTraX.rsrc
FASTTRAX_RDEF := $(FASTTRAX_ETC_DIR)/FastTraX.rdef
FASTTRAX_RSRC := $(FASTTRAX_OBJ_DIR)/FastTraX.rsrc
FASTTRAX_TGT := $(FASTTRAX_OUT_DIR)/FastTraX
FASTTRAX_INSTALL := $(ETC_DIR)/fasttrax_install_log
FASTTRAXMAIN_SRC := $(wildcard $(FASTTRAXMAIN_SRC_DIR)/*.cpp)
Expand Down
5 changes: 4 additions & 1 deletion FastTrax/etc/makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ $(FASTTRAX_TGT): $(FINDLIB_TGT) $(COMMON_TGT) $(FASTTRAX_OBJ_DIR) $(FASTTRAX_OB2
$(ADD_RSRCS) $(FASTTRAX_RSRC)
$(MIMESET)

$(FASTTRAX_RSRC): $(FASTTRAX_RDEF)
$(MAKE_RSRCS)

$(FASTTRAX_INSTALL): $(FASTTRAX_TGT) $(FASTTRAX_LIB_DIR) $(FASTTRAX_LIBS)
@date "+%a %x, %X" >> $@
@echo "Remade targets: $?" >> $@
Expand Down Expand Up @@ -45,4 +48,4 @@ $(FASTTRAX_OBJ_DIR)/%.o : $(FASTTRAXUI_SRC_DIR)/%.cpp
$(MAKE_CC) $(FASTTRAX_CFLAGS)

$(FASTTRAX_CLEAN):
rm -rf $(FASTTRAX_OBJ_DIR) $(FASTTRAX_DEP_DIR)
rm -rf $(FASTTRAX_OBJ_DIR) $(FASTTRAX_DEP_DIR)
74 changes: 74 additions & 0 deletions FindLib/etc/libfind.rdef
jmairboeck marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@

resource(2, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-elfexecutable";

resource app_signature "";

resource large_icon array {
$"FFFFFFFF000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
$"FFFF00003F3F3F3F3F3F0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
$"FF003F3F0000000000003F3F00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
$"003F0F00878787878787000F3F00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
$"003F00AEAEAEAEAEAEAEAE003F00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
$"003F0FAE868686868686AE0F3F00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
$"00003F0F0000000000000F3F0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
$"0087003F3F3F3F3F3F3F3F000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
$"0087870000000000000000898900FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
$"FF0087606060603F3F0089890000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
$"FFFF00006060603F870089000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
$"FFFFFFFF0000000000FF000000000CFFFFFFFFFFFFFF00FFFFFFFFFFFFFFFFFF"
$"FFFFFFFFFFFFFFFFFFFFFF00000000FFFFFFFFFFFF00600000FFFFFFFFFFFFFF"
$"FFFFFFFFFFFFFFFFFFFFFFFF0000000014FFFFFF00606060600000FFFFFFFFFF"
$"FFFFFFFFFFFFFFFFFFFFFFFFFF00000000FFFF00606060606060600000FFFFFF"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFF0000000029606060606060606060600000FF"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000606060606060606060606060D500"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF29606060606060606060606060D5D500"
$"FFFFFFFFFF00000000FFFFFFFFFFFFFF001F1F606060606060606060D5D5D500"
$"FFFFFFFFFF00787800FFFFFFFFFFFFFF0086861F1F606060606060D5D5D5D500"
$"FFFFFFFFFF00787800FFFFFFFFFFFFFF00868686861F1F606060D5D5D5D5D500"
$"FFFF00000000787800000000FFFFFFFF008686868686861F1FD5D5D5D5D5D500"
$"FFFF00787878787878787800FFFFFFFF008686868686868686D5D5D5D5D5D500"
$"FFFF00787878787878787800FFFFFFFF018686868686868686D5D5D5D5D5D501"
$"FFFF00000000787800000000FFFFFFFF018686868686868686D5D5D5D5D5D501"
$"FFFFFFFFFF00787800FFFFFFFFFFFFFF018686868686868686D5D5D5D5D5D501"
$"FFFFFFFFFF00787800FFFFFFFFFFFFFF298686868686868686D5D5D5D5D501FF"
$"FFFFFFFFFF00000000FFFFFFFFFFFFFF000086868686868686D5D5D5D500FFFF"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00008686868686D5D5D500FFFFFF"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0100868686D5D500FFFFFFFF"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF010086D500FFFFFFFFFF"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0100FFFFFFFFFFFF"
};

resource mini_icon array {
$"FFFF00000000FFFFFFFFFFFFFFFFFFFF"
$"FF000D19190D00FFFFFFFFFFFFFFFFFF"
$"000D878787870D00FFFFFFFFFFFFFFFF"
$"003FAEAEAEAE3F00FFFFFFFFFFFFFFFF"
$"000D868686860D00FFFFFFFFFFFFFFFF"
$"FF000D19190D00FFFFFF0000FFFFFFFF"
$"FFFF00000089D1FFFF0060600000FFFF"
$"FFFFFFFFD18900FF0060606060600000"
$"FFFFFFFFFF0000001F606060601FD500"
$"FFFFE2E2FFFF0000861F1F601FD5D500"
$"FFFFE2E2FFFFFF008686861FD5D5D500"
$"E2E2E2E2E2E2FF0186868686D5D5D500"
$"E2E2E2E2E2E2FF0186868686D5D5D500"
$"FFFFE2E2FFFFFFFF01868686D5D500FF"
$"FFFFE2E2FFFFFFFFFF000086D500FFFF"
$"FFFFFFFFFFFFFFFFFFFFFF0000FFFFFF"
};

resource app_version {
major = 0,
middle = 0,
minor = 0,

variety = B_APPV_DEVELOPMENT,
internal = 0,

short_info = #'CSTR' array {

},
long_info = #'CSTR' array {

}
};
Binary file removed FindLib/etc/libfind.rsrc
Binary file not shown.
75 changes: 75 additions & 0 deletions TraxSource/etc/TraX.rdef
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@

resource mini_icon array {
$"FFFFFFFFFFFFFF0000FFFFFFFFFFFFFF"
$"FFFFFFFFFFFFFF0000FF00FF08FFFFFF"
$"FFFFFFFFFFFFFF0000FF00FF00FF0AFF"
$"FFFFFFFFFFFFFFFF0B00000A0C0C1700"
$"FFFFFFFFFFFFFFFF000000000000003F"
$"FFFFFFFFFFFFFFFF000000000000000C"
$"FFFF00000000FFFF0A00000000000000"
$"FF000D19190D00FFFF00000000000000"
$"000D8E8E8E8E0D00FF0A000000000007"
$"003FB5B5B5B53F00FFFF00000000000D"
$"000D8D8D8D8D0D00FFFF000000000015"
$"FF000D19190D00FFFFFF00000000001A"
$"FFFF00000089D1FFFF0A0000000000FF"
$"FFFFFFFFD18900FFFF00000000000AFF"
$"FFFFFFFFFF000013FF0000000000FFFF"
$"FFFFFFFFFFFF0000FF0A000000FFFFFF"
};

resource large_icon array {
$"FFFFFFFF000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
$"FFFF00003F3F3F3F3F3F0000FFFFFFFF15000015FF0008FFFFFFFFFFFFFFFFFF"
$"FF003F3F0000000000003F3F00FFFFFF00000000FF0000FF0008FFFFFFFFFFFF"
$"003F0F008E8E8E8E8E8E000F3F00FFFF00000000FF0000FF0000FF0008FFFFFF"
$"003F00B5B5B5B5B5B5B5B5003F00FFFF00000000FF0008FF0000FF0000FFFFFF"
$"003F0FB58D8D8D8D8D8DB50F3F00FFFF1500000DFFFFFFFFFFFFFFFF00FF0008"
$"00003F0F0000000000000F3F0000FFFFFF000DFFFF0B000000000B15FFFF0000"
$"008D003F3F3F3F3F3F3F3F000000FFFFFFFFFF0B00000000000000000FFFFF00"
$"008D8D0000000000000000898900FFFFFFFF0B000000000000000000000BFFFF"
$"FF008D676767673F3F0089890000FFFFFFFF0000000000000000000000000BFF"
$"FFFF00006767673F8D0089000000FFFFFFFF0000000000000000000000000012"
$"FFFFFFFF0000000000FF000000000CFFFFFF000000000000000000000000000C"
$"FFFFFFFFFFFFFFFFFFFFFF0000000014FFFF0B00000000000000000000000007"
$"FFFFFFFFFFFFFFFFFFFFFFFF0000000014FFFF00000000000000000000000000"
$"FFFFFFFFFFFFFFFFFFFFFFFFFF00000000FFFF0B000000000000000000000000"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFF00000014FFFF0B0000000000000000000000"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000014FFFFFF0000000000000000000000"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1414FFFFFF0A00000000000000000007"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0E0000000000000000000D"
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000000000000011"
$"FFFFFFFFFFFFFFFFFF0800FF15000015FFFFFFFFFFFF00000000000000000015"
$"FFFFFFFFFFFF0800FF0000FF00000000FFFFFFFFFFFF000000000000000000FF"
$"FFFFFF0800FF0000FF0000FF00000000FFFFFFFFFFFF000000000000000006FF"
$"FFFFFF0000FF0000FF0800FF00000000FFFFFFFFFFFF00000000000000000CFF"
$"0800FF00FFFFFFFFFFFFFFFF0D000015FFFFFFFFFFFF000000000000000012FF"
$"0000FFFF150B000000000BFFFF0D00FFFFFFFFFFFF0A00000000000000001AFF"
$"00FFFF0B00000000000000000BFFFFFFFFFFFFFFFF0000000000000000003FFF"
$"FFFF0B000000000000000000000BFFFFFFFFFFFF0A00000000000000000AFFFF"
$"FF0B000000000000000000000000FFFFFFFFFFFF000000000000000000FFFFFF"
$"1200000000000000000000000000FFFFFFFFFFFF00000000000000000AFFFFFF"
$"0C00000000000000000000000000FFFFFFFFFFFF0A0000000000000AFFFFFFFF"
$"070000000000000000000000000BFFFFFFFFFFFFFF0A000000000AFFFFFFFFFF"
};

resource file_types message {
"types" = "application/x-vnd.Be-directory",
"types" = "application/x-vnd.Be-volume"
};

resource app_signature "application/x-vnd.Zod-TraX";

resource app_version {
major = 1,
middle = 1,
minor = 1,

variety = B_APPV_FINAL,
internal = 0,

short_info = "TraX 1.1",
long_info = "TraX v1.1 ; (c) 1999-2000, Tim Vernum\[email protected]"
};

resource app_flags B_SINGLE_LAUNCH;
Binary file removed TraxSource/etc/TraX.rsrc
Binary file not shown.
3 changes: 2 additions & 1 deletion TraxSource/etc/makefile.defs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ TRAX_LIBFIND := $(TRAX_LIB_DIR)/$(notdir $(FINDLIB_TGT))
TRAX_LIBCOMMON := $(TRAX_LIB_DIR)/$(notdir $(COMMON_TGT))
TRAX_LIBS := $(TRAX_LIBFIND) $(TRAX_LIBCOMMON)

TRAX_RSRC := $(TRAX_ETC_DIR)/TraX.rsrc
TRAX_RDEF := $(TRAX_ETC_DIR)/TraX.rdef
TRAX_RSRC := $(TRAX_OBJ_DIR)/TraX.rsrc
TRAX_TGT := $(TRAX_OUT_DIR)/TraX
TRAX_INSTALL := $(ETC_DIR)/trax_install_log
TRAXMAIN_SRC := $(wildcard $(TRAXMAIN_SRC_DIR)/*.cpp)
Expand Down
5 changes: 4 additions & 1 deletion TraxSource/etc/makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ $(TRAX_TGT): $(FINDLIB_TGT) $(COMMON_TGT) $(TRAX_OBJ_DIR) $(TRAX_OB2) $(TRAX_RSR
$(ADD_RSRCS) $(TRAX_RSRC)
$(MIMESET)

$(TRAX_RSRC): $(TRAX_RDEF)
$(MAKE_RSRCS)

$(TRAX_INSTALL): $(TRAX_TGT) $(TRAX_LIB_DIR) $(TRAX_LIBS)
@date "+%a %x, %X" >> $@
@echo "Remade targets: $?" >> $@
Expand Down Expand Up @@ -46,4 +49,4 @@ $(TRAX_OBJ_DIR)/%.o : $(TRAXUI_SRC_DIR)/%.cpp

$(TRAX_CLEAN) :
rm -fr $(TRAX_OBJ_DIR) $(TRAX_DEP_DIR)


1 change: 1 addition & 0 deletions etc/makefile.main
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ MAKE_TRACKERLIB = $(MAKE_BELIB) -ltracker
MAKE_APP = $(LD) -o $@ $(LDFLAGS) $(APP_FLAGS)
MAKE_BEAPP = $(MAKE_APP) -lbe
MAKE_TRACKERAPP = $(MAKE_BEAPP) -ltracker
MAKE_RSRCS = rc -o $@ $<
ADD_RSRCS = $(XRES) -o $@
MIMESET = mimeset -f $@
TRIM_LOG = ./etc/TrimLog.sh $@ 250
Expand Down