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
filelist = {} | |
local folderblacklist = {"garrysmod/downloads/", "garrysmod/cache/", "garrysmod/maps/","platform/", "garrysmod/gamemodes/", "garrysmod/models/", "garrysmod/settings/", "garrysmod/materials/","garrysmod/resource/","garrysmod/screenshots/", "garrysmod/sound/", "sourceengine/", "garrysmod/addons/", "garrysmod/download/"} | |
local fileblacklist = {"png", "vtf", "dll", "exe", "jpg", "vmt", "vtx", "wav", "txt", "mdmp", "mdl", "res"} | |
function getallfiles(path) | |
if table.HasValue(folderblacklist, path) then return end | |
path = path or "" | |
local flist = file.Find(path .."*", "BASE_PATH") | |
local dlist = select(2,file.Find(path .."*", "BASE_PATH")) | |
if #dlist > 0 then | |
for k, v in pairs(dlist) do |
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
local fileWantToRape = "creation_fjogjytiubbsckso.main" | |
function decompress_File(inputf, outputf) | |
local i = 0; | |
while i < 100 do | |
local str = file.Read(inputf, "BASE_PATH") | |
str = string.Right(str, string.len(str)-i) | |
str = util.Decompress(str) | |
if str then print("Offset of junk bytes :" .. i) print(str) file.Write(outputf, str) break end |
NewerOlder