Skip to content

Commit c8e0960

Browse files
Release commit
1 parent 1208716 commit c8e0960

16 files changed

+329
-35
lines changed

.assets/R3nzSpotify.gif

1.75 MB
Loading

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# Set default behavior to automatically normalize line endings.
33
###############################################################################
44
* text=auto
5+
*.h linguist-language=C++
6+
*.hpp linguist-language=C++
57

68
###############################################################################
79
# Set default behavior for command prompt diff.

Builds/chrome_elf.dll

36.5 KB
Binary file not shown.

Builds/installer.bat

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
@echo off
2+
color 6
3+
cls
4+
SET original="%appdata%\Spotify\chrome_elf.dll"
5+
SET original_backup="%appdata%\Spotify\_chrome_elf.dll"
6+
SET modified="%cd%\chrome_elf.dll"
7+
8+
taskkill /F /IM Spotify.exe
9+
10+
If not exist %original% (
11+
echo [R3nzError] not found spotify folder
12+
GOTO end_code
13+
)
14+
15+
If not exist %modified% (
16+
echo [R3nzError] modified file not found
17+
GOTO end_code
18+
)
19+
20+
If exist %original_backup% (
21+
22+
echo original already exists in backup
23+
24+
echo f | xcopy /y /f %modified% %original%
25+
26+
echo [R3nzSuccess] successful installing
27+
28+
GOTO end_code
29+
)
30+
31+
echo f | xcopy /y /f %original% %original_backup%
32+
33+
echo f | xcopy /y /f %modified% %original%
34+
35+
echo [R3nzSuccess] successful installing
36+
37+
:end_code
38+
pause > nul

Builds/uinstaller.bat

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
@echo off
2+
color 6
3+
cls
4+
SET original="%appdata%\Spotify\chrome_elf.dll"
5+
SET original_backup="%appdata%\Spotify\_chrome_elf.dll"
6+
7+
taskkill /F /IM Spotify.exe
8+
9+
echo f | xcopy /y /f %original_backup% %original%
10+
11+
echo [R3nzSuccess] successful uninstalling
12+
13+
:end_code
14+
pause > nul

README.md

+16-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Spotify Internal
21

32
[![C++](https://img.shields.io/badge/language-C++-%23f34b7d.svg?style=plastic)](https://en.wikipedia.org/wiki/C%2B%2B)
43
[![CS:GO](https://img.shields.io/badge/App-Spotify-1DB954.svg?style=plastic)](https://store.steampowered.com/app/730/CounterStrike_Global_Offensive/)
@@ -7,11 +6,24 @@
76
[![License](https://img.shields.io/github/license/R3nzTheCodeGOD/Spotify-Internal.svg?style=plastic)](LICENSE)
87
[![Issues](https://img.shields.io/github/issues/R3nzTheCodeGOD/Spotify-Internal.svg?style=plastic)](https://github.com/R3nzTheCodeGOD/R3nzCS/issues)
98

10-
<br>
9+
<p align="center">
10+
<img height=400 src=".assets/R3nzSpotify.gif" >
11+
<br>
12+
<b><i>NO DELAY NO ADS</i></b>
13+
</p>
1114

12-
## **Features:**
15+
# **Spotify Internal**
1316

14-
* **coming soon...**
17+
**Note:** This DLL is for the **[Desktop release](https://www.spotify.com/download/windows/)** of Spotify on Windows and not the Microsoft Store version. If you have the microsoft version, delete it and reinstall it from the link above.
1518

19+
## **Features:**
20+
* Windows only
21+
* Blocks all banner/video/audio ads within the app
22+
* Unlocks the skip function for any track
1623

24+
## **Download and Usage:**
25+
* Download the code **[here](https://github.com/R3nzTheCodeGOD/Spotify-Internal/releases)**
26+
* If the dll and `installer.bat` are in the same directory, run installer.bat and if you get the successful message everything is ok
1727

28+
## How can i disable it ?
29+
* You can disable it with `uinstaller.bat`, if there is a problem, delete `chrome_elf.dll` in `%appdata%/Spotify/` folder and remove the leading underscore from `_chrome_elf.dll`

SpotifyInternal/Spotify.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#include "Spotify.h"
2-
#include "memory.h"
3-
#include "utils.h"
1+
#include "Spotify.hpp"
2+
#include "memory.hpp"
3+
#include "utils.hpp"
44

55
Spotify* l = nullptr;
66

SpotifyInternal/Spotify.h renamed to SpotifyInternal/Spotify.hpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1+
#pragma once
12
#ifndef SPOTIFY_H
23
#define SPOTIFY_H
34

4-
#pragma once
5-
65
#include <iostream>
76

87
class Spotify

SpotifyInternal/SpotifyInternal.rc

+100
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
// Microsoft Visual C++ generated resource script.
2+
//
3+
#include "resource.h"
4+
5+
#define APSTUDIO_READONLY_SYMBOLS
6+
/////////////////////////////////////////////////////////////////////////////
7+
//
8+
// Generated from the TEXTINCLUDE 2 resource.
9+
//
10+
#include "winres.h"
11+
12+
/////////////////////////////////////////////////////////////////////////////
13+
#undef APSTUDIO_READONLY_SYMBOLS
14+
15+
/////////////////////////////////////////////////////////////////////////////
16+
// T�rk�e (T�rkiye) resources
17+
18+
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_TRK)
19+
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
20+
#pragma code_page(1254)
21+
22+
#ifdef APSTUDIO_INVOKED
23+
/////////////////////////////////////////////////////////////////////////////
24+
//
25+
// TEXTINCLUDE
26+
//
27+
28+
1 TEXTINCLUDE
29+
BEGIN
30+
"resource.h\0"
31+
END
32+
33+
2 TEXTINCLUDE
34+
BEGIN
35+
"#include ""winres.h""\r\n"
36+
"\0"
37+
END
38+
39+
3 TEXTINCLUDE
40+
BEGIN
41+
"\r\n"
42+
"\0"
43+
END
44+
45+
#endif // APSTUDIO_INVOKED
46+
47+
48+
/////////////////////////////////////////////////////////////////////////////
49+
//
50+
// Version
51+
//
52+
53+
VS_VERSION_INFO VERSIONINFO
54+
FILEVERSION 1,0,0,0
55+
PRODUCTVERSION 1,0,0,0
56+
FILEFLAGSMASK 0x3fL
57+
#ifdef _DEBUG
58+
FILEFLAGS 0x1L
59+
#else
60+
FILEFLAGS 0x0L
61+
#endif
62+
FILEOS 0x40004L
63+
FILETYPE 0x2L
64+
FILESUBTYPE 0x0L
65+
BEGIN
66+
BLOCK "StringFileInfo"
67+
BEGIN
68+
BLOCK "041f04b0"
69+
BEGIN
70+
VALUE "CompanyName", "R3nz Software Inc."
71+
VALUE "FileDescription", "Spotify AdBlocker"
72+
VALUE "FileVersion", "1.0.0.0"
73+
VALUE "InternalName", "chrome_elf.dll"
74+
VALUE "LegalCopyright", "Copyright (C) 2021"
75+
VALUE "OriginalFilename", "chrome_elf.dll"
76+
VALUE "ProductName", "Spotify AdBlocker"
77+
VALUE "ProductVersion", "1.0.0.0"
78+
END
79+
END
80+
BLOCK "VarFileInfo"
81+
BEGIN
82+
VALUE "Translation", 0x41f, 1200
83+
END
84+
END
85+
86+
#endif // T�rk�e (T�rkiye) resources
87+
/////////////////////////////////////////////////////////////////////////////
88+
89+
90+
91+
#ifndef APSTUDIO_INVOKED
92+
/////////////////////////////////////////////////////////////////////////////
93+
//
94+
// Generated from the TEXTINCLUDE 3 resource.
95+
//
96+
97+
98+
/////////////////////////////////////////////////////////////////////////////
99+
#endif // not APSTUDIO_INVOKED
100+

SpotifyInternal/SpotifyInternal.vcxproj

+7-3
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,13 @@
164164
<ClInclude Include="detours\include\detver.h" />
165165
<ClInclude Include="detours\include\syelog.h" />
166166
<ClInclude Include="detours\include\uniHook.hpp" />
167-
<ClInclude Include="memory.h" />
168-
<ClInclude Include="Spotify.h" />
169-
<ClInclude Include="utils.h" />
167+
<ClInclude Include="memory.hpp" />
168+
<ClInclude Include="resource.h" />
169+
<ClInclude Include="Spotify.hpp" />
170+
<ClInclude Include="utils.hpp" />
171+
</ItemGroup>
172+
<ItemGroup>
173+
<ResourceCompile Include="SpotifyInternal.rc" />
170174
</ItemGroup>
171175
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
172176
<ImportGroup Label="ExtensionTargets">

SpotifyInternal/SpotifyInternal.vcxproj.filters

+7-3
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,18 @@
3333
<ClInclude Include="detours\include\uniHook.hpp">
3434
<Filter>Detours</Filter>
3535
</ClInclude>
36-
<ClInclude Include="utils.h">
36+
<ClInclude Include="utils.hpp">
3737
<Filter>Source Files</Filter>
3838
</ClInclude>
39-
<ClInclude Include="memory.h">
39+
<ClInclude Include="memory.hpp">
4040
<Filter>Source Files</Filter>
4141
</ClInclude>
42-
<ClInclude Include="Spotify.h">
42+
<ClInclude Include="Spotify.hpp">
4343
<Filter>Source Files</Filter>
4444
</ClInclude>
45+
<ClInclude Include="resource.h" />
46+
</ItemGroup>
47+
<ItemGroup>
48+
<ResourceCompile Include="SpotifyInternal.rc" />
4549
</ItemGroup>
4650
</Project>

0 commit comments

Comments
 (0)