Board index DeFRaG Mapping

Custom radiant + noOb compiler

Maps and the process of creating them

Re: Custom radiant + noOb compiler

Postby TittenIgnition » Sep 29th, '15, 4:25 pm

Wow, being able to connect the same trigger to multiple targets via Ctrl+k is famn nice. No more having to write it all out manually, I hope.
wtf i have a signature?
User avatar
TittenIgnition
 
Posts: 454
Joined: Jun 4th, '10, 1:24 am
Location: QuakeNet

Re: Custom radiant + noOb compiler

Postby sL1k » Oct 7th, '15, 8:39 pm

suddenly got same problem as kairos.

tried latest custom build and previous one too.

seems it doesnt store settings, doesnt find its implemented icons and reports this into log:

radiant/renderstate.cpp:378
assertion failure: failed to open "D:/netradiant-custom-20150726/gl/lighting_DBS_omni_vp.glp"
----------------

Stacktrace is disabled on this compiler
----------------
D:/netradiant-custom-20150726/gl/lighting_DBS_omni_vp.glp:0
line 1, column 1: error: invalid vertex program header
radiant/renderstate.cpp:391
runtime error: error in gl program
----------------

Stacktrace is disabled on this compiler
----------------
radiant/renderstate.cpp:378
assertion failure: failed to open "D:/netradiant-custom-20150726/gl/lighting_DBS_omni_fp.glp"
----------------

Stacktrace is disabled on this compiler
----------------
D:/netradiant-custom-20150726/gl/lighting_DBS_omni_fp.glp:0
line 1, column 1: error: invalid fragment program header
radiant/renderstate.cpp:391
runtime error: error in gl program
----------------

Stacktrace is disabled on this compiler
----------------
radiant/renderstate.cpp:378
assertion failure: failed to open "D:/netradiant-custom-20150726/gl/zfill_vp.glp"
----------------

Stacktrace is disabled on this compiler
----------------
D:/netradiant-custom-20150726/gl/zfill_vp.glp:0
line 1, column 1: error: invalid vertex program header
radiant/renderstate.cpp:391
runtime error: error in gl program
----------------

Stacktrace is disabled on this compiler
----------------
radiant/renderstate.cpp:378
assertion failure: failed to open "D:/netradiant-custom-20150726/gl/zfill_fp.glp"
----------------

Stacktrace is disabled on this compiler
----------------
D:/netradiant-custom-20150726/gl/zfill_fp.glp:0
line 1, column 1: error: invalid fragment program header
radiant/renderstate.cpp:391
runtime error: error in gl program
----------------

Stacktrace is disabled on this compiler
----------------
Texture load failed: "D:/netradiant-custom-20150726/bitmaps/notex.bmp"
OpenGL window configuration: colour-buffer = 32bpp, depth-buffer = 32bpp
Unable to find default tag file D:/netradiant-custom-20150726/q3.game/shadertags.xml. No tag support.
OpenGL window configuration: colour-buffer = 32bpp, depth-buffer = none


trying to open texture content then crashes radiant. weirdness

deleted everything from everywhere possible radiant is storing stuff and reset all, still same problem. why


http://imgur.com/NE7SZRG
User avatar
sL1k
 
Posts: 75
Joined: Apr 22nd, '14, 11:09 am
Location: trve-town DE

Re: Custom radiant + noOb compiler

Postby Le another black niger » Oct 8th, '15, 9:28 am

hehe, n1
It looks, like it actually can't read files
since:
asserted lines:
Code: Select all
   FileInputStream file( filename );
   ASSERT_MESSAGE( !file.failed(), "failed to open " << makeQuoted( filename ) );

FileInputStream is just a wrapper around standart file interface:
Code: Select all
/// \brief A wrapper around a file input stream opened for reading in binary mode. Similar to std::ifstream.
///
/// - Maintains a valid file handle associated with a name passed to the constructor.
/// - Implements SeekableInputStream.
class FileInputStream : public SeekableInputStream
{
std::FILE* m_file;
public:
FileInputStream( const char* name ){
   m_file = name[0] == '\0' ? 0 : fopen( name, "rb" );
}
~FileInputStream(){
   if ( !failed() ) {
      fclose( m_file );
   }
}

bool failed() const {
   return m_file == 0;
}

size_type read( byte_type* buffer, size_type length ){
   return fread( buffer, 1, length, m_file );
}

size_type seek( size_type position ){
   return fseek( m_file, static_cast<long>( position ), SEEK_SET );
}
size_type seek( offset_type offset, seekdir direction ){
   return fseek( m_file, offset, FileStreamDetail::whence_for_seekdir( direction ) );
}
size_type tell() const {
   return ftell( m_file );
}

std::FILE* file(){
   return m_file;
}
};

Try to build netradiant with latest mingw (mine isn't); what if your win got update, breaking friendship with old libs
Or try various netradiants (from ingar, alientrap sites)
Le another black niger
 
Posts: 384
Joined: May 17th, '11, 5:08 pm

Re: Custom radiant + noOb compiler

Postby sL1k » Oct 8th, '15, 12:24 pm

ok now I just tried ingars latest netradiant build and I got the same problem.

I´ve noticed radiant wants to open some file from appdata folder which isnt there anymore but where is this linked in, some registry entry?

http://imgur.com/Ve79XAO
User avatar
sL1k
 
Posts: 75
Joined: Apr 22nd, '14, 11:09 am
Location: trve-town DE

Re: Custom radiant + noOb compiler

Postby Le another black niger » Oct 9th, '15, 9:23 am

Yes, that's ok, apps can access common sys dirs like APPDATA, tmp and others
In particular, that file is GTK's thing
Radiant doesn't use registry... it's cross-platform app, budum-tsss :dance:

So, we figured out, that most obvious delta there was +300 pk3s in mapping q3, and that's the case for sure.
I tried to _setmaxstdio(2048) and radiant successfully started with max 1021 pk3s

Actually at some point of netradiant developing in 2011 max num of opened files went from ~512 to ~256
It looks, like every file is opened twice (due to coding mistake)
Anyway, 1021 pk3s isn't even a thing to try to work with
hf
Le another black niger
 
Posts: 384
Joined: May 17th, '11, 5:08 pm

Re: Custom radiant + noOb compiler

Postby Le another black niger » Oct 22nd, '15, 11:20 am

Update!
  • decompiling: fix: broken brushes, empty brush definitions; shut down too usual warnings; with -force tries to decompile model autoclip too
  • decompiling: -fast mode for BSPToMap conversion
  • douplicated basic shortcuts: arrows - camera freemove, ESC - deSelect, backSpace - delete
  • _setmaxstdio(2048): tested max pk3s count: 1021
  • curve: deform (randomize Z points coord at given amount)
  • patch thicken
  • trigger_* entities get textures/common/trigger tex on creation
    ( unless different is set in .game file via trigger_shader key )
  • opening *.map, sent via cmd line (can assign *.map files in system to be opened with radiant)
    with this + -fast decompilation time to get map in editor after Enter on .bsp is about 1s :D
  • -aero cmd line key to enable aero
  • opening maps with bad tex defs (.#QNAN, .#IND, .#INF)
    (happens sometimes after rotating & often scaling with tex lock); error->warning
Le another black niger
 
Posts: 384
Joined: May 17th, '11, 5:08 pm

Re: Custom radiant + noOb compiler

Postby Le another black niger » Nov 7th, '15, 8:38 am

lul
You do not have the required permissions to view the files attached to this post.
Le another black niger
 
Posts: 384
Joined: May 17th, '11, 5:08 pm

Re: Custom radiant + noOb compiler

Postby xlarve » Nov 7th, '15, 8:54 am

очень стильный Радиант с шрифтами 1 Квака!
xlarve
 
Posts: 14
Joined: May 30th, '12, 9:45 pm

Re: Custom radiant + noOb compiler

Postby Le another black niger » Dec 5th, '15, 12:08 am

Update!

  • updating texture browser height after thumbnail scale, min/max size, show shaders options changed
  • tex bro: double click (any) opens directory, containing active shader
    tripple click opens common directory
  • tex bro: show textures option (to leave only shaders)
  • tex bro: Show all (ctrl + a) toggles 'Hide unused' (typically: ctrl+a: get all used, once more ctrl+a: get all loaded)
  • tex bro: 'flush and reload shaders' autoloads last selected dir
  • tex bro: show alpha transparency option; def = yes
  • tex bro: white+black stipple around shader thumbnails + is visible, while being selected
  • filter toobar is not part of plugin one
  • filter toobar buttons also handle right mouse clicks:
    caulk: apply caulk tex
    clip: toggle apply clip/weapclip tex
    hint: toggle apply hint/hintlocal/hintskip tex
    triggers: apply trigger tex
    liquids: toggle apply watercaulk/lavacaulk/slimecaulk tex
    areaportals: toggle apply nodraw/nodrawnonsolid tex
    shader names are configurable through respective shader_* keys in .game file
    details: make detail
    structural: make structural
  • png icons with real alpha; partially antialiased
  • updated gtk+ lib to 2.24.10 version
  • fix of 2.24 related: minimize floating window = whole app minimizes + can't restore
  • fix of 2.24 related: glwidgets inside floating windows were not shown after hide/show of parent widgets
  • local gtk2 themes support; cfgs are .gtkrc-2.0.radiant, .gtkrc-2.0.win; +~100 themes included;
    MS-Windows theme is one, inheriting current appearence on Windows
  • tex bro: menubar = toolbar
  • GTK2 theme & font selector (Misc->Colors->Gtk theme...) (need restart after pair of naughty engines tho)
  • openGL implementaion of rubberband selector (w/o rerendering whole scene) (fixes visual issues with Aero)
Le another black niger
 
Posts: 384
Joined: May 17th, '11, 5:08 pm

Re: Custom radiant + noOb compiler

Postby sL1k » Dec 5th, '15, 3:24 pm

finally )) selection works perfect now.
gj on all improvements.

glad some people still are willing to improve those old programs for the still active community.
User avatar
sL1k
 
Posts: 75
Joined: Apr 22nd, '14, 11:09 am
Location: trve-town DE

PreviousNext

cron