Proxmark3 developers community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

#251 2016-04-06 13:57:26

Olfan
Member
Registered: 2016-01-12
Posts: 7

Re: [FINISHED] a popular toy Lego Dimensions

@algope For the upgrades you have to:

- Calculate the total upgrade value by adding the values for each individual upgrade (having in mind that, in order to select an upgrade, you also have to select all the upgrades of the same family that preceed the one you want, just like you would do in the game).
- Convert this total upgrade value to hexadecimal.
- Write this number (in BIG ENDIAN convention, i.e. reversing the natural order of the bytes that compose the number: 435423A1B7 -> B7A1235443) to pages 35 and 37 (if the number is small enough, and has 4 or less bytes, you just use page 35 and leave page 37 with all zeros, and if it doesn't fit on page 35, you use page 35 for the first 4 bytes and page 37 for the next ones).

That is only for the upgrades, of course you also have to write the vehicle id to page 36 and the type of the tag (00010000 hex) to page 38.

That way, when you read the tag on the toypad, it will have all the selected upgrades in the game and you'll be able to use them. However if you go into the upgrade menu, you will just see the upgrades you have activated in the game, because this menu doesn't show the actual state of the tag, but what you have done in-game.

Offline

#252 2016-04-06 14:13:03

algope
Contributor
Registered: 2016-04-06
Posts: 9

Re: [FINISHED] a popular toy Lego Dimensions

Olfan wrote:

@algope For the upgrades you have to:

- Calculate the total upgrade value by adding the values for each individual upgrade (having in mind that, in order to select an upgrade, you also have to select all the upgrades of the same family that preceed the one you want, just like you would do in the game).
- Convert this total upgrade value to hexadecimal.
- Write this number (in BIG ENDIAN convention, i.e. reversing the natural order of the bytes that compose the number: 435423A1B7 -> B7A1235443) to pages 35 and 37 (if the number is small enough, and has 4 or less bytes, you just use page 35 and leave page 37 with all zeros, and if it doesn't fit on page 35, you use page 35 for the first 4 bytes and page 37 for the next ones).

That is only for the upgrades, of course you also have to write the vehicle id to page 36 and the type of the tag (00010000 hex) to page 38.

That way, when you read the tag on the toypad, it will have all the selected upgrades in the game and you'll be able to use them. However if you go into the upgrade menu, you will just see the upgrades you have activated in the game, because this menu doesn't show the actual state of the tag, but what you have done in-game.

Thanks @Olfan, I saw that you create this: http://pastebin.com/VNtGB2Lh but I don't understand where I find the values.
I'm trying with Emmet's Excavator and I see that in this pastebin you put numbers to each familie, that means that I have to sum all of them? And if I want to made a total upgrade, I have to sum all the numbers?

Thanks a lot!

Offline

#253 2016-04-06 14:56:34

Olfan
Member
Registered: 2016-01-12
Posts: 7

Re: [FINISHED] a popular toy Lego Dimensions

@algope, for Emmet's Excavator, let's say you want to set Horn Sound Chooser upgrade to "B" sound. Then you have to add:

- (1) In the Rebuild Family, you have to activate the second model, because this upgrade belongs to the second model. If it belonged to the third model, you would have had to activate the third and the second model. Actually, this is optional, because the upgrade would work, even without the second model activated.
- In the Extras Family, you have to select all the preceeding upgrades:
    * (3542940) Bolt Colour Chooser: let's say you select it, but leave it disabled.
    * (590490) Enemy Hearts Ability active.
    * (590490) Regenerate Armour Ability active.
    * (106288200) Horn Sound Chooser "B" sound.

Adding all this numbers: 1+3542940+590490+590490+106288200=111012121 -> 069DE919 hex -> 19E99D06 BIG ENDIAN hex

Since it's 4 bytes, you write them to page 35 and leave page 37 with all zeroes.

If you want a full upgrade, you have to add the values for all the upgrades (but just choosing one value for the upgrades with a multiple possible value. For example, in an upgrade with several colours, you would just choose one of them, of course). Some of the values are exclusive (for example you can only have one enabled weapon at a time, so if you select the value "enabled" for more than one weapon, I think you will have really enabled just the first of them).

The values for each of the upgrades depend on the number of upgrades available to each vehicle (and on the number of possible values of each upgrade). Most vehicles have 47 possible upgrades (including the upgrade to the second and third models), so all of them get the same values for each upgrade, which means that you can re-use the values. However, keep in mind that there are some vehicles and gadgets with less posible upgrades, and those have different upgrade values.

As you see, all this process is quite tedious, and surely would be better if automated.

Offline

#254 2016-04-06 15:03:04

Olfan
Member
Registered: 2016-01-12
Posts: 7

Re: [FINISHED] a popular toy Lego Dimensions

Where I said 47 possible upgrades, it's actually 44 possible upgrades (because there are 3 places in the upgrade menu used to buy bombs and the like, and not actually to upgrade the model).

Offline

#255 2016-04-06 16:05:40

JeppeChr
Member
Registered: 2016-03-26
Posts: 5

Re: [FINISHED] a popular toy Lego Dimensions

I have collected data from this site and other sites and made two manuals for creation of characters and vehicles&Gadgets

http://www.filedropper.com/characterguide
http://www.filedropper.com/vehicleandgadgetguide

I still need to update a lot of the vehicle HEX codes, but they will be added later. If there is any news on how to program updates, I will work that into the guide as well.
If someone has the skills of making an Android APK that could read and program the NTAG's that would make i a lot easier, but I have no clue on how to code such app :-)

Offline

#256 2016-04-06 19:14:30

ags131
Contributor
Registered: 2015-12-28
Posts: 33

Re: [FINISHED] a popular toy Lego Dimensions

I'm just going to drop this here, https://mega.nz/#!CYN3AQrJ!TNCGiQHX8qLu2H9nZ6HgcZW2FaII0iHGf0_H0yuZi1g

Offline

#257 2016-04-06 19:55:44

algope
Contributor
Registered: 2016-04-06
Posts: 9

Re: [FINISHED] a popular toy Lego Dimensions

Thanks a lot @Olfan, I see that is quite difficult but I could made it.

@JeppeChr the guides are great, I am going to keep them.

@ags131 the app works perfectly, I tried with Slimer and it is easy to make now characters.

Thanks all of you!

Offline

#258 2016-04-06 21:31:59

JeppeChr
Member
Registered: 2016-03-26
Posts: 5

Re: [FINISHED] a popular toy Lego Dimensions

ags131 wrote:

I'm just going to drop this here, https://mega.nz/#!CYN3AQrJ!TNCGiQHX8qLu2H9nZ6HgcZW2FaII0iHGf0_H0yuZi1g

@ags131: When I try to install on a Samsung Galaxy S4 mini i get an error: "Describe error: There was a problem parsing the package". The installation Works fine on a Samsung Alpha. The S4 runs Kitkat (4.4.2) and the Alpha runs Lollipop (5.0.2). Is the are chance that you can make it work on Kitkat also? (The Samsung Alpha is not mine) Thank you very much for all you work with this project, it is very much appriciated :-)

Offline

#259 2016-04-06 21:44:53

ags131
Contributor
Registered: 2015-12-28
Posts: 33

Re: [FINISHED] a popular toy Lego Dimensions

Heres a recompile targeting SDK 19 (Kitkat 4.4+)
https://mega.nz/#!SRtjiQaQ!u9yu2D_K9gUJAWbSlsUIpDbeJR-ItJGlY0T9MB7iNdI
I don't know if it will work or not, but worth a try smile

Offline

#260 2016-04-06 21:59:24

JeppeChr
Member
Registered: 2016-03-26
Posts: 5

Re: [FINISHED] a popular toy Lego Dimensions

ags131 wrote:

Heres a recompile targeting SDK 19 (Kitkat 4.4+)
https://mega.nz/#!SRtjiQaQ!u9yu2D_K9gUJAWbSlsUIpDbeJR-ItJGlY0T9MB7iNdI
I don't know if it will work or not, but worth a try smile

It works perfectly on 4.4.2 ? Thank you so much!!

Offline

#261 2016-04-06 22:04:04

JeppeChr
Member
Registered: 2016-03-26
Posts: 5

Re: [FINISHED] a popular toy Lego Dimensions

JeppeChr wrote:
ags131 wrote:

Heres a recompile targeting SDK 19 (Kitkat 4.4+)
https://mega.nz/#!SRtjiQaQ!u9yu2D_K9gUJAWbSlsUIpDbeJR-ItJGlY0T9MB7iNdI
I don't know if it will work or not, but worth a try smile

It works perfectly on 4.4.2 ? Thank you so much!!

Sorry about the question mark, I have just tested it, and it works equally good as on the 5.x. Thanks again

Offline

#262 2016-04-07 03:29:21

crstofer
Contributor
Registered: 2015-06-22
Posts: 33

Re: [FINISHED] a popular toy Lego Dimensions

ags131 wrote:

I'm just going to drop this here, https://mega.nz/#!CYN3AQrJ!TNCGiQHX8qLu2H9nZ6HgcZW2FaII0iHGf0_H0yuZi1g

AWESOME ! I appreciate the app.. Thank U !

Offline

#263 2016-04-11 05:59:23

trasixes
Contributor
Registered: 2016-01-27
Posts: 41

Re: [FINISHED] a popular toy Lego Dimensions

ags131 wrote:

Heres a recompile targeting SDK 19 (Kitkat 4.4+)
https://mega.nz/#!SRtjiQaQ!u9yu2D_K9gUJAWbSlsUIpDbeJR-ItJGlY0T9MB7iNdI
I don't know if it will work or not, but worth a try smile


Nice app! Any chance you'll be releasing the source?

Offline

#264 2016-04-13 13:30:22

thxmate
Contributor
Registered: 2016-02-24
Posts: 7

Re: [FINISHED] a popular toy Lego Dimensions

Thank you ags131 for this app.


but it's not working on my samsung s3 mini i8190n since he's on 4.1.2 (no rom with nfc support after this 4.1.2...)

but i do all tag manualy without problem i just read this thread ! smile


Thank you again.

Offline

#265 2016-04-13 13:45:08

iceman
Administrator
Registered: 2013-04-25
Posts: 6,084
Website

Re: [FINISHED] a popular toy Lego Dimensions

lets keep this thread clean.  If you have questions and want to talk about apps etc,  do that in a new thread. 
If not,  I will close this thread down.


If you feel the love,  https://www.patreon.com/iceman1001

modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

#266 2016-05-11 07:36:13

fly_76
Contributor
Registered: 2016-05-10
Posts: 4

Re: [FINISHED] a popular toy Lego Dimensions

thanks for good work but i tried ldtageditor apk and i have some problems.
I try with note3 and s4 smartphone to read some lego dimension tag but nothing appends.
i only heard two beep sonds when tag is near smartphone but no ID or information are read.
please can you post some information ... how to read and write tag for save and edit my collection.

Thanks

Offline

#267 2016-05-13 13:28:02

mskingz
Member
Registered: 2016-05-13
Posts: 1

Re: [FINISHED] a popular toy Lego Dimensions

Hi, I don't have an android phone! but I do have an NFC reader/writer so I can attempt this manually but my 1st problem is http://ldpwd.ericbetts.org does not appear to be working sad

any help/advice?

Offline

#268 2016-09-28 21:54:28

Kurapika666
Contributor
Registered: 2016-02-16
Posts: 22

Re: [FINISHED] a popular toy Lego Dimensions

@ags131 : Can you give the source code of your app?

There some news in LD game, so I'd like to update it.


New characters ID (to add in the lua script) :

{ "id":45,    "name":"Green Arrow",    "world":"DC" }
{ "id":46,    "name":"Supergirl",        "world":"DC" }
{ "id":47,    "name":"Abby Yates",        "world":"Ghostbuster 2016" }
{ "id":48,    "name":"Finn",            "world":"Adventure Time" }
{ "id":49,    "name":"Ethan Hunt",        "world":"Mission Impossible" }
{ "id":50,    "name":"Princesse Lumpy Space",    "world":"Adventure Time" }
{ "id":51,    "name":"Jake",        "world":"Adventure Time" }
{ "id":52,    "name":"Harry Potter",    "world":"Harry Potter" }
{ "id":53,    "name":"Voldemort",        "world":"Harry Potter" }
{ "id":54,    "name":"Barracuda",        "world":"A-Team" }

I'll list the vehicule when I'll get some free time. The next one's ID is 1170, and is Abby Yates vehicule (Green Arrow and Supergirl don't have one)

Last edited by Kurapika666 (2016-09-28 22:03:39)

Offline

#269 2016-09-28 22:42:14

trasixes
Contributor
Registered: 2016-01-27
Posts: 41

Re: [FINISHED] a popular toy Lego Dimensions

Kurapika666 wrote:

@ags131 : Can you give the source code of your app?

There some news in LD game, so I'd like to update it.


New characters ID (to add in the lua script) :

{ "id":45,    "name":"Green Arrow",    "world":"DC" }
{ "id":46,    "name":"Supergirl",        "world":"DC" }
{ "id":47,    "name":"Abby Yates",        "world":"Ghostbuster 2016" }
{ "id":48,    "name":"Finn",            "world":"Adventure Time" }
{ "id":49,    "name":"Ethan Hunt",        "world":"Mission Impossible" }
{ "id":50,    "name":"Princesse Lumpy Space",    "world":"Adventure Time" }
{ "id":51,    "name":"Jake",        "world":"Adventure Time" }
{ "id":52,    "name":"Harry Potter",    "world":"Harry Potter" }
{ "id":53,    "name":"Voldemort",        "world":"Harry Potter" }
{ "id":54,    "name":"Barracuda",        "world":"A-Team" }

I'll list the vehicule when I'll get some free time. The next one's ID is 1170, and is Abby Yates vehicule (Green Arrow and Supergirl don't have one)

Agreed, I would love to get the source code as well!

Offline

#270 2016-09-29 09:00:01

emirikol
Contributor
Registered: 2016-09-23
Posts: 2

Re: [FINISHED] a popular toy Lego Dimensions

JeppeChr wrote:

I have collected data from this site and other sites and made two manuals for creation of characters and vehicles&Gadgets

http://www.filedropper.com/characterguide
http://www.filedropper.com/vehicleandgadgetguide

I still need to update a lot of the vehicle HEX codes, but they will be added later. If there is any news on how to program updates, I will work that into the guide as well.
If someone has the skills of making an Android APK that could read and program the NTAG's that would make i a lot easier, but I have no clue on how to code such app :-)

Can you re upload them? I have a Galaxy Young and I can't install the app so a manual would be great but when I download it i can't open because I got a "Blank File" error. Thanks!

Offline

#271 2016-10-01 10:46:07

fantastiQ
Contributor
Registered: 2016-09-30
Posts: 2

Re: [FINISHED] a popular toy Lego Dimensions

working ld tag editor with year 2 content

http://www.filedropper.com/ldtageditor211

/update

small fix for the vehicle list

http://www.filedropper.com/ldtageditor212

Last edited by fantastiQ (2016-10-01 17:38:14)

Offline

#272 2016-10-01 21:16:33

Kurapika666
Contributor
Registered: 2016-02-16
Posts: 22

Re: [FINISHED] a popular toy Lego Dimensions

Thank you for this upload !

Could you upload the source code too ?

Offline

#273 2016-10-03 10:09:29

kurekure
Contributor
Registered: 2016-09-22
Posts: 2

Re: [FINISHED] a popular toy Lego Dimensions

new version looks and works way better than earlier ones, thanks!

the "full upgrade" tick doesnt seem to work for me tho, if i tick that in it doesnt write to tags (just beeps around and doesnt do anything), if i just pick the vehicle without upgrades it works like a charme (recommended 213 chips used) anyone else experiencing this behavior?

also had a htc phone that didnt let me install this apk with a "parsing" error message

Offline

#274 2016-10-03 18:49:07

delchrys
Contributor
Registered: 2016-10-03
Posts: 5

Re: [FINISHED] a popular toy Lego Dimensions

hi i'm new and have read the whole thread, but still have some questions.
is there anyone who can reupload the guides? http://www.filedropper.com/characterguide
als i'm having troubles downloading them (blank files)

What would i need to get starting with this NFC thingie???
for what i'm thinking i need:

NTAG213 tags. (which one's are best and someone knows a good address in The Netherlands?)
something that reads (galaxy S6)
something that writes (galaxy S6)
some apps, but which are preferred for a newbie??

Someone who can guide me a bit?

thanks, greetz Bert

Offline

#275 2016-10-04 06:38:52

delchrys
Contributor
Registered: 2016-10-03
Posts: 5

Re: [FINISHED] a popular toy Lego Dimensions

Alsof the ldtageditor Does not seem tot work on Android 6. On my galaxy s6 edge. Any idea why?
It does not detect any nfc tags.

Offline

Board footer

Powered by FluxBB