ULX

Author Topic: Res Files Trouble!  (Read 2065 times)

0 Members and 1 Guest are viewing this topic.

Offline LuaPineapple

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Res Files Trouble!
« on: December 30, 2006, 09:16:08 AM »
I used the forcedownload.ini to add files to my res files. I made a typo and typed vft instead of vtf. I realised my misstake and fixed the problem in the forcedownload.ini. However my res files are regenerating the same mistake again and again even if the forcedownload.ini is cleared and removed form it's folder!

Heres my forcedownload.ini:

//ULX-Dynamic res generator
//Put files you wish to force the client to download in this file, seperated by newlines.
//For example, you might put "sound/supafly.mp3" in here, make sure it has the quotes.
models/weapons/w_toolgun.vvd
models/weapons/w_toolgun.phy
models/weapons/w_toolgun.sw.vtx
models/weapons/w_toolgun.mdl
models/weapons/w_toolgun.dx90.vtx
models/weapons/w_toolgun.dx80.vtx
models/weapons/v_toolgun.vvd
models/weapons/v_toolgun.sw.vtx
models/weapons/v_toolgun.mdl
models/weapons/v_toolgun.dx90.vtx
models/weapons/v_toolgun.dx80.vtx
materials/models/weapons/v_toolgun/toolgun_exp.vtf
materials/models/weapons/v_toolgun/toolgun_mask.vtf
materials/models/weapons/v_toolgun/toolgun.vtf
materials/models/weapons/v_toolgun/toolgun.vmt
materials/models/weapons/v_toolgun/toolgun3_mask.vtf
materials/models/weapons/v_toolgun/toolgun3_exp.vtf
materials/models/weapons/v_toolgun/toolgun3.vtf
materials/models/weapons/v_toolgun/toolgun3.vmt
materials/models/weapons/v_toolgun/toolgun2_mask.vtf // here
materials/models/weapons/v_toolgun/toolgun2.vtf // and here
materials/models/weapons/v_toolgun/toolgun2.vmt
materials/models/weapons/v_toolgun/screen_bg.vtf
materials/models/weapons/v_toolgun/screen_bg.vmt
materials/models/weapons/v_toolgun/screen.vmt

Heres a res file:

"resources"   
{
   "materials/models/weapons/v_toolgun/screen_bg.vmt"   "ULib"
   "materials/models/weapons/v_toolgun/toolgun2_mask.vft"   "ULib" // here
   "materials/ulx/title.vtf"   "ULib"
   "models/weapons/v_toolgun.vvd"   "ULib"
   "materials/models/weapons/v_toolgun/toolgun3.vtf"   "ULib"
   "materials/models/weapons/v_toolgun/toolgun.vtf"   "ULib"
   "materials/models/weapons/v_toolgun/toolgun3_exp.vtf"   "ULib"
   "materials/models/weapons/v_toolgun/toolgun_exp.vtf"   "ULib"
   "materials/ulx/title.vmt"   "ULib"
   "materials/ULib/menu.vmt"   "ULib"
   "materials/models/weapons/v_toolgun/screen.vmt"   "ULib"
   "models/weapons/w_toolgun.dx80.vtx"   "ULib"
   "models/weapons/v_toolgun.mdl"   "ULib"
   "models/weapons/w_toolgun.phy"   "ULib"
   "materials/models/weapons/v_toolgun/toolgun2.vmt"   "ULib"
   "materials/models/weapons/v_toolgun/toolgun2.vft"   "ULib" // and here
   "materials/models/weapons/v_toolgun/toolgun_mask.vtf"   "ULib"
   "materials/models/weapons/v_toolgun/screen_bg.vtf"   "ULib"
   "materials/ULib/menu.vtf"   "ULib"
   "models/weapons/v_toolgun.dx80.vtx"   "ULib"
   "materials/models/weapons/v_toolgun/toolgun3.vmt"   "ULib"
   "models/weapons/w_toolgun.dx90.vtx"   "ULib"
   "models/weapons/w_toolgun.mdl"   "ULib"
   "models/weapons/w_toolgun.sw.vtx"   "ULib"
   "materials/models/weapons/v_toolgun/toolgun3_mask.vtf"   "ULib"
   "models/weapons/w_toolgun.vvd"   "ULib"
   "materials/models/weapons/v_toolgun/toolgun.vmt"   "ULib"
   "models/weapons/v_toolgun.dx90.vtx"   "ULib"
   "models/weapons/v_toolgun.sw.vtx"   "ULib"
}

HELP ME PLEASE!
« Last Edit: December 30, 2006, 09:19:09 AM by LuaPineapple »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Res Files Trouble!
« Reply #1 on: December 30, 2006, 09:41:08 AM »
I believe if forcedownload.ini is removed, ULib won't touch the .res files and only gives you an error. It's supposed to delete unused files from the .res file about three minutes into the map, so if you're patient, it will fix itself. (It has this delay due to the nature of how the .res files work, they're not meant to be changed on the fly like ULib does.)
Experiencing God's grace one day at a time.

Offline LuaPineapple

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Res Files Trouble!
« Reply #2 on: December 30, 2006, 09:58:21 AM »
Thanks