GithubHelp home page GithubHelp logo

objectbuilder's Introduction

versions

What is Object Builder?

Object Builder is an editor for creating graphic objects for OTClient. You can edit or add new items, outfits, effects or missiles to your client.

Some features:

  • It's faster to load or compile your projects.
  • Import or export your objects as sprite sheet.
  • Support for transparent sprites.
  • You're able to cut the imported images.

Supported client versions:

  • 7.10 - 10.56

Downloads

Windows

If you don't want to install the Abobe AIR, just download the .zip file in releases.

Or

  1. Install the Adobe AIR
  2. Install the .air file in releases.

Mac OS X

  1. Install the Adobe AIR
  2. Install the .air file in releases.

Ubuntu

Adobe AIR isn't officially supported under Linux anymore, but it's easy enough to run the Object Builder using Wine.

  1. Install Wine, winetricks and wininet if you don't already have them:
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.7 winetricks
winetricks wininet
  1. Download the .zip file in releases.
  2. Uncompress the file, right-click in ObjectBuilder.exe and set to open with Wine Windows Program Loader.

Compiling

Follow this tutorial: Compiling

Supported By:

otpokemon

Donate

Donate

objectbuilder's People

Contributors

dominique120 avatar mignari avatar ronpetit avatar thesumm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

objectbuilder's Issues

Building the project fails

I tried following the build steps that were explained in this issue comment: #16 (comment)
But after step 2 (selecting how the project should be exported) I'm getting these errors

Furthermore, the link to the wiki article for compiling is broken in the repo's README.md file, it just redirects you back to the main repo page.

Do you have any advice for successfully building the project?

replace tool in 1098?

It is possible to use the replace tool (with transparency activated) in 10.98 versions? To fix this issue or use it in other way?

error image: (This happens when I repace a sprite sheet, the sprites fit in the object configuration, but when I save it this happens. I think its because of frame durations after 1056 version...)
image

7.72 Sprite limit

cant put more than 66535 sprites into 7.72 dat spr anyway of getting hand on a tool and memory addresses of client to be changed?

Version 8 to 12.61 Error..

For each version of spr of tibia, pokemn, tried from 8x to 12.61 , is giving error when opening,
Got all install,
In most cases first line is " Error Flag " we see im not first in forums with this error, but there is no solution on forums.

Program gets stuck when loading an OBD file in object view

I'm using Flex 4.16.1 AIR 32.0. The title says everything, but I've managed to find the cause that is the function com.mignari.utils.FileUtil.getFullListing in the binary libs/mignari.swc. It appears to be entering in an endless loop.

To fix this I'm using an alternative function to do the same thing without freezing.

    private function getFullListing(directory:File, extension:String):Vector.<File>
    {
        var filteredFiles:Vector.<File> = new Vector.<File>();
        if (!directory)
            return filteredFiles;

        var files:Array = directory.getDirectoryListing();
        for (var i:uint = 0; i < files.length; i++) {
            if (files[i].isDirectory || files[i].extension != extension)
                continue;

            filteredFiles.push(files[i]);
        }

        return filteredFiles;
    }

error 3003

Error: Error #3003
at otlib.things::ThingTypeStorage/compile()
at ObjectBuilderWorker/compileAsCallback()
at com.mignari.signals::Signal6/dispatch()
at com.mignari.workers::WorkerCommunicator/inputChannelHandler()

When i try to compile.

Plans to support 10.56+

Is there any plans to upgrade the support for newer tibia versions, or just have to use the ObjectBuilder v0.33?


Even with editing versions.xml, I wasn't able to get it to work, tested with multiple versions 10.56+.

Updating versions.xml to:

<?xml version="1.0" encoding="utf-8"?>
<versions>
	<version value="710" string="7.10" dat="3DFF4B2A" spr="3DFF4AEB" otb="0"/>
	<version value="730" string="7.30" dat="411A6233" spr="411A6279" otb="0"/>
	<version value="740" string="7.40" dat="41BF619C" spr="41B9EA86" otb="1"/>
	<version value="750" string="7.50" dat="42F81973" spr="42F81949" otb="1"/>
	<version value="755" string="7.55" dat="437B2B8F" spr="434F9CDE" otb="2"/>
	<version value="760" string="7.60" dat="439D5A33" spr="439852BE" otb="3"/>
	<version value="770" string="7.70" dat="439D5A33" spr="439852BE" otb="3"/>
	<version value="780" string="7.80" dat="44CE4743" spr="44CE4206" otb="4"/>
	<version value="790" string="7.90" dat="457D854E" spr="457957C8" otb="5"/>
	<version value="792" string="7.92" dat="459E7B73" spr="45880FE8" otb="6"/>
	<version value="800" string="8.00" dat="467FD7E6" spr="467F9E74" otb="7"/>
	<version value="810" string="8.10" dat="475D3747" spr="475D0B01" otb="8"/>
	<version value="811" string="8.11" dat="47F60E37" spr="47EBB9B2" otb="9"/>
	<version value="820" string="8.20" dat="486905AA" spr="4868ECC9" otb="10"/>
	<version value="830" string="8.30" dat="48DA1FB6" spr="48C8E712" otb="11"/>
	<version value="840" string="8.40" dat="493D607A" spr="493D4E7C" otb="12"/>
	<version value="841" string="8.41" dat="49B7CC19" spr="49B140EA" otb="13"/>
	<version value="842" string="8.42" dat="49C233C9" spr="49B140EA" otb="14"/>
	<version value="850" string="8.50 v1" dat="4A49C5EB" spr="4A44FD4E" otb="15"/>
	<version value="850" string="8.50 v2" dat="4A4CC0DC" spr="4A44FD4E" otb="15"/>
	<version value="850" string="8.50 v3" dat="4AE97492" spr="4ACB5230" otb="15"/>
	<version value="852" string="8.52" dat="4A4CC0DC" spr="4A44FD4E" otb="0"/>
	<version value="853" string="8.53" dat="4AE97492" spr="4ACB5230" otb="0"/>
	<version value="854" string="8.54 v1" dat="4B1E2CAA" spr="4B1E2C87" otb="16"/>
	<version value="854" string="8.54 v2" dat="4B0D46A9" spr="4B0D3AFF" otb="16"/>
	<version value="854" string="8.54 v3" dat="4B28B89E" spr="4B1E2C87" otb="17"/>
	<version value="855" string="8.55" dat="4B98FF53" spr="4B913871" otb="18"/>
	<version value="860" string="8.60 v1" dat="4C28B721" spr="4C220594" otb="19"/>
	<version value="860" string="8.60 v2" dat="4C2C7993" spr="4C220594" otb="20"/>
	<version value="861" string="8.61" dat="4C6A4CBC" spr="4C63F145" otb="21"/>
	<version value="862" string="8.62" dat="4C973450" spr="4C63F145" otb="22"/>
	<version value="870" string="8.70" dat="4CFE22C5" spr="4CFD078A" otb="23"/>
	<version value="871" string="8.71" dat="4D41979E" spr="4D3D65D0" otb="24"/>
	<version value="872" string="8.72" dat="4DAD1A1A" spr="4DAD1A32" otb="25"/>
	<version value="900" string="9.00" dat="4DBAA20B" spr="4DAD1A32" otb="27"/>
	<version value="910" string="9.10" dat="4E12DAFF" spr="4E12DB27" otb="28"/>
	<version value="920" string="9.20" dat="4E807C08" spr="4E807C23" otb="29"/>
	<version value="940" string="9.40" dat="4EE71DE5" spr="4EE71E06" otb="30"/>
	<version value="944" string="9.44 v0" dat="4F0EEFBB" spr="4F0EEFEF" otb="31"/>
	<version value="944" string="9.44 v1" dat="4F105168" spr="4F1051D7" otb="32"/>
	<version value="944" string="9.44 v2" dat="4F16C0D7" spr="4F1051D7" otb="33"/>
	<version value="944" string="9.44 v3" dat="4F3131CF" spr="4F3131F6" otb="34"/>
	<version value="946" string="9.46" dat="4F75B7AB" spr="4F5DCEF7" otb="35"/>
	<version value="950" string="9.50" dat="4F75B7AB" spr="4F75B7CD" otb="36"/>
	<version value="952" string="9.52" dat="4F857F6C" spr="4F857F8E" otb="37"/>
	<version value="953" string="9.53" dat="4FA11252" spr="4FA11282" otb="38"/>
	<version value="954" string="9.54" dat="4FD5956B" spr="4FD595B7" otb="39"/>
	<version value="960" string="9.60" dat="4FFA74CC" spr="4FFA74F9" otb="40"/>
	<version value="961" string="9.61" dat="50226F9D" spr="50226FBD" otb="41"/>
	<version value="963" string="9.63" dat="503CB933" spr="503CB954" otb="42"/>
	<version value="970" string="9.70" dat="5072A490" spr="5072A567" otb="43"/>
	<version value="980" string="9.80" dat="50C70674" spr="50C70753" otb="44"/>
	<version value="981" string="9.81" dat="50D1C5B6" spr="50D1C685" otb="45"/>
	<version value="982" string="9.82" dat="512CAD09" spr="512CAD68" otb="46"/>
	<version value="983" string="9.83" dat="51407B67" spr="51407BC7" otb="47"/>
	<version value="985" string="9.85" dat="51641A1B" spr="51641A84" otb="48"/>
	<version value="986" string="9.86" dat="5170E904" spr="5170E96F" otb="49"/>
	<version value="1010" string="10.10" dat="51E3F8C3" spr="51E3F8E9" otb="50"/>
	<version value="1020" string="10.20" dat="5236F129" spr="5236F14F" otb="51"/>
	<version value="1021" string="10.21" dat="526A5068" spr="526A5090" otb="52"/>
	<version value="1030" string="10.30" dat="52A59036" spr="52A5905F" otb="53"/>
	<version value="1031" string="10.31" dat="52AED581" spr="52AED5A7" otb="54"/>
	<version value="1032" string="10.32" dat="52D8D0A9" spr="52D8D0CE" otb="0"/>
	<version value="1034" string="10.34" dat="52E74AB5" spr="52E74ADA" otb="0"/>
	<version value="1035" string="10.35" dat="52FDFC2C" spr="52FDFC54" otb="55"/>
	<version value="1036" string="10.36" dat="53159C7E" spr="53159CA9" otb="0"/>
	<version value="1037" string="10.37" dat="531EA82E" spr="531EA856" otb="0"/>
	<version value="1038" string="10.38" dat="5333C199" spr="5333C1C3" otb="0"/>
	<version value="1039" string="10.39" dat="535A50AD" spr="535A50D5" otb="0"/>
	<version value="1040" string="10.40" dat="5379984D" spr="53799876" otb="0"/>
	<version value="1041" string="10.41" dat="5383504E" spr="53835077" otb="0"/>
	<version value="1050" string="10.50" dat="53B6460E" spr="53B64639" otb="0"/>
	<version value="1051" string="10.51" dat="53C8CC17" spr="53C8CC3F" otb="0"/>
	<version value="1052" string="10.52" dat="53E898BD" spr="53E898E5" otb="0"/>
	<version value="1053" string="10.53" dat="53FAD76E" spr="53FAD799" otb="0"/>
	<version value="1054" string="10.54" dat="540D3A47" spr="540D3A73" otb="0"/>
	<version value="1055" string="10.55" dat="54128727" spr="54128755" otb="0"/>
	<version value="1056" string="10.56" dat="542143B0" spr="542143DE" otb="0"/>
	<version value="1057" string="10.57" dat="542535F9" spr="54253627" otb="0"/>
	<version value="1058" string="10.58" dat="542D12E7" spr="542D1315" otb="0"/>
	<version value="1059" string="10.59" dat="5434084B" spr="54340879" otb="0"/>
	<version value="1060" string="10.60" dat="5448D9C7" spr="5448DA10" otb="0"/>
	<version value="1061" string="10.61" dat="5448D9C7" spr="5448DA10" otb="0"/>
	<version value="1062" string="10.62" dat="54622638" spr="54622667" otb="0"/>
	<version value="1063" string="10.63" dat="546B502A" spr="546B505E" otb="0"/>
	<version value="1064" string="10.64" dat="547F05BE" spr="547F0632" otb="0"/>
	<version value="1070" string="10.70" dat="5481BB97" spr="5481BC06" otb="0"/>
	<version value="1071" string="10.71" dat="334F" spr="548E9EFE" otb="0"/>
	<version value="1072" string="10.72" dat="3729" spr="54B37B99" otb="0"/>
	<version value="1073" string="10.73" dat="374D" spr="54BC95AE" otb="0"/>
	<version value="1074" string="10.74" dat="375E" spr="54C5FAB2" otb="0"/>
	<version value="1075" string="10.75" dat="3775" spr="54D85085" otb="0"/>
	<version value="1076" string="10.76" dat="37DF" spr="54F03CE9" otb="0"/>
	<version value="1077" string="10.77" dat="38DE" spr="5525213D" otb="0"/>
	<version value="1090" string="10.90" dat="3F26" spr="565EE171" otb="0"/>
	<version value="1091" string="10.91" dat="3F81" spr="56BC8198" otb="0"/>
	<version value="1092" string="10.92" dat="4086" spr="570742B8" otb="0"/>
	<version value="1093" string="10.93 test" dat="40FF" spr="57161DEA" otb="0"/>
	<version value="1093" string="10.93" dat="413F" spr="5726E657" otb="0"/>
	<version value="1094" string="10.94" dat="41E5" spr="57459D43" otb="0"/>
	<version value="1095" string="10.95" dat="41F3" spr="575A84BD" otb="0"/>
	<version value="1098" string="10.98" dat="42A3" spr="57BBD603" otb="0"/>
	<version value="1099" string="10.99" dat="4347" spr="57FF106B" otb="0"/>
	<version value="1100" string="11.00" dat="4A10" spr="59E48E02" otb="0"/>
	<version value="1101" string="11.01" dat="24A11" spr="59E48E02" otb="0"/>
	<version value="1102" string="11.02" dat="A352" spr="58000000" otb="0"/>
	<version value="1103" string="11.03" dat="A366" spr="58000010" otb="0"/>
	<version value="1103" string="11.03" dat="A375" spr="58000010" otb="0"/>
	<version value="1103" string="11.03" dat="44BA" spr="583D78E9" otb="0"/>
	<version value="1103" string="11.03" dat="48C4" spr="597717E5" otb="0"/>
	<version value="1103" string="11.03" dat="A375" spr="58000010" otb="0"/>
</versions>

Selecting tibia version 10.98:
image

I get the following error:

Error: Unknown flag. flag=0x24, previous=0x19, category=Item, id=2025.
	at otlib.things::MetadataReader6/readProperties()
	at otlib.things::ThingTypeStorage/loadThingTypeList()
	at otlib.things::ThingTypeStorage/readBytes()
	at otlib.things::ThingTypeStorage/load()
	at ObjectBuilderWorker/loadFilesCallback()
	at com.mignari.signals::Signal6/dispatch()
	at com.mignari.workers::WorkerCommunicator/inputChannelHandler()

Erros ao abrir SPR 11.00

Error: Unknown flag. flag=0x25, previous=0x1, category=Outfit, id=2.
at otlib.things::ThingSerializer$/readProperties6()
at otlib.things::ThingTypeStorage/loadThingTypeList()
at otlib.things::ThingTypeStorage/readBytes()
at otlib.things::ThingTypeStorage/load()
at ObjectBuilderWorker/loadFilesCallback()
at com.mignari.signals::Signal6/dispatch()
at com.mignari.workers::WorkerCommunicator/inputChannelHandler()

.exe ?

Hello to ObjectBuilder but I can not find the .exe I clicked on f11, or rebuild but it is not in the folder?

Please activate tutorial how to compile ObjectBuilder

Please activate tutorial how to compile ObjectBuilder!
Takes too long searching sprites, like effects or others.
I would like to implement some extra options for the Search menu (it's too basic)
Like: Search for width, search for Height, search for Number of animations, search for Amount of Layers
and some others. Would save me time!
I don't want to ask you guys do that, i just wanna know how to compile XD This link doesn't works:
https://github.com/ottools/ObjectBuilder/wiki/Compiling

Thanks.

Program crashing on import objects

The program is crashing when it tries to import many items, I tested it with 250 and it crashes.
With 100 it normally import.

Furthermore, I would like to know if there is the possibility of increasing the number of objects shown in the list, the maximum currently is 500, but I believe there should be an option to be able to show all items (this would make it easier to export the objects).

image

animações lentas

Quando vai atualizar pras novas versões? poderia passar contato?
Estou com um aqui atualizado por alguma pessoa que não sei quem é, funciona porém as animações dos novos itens ficam lentas, alguém sabe fixar?

Offsets should be able to contains value 0

Suppose we want to move the effect to the left 18 pixels from the object builder level, but not lift it one pixel up.
Currently, automatic incrementing to 1 prevents this.
image

How do i create missile?

First i importing png to animation editor
I set columns: 3, roofs: 3,
I cick crop and then saving as missile.obd

Now when i importing it to missiles it's like animation with 8 animations.

How should it be done?, i spent some hours on it and couldn't figure out how to create missible.

Version 10.98

I use a .spr 10.98 but today the ObjectBuilder does not have this version there is some possibility of one day having this version.

Suporte a 10.98

Olá!

Eu consigo adaptar uma versão anterior para o cliente 10.98.
Porém, essa nova nem com reza braba eu consigo. Por qual motivo ele está bloqueado (ou eu não estou fazendo correto) para utilizar recursos da versão 10.98 ?

Obrigado!

Compiling Guide missing

The compiling guide link is no longer leading anywhere. I have a screenshot of the old guide which uses Flash Builder 4.7 but it has 2 errors when loading for me. Would very much appreciate a up to date built with the latest commits.

Animations Suggestion

Im suggesting the creation of this two buttons, one for reset all frames to initial param, and other to apply current param to the other frames, it would help people so much :)

image

add atributte "DistRead"

You could add the attribute "Distread", it is very useful to create the cards that are seen with the "look" option. I do not know why this option was removed after the 0.3.9 version of the itemeditor.

Error: Unknown flag. flag=0x2c, previous=0x0, category=Outfit, id=2.

Error: Unknown flag. flag=0x2c, previous=0x0, category=Outfit, id=2. at otlib.things::MetadataReader6/readProperties() at otlib.things::ThingTypeStorage/loadThingTypeList() at otlib.things::ThingTypeStorage/readBytes() at otlib.things::ThingTypeStorage/load() at ObjectBuilderWorker/loadFilesCallback() at com.mignari.signals::Signal6/dispatch() at com.mignari.workers::WorkerCommunicator/inputChannelHandler()

Novas versões

Olá, poderia mandar seu contato? Gostaria de debater como eu faria para colocar novas versões de spr no ObjectBuilder. Abraços

[Bug] Importing spritesheets (png) overwrites existing sprites

Importing png straight into object has a side effect of replacing existing sprites that other objects are using, so it means it will affect all other objects that are using the same sprite.

Instead creating new sprites from imported file, it is overwriting existing sprites.

How to reproduce with Duplicate:
Recording 2022-02-28 at 01 02 37 (1)

How to reproduce with Export/Replace:
ezgif com-gif-maker

Erros ao compilar

@Mignari , gostaria de saber se precisar de outras dependências para fazer funcionar o compilamento.
Atualmente não da pra compilar, ele apresenta esse erro.

C:\Users\User\Desktop\ObjectBuilder-master\src\otlib\components\SpriteList.as(143): col: 17 Error: Attempted access of inaccessible property setSelectedIndex through a reference with static type otlib.components:SpriteList. Loading configuration file C:\Users\User\Desktop\ObjectBuilder-master\obj\ObjectBuilderConfig.xml Files changed: 0 Files affected: 1 setSelectedIndex(index, true); ^ C:\Users\User\Desktop\ObjectBuilder-master\src\otlib\components\SpriteList.as(143): col: 17 Error: Call to a possibly undefined method setSelectedIndex. setSelectedIndex(index, true); ^ C:\Users\User\Desktop\ObjectBuilder-master\src\otlib\components\ThingList.as(103): col: 22 Error: Attempted access of inaccessible method setSelectedIndex through a reference with static type otlib.components:ThingList. this.setSelectedIndex(index, true); ^ C:\Users\User\Desktop\ObjectBuilder-master\src\com\mignari\animator\components\FrameList.as(125): col: 22 Error: Attempted access of inaccessible method setSelectedIndex through a reference with static type com.mignari.animator.components:FrameList. this.setSelectedIndex(index, true); ^ Build halted with errors (fcsh). (fcsh) Done(1)

Instruções para compilação

Ola @Mignari.
Eu não estou encontrando as instruções para compilar.
O Wiki não possue informações e não existe nenhum tutorial ensinando como posso fazer isto.
Voce poderia passar informações de como eu posso compilar o app?
Obrigado man

can't compiling

when i click on the link "compiling" nothing happens, why?

Blank Sprite Reset Option

Sometimes If I create a sprite that have a square fully transparent and drag there accidentally a wrong sprite, I need to remove it, then I have two options:
1 - create a 100% blank sprite to move there
2 - delete the whole object configuration and start again

That's why Im suggesting the creation of this button:
image

Or:
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.