FIRST:
Add scriptparsetree,scripts/zm/zm_launch_pad.gsc to your maps zone file
SOUNDS:
Add the following to your user_aliases.csv in root/share/raw/sound/aliases/
launchpad_wind_loop,,,kurt_sounds\flinger_wind_loop.wav,,,UIN_MOD,,,,,,,,,,,100,100,200,1000,,,,,,4,,,,,,,,,,,3d,,,LOOPING,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
launchpad_activate,,,kurt_sounds\flinger_activate.wav,,,UIN_MOD,,,,,,,,,,,60,100,100,400,,,,,,1,,,,,,,,,,,3d,,,NONLOOPING,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
launchpad_land,,,kurt_sounds\flinger_land.wav,,,UIN_MOD,,,,,,,,,,,100,100,200,1000,,,,,,1,,,,,,,,,,,3d,,,NONLOOPING,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
launchpad_fly,,,kurt_sounds\flinger_fly.wav,,,UIN_MOD,,,,,,,,,,,100,100,200,1000,,,,,,1,,,,,,,,,,,3d,,,NONLOOPING,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
SCRIPTING:
1. Add "#using scripts\zm\zm_launch_pad;" to your mapname.gsc
2. Add "thread zm_launch_pad::init();" in the init function inside of your mapname.gsc
void SetMemory(ulong Address, object Bytes)
{
IProcess.SetMemory(Address, Bytes);
}
void GetMemory(ulong Address, uint ByteCount, out uint Bytes)
{
IProcess.GetMemory(Address, ByteCount, out Bytes);
}
void SendConsoleInput(string InptText)
{
IProcess.SendConsoleInput(eConsoleOutputPort.STREAM_STDERR, InptText);
}
byte[] buffer = new byte[] { 0xFF, 0xFF };
SetMemory(0xFFFFF, buffer);
#
# BadChoicesZ guide to PS4SDK setup on Windows:
# using CTURTS ***, although can use PS4DEV's *** aswell.
# revision 2.0
#
1.
# Download cygwin x86_64 from browser:
# https://www.cygwin.com/setup-x86_64.exe
2.
# Create folder:
C:\cygwin64
# And copy the setup-x86_64.exe into it.
3.
# setup (using cmd.exe)
cd C:\cygwin64
setup-x86_64 -q -P wget,tar,qawk,bzip2,subversion,vim
4.
# Download/install apt-cyg using the cygwin terminal:
wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg
install apt-cyg /bin
5.
# Install required. ( using cygwin terminal )
apt-cyg install nano git make python binutils clang
git clone https://github.com/kR105/PS4-dlclose.git
git clone https://github.com/CTurt/PS4-***.git
6.
# make Environmental variable "PS4SDK" point to PS4-***'s folder.
# replace <user> with profile name..ie. BadChoicesZ
export PS4SDK=/home/<user>/PS4SDK/PS4-***
7.
# Install GCC -
# Run the cygwin installer again "setup-x86_64.exe" this time by double clicking on it ( not using cmdline )
# and make sure to download the GCC as shown below.
# https://i.stack.imgur.com/E4uZh.png
# (just click on the 'skip' to toggle install..)
8.
# Compile Cturts *** ( Could also use PS4DEV's.. )
cd PS4-***
cd libPS4
make
cd ..
cd libusbfatfs
make
cd ..
9.
# you can now compile projects with ps4sdk on windows.