Inital Upload (v1.0)

This commit is contained in:
Silica 2018-10-14 02:29:00 +13:00 committed by GitHub
parent d969a62d35
commit f101a8173a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 447 additions and 0 deletions

20
IL/dump.sln Normal file
View File

@ -0,0 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dump", "dump\dump.csproj", "{1E7E2359-710F-4B80-921D-7E2E185242D2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1E7E2359-710F-4B80-921D-7E2E185242D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1E7E2359-710F-4B80-921D-7E2E185242D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1E7E2359-710F-4B80-921D-7E2E185242D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1E7E2359-710F-4B80-921D-7E2E185242D2}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = dump\dump.csproj
EndGlobalSection
EndGlobal

22
IL/dump.userprefs Normal file
View File

@ -0,0 +1,22 @@
<Properties>
<MonoDevelop.Ide.Workspace ActiveConfiguration="Release" />
<MonoDevelop.Ide.Workbench ActiveDocument="dump\AppMain.cs">
<Files>
<File FileName="dump\AppMain.cs" Line="49" Column="73" />
<File FileName="..\..\..\..\Program Files (x86)\MSBuild\Sce\Sce.Psm.Common.targets" Line="193" Column="8" />
</Files>
<Pads>
<Pad Id="ProjectPad">
<State expanded="True">
<Node name="dump" expanded="True">
<Node name="shaders" selected="True" />
</Node>
</State>
</Pad>
</Pads>
</MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.DebuggingService.Breakpoints>
<BreakpointStore />
</MonoDevelop.Ide.DebuggingService.Breakpoints>
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
</Properties>

84
IL/dump/AppMain.cs Normal file
View File

@ -0,0 +1,84 @@
using System;
using Sce.PlayStation.Core;
using Sce.PlayStation.Core.Environment;
using Sce.PlayStation.Core.Graphics;
using Sce.PlayStation.Core.Input;
using System.IO;
namespace dump
{
public class AppMain
{
private static GraphicsContext graphics;
public static void Main (string[] args)
{
Initialize ();
String[] Dirs = Directory.GetDirectories("/Application","*",SearchOption.AllDirectories);
String[] Files = Directory.GetFiles("/Application","*",SearchOption.AllDirectories);
foreach(String dir in Dirs)
{
try{
Directory.CreateDirectory(dir.Replace("Application","Documents/Application"));
}
catch(Exception)
{
}
}
foreach(String file in Files)
{
SystemEvents.CheckEvents();
Update();
// Clear the screen
graphics.SetClearColor (1.0f, 0.0f, 0.0f, 0.0f);
graphics.Clear ();
// Present the screen
graphics.SwapBuffers ();
Byte[] ByteArray = File.ReadAllBytes(file);
File.WriteAllBytes(file.Replace("Application","Documents/Application"),ByteArray);
}
while(true)
{
SystemEvents.CheckEvents();
Update();
Render();
}
}
public static void Initialize ()
{
// Set up the graphics system
graphics = new GraphicsContext ();
}
public static void Update ()
{
// Query gamepad for current state
var gamePadData = GamePad.GetData (0);
}
public static void Render ()
{
// Clear the screen
graphics.SetClearColor (0.0f, 1.0f, 0.0f, 0.0f);
graphics.Clear ();
// Present the screen
graphics.SwapBuffers ();
}
}
}

10
IL/dump/app.xml Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<application project_name="*" version="1.00" default_locale="en-US">
<runtime_config>
<memory managed_heap_size="32768" resource_heap_size="65536" />
</runtime_config>
<feature_list>
<feature value="GamePad" />
<feature value="Touch" />
</feature_list>
</application>

45
IL/dump/dump.csproj Normal file
View File

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{1E7E2359-710F-4B80-921D-7E2E185242D2}</ProjectGuid>
<ProjectTypeGuids>{69878862-DA7D-4DC6-B0A1-50D8FAB4242F};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Exe</OutputType>
<RootNamespace>dump</RootNamespace>
<AssemblyName>dump</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="Sce.PlayStation.Core" />
</ItemGroup>
<ItemGroup>
<Compile Include="AppMain.cs" />
</ItemGroup>
<ItemGroup>
<PsmMetadata Include="app.xml" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Sce\Sce.Psm.CSharp.targets" />
</Project>

BIN
IL/dump/dump.pidb Normal file

Binary file not shown.

47
Native/CMakeLists.txt Normal file
View File

@ -0,0 +1,47 @@
cmake_minimum_required(VERSION 2.8)
if(NOT DEFINED CMAKE_TOOLCHAIN_FILE)
if(DEFINED ENV{VITASDK})
set(CMAKE_TOOLCHAIN_FILE "$ENV{VITASDK}/share/vita.toolchain.cmake" CACHE PATH "toolchain file")
else()
message(FATAL_ERROR "Please define VITASDK to point to your SDK path!")
endif()
endif()
project(FuckPSSE)
include("${VITASDK}/share/vita.cmake" REQUIRED)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,-q -Wall -O3 -std=gnu99")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fno-rtti -fno-exceptions")
include_directories(
)
link_directories(
${CMAKE_CURRENT_BINARY_DIR}
)
if (NOT ${RELEASE})
add_definitions(-DENABLE_LOGGING)
endif()
add_executable(FuckPSSE
FuckPSSE.c
)
target_link_libraries(FuckPSSE
taihen_stub
SceLibKernel_stub
SceIofilemgr_stub
SceAppMgr_stub
SceLibc_stub
SceProcessmgr_stub
)
set_target_properties(FuckPSSE
PROPERTIES LINK_FLAGS "-nostdlib"
)
vita_create_self(FuckPSSE.suprx FuckPSSE
CONFIG ${CMAKE_SOURCE_DIR}/FuckPSSE.yml
)

169
Native/FuckPSSE.c Normal file

File diff suppressed because one or more lines are too long

8
Native/FuckPSSE.yml Normal file
View File

@ -0,0 +1,8 @@
FuckPSSE:
attributes: 0
version:
major: 1
minor: 1
main:
start: module_start
stop: module_stop

21
Native/LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2018 Silica
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

21
Native/README.md Normal file
View File

@ -0,0 +1,21 @@
# IDUSpoof
This is a plugin that spoofs IDU Mode (vshSysconIsIduMode) to allways return 0x1
this has the effect of tricking whatever application's its configured for into thinking its running in IDU mode.
in fact, if you do \*ALL it has the same effect as if you just enabled IDU mode!
the advantage to this plugin is ofcource that you can specify exactly what apps idu is set for.
for example. if you want to enable the package installer. simply do
\*NPXS10031
ux0:tai/iduSpoof.suprx
or enable IDU settings without IDU Mode:
\*NPXS10015
ux0:tai/iduSpoof.suprx
though keep in mind henkaku overwrites idu settings with its own.
!! WORKS ON 3.65 And 3.68!!
Download: https://bitbucket.org/SilicaAndPina/iduspoof/downloads/iduSpoof.suprx