Thread Tools Display Modes
05-13-16, 02:37 PM   #1
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Legion Interface Files

I couldn't found any updated interface files online, so here is my git:

https://github.com/Resike/BlizzardIn...Code/tree/beta

Last edited by Resike : 05-13-16 at 03:55 PM.
 
05-13-16, 02:55 PM   #2
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
Gethe's mirror has been updated for a while though

https://github.com/Gethe/wow-ui-source/tree/beta
 
05-13-16, 03:14 PM   #3
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Oh i did'nt checked the beta branch.
 
05-13-16, 08:12 PM   #4
syncrow
A Flamescale Wyrmkin
 
syncrow's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 149
https://www.townlong-yak.com/framexml/beta

Should also be up to date.
__________________
 
05-14-16, 02:24 AM   #5
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by syncrow View Post
https://www.townlong-yak.com/framexml/beta

Should also be up to date.
Holy shit i checked that too, maybe my chrome cache tricked me.
 
05-14-16, 03:41 AM   #6
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Man. Can you tell me the console trick again? The console key is not working for me on the german version. I think I knew a workaround for that some day but I forgot.

I started the client with -console.

Do I need to chance my keyboard layout to US? Not sure how to do that under Win10.

*edit* I found it hidden under a rock. I have the console now.

You can drag the console down with the mouse btw.

If anyone is interested here is the list of cvar commands from the login window.
Code:
advancedCombatLogging
agentLogLevel
animFrameSkipLOD
asyncHandlerTimeout
asyncThreadSleep
bnetLogSeverity
BrowserNavigateLog
bspcache
ChatAmbienceVolume
ChatMusicVolume
ChatSoundVolume
checkAddonVersion
colorblindSimulator
colorblindWeaknessFactor
componentCompress
componentEmissive
componentSpecular
componentTexCacheSize
componentTexLoadLimit
componentTextureLevel
componentThread
daltonize
debugAllocSingleBlade
debugAllocTrackStacktrace
debugSoundPlayerSpellsOnlyOnPlayerBus
DepthBasedOpacity
DesktopGamma
detailDoodadInstancing
disableAutoRealmSelect
disableServerNagle
doodadLodDist
enableBGDL
EnableMicrophone
enableMouseSpeed
EnableVoiceChat
enableWowMouse
engineSurvey
entityLodDist
ErrorFileLog
ErrorFilter
ErrorLevelMax
ErrorLevelMin
Errors
expandUpgradePanel
ffxAntiAliasingMode
ffxRectangle
FootstepSounds
forceEnglishNames
forceLODCheck
fullDump
gameTip
Gamma
graphicsDepthEffects
graphicsEnvironmentDetail
graphicsGroundClutter
graphicsLightingQuality
graphicsLiquidDetail
graphicsOutlineMode
graphicsParticleDensity
graphicsProjectedTextures
graphicsShadowQuality
graphicsSSAO
graphicsSunshafts
graphicsTextureFiltering
graphicsTextureResolution
graphicsViewDistance
groundEffectFade
gxAdapter
gxAFRDevicesCount
gxAspect
gxCursor
gxDepthResolveHandleCaching
gxFixLag
gxFullscreenResolution
gxMaxFrameLatency
gxMonitor
gxNewResolution
gxPreferWindowedFullscreen
gxRefresh
gxStereoConvergence
gxStereoEnabled
gxStereoSeparation
gxTextureCacheSize
gxTripleBuffer
gxVSync
gxWindowedResolution
hbaoBias
hbaoBlurSharp
hbaoNormals
hbaoPowerExp
hbaoRadius
hdPlayerModels
hotReloadModels
hwPCF
InboundChatVolume
initialRealmListTimeout
lastAddonVersion
lastCharacterIndex
lastReadTerminationWithoutNotice
lightMode
LodLiquid
lodObjectCullDist
lodTerrainDiv
M2ForceAdditiveParticleSort
M2UseInstancing
M2UseLOD
M2UseThreads
maxFPS
maxFPSBk
maxLightCount
maxLightDist
minimapPortalMax
mouseSpeed
movieSubtitle
MSAAAlphaTest
MSAAQuality
nearclip
OutboundChatVolume
overrideArchive
particleMTDensity
physicsLevel
playIntroMovie
preloadLoadingDistObject
preloadLoadingDistTerrain
preloadPlayerModels
preloadStreamingDistObject
preloadStreamingDistTerrain
processAffinityMask
PushToTalkButton
RAIDcomponentTextureLevel
RAIDDepthBasedOpacity
raidGraphicsDepthEffects
raidGraphicsEnvironmentDetail
raidGraphicsGroundClutter
raidGraphicsLightingQuality
raidGraphicsLiquidDetail
raidGraphicsOutlineMode
raidGraphicsParticleDensity
raidGraphicsProjectedTextures
raidGraphicsShadowQuality
raidGraphicsSSAO
raidGraphicsSunshafts
raidGraphicsTextureFiltering
raidGraphicsTextureResolution
raidGraphicsViewDistance
RAIDgroundEffectFade
RAIDLightMode
RAIDlodObjectCullDist
RAIDlodObjectCullSize
RAIDlodObjectMinSize
raidOrBattleCount
RAIDparticleMTDensity
RAIDrippleDetail
RAIDsettingsEnabled
RAIDshadowSoft
RAIDSSAOBlur
RAIDterrainMipLevel
RAIDterrainTextureLod
RAIDweatherDensity
RAIDworldBaseMip
readContest
readScanning
readTerminationWithoutNotice
reflectionDownscale
releaseUITextures
RenderScale
ResampleQuality
screenshotFormat
screenshotQuality
seenCharacterUpgradePopup
serverAlert
shadowCull
shadowInstancing
shadowScissor
shadowSoft
showErrors
simd
skipStartGear
SkyCloudLOD
Sound_AmbienceVolume
Sound_DialogVolume
Sound_DSPBufferSize
Sound_EnableAllSound
Sound_EnableAmbience
Sound_EnableArmorFoleySoundForOthers
Sound_EnableArmorFoleySoundForSelf
Sound_EnableDialog
Sound_EnableDSPEffects
Sound_EnableEmoteSounds
Sound_EnableErrorSpeech
Sound_EnableMixMode2
Sound_EnableMode2
Sound_EnableMusic
Sound_EnablePetBattleMusic
Sound_EnablePetSounds
Sound_EnablePositionalLowPassFilter
Sound_EnableReverb
Sound_EnableSFX
Sound_EnableSoundWhenGameIsInBG
Sound_ListenerAtCharacter
Sound_MasterVolume
Sound_MaxCacheableSizeInBytes
Sound_MaxCacheSizeInBytes
Sound_MusicVolume
Sound_NumChannels
Sound_OutputDriverIndex
Sound_OutputDriverName
Sound_OutputSampleRate
Sound_SFXVolume
Sound_VoiceChatInputDriverIndex
Sound_VoiceChatInputDriverName
Sound_VoiceChatOutputDriverIndex
Sound_VoiceChatOutputDriverName
Sound_ZoneMusicNoDelay
SoundPerf_VariationCap
SoundUseNewBusSystem
SSAOBlur
SSAODistance
StartTalkingDelay
StartTalkingTime
StopTalkingDelay
StopTalkingTime
streamingCameraLookAheadTime
streamingCameraMaxRadius
streamingCameraRadius
synchronizeBindings
synchronizeChatFrames
synchronizeConfig
synchronizeMacros
synchronizeSettings
terrainAlphaBitDepth
terrainHoles
terrainMipLevel
terrainTextureLod
uiScale
useDebugAllocators
useIPv6
useUiScale
VoiceActivationSensitivity
VoiceChatMode
VoiceChatSelfMute
warp
warpScreenSize
warpViewDistance
warpViewTilt
weatherDensity
webChallengeURLTimeout
windowResizeLock
wmoDoodadDist
worldBaseMip
worldMaxMipLevel
worldPoolUsage
This is probably helpful if you want to extract the BLP files: http://www.wowinterface.com/forums/s...ad.php?t=48375
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 05-14-16 at 04:30 AM.
 
05-17-16, 11:08 PM   #7
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
Thanks for the cvar dump, it helped immensely
The tutorial video is very informative

Does anyone know why Foxlit's framexml browser does have the GlobalStrings file?
I thought it was removed into a db file or something..

https://www.townlong-yak.com/framexm...balStrings.lua

Last edited by Ketho : 05-18-16 at 01:00 AM.
 
05-18-16, 05:22 AM   #8
Predicate
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 18
Originally Posted by Ketho View Post
Does anyone know why Foxlit's framexml browser does have the GlobalStrings file?
I thought it was removed into a db file or something..

https://www.townlong-yak.com/framexm...balStrings.lua
He's just being sneaky and creating a fake Lua file by extracting the contents of GlobalStrings.db2 from the 7.0 client. The comment at the top of his GlobalStrings.lua has changed from Blizzard's:
Code:
-- AUTOMATICALLY GENERATED -- DO NOT EDIT!
to the message:
Code:
-- AUTOMATICALLY GENERATED -- Your benefactors send their regards.
and his FrameXML.toc contains:
Code:
# this cake is a lie
GlobalStrings.lua
A fresh export of the interface files does not contain GlobalStrings.lua, nor that section of FrameXML.toc. I find it a bit annoying that the site no longer reflects a "vanilla" FrameXML, but if we're going that route, maybe we should get compat.lua in there too.
 
05-18-16, 06:36 PM   #9
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
compat.lua?

You mean Lua 5.3 code compatible with Lua 5.1 or something?
 
05-18-16, 06:52 PM   #10
Predicate
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 18
compat.lua is a file Blizzard loads before it gets to GlueXML/FrameXML, containing stuff like aliases (strfind = string.find), wrappers (trig functions that take degrees), and a few other custom functions (like string.split). You can't export it from the console, but knowing it's there makes it easier to understand why these functions are being called that would otherwise not exist.
 
05-19-16, 04:38 AM   #11
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by Predicate View Post
compat.lua is a file Blizzard loads before it gets to GlueXML/FrameXML, containing stuff like aliases (strfind = string.find), wrappers (trig functions that take degrees), and a few other custom functions (like string.split). You can't export it from the console, but knowing it's there makes it easier to understand why these functions are being called that would otherwise not exist.
How can you access this file than without memory sniffing?
 
05-19-16, 06:31 AM   #12
Predicate
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 18
Originally Posted by Resike View Post
How can you access this file than without memory sniffing?
It can be extracted from the client .exe without even running the game, but I can't elaborate further as the forum rules prohibit discussion of EULA-breaking activities (which, sadly, includes reverse engineering).
 
05-19-16, 07:40 AM   #13
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by Predicate View Post
It can be extracted from the client .exe without even running the game, but I can't elaborate further as the forum rules prohibit discussion of EULA-breaking activities (which, sadly, includes reverse engineering).
You can pm me or simply just send me the file.
 
05-19-16, 09:20 AM   #14
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
I remember I made a thread once that also was about getting aliases: http://forums.wowace.com/showthread.php?t=19736
The mentioned Wowpedia page for reference: http://wow.gamepedia.com/Lua_functions
Code:
local t = {}

for _, v1 in pairs( {math, string, table} ) do
	for k, v2 in pairs(v1)do
		t[v2] = k
	end
end

for k, v in pairs(_G) do
	if type(v) == "function" and t[v] then
		print(k, t[v])
	end
end
I think these are most of the aliases
There don't seem to be aliases for the bit functions
Lua Code:
  1. abs == math.abs
  2. ceil == math.ceil
  3. deg == math.deg
  4. exp == math.exp
  5. floor == math.floor
  6. frexp == math.frexp
  7. ldexp == math.ldexp
  8. log == math.log
  9. log10 == math.log10
  10. max == math.max
  11. min == math.min
  12. mod == math.fmod
  13. rad == math.rad
  14. random == math.random
  15. sqrt == math.sqrt
  16.  
  17. PI == math.pi
  18.  
  19. acos ~= math.acos
  20. asin ~= math.asin
  21. atan ~= math.atan
  22. atan2 ~= math.atan2
  23. cos ~= math.cos
  24. sin ~= math.sin
  25. tan ~= math.tan
  26.  
  27. format == string.format
  28. gmatch == string.gmatch
  29. gsub == string.gsub
  30. strbyte == string.byte
  31. strchar == string.char
  32. strfind == string.find
  33. strjoin == string.join
  34. strlen == string.len
  35. strlower == string.lower
  36. strmatch == string.match
  37. strrep == string.rep
  38. strrev == string.reverse
  39. strsplit == string.split
  40. strsub == string.sub
  41. strtrim == string.trim
  42. strupper == string.upper
  43.  
  44. foreach == table.foreach
  45. foreachi == table.foreachi
  46. getn == table.getn
  47. sort == table.sort
  48. tinsert == table.insert
  49. tremove == table.remove
  50. wipe == table.wipe

Last edited by Ketho : 05-19-16 at 09:34 AM.
 
05-19-16, 09:40 AM   #15
Predicate
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 18
Just verifying that Ketho's listing is complete as far as compat.lua's effects, so the original file is unnecessary for developer reference. All other non-standard stuff is implemented in C, but that Wowpedia page documents them well enough.
 
05-19-16, 10:46 AM   #16
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by Predicate View Post
Just verifying that Ketho's listing is complete as far as compat.lua's effects, so the original file is unnecessary for developer reference. All other non-standard stuff is implemented in C, but that Wowpedia page documents them well enough.
Well it does not cointain the PI variable at all.
 
05-19-16, 10:56 AM   #17
Predicate
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 18
The listing he posted contains the PI alias on line 17. The Wowpedia page is specifically about functions, but as PI is an odd one out, I don't know where else it would go. You can always update the wiki if you feel it's notable enough.

Last edited by Predicate : 05-19-16 at 10:58 AM.
 
05-19-16, 11:40 AM   #18
ykiigor
A Murloc Raider
Join Date: Jun 2014
Posts: 9
Lua Code:
  1. -------------------------------------------------------------------
  2. -- Table library
  3. local tab = table
  4. foreach = tab.foreach
  5. foreachi = tab.foreachi
  6. getn = tab.getn
  7. tinsert = tab.insert
  8. tremove = tab.remove
  9. sort = tab.sort
  10. wipe = tab.wipe
  11.  
  12. -------------------------------------------------------------------
  13. -- math library
  14. local math = math
  15. abs = math.abs
  16. acos = function (x) return math.deg(math.acos(x)) end
  17. asin = function (x) return math.deg(math.asin(x)) end
  18. atan = function (x) return math.deg(math.atan(x)) end
  19. atan2 = function (x,y) return math.deg(math.atan2(x,y)) end
  20. ceil = math.ceil
  21. cos = function (x) return math.cos(math.rad(x)) end
  22. deg = math.deg
  23. exp = math.exp
  24. floor = math.floor
  25. frexp = math.frexp
  26. ldexp = math.ldexp
  27. log = math.log
  28. log10 = math.log10
  29. max = math.max
  30. min = math.min
  31. mod = math.fmod
  32. PI = math.pi
  33. --??? pow = math.pow
  34. rad = math.rad
  35. random = math.random
  36. sin = function (x) return math.sin(math.rad(x)) end
  37. sqrt = math.sqrt
  38. tan = function (x) return math.tan(math.rad(x)) end
  39.  
  40. -------------------------------------------------------------------
  41. -- string library
  42. local str = string
  43. strbyte = str.byte
  44. strchar = str.char
  45. strfind = str.find
  46. format = str.format
  47. gmatch = str.gmatch
  48. gsub = str.gsub
  49. strlen = str.len
  50. strlower = str.lower
  51. strmatch = str.match
  52. strrep = str.rep
  53. strrev = str.reverse
  54. strsub = str.sub
  55. strupper = str.upper
  56. -------------------------------------------------------------------
  57. -- Add custom string functions to the string table
  58. str.trim = strtrim
  59. str.split = strsplit
  60. str.join = strjoin
 
05-19-16, 06:06 PM   #19
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
Well, that finally explains why the trigonometry functions are not the same
 
05-20-16, 12:26 AM   #20
Nevcairiel
Premium Member
Premium Member
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 63
Originally Posted by Ketho View Post
Well, that finally explains why the trigonometry functions are not the same
It was well known tha the global un-prefixed ones work in degrees while the others work in radians.
Why they choose do offer these however... legacy reasons probably.
 
 

WoWInterface » Site Forums » Archived Beta Forums » Legion Beta archived threads » Legion Interface Files


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off