kgns / CSGOItemParserForWeaponsPlugin

A simple tool to generate skin config files for CS:GO Weapons plugin
23 stars 9 forks source link

High CPU Load. Nothing happens #4

Open fipso opened 3 years ago

fipso commented 3 years ago

Hello, i tried running the jar binary from the repo and it keeps stuck after starting without any console output. tested both on windows with client and linux with server as csgo folder.

EDIT: java version image

shikekaka1 commented 2 years ago

i'm on windows, but for me it work, just take very long time -> about 10 minutes for just 1.txt (CPU is Ryzen 7 3750H 2.3Ghz - laptop CPU).

fipso commented 2 years ago

Good to know it works. Pretty wierd the tool is just paraing some plain text files. That shouldn't take a single second.

kgns commented 2 years ago

This wasn't planned or engineered to work efficiently in any way. I just needed something that parsed a huge text file using regular expressions. A lot of optimizations could be applied that made it work in a few seconds, but since this is only needed once or twice a year, I didn't see any reason to spend any extra time on it. This might be one of the worst things I released publicly (I have worse things in private just like any tinkerer), but it still gets the job done.

Pull requests are always welcomed