This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [TOOL] FuTa - Adt file manipulation  (Read 18526 times)

Hanfer

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 143
    • View Profile
[TOOL] FuTa - Adt file manipulation
« on: March 24, 2012, 11:42:36 pm »
Hi all

as some of u know im working on an tool to edit adt files. based on Mjo's GP classes. today i reached a status which is in my opinion worth to release here. source code will be public as soon as the code is tidied up :D

Features:
-alphamap import/export
-layer settings
-water import/export (thx to Mjo)
-heightmap import/export
-alphamap save paths is now same as the opend adt... (noi Dialog anymore)

more are planned and updates will be posted here

Changelog:

28.03.12
-added settings
-open last files
-grayscale and colored alphmap selectable
-completlly useless 3d view of heightmap

26.03.12
-fixed bugs with bigalphamaps (Wotlk explored by steff see some psot after this)
-fixed bugs with compressed alphamaps
-updated to lastest GP (thx Mjo)

Win:
http://localhostr.com/files/ElcDP8I/FuTa_win.zip

Linux
http://localhostr.com/files/6FGwMxw/FuTa_linux.tar.gz
!not up to date!

please report back when u find any bugs

Im also looking for someon who is talented in photoshop and could create an Icon
« Last Edit: March 28, 2012, 09:48:29 pm by Admin »

Zim4ik

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 407
    • View Profile
Re: [TOOL] FuTa - Adt file manipulation
« Reply #1 on: March 24, 2012, 11:50:09 pm »
wow.. :o
Nice job. I'm really glad that someone creating tools like that
 Waiting for new funcs)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Hanfer

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 143
    • View Profile
Re: [TOOL] FuTa - Adt file manipulation
« Reply #2 on: March 25, 2012, 12:04:28 am »
Quote from: "Zim4ik"
wow.. :o
Nice job. I'm really glad that someone creating tools like that
 Waiting for new funcs)
thx :D
i got some features related to light and m2 in mind
atm im trying thing out with opengl to get an idea of how things work rendering m2s
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [TOOL] FuTa - Adt file manipulation
« Reply #3 on: March 25, 2012, 07:02:35 am »
Nice to see tha you finaly get in release stat. Will test it ;)
Thanks for your work.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

TheBuG

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 469
    • View Profile
Re: [TOOL] FuTa - Adt file manipulation
« Reply #4 on: March 25, 2012, 11:55:01 am »
I should really get to work with Photoshop now :).

Great release!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [TOOL] FuTa - Adt file manipulation
« Reply #5 on: March 25, 2012, 12:32:02 pm »
Ok first test.

1. Why the hell green??? :) Use a grayscale. Every filter in Fhotoshop creats grayscale images.
It should look like this. Also you see the alpha better in dis stlye. Range form full white 255 255  255  to full black 0 0 0.



And for the Heightmap you MUST use 16 Bit Grayscale to get more steps.

2. If you open a file and want to load an other you need to close the app.
3. You should store the last opend folder. Els we msut everytime locate again and again to the project folder if we want to do work on many files.
4. We should also be able to import and export only the selected on.
5. How is it if a layers is switched on one chunk? So gras and dirt is swaped?
6. If you export he use not the folder you have selected but the folder that contains this selected one.

And thanks that you spend time in this. If it all work it will speed up creation much :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [TOOL] FuTa - Adt file manipulation
« Reply #6 on: March 25, 2012, 12:50:09 pm »
So tested it now and for me its not working :(

1. Clear all textures on an ADT
2. Add my 3 textures to the adt (dirt baselayer, Rock layer 0, WinterGrasp Gras Layer 1, Layer 2 Empty for later use)
3. Export the images.
4. Add in photohsop some rock alpha on layer 0



5. Import the Layer in FuTa
6. Save the ADT
7. Load in Noggit3



Only some chunks where imported and i got lines inside the imported alpha map.
Also if i export i got sometimes a shutter effect if i open in FuTa.



This was just painted over all chunks to get texture on them.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Hanfer

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 143
    • View Profile
Re: [TOOL] FuTa - Adt file manipulation
« Reply #7 on: March 25, 2012, 03:41:08 pm »
looks like an offset bug while importing.....ok thx for testing, since its a alphamap i thought reding the alphavalues of an pic should be enough, but a switch to grayscale should be no problem

steff could u send me the images u imported (after editing n stuff) and if possbile the tested adt?

@heightmap: im not quite sure about the 16bit thing, atm i store raw data for maximum range
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [TOOL] FuTa - Adt file manipulation
« Reply #8 on: March 25, 2012, 03:52:07 pm »
As long i can edit it with photoshop :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Hanfer

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 143
    • View Profile
Re: [TOOL] FuTa - Adt file manipulation
« Reply #9 on: March 26, 2012, 10:02:00 pm »
corrected windows download link
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [TOOL] FuTa - Adt file manipulation
« Reply #10 on: March 27, 2012, 09:45:43 am »
Yea will test this evening :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [TOOL] FuTa - Adt file manipulation
« Reply #11 on: March 27, 2012, 10:22:35 pm »
Works fine. Thumbs up!
Great work.


http://imagr.eu/up/4f72213497dcb4_Works.jpg

and now gray please and STORE LAST FOLDER WITH  qt settings :) I get mad with many files.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [TOOL] FuTa - Adt file manipulation
« Reply #12 on: March 27, 2012, 10:45:39 pm »
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Hanfer

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 143
    • View Profile
Re: [TOOL] FuTa - Adt file manipulation
« Reply #13 on: March 27, 2012, 10:48:12 pm »
Quote from: "Steff"
And 10 minutes work later :)


http://imagr.eu/up/4f7226cd46ddb4_10min.jpg
dammn it....didnt imagine that it could be that power full
grayscale source code is already in version u got....just no gui element to set it :D
at least weekend i will deliver
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [TOOL] FuTa - Adt file manipulation
« Reply #14 on: March 28, 2012, 06:08:06 am »
Nice to here :) And if we will get also heightmap to work i could also do the basic height im photoshop. Just draw a freehand path around the textures, blur them and import. This way you could make the base modeling for 5 till 10 adts in some minutes.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954