Silkroad Online Forums

A community forum for the free online game Silkroad Online. Discuss Silkroad Online, read up on guides, and build your character and skills.

Faq Search Members Chat  Register Profile Login

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: [Release]DDJ/DDS converter
PostPosted: Thu May 15, 2008 2:56 pm 
Common Member
User avatar
Offline

Joined: Mar 2008
Posts: 151
Location: Czech
Image

DDS and DDJ converter
Description of program
Program to convert DDJ from Silkroad files and DDS back to DDJ.
How it works
converting DDJ>DDS
Program rewrite the file without first 20bytes and rename it as DDS.
converting DDS>DDJ
Program will calculate the header and add original file to it and rename it as DDJ.
Known problems:
Virustotal.com 1 of 32 antivirus reports it as suspicious(possibly due to adding header part)
Cannot open more then 2600 file at once with file select option (Try to convert minimap directory from media.pk2).

Download link
http://files.filefront.com/DDS+DDJzip/;10216780;/fileinfo.html

Alternative link
http://www.mediafire.com/?zwb5fbwyyzk

Recomended programs and plugins:
DDS plugin for adobe photoshop(http://developer.nvidia.com/object/photoshop_dds_plugins.html) or irfanview(http://www.irfanview.com with all plugins or MS DXtool(Need to download whole DX SDK possibly did not find particular download)
Gimp with dds plugin to edit alpha area.

Other programs for texture editing
http://bakhter.com/html/3d/texture_generators.html(not my page, but nice selection of programs and adobe plugins).

Converting DDJ to DDS and back manualy with hex editor XVI
Download
XVI hex editorhttp://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm

You can use script(XVI) to convert DDJ to DDS write(in script window)
Code:
DEL 20
and save it as DDS

To convert it back use
Code:
INSERT 4A 4D 58 56 44 44 4A 20 31 30 30 30 XX XX XX XX 03 00 00 00


How to get XX bytes. When DDS is at begining clicking edit>insert, enter 123456789(in text area), now go to end of file and click at last value in hex field. Read adr. Hex in bottom left corner. Note the adr somewhere and delete the 123456789 numbers from beggining
Examples for Getting XX values from adr. Hex
Adr.: 18A XX: 8A 01 00 00
Adr.:123AB589 XX: 89 B5 3A 12
Adr. 188FA XX: FA 88 01 00
As you see if the number is odd you need to add imaginary zero at beginning.

Saving DDS
Recomended formats:
Picture without transparency: R5G6B5
Picture with one invisible area A1R5G5B5
Fully transparent picture A8R8G8B8

If you use adobe photoshop you should save without mipmap and same for right click converter(works for jpg images if you have installed nvidia dds tools)

Image
ImageImage

Credits:
This program was written in Turbo Delphi.

_________________
My threads:
CSRO/KSRO fully english(premade) + anySRO fully english
Media.pk2 Revealed [56k Warning]
[Release]DDJ/DDS converter
All europe quest

Inactive.
Send me pm if something is not working. But reply may take longer.


Last edited by JanChlpik on Sat May 24, 2008 11:15 pm, edited 4 times in total.

Top
 Profile  
 
 Post subject: Re: [Release]DDJ/DDS converter
PostPosted: Thu May 15, 2008 5:46 pm 
Senior Member
User avatar
Offline

Joined: Apr 2007
Posts: 4059
Location:
Uranus
well done good guide! i might make one soon about the ub i made using this tool as well to help people :)
in my opinion this should be sticky'd

_________________
Image


Top
 Profile  
 
 Post subject: Re: [Release]DDJ/DDS converter
PostPosted: Thu May 15, 2008 5:47 pm 
Senior Member
Offline

Joined: May 2007
Posts: 4590
Location:
Off Topic
Finally! A working converter. Thank you so much. :D


Top
 Profile  
 
 Post subject: Re: [Release]DDJ/DDS converter
PostPosted: Sun May 18, 2008 11:08 am 
Common Member
User avatar
Offline

Joined: Mar 2008
Posts: 151
Location: Czech
Added directory/subdirectory option.

_________________
My threads:
CSRO/KSRO fully english(premade) + anySRO fully english
Media.pk2 Revealed [56k Warning]
[Release]DDJ/DDS converter
All europe quest

Inactive.
Send me pm if something is not working. But reply may take longer.


Top
 Profile  
 
 Post subject: Re: [Release]DDJ/DDS converter
PostPosted: Fri Oct 03, 2008 12:54 am 
Regular Member
User avatar
Offline

Joined: Mar 2008
Posts: 347
Location:
Odin
I dunno how to save this >.>

This is all the options it was already selected by default.

Spoiler!

_________________
Image
Image
zOMG LEVEL ME UP! ^^


Top
 Profile  
 
 Post subject: Re: [Release]DDJ/DDS converter
PostPosted: Fri Oct 03, 2008 10:38 pm 
Banned User
User avatar
Offline

Joined: Sep 2008
Posts: 200
Location: Unknown space in the earth...
what are those converters...

_________________
<< banned for character selling. -cin >>


Top
 Profile  
 
 Post subject: Re: [Release]DDJ/DDS converter
PostPosted: Sun Feb 01, 2009 6:31 pm 
New Member
Offline

Joined: Mar 2007
Posts: 31
Location: Bremen (Germany)
nice tool! thanks


Top
 Profile  
 
 Post subject: Re: [Release]DDJ/DDS converter
PostPosted: Sun Feb 01, 2009 11:43 pm 
Valued Member
User avatar
Offline

Joined: Nov 2008
Posts: 353
Location:
Phoenix
Eraser_Rain wrote:
what are those converters...

lets you change the file type of the images inside the media.pk2 and the other .pk2 files so you can edit them change htem back and import them back into the files

_________________
Joymax puts the F U back in fun
42 Warrior /Warlock- FuriousNinja
I can't really call it grinding, more like tanking for gold bots.
Raamroc "So many people to kill so little time"
Xao "But you're immortal"
Raamroc "So much time"


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group