-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Universal version of loader that may works on many geometry dash versions. Tested on: 2.1, 2.2011(hotfix after 2.201)
- Loading branch information
Showing
16 changed files
with
390 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
1 VERSIONINFO | ||
FILEVERSION 1, 3, 0, 0 | ||
PRODUCTVERSION 1, 3, 0, 0 | ||
FILEOS 0x40004 | ||
FILETYPE 0x2 | ||
{ | ||
BLOCK "StringFileInfo" | ||
{ | ||
BLOCK "040904B0" | ||
{ | ||
VALUE "ProductName", "ONEMR_Loader" | ||
VALUE "CompanyName", "user95401" | ||
VALUE "LegalCopyright", "user666's original" | ||
VALUE "FileDescription", "gd 2.1 mod that load dlls in all ur game directory" | ||
VALUE "OriginalFilename", "ONEMR_Loader.dll" | ||
} | ||
} | ||
|
||
BLOCK "VarFileInfo" | ||
{ | ||
VALUE "Translation", 0x0409 0x04B0 | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
1 VERSIONINFO | ||
FILEVERSION 1, 3, 0, 0 | ||
PRODUCTVERSION 1, 3, 0, 0 | ||
FILEOS 0x40004 | ||
FILETYPE 0x2 | ||
{ | ||
BLOCK "StringFileInfo" | ||
{ | ||
BLOCK "040904B0" | ||
{ | ||
VALUE "ProductName", "ONEMR_Loader" | ||
VALUE "CompanyName", "user95401" | ||
VALUE "LegalCopyright", "user666's original" | ||
VALUE "FileDescription", "gd 2.2 mod that load dlls in all ur game directory" | ||
VALUE "OriginalFilename", "ONEMR_Loader.dll" | ||
} | ||
} | ||
|
||
BLOCK "VarFileInfo" | ||
{ | ||
VALUE "Translation", 0x0409 0x04B0 | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
cmake_minimum_required(VERSION 3.10.0) | ||
set(CMAKE_CXX_STANDARD 20) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
set(CMAKE_CXX_EXTENSIONS OFF) | ||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /MANIFEST:NO") | ||
set(LIBRARY_OUTPUT_PATH "${CMAKE_CURRENT_LIST_DIR}") | ||
cmake_policy(SET CMP0057 NEW) | ||
|
||
project ("ONEMR_Loader") | ||
set(developer "user95401") | ||
set(description "gd 2.2 mod that load dlls in all ur game directory") | ||
set(lib_output "D:\\Games\\user666\\Geometry Dash 2.202") # post build copy | ||
|
||
#curly-eureka | ||
set(GAME_VERSION "2.2") | ||
include("C:\\Users\\Lenovo\\source\\curly-eureka\\CURLY-EUREKA-INCL.cmake")# "\" must be escaped by \\ | ||
|
||
#version | ||
set(FILEVERSION "1, 3, 0, 0") | ||
set(LegalCopyright "user666's original") | ||
configure_file("Version.rc" "../../../src/Version.rc") | ||
|
||
#mod | ||
file(GLOB_RECURSE SRC | ||
src/* | ||
) | ||
add_library(${PROJECT_NAME} SHARED ${SRC} ${CURLY_EUREKA_SRC}) | ||
|
||
#POST_BUILD | ||
add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD COMMAND #POST_BUILD UPDATE USES POWERSHELL! | ||
"${CMAKE_CURRENT_LIST_DIR}/CMakePostBuild.bat" ${developer} ${PROJECT_NAME} ${LIBRARY_OUTPUT_PATH} ${lib_output}) | ||
|
||
#libcurl distributing zip makeup | ||
if(EXISTS ${LIBRARY_OUTPUT_PATH}/${PROJECT_NAME}.dll) #can be deleted so escape "not found" | ||
#ONEMR_Loader | ||
file(COPY ${LIBRARY_OUTPUT_PATH}/${PROJECT_NAME}.dll | ||
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/copy.to.game.folder/) | ||
#libcurl | ||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/libcurl.dll | ||
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/copy.to.game.folder/) | ||
#libcurldist_readme | ||
configure_file(${CMAKE_CURRENT_LIST_DIR}/libcurldist_readme.md ${CMAKE_CURRENT_BINARY_DIR}/libcurldist_readme.md) | ||
#ARCHIVE_CREATE | ||
file(ARCHIVE_CREATE | ||
OUTPUT "${CMAKE_CURRENT_LIST_DIR}/${PROJECT_NAME}_dist.zip" | ||
PATHS | ||
${CMAKE_CURRENT_BINARY_DIR}/copy.to.game.folder/${PROJECT_NAME}.dll | ||
${CMAKE_CURRENT_BINARY_DIR}/copy.to.game.folder/libcurl.dll | ||
${CMAKE_CURRENT_BINARY_DIR}/libcurldist_readme.md | ||
FORMAT "zip") | ||
message("${PROJECT_NAME}_dist makeup done: see at ${CMAKE_CURRENT_LIST_DIR}/${PROJECT_NAME}_dist.zip") | ||
endif() |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
::Msg "%username%" developer: %1, PROJECT_NAME: %2, LIBRARY_OUTPUT_PATH: %3, lib_output: %4 | ||
|
||
@echo POST_BUILD_PART | ||
|
||
@set "$Title=Built mod install" | ||
@set "$Message=Done: " | ||
|
||
@echo "working at LIBRARY_OUTPUT_PATH: %3" | ||
@cd "%3" | ||
|
||
@echo "remove minhook built static lib because who needs it even" | ||
@if exist "minhook.x32.lib" del "minhook.x32.lib" | ||
|
||
@echo "copy dll to game: %2.dll => %4" | ||
@if not exist "%2.dll" set "$Message=Can´t found %3/%2.dll to copy dll!" | ||
if exist "%2.dll" copy "%2.dll" %4 | ||
|
||
::BEEEp if smth wrong | ||
@if not "%$Message%" == "Done: " rundll32 user32.dll,MessageBeep | ||
::add warn emoji | ||
@if not "%$Message%" == "Done: " set "$Title=⚠️ Failed to %$Title%" | ||
|
||
@if "%$Message%" == "Done: " set "$Message=%$Message%%4" | ||
|
||
::push notify | ||
@powershell -Command "& {Add-Type -AssemblyName System.Windows.Forms; Add-Type -AssemblyName System.Drawing; $notify = New-Object System.Windows.Forms.NotifyIcon; $notify.Icon = [System.Drawing.SystemIcons]::Information; $notify.Visible = $true; $notify.ShowBalloonTip(0, '%$Title%', '%$Message%', [System.Windows.Forms.ToolTipIcon]::None)}" | ||
@echo [%$Title%]: %$Message% |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "x86-Release", | ||
"generator": "Ninja", | ||
"configurationType": "Release", | ||
"buildRoot": "${projectDir}\\out\\build\\${name}", | ||
"installRoot": "${projectDir}\\out\\install\\${name}", | ||
"cmakeCommandArgs": "", | ||
"buildCommandArgs": "", | ||
"ctestCommandArgs": "", | ||
"inheritEnvironments": [ "msvc_x86" ] | ||
} | ||
] | ||
} |
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
1 VERSIONINFO | ||
FILEVERSION ${FILEVERSION} | ||
PRODUCTVERSION ${FILEVERSION} | ||
FILEOS 0x40004 | ||
FILETYPE 0x2 | ||
{ | ||
BLOCK "StringFileInfo" | ||
{ | ||
BLOCK "040904B0" | ||
{ | ||
VALUE "ProductName", "${PROJECT_NAME}" | ||
VALUE "CompanyName", "${developer}" | ||
VALUE "LegalCopyright", "${LegalCopyright}" | ||
VALUE "FileDescription", "${description}" | ||
VALUE "OriginalFilename", "${PROJECT_NAME}.dll" | ||
} | ||
} | ||
|
||
BLOCK "VarFileInfo" | ||
{ | ||
VALUE "Translation", 0x0409 0x04B0 | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# libcurldist | ||
made for installing mod loader to a clear game | ||
|
||
libcurl.dll is file that game loading: | ||
1. game loading libcurl.dll | ||
2. libcurl.dll loading ONEMR_Loader.dll |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
1 VERSIONINFO | ||
FILEVERSION 1, 3, 0, 0 | ||
PRODUCTVERSION 1, 3, 0, 0 | ||
FILEOS 0x40004 | ||
FILETYPE 0x2 | ||
{ | ||
BLOCK "StringFileInfo" | ||
{ | ||
BLOCK "040904B0" | ||
{ | ||
VALUE "ProductName", "ONEMR_Loader" | ||
VALUE "CompanyName", "user95401" | ||
VALUE "LegalCopyright", "user666's original" | ||
VALUE "FileDescription", "gd 2.2 mod that load dlls in all ur game directory" | ||
VALUE "OriginalFilename", "ONEMR_Loader.dll" | ||
} | ||
} | ||
|
||
BLOCK "VarFileInfo" | ||
{ | ||
VALUE "Translation", 0x0409 0x04B0 | ||
} | ||
} |
Oops, something went wrong.