- Site Map >
- Modding and Creation >
- Sims 2 Creation >
- Modding Discussion >
- Research & Development >
- New in NL : binary Lua script. (decompiled/deassembled)
- Site Map >
- Modding and Creation >
- Sims 2 Creation >
- Modding Discussion >
- Research & Development >
- New in NL : binary Lua script. (decompiled/deassembled)
Replies: 5 (Who?), Viewed: 5317 times.
#1
16th Sep 2005 at 5:21 AM
Last edited by zx1111 : 16th Sep 2005 at 5:28 AM.
Posts: 64
Thanks: 347 in 3 Posts
New in NL : binary Lua script. (decompiled/deassembled)
Compiled Lua scripts (object) are found in NightLife in "The Sims 2 Nightlife\TSData\Res\ObjectScripts" folder.List of files are as follows:
AttractionScore.objLua
CarBlockingStreet.objLua
ColumnsConnected.objLua
ConnectMyNeighbors.objLua
ConnectedColumns.globalObjLua
ConstantAccess.objLua (?)
DiningSort.objLua
DoesSimHaveAGroup.objLua
DrivewayAdjacency.objLua
DrivewayGlobals.globalObjLua
FadeHelper.objLua
FindAdjacentLocation.objLua (?)
GarageGlobals.globalObjLua (!)
GaragePlacement.objLua (!)
GetValidDowntown.objLua
Global.globalObjLua
HomeLotInfo.objLua (!)
InteractionQueue.objLua
MTInit.objLua
NPC_Constants.globalObjLua (!)
NPC_IsType.objLua (?)
Neighbor.globalObjLua
ObjectData.globalObjLua (!)
ObjectDefinition.globalObjLua (!)
OutfitData.globalObjLua (!)
Percentage.objLua (!)
PersonData.globalObjLua (!)
PersonalTraits.objLua
PokerCompareHands.objLua (?)
PokerScoreHand.objLua
SaveEnabled.objLua (!)
SetMotiveDecay.objLua
TableSort.objLua
TransitionsEnabled.objLua (!)
TurnOnOffCount.objLua
They seems to be all Lua 5.0 binary, which can be disassembled with "Lua 5 binary chuck disassembler" ( http://luaforge.net/projects/chunkspy ) or decompiled by "Lua decompiler" ( http://luaforge.net/projects/luadec ).
File marked with (!) means that it can be successfully decompiled, (?) means decompiler did only partial success. All other unmarked file can not be decompiled at all. All files can be deassembled successfully.
The decompiled/deassembled result are attached in this posting.
Good food for start some modding, I think..
.
Attached files:
Sim2NL-ObjectScript.zip (158.3 KB, 106 downloads) - View custom content | ||
33505 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/AttractionScore.objLua.lst 9119 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/CarBlockingStreet.objLua.lst 11628 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/ColumnsConnected.objLua.lst 29714 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/ConnectedColumns.globalObjLua.lst 15051 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/ConnectMyNeighbors.objLua.lst 5446 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/ConstantAccess.objLua.lst 13195 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/DiningSort.objLua.lst 7958 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/DoesSimHaveAGroup.objLua.lst 5491 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/DrivewayAdjacency.objLua.lst 28436 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/DrivewayGlobals.globalObjLua.lst 7273 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/FadeHelper.objLua.lst 10428 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/FindAdjacentLocation.objLua.lst 6012 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/GarageGlobals.globalObjLua.lst 8098 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/GaragePlacement.objLua.lst 7596 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/GetValidDowntown.objLua.lst 6738 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/Global.globalObjLua.lst 3808 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/HomeLotInfo.objLua.lst 12571 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/InteractionQueue.objLua.lst 11606 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/MTInit.objLua.lst 7677 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/Neighbor.globalObjLua.lst 26387 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/NPC_Constants.globalObjLua.lst 10833 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/NPC_IsType.objLua.lst 48578 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/ObjectData.globalObjLua.lst 55485 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/ObjectDefinition.globalObjLua.lst 20162 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/OutfitData.globalObjLua.lst 3259 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/Percentage.objLua.lst 21314 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/PersonalTraits.objLua.lst 98834 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/PersonData.globalObjLua.lst 6588 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/PokerCompareHands.objLua.lst 60502 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/PokerScoreHand.objLua.lst 3013 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/SaveEnabled.objLua.lst 3836 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/SetMotiveDecay.objLua.lst 14562 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/TableSort.objLua.lst 3032 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/TransitionsEnabled.objLua.lst 14857 09-16-05 12:56 Sim2NL-ObjectScript-DEASSEMBLE/TurnOnOffCount.objLua.lst 163 09-16-05 12:41 Sim2NL-ObjectScript-DECOMPILE/ConstantAccess.objLua.Lua 110 09-16-05 12:41 Sim2NL-ObjectScript-DECOMPILE/FindAdjacentLocation.objLua.Lua 503 09-16-05 12:41 Sim2NL-ObjectScript-DECOMPILE/GaragePlacement.objLua.Lua 308 09-16-05 12:41 Sim2NL-ObjectScript-DECOMPILE/Global.globalObjLua.Lua 81 09-16-05 12:41 Sim2NL-ObjectScript-DECOMPILE/HomeLotInfo.objLua.Lua 2724 09-16-05 12:41 Sim2NL-ObjectScript-DECOMPILE/NPC_Constants.globalObjLua.Lua 1041 09-16-05 12:41 Sim2NL-ObjectScript-DECOMPILE/NPC_IsType.objLua.Lua 3464 09-16-05 12:41 Sim2NL-ObjectScript-DECOMPILE/ObjectData.globalObjLua.Lua 4041 09-16-05 12:41 Sim2NL-ObjectScript-DECOMPILE/ObjectDefinition.globalObjLua.Lua 1639 09-16-05 12:41 Sim2NL-ObjectScript-DECOMPILE/OutfitData.globalObjLua.Lua 45 09-16-05 12:41 Sim2NL-ObjectScript-DECOMPILE/Percentage.objLua.Lua 7673 09-16-05 12:41 Sim2NL-ObjectScript-DECOMPILE/PersonData.globalObjLua.Lua 159 09-16-05 12:41 Sim2NL-ObjectScript-DECOMPILE/PokerCompareHands.objLua.Lua 56 09-16-05 12:41 Sim2NL-ObjectScript-DECOMPILE/SaveEnabled.objLua.Lua 60 09-16-05 12:41 Sim2NL-ObjectScript-DECOMPILE/TransitionsEnabled.objLua.Lua -------- ------- 654659 50 files |
Advertisement
One of those Maxoids
#2
16th Sep 2005 at 6:29 PM
Posts: 203
Quote: Originally posted by zx1111
Compiled Lua scripts (object) are found in NightLife in "The Sims 2 Nightlife\TSData\Res\ObjectScripts" folder. |
You guys *finally* found them. I thought they would be found within the first day. =)
#3
16th Sep 2005 at 8:28 PM
Ok ill be the dolt who asks but what exactly is a Lua file?
For all of my creations and more free downloads please visit Exnem Sims
Grand Re-Opening NOW!!!
Come join our Banner Contest Today!!
For all of my creations and more free downloads please visit Exnem Sims
Grand Re-Opening NOW!!!
Come join our Banner Contest Today!!
#4
16th Sep 2005 at 8:34 PM
Ohhh! Lua! *drools*
Nice one Tom :D
Story books are full of fairy tales, of Kings and Queens, and the bluest skies.
Nice one Tom :D
Story books are full of fairy tales, of Kings and Queens, and the bluest skies.
#5
17th Sep 2005 at 3:14 AM
Last edited by zx1111 : 17th Sep 2005 at 4:55 AM.
Posts: 64
Thanks: 347 in 3 Posts
Lua is a programing language which is used widely in game industry.
It is designed for light-weight interpreted script lanuage , embeded in application.
Lua was extensively used in "SimCity 4" development by Maxis and other big games like Baldur's Gate (Bioware), Monkey Island (Lucas Arts), Homeworld(Relic Ent.).
Lua, Python, Ruby (mostly Japanese game) are the most frequently used lanuages for scripting layer in game development.
See http://www.lua.org for more information.
It is designed for light-weight interpreted script lanuage , embeded in application.
Lua was extensively used in "SimCity 4" development by Maxis and other big games like Baldur's Gate (Bioware), Monkey Island (Lucas Arts), Homeworld(Relic Ent.).
Lua, Python, Ruby (mostly Japanese game) are the most frequently used lanuages for scripting layer in game development.
See http://www.lua.org for more information.
#6
18th Sep 2005 at 9:04 AM
Posts: 11,682
Thanks: 9680 in 11 Posts
Ah thank you! I was just wondering what I was going to do about those! And there are some new primitives calling them, has anyone worked out what the other new primitives are? (now that we no longer have the behaviour globals - grrrr!)
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
Who Posted
|