mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 01:27:51 -05:00
Brought up to date with the private repository (a06d3c5)
This commit is contained in:
commit
eda992fcff
144 files changed
+31026
No files matched your search
Executable
+64
@@ -0,0 +1,64 @@
|
||||
#!/bin/sh
|
||||
# rebuilds swf/ajclient.swf: the untouched client (swf/ajclient.before-finder.swf)
|
||||
# with every class in swf-src/ compiled over its original, by JPEXS (tools/ffdec,
|
||||
# needs Java). the result is the same bytes every time.
|
||||
#
|
||||
# tools/build-client.sh [output.swf] (default: swf/ajclient.swf)
|
||||
#
|
||||
# A class added to swf-src/ needs a line below: its full name, then its file.
|
||||
#
|
||||
# one thing is not a whole class: gui.EmoticonUtility's static initialiser,
|
||||
# as P-code, with our emote added to its lists (tools/make-emote.py). the
|
||||
# decompiler gets two of that class's functions wrong, so the class cannot
|
||||
# be compiled from its source. 4839 is that method body's place in the
|
||||
# untouched client.
|
||||
set -e
|
||||
cd "$(dirname "$(readlink -f "$0")")/.."
|
||||
out=${1:-swf/ajclient.swf}
|
||||
set -- \
|
||||
AJClient AJClient.as \
|
||||
GlobalErrorCatch GlobalErrorCatch.as \
|
||||
XtReplyDemuxer XtReplyDemuxer.as \
|
||||
loader.MediaHelper MediaHelper.as \
|
||||
com.sbi.graphics.PaletteHelper PaletteHelper.as \
|
||||
gui.ColorTable ColorTable.as \
|
||||
gui.MySettings MySettings.as \
|
||||
gui.itemWindows.ItemWindowToggle ItemWindowToggle.as \
|
||||
gui.ReportAPlayer ReportAPlayer.as \
|
||||
gui.ECardCreation ECardCreation.as \
|
||||
gui.GuiManager GuiManager.as \
|
||||
gui.PlayerSearch PlayerSearch.as \
|
||||
avatar.NPCView NPCView.as \
|
||||
gui.ChatHistory ChatHistory.as \
|
||||
gui.PredictiveTextManager PredictiveTextManager.as \
|
||||
avatar.UserCommXtCommManager UserCommXtCommManager.as \
|
||||
buddy.BuddyCard BuddyCard.as \
|
||||
gui.itemWindows.ItemWindowPets ItemWindowPets.as \
|
||||
gui.itemWindows.ItemWindowAvtPetSml ItemWindowAvtPetSml.as \
|
||||
gui.itemWindows.ItemWindowBuddyList ItemWindowBuddyList.as \
|
||||
shop.Shop Shop.as \
|
||||
shop.ShopManager ShopManager.as \
|
||||
avatar.Avatar Avatar.as \
|
||||
gui.ChatBalloon ChatBalloon.as \
|
||||
room.RoomManagerView RoomManagerView.as \
|
||||
gui.itemWindows.ItemWindowOriginal ItemWindowOriginal.as \
|
||||
gui.itemWindows.ItemWindowAnimal ItemWindowAnimal.as \
|
||||
gui.DenAndClothesItemSelect DenAndClothesItemSelect.as \
|
||||
gui.RecycleItems RecycleItems.as \
|
||||
gui.AvatarEditor AvatarEditor.as \
|
||||
gui.PetInventory PetInventory.as \
|
||||
gui.DenEditor DenEditor.as \
|
||||
gui.TradeManager TradeManager.as \
|
||||
avatar.AvatarWorldView AvatarWorldView.as \
|
||||
room.RoomManagerWorld RoomManagerWorld.as \
|
||||
gskinner.motion.GTween GTween.as \
|
||||
playerWall.PostMessage PostMessage.as
|
||||
args=""
|
||||
while [ $# -gt 0 ]; do
|
||||
args="$args $1 swf-src/$2"
|
||||
shift 2
|
||||
done
|
||||
# shellcheck disable=SC2086
|
||||
java -jar tools/ffdec/ffdec-cli.jar -replace swf/ajclient.before-finder.swf "$out" \
|
||||
gui.EmoticonUtility swf-src/EmoticonUtility.cinit.pcode 4839 $args | grep -v "^Replac\|EXPERIMENTAL" || true
|
||||
ls -l "$out"
|
||||
Reference in new issue
Block a user