Gmad Linux not compiling due to all files included in my folders not being in the whitelist

I’m having a bit of a noob problem here. I’ve been trying to compile a modified addon for a while. It’s been decent until I had to actually compile the thing. Every file is not in the whitelist. Even lua files in the lua folder. So, how in the world do I compile it? None of the guides have been clear so far.

For all who are curious, here is my terminal output. If my title wasn’t clear, I’m on Linux. Also, ignore the whitelist.h file on top, I was getting desperate, and decided to just throw that in there to see if would work. So, yeah, if anyone knows how to fix this (I.E.
making a whitelist), that would be great.


[ian@MD-01 bin]$ ./gmad_linux create -folder /home/ian/Programs/'Gma Files'/scar-mod/fn_scar-h_shm_modified/ -out /home/ian/Programs/'Gma Files'/scar-mod/fn_scar-h_shm_modified/scar_mod.gma
Garry's Mod Addon Creator 1.1
Looking in folder "/home/ian/Programs/Gma Files/scar-mod/fn_scar-h_shm_modified/"
	AddonWhiteList.h
		[Not allowed by whitelist]
		[Filename contains captial letters]
	addon.json~
		[Not allowed by whitelist]
	lua/autorun/notmic_scar.lua
	lua/effects/m9k_effect_mad_penetration_trace/init.lua
	lua/effects/m9k_effect_mad_ricochet_trace/init.lua
	lua/effects/m9k_rg_muzzle_rifle/init.lua
	lua/entities/m9k_ammo_357/shared.lua
	lua/entities/m9k_ammo_ar2/shared.lua
	lua/entities/m9k_ammo_buckshot/shared.lua
	lua/entities/m9k_ammo_pistol/shared.lua
	lua/entities/m9k_ammo_smg/shared.lua
	lua/entities/m9k_ammo_sniper_rounds/shared.lua
	lua/entities/m9k_ammo_winchester/shared.lua
	lua/weapons/bobs_blacklisted/shared.lua
	lua/weapons/bobs_gun_base/shared.lua
	lua/weapons/bobs_scoped_base/cl_init.lua
	lua/weapons/bobs_scoped_base/init.lua
	lua/weapons/bobs_scoped_base/shared.lua
	lua/weapons/bobs_shotty_base/cl_init.lua
	lua/weapons/bobs_shotty_base/init.lua
	lua/weapons/bobs_shotty_base/shared.lua
	lua/weapons/notmic_scar/shared.lua
	lua/weapons/notmic_scar/shared.lua~
		[Not allowed by whitelist]
	materials/models/weapons/v_models/rif_m4a1/bull/black/mag_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/black/mag_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/black/mag_exponent.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/black/scar_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/black/scar_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/eotech_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/eotech_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/eotech_exponent.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/magnifier_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/magnifier_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/magnifier_exponent.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/scar_exponent.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/tan/mag_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/tan/mag_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/tan/mag_exponent.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/tan/scar_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/tan/scar_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/black/scar_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/eotech_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/eotech_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/mag_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/mag_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/magnifier_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/magnifier_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/scar_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/scar_exponent.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/tan/scar_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/eo-back.vmt
	materials/models/weapons/v_models/rif_m4a1/eo-front.vmt
	materials/models/weapons/v_models/rif_m4a1/eo-glass-back.vmt
	materials/models/weapons/v_models/rif_m4a1/eo-glass-front.vmt
	materials/models/weapons/v_models/rif_m4a1/mag_d_black.vmt
	materials/models/weapons/v_models/rif_m4a1/magnifier-glass.vmt
	materials/models/weapons/v_models/rif_m4a1/magnifier_d.vmt
	materials/models/weapons/v_models/rif_m4a1/scar_diff.vmt
	materials/models/weapons/v_models/rif_m4a1/sdiffuse.vtf
	materials/models/weapons/v_models/rif_m4a1/sights-down.vmt
	materials/models/weapons/v_models/rif_m4a1/sights-up.vmt
	materials/models/weapons/v_models/rif_m4a1/sil.vmt
	materials/models/weapons/v_models/rif_m4a1/snormals.vtf
	materials/vgui/entities/notmic_scar.vmt
	materials/vgui/entities/notmic_scar.vtf
	materials/vgui/hud/notmic_scar.vmt
	materials/vgui/hud/notmic_scar.vtf
	models/weapons/v_notmic_scar.dx80.vtx
	models/weapons/v_notmic_scar.dx90.vtx
	models/weapons/v_notmic_scar.mdl
	models/weapons/v_notmic_scar.sw.vtx
	models/weapons/v_notmic_scar.vvd
	models/weapons/w_notmic_scar.dx80.vtx
	models/weapons/w_notmic_scar.dx90.vtx
	models/weapons/w_notmic_scar.mdl
	models/weapons/w_notmic_scar.phy
	models/weapons/w_notmic_scar.sw.vtx
	models/weapons/w_notmic_scar.vvd
	models/weapons/w_notmic_scar_silencer.dx80.vtx
	models/weapons/w_notmic_scar_silencer.dx90.vtx
	models/weapons/w_notmic_scar_silencer.mdl
	models/weapons/w_notmic_scar_silencer.phy
	models/weapons/w_notmic_scar_silencer.sw.vtx
	models/weapons/w_notmic_scar_silencer.vvd
	sound/weapons/notmic_scar/boltpull.wav
	sound/weapons/notmic_scar/clipin.wav
	sound/weapons/notmic_scar/clipout.wav
	sound/weapons/notmic_scar/cliptap.wav
	sound/weapons/notmic_scar/notmic_scar-1.wav
	sound/weapons/notmic_scar/notmic_scar_deploy.wav
	sound/weapons/notmic_scar/notmic_scar_unsil-1.wav
	sound/weapons/notmic_scar/siloff.wav
	sound/weapons/notmic_scar/silon.wav
File list verification failed


Sorry for that wall of text.

Close your text editor before trying to upload and remove AddonWhiteList.h.

I had attempted both, for whatever reason, the errors above still persisted (but I did get rid of whitelist.h).

I deleted the backup file, the error still persisted. I don’t think the error is with the backup file. It’s probably something with the gmad compiler, I have gmod installed in a separate drive, and my uncompiled addon installed in my main drive, so it may have something to do with that. Have there been any errors due to trying to compile over different drives?

Post the new log after you deleted all the unacceptable files, the backups and the .h

It worked, there was a backup file I had forgot to delete in the lua directory. It was a stupid mistake on my part to be honest.

Anyways, here’s the dialogue, in case you want to read it. Thanks for your help!


[ian@MD-01 bin]$ ./gmad_linux create -folder /home/ian/Programs/'Gma Files'/scar-mod/fn_scar-h_shm_modified/ -out /ho
me/ian/Programs/'Gma Files'/scar-mod/fn_scar-h_shm_modified/fn_scar-h_shm_modified
Garry's Mod Addon Creator 1.1
Looking in folder "/home/ian/Programs/Gma Files/scar-mod/fn_scar-h_shm_modified/"
	lua/autorun/notmic_scar.lua
	lua/effects/m9k_effect_mad_penetration_trace/init.lua
	lua/effects/m9k_effect_mad_ricochet_trace/init.lua
	lua/effects/m9k_rg_muzzle_rifle/init.lua
	lua/entities/m9k_ammo_357/shared.lua
	lua/entities/m9k_ammo_ar2/shared.lua
	lua/entities/m9k_ammo_buckshot/shared.lua
	lua/entities/m9k_ammo_pistol/shared.lua
	lua/entities/m9k_ammo_smg/shared.lua
	lua/entities/m9k_ammo_sniper_rounds/shared.lua
	lua/entities/m9k_ammo_winchester/shared.lua
	lua/weapons/bobs_blacklisted/shared.lua
	lua/weapons/bobs_gun_base/shared.lua
	lua/weapons/bobs_scoped_base/cl_init.lua
	lua/weapons/bobs_scoped_base/init.lua
	lua/weapons/bobs_scoped_base/shared.lua
	lua/weapons/bobs_shotty_base/cl_init.lua
	lua/weapons/bobs_shotty_base/init.lua
	lua/weapons/bobs_shotty_base/shared.lua
	lua/weapons/notmic_scar/shared.lua
	materials/models/weapons/v_models/rif_m4a1/bull/black/mag_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/black/mag_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/black/mag_exponent.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/black/scar_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/black/scar_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/eotech_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/eotech_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/eotech_exponent.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/magnifier_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/magnifier_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/magnifier_exponent.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/scar_exponent.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/tan/mag_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/tan/mag_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/tan/mag_exponent.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/tan/scar_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/bull/tan/scar_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/black/scar_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/eotech_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/eotech_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/mag_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/mag_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/magnifier_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/magnifier_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/scar_bump.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/scar_exponent.vtf
	materials/models/weapons/v_models/rif_m4a1/crash/tan/scar_diff.vtf
	materials/models/weapons/v_models/rif_m4a1/eo-back.vmt
	materials/models/weapons/v_models/rif_m4a1/eo-front.vmt
	materials/models/weapons/v_models/rif_m4a1/eo-glass-back.vmt
	materials/models/weapons/v_models/rif_m4a1/eo-glass-front.vmt
	materials/models/weapons/v_models/rif_m4a1/mag_d_black.vmt
	materials/models/weapons/v_models/rif_m4a1/magnifier-glass.vmt
	materials/models/weapons/v_models/rif_m4a1/magnifier_d.vmt
	materials/models/weapons/v_models/rif_m4a1/scar_diff.vmt
	materials/models/weapons/v_models/rif_m4a1/sdiffuse.vtf
	materials/models/weapons/v_models/rif_m4a1/sights-down.vmt
	materials/models/weapons/v_models/rif_m4a1/sights-up.vmt
	materials/models/weapons/v_models/rif_m4a1/sil.vmt
	materials/models/weapons/v_models/rif_m4a1/snormals.vtf
	materials/vgui/entities/notmic_scar.vmt
	materials/vgui/entities/notmic_scar.vtf
	materials/vgui/hud/notmic_scar.vmt
	materials/vgui/hud/notmic_scar.vtf
	models/weapons/v_notmic_scar.dx80.vtx
	models/weapons/v_notmic_scar.dx90.vtx
	models/weapons/v_notmic_scar.mdl
	models/weapons/v_notmic_scar.sw.vtx
	models/weapons/v_notmic_scar.vvd
	models/weapons/w_notmic_scar.dx80.vtx
	models/weapons/w_notmic_scar.dx90.vtx
	models/weapons/w_notmic_scar.mdl
	models/weapons/w_notmic_scar.phy
	models/weapons/w_notmic_scar.sw.vtx
	models/weapons/w_notmic_scar.vvd
	models/weapons/w_notmic_scar_silencer.dx80.vtx
	models/weapons/w_notmic_scar_silencer.dx90.vtx
	models/weapons/w_notmic_scar_silencer.mdl
	models/weapons/w_notmic_scar_silencer.phy
	models/weapons/w_notmic_scar_silencer.sw.vtx
	models/weapons/w_notmic_scar_silencer.vvd
	sound/weapons/notmic_scar/boltpull.wav
	sound/weapons/notmic_scar/clipin.wav
	sound/weapons/notmic_scar/clipout.wav
	sound/weapons/notmic_scar/cliptap.wav
	sound/weapons/notmic_scar/notmic_scar-1.wav
	sound/weapons/notmic_scar/notmic_scar_deploy.wav
	sound/weapons/notmic_scar/notmic_scar_unsil-1.wav
	sound/weapons/notmic_scar/siloff.wav
	sound/weapons/notmic_scar/silon.wav
Successfully saved to "/home/ian/Programs/Gma Files/scar-mod/fn_scar-h_shm_modified/fn_scar-h_shm_modified.gma" [135.3 MB]