kriswema / resgen Goto Github PK
View Code? Open in Web Editor NEWRESGen. A tool to create .res files for Half-Life.
License: GNU General Public License v2.0
RESGen. A tool to create .res files for Half-Life.
License: GNU General Public License v2.0
(2013-06-23 20:07:22) jolene: concheadz.bsp(44887): "speak" "debris/beamstart2.wav"
(2013-06-23 20:08:09) jolene: http://pastebin.com/aVHtMP0j
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Resgen often includes WAD files which aren't necessary to load the map (perhaps because they were -wadinclude'd?)
Half-Life simply removes any character after a backslash (unless it's \n which becomes a newline), so \x
becomes \
, \!
becomes \
etc. Take this map for example: https://twhl.info/vault/view/2285 It contains
{
"origin" "-546 423 -402"
"framerate" "10"
"angles" "0 0 0"
"targetname" "skeleton1"
"model" "models\!uplant3.mdl"
"rendercolor" "0 0 0"
"classname" "cycler_sprite"
}
but models/uplant3.mdl
(no exclamation mark) gets loaded by Half-Life. Resgen on the other hand, includes "models/!uplant3.mdl", even though uplant3.mdl is a model that comes with Half-Life.
I believe this is the code that's responsible https://github.com/id-Software/Quake/blob/bf4ac424ce754894ac8f1dae6a3981954bc9852d/WinQuake/pr_edict.c#L693-L717
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:\>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.