It's recommended to use-- note that at the moment toolchain downloaded via vdpm will be horribly outdated, so this is no longer recommendedvdpm
to set up the toolchain: https://github.com/vitasdk/vdpm. In addition to setting up the toolchain,vdpm
allows you to install dependencies such as libpng/libjpeg/vita2dlib/etc without any hassle.- Prebuilt toolchain binaries (Windows, Linux, OSX): https://github.com/vitasdk/autobuilds/releases
- Another option is to build the toolchain from source, check out https://github.com/vitasdk/buildscripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import hid | |
from platform import platform | |
from struct import * | |
import urllib.request | |
import json | |
KEYCODES = { | |
0x04: "a", | |
0x05: "b", |
Use latest prebuilt toolchain: https://goo.gl/QpX5zM (the one at the top)
New build step has been added, after vita-elf-create you need to run: vita-make-fself homebrew.velf eboot.bin
You need to run vita-make-fself on the .velf, not .elf The resulting eboot.bin can then be put into a .vpk archive, read below
Homebrew installer uses a .vpk format which is just a ZIP file, start from this template: https://github.com/xyzz/Vita_Doom/releases/download/1.0/vitadoom.vpk (try installing it from the shell)
- replace eboot.bin with your eboot.bin
- you can also add template.xml and stuff like icon/background/etc that will be displayed in livearea, check out how it's done in molecular shell (launch it and go to app0)
- make sure to run pngquant on all your png images https://pngquant.org/
- to make param.sfo, use
vita-mksfoex -s TITLE_ID=XXXX00001 "homebrew name" output/param.sfo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bushwhackers Exploit/RE 9447 CTF writeups |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xyz@xyz-pc ~/minetest.net $ find -name "*.py" | xargs pep8 | |
./minetest/urls.py:13:1: W191 indentation contains tabs | |
./minetest/urls.py:13:1: E101 indentation contains mixed spaces and tabs | |
./minetest/urls.py:14:1: W191 indentation contains tabs | |
./minetest/urls.py:14:1: E101 indentation contains mixed spaces and tabs | |
./minetest/urls.py:15:1: W191 indentation contains tabs | |
./minetest/urls.py:15:1: E101 indentation contains mixed spaces and tabs | |
./minetest/urls.py:16:1: W191 indentation contains tabs | |
./minetest/urls.py:16:1: E101 indentation contains mixed spaces and tabs | |
./minetest/urls.py:18:1: W191 indentation contains tabs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+//! 64 bit unsigned variable. | |
+/** This is a typedef for unsigned long long, it ensures portability of the engine. */ | |
+#if defined(_MSC_VER) || ((__BORLANDC__ >= 0x530) && !defined(__STRICT_ANSI__)) | |
+typedef unsigned __int64 u64; | |
+#elif defined(__GNUC__) && defined(__UINT64_TYPE__) | |
+typedef __UINT64_TYPE__ u64; | |
+#elif ULONG_MAX == 18446744073709551615u // 2**64 - 1 | |
+typedef unsigned long u64; | |
+#else // Fallback | |
+// Works even without C++11 with any compiler known to me. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set(CMAKE_LEGACY_CYGWIN_WIN32 0) | |
cmake_minimum_required(VERSION 2.8) | |
PROJECT(leveldb) | |
# version | |
set(LIB_MAJOR 0) | |
set(LIB_MINOR 0) | |
set(LIB_RELEASE 1) | |
set(CMAKE_INSTALL_SO_NO_EXE "0") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --cc src/client.cpp | |
index e47bce1,e47bce1..b2861ed | |
@@@ -2411,6 -2411,6 +2411,11 @@@ void Client::afterContentReceived( | |
// remove the information about which checksum each texture | |
// ought to have | |
++ for (core::map<std::string, std::string>::Iterator i = m_media_name_sha1_map.getIterator(); | |
++ !i.atEnd(); | |
++ i++) { | |
++ m_media_name_set.insert(i.getNode()->getKey()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xyz@xyz-pc ~/minetest/minetest $ ./bin/minetest --server --worldname models | |
14:24:22: ACTION[main]: .__ __ __ | |
14:24:22: ACTION[main]: _____ |__| ____ _____/ |_ ____ _______/ |_ | |
14:24:22: ACTION[main]: / \| |/ \_/ __ \ __\/ __ \ / ___/\ __\ | |
14:24:22: ACTION[main]: | Y Y \ | | \ ___/| | \ ___/ \___ \ | | | |
14:24:22: ACTION[main]: |__|_| /__|___| /\___ >__| \___ >____ > |__| | |
14:24:22: ACTION[main]: \/ \/ \/ \/ \/ | |
14:24:22: ACTION[main]: World at [/home/xyz/minetest/minetest/bin/../worlds/models] | |
14:24:22: ACTION[main]: Server for gameid="minetest" listening on port 55555. | |
creative inventory size: 111 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xyz@xyz-pc ~/minetest/minetest $ ./bin/minetestserver --worldname minimal | |
14:10:55: ERROR[main]: ERROR: An unhandled exception occurred: Unknown inventory identifier | |
In thread 7f002bb3c740: | |
/home/xyz/minetest/minetest/src/main.cpp:1741: int main(int, char**): Assertion '0' failed. | |
Debug stacks: | |
DEBUG STACK FOR THREAD 7f002bb3c740: | |
#0 int main(int, char**) | |
(Leftover data: #1 Dedicated server branch) | |
(Leftover data: #2 void ServerMap::loadMapMeta()) |
NewerOlder