Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resgen hangs with 100% CPU and not working for map de_dust2_2009.bsp #6

Open
mbto opened this issue Jul 15, 2020 · 1 comment
Open

Comments

@mbto
Copy link

mbto commented Jul 15, 2020

Version: 2.0.3
OS: win+unix
map: de_dust2_2009.zip

root@user-desktop:/opt/cs-resources/resgen# ./resgen -o -m -f /opt/cs-resources/trashmap/de_dust2_2009 -e /opt/cs-resources -b /opt/cs-resources/resgen/rfa/res_cstrike.rfa
RESGen version 2.0.3, Copyright (C) 2000-2005 Jeroen Bogers and Zero3Cool
RESGen comes with ABSOLUTELY NO WARRANTY; for details
use the command line switch '-w'.  This is free software,
and you are welcome to redistribute it under certain
conditions; see the 'gpl.txt' file for details.


Loaded resource exclude list /opt/cs-resources/resgen/rfa/res_cstrike.rfa

Searching /opt/cs-resources/ for resources...

Creating .res file /opt/cs-resources/trashmap/de_dust2_2009.res [1/1].
^C

root@user-desktop:/opt/cs-resources/resgen# ./resgen -v -o -m -f /opt/cs-resources/trashmap/de_dust2_2009 -e /opt/cs-resources -b /opt/cs-resources/resgen/rfa/res_cstrike.rfa
Generating RES files. Please stand by...

^C
S:\>S:\resgen\RESGen.exe -o -m -f S:\1test\cstrike\maps\de_dust2_2009 -e S:\1test\cstrike -b S:\resgen\rfa\res_cstrike.rfa
RESGen version 2.0.3, Copyright (C) 2000-2005 Jeroen Bogers and Zero3Cool
RESGen comes with ABSOLUTELY NO WARRANTY; for details
use the command line switch '-w'.  This is free software,
and you are welcome to redistribute it under certain
conditions; see the 'gpl.txt' file for details.


Loaded resource exclude list S:\resgen\rfa\res_cstrike.rfa

Searching S:\1test\cstrike\ for resources...

Creating .res file S:\1test\cstrike\maps\de_dust2_2009.res [1/1].
^C
S:\>S:\resgen\RESGen.exe -o -m -f S:\1test\cstrike\maps\de_dust2_2009 -e S:\1test\cstrike
RESGen version 2.0.3, Copyright (C) 2000-2005 Jeroen Bogers and Zero3Cool
RESGen comes with ABSOLUTELY NO WARRANTY; for details
use the command line switch '-w'.  This is free software,
and you are welcome to redistribute it under certain
conditions; see the 'gpl.txt' file for details.


Searching S:\1test\cstrike\ for resources...

Creating .res file S:\1test\cstrike\maps\de_dust2_2009.res [1/1].
^C
S:\>S:\resgen\RESGen.exe -v -o -m -f S:\1test\cstrike\maps\de_dust2_2009 -e S:\1test\cstrike
Generating RES files. Please stand by...

^C
S:\>

de_dust2_20090000

@Lopol2010
Copy link

I've had a similar issue, resgen hangs on some maps.

The solution is very strange: I had to compile resgen by myself with 'make' (its Linux build system)

What's strange?

  1. The Linux binary from the 'Releases' page of this repo has the same issue, it hangs, both on Linux and Windows systems.
  2. The binary that I compiled is working on both systems without issues.

NOTE: in order to do this in windows, you need something that can run Linux binary, in my case, it was Windows Subsystem for Linux (or just WSL). But maybe there is other approaches that I don't know about.

Here is compiled binary if someone need it.
resgen.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants