|
You last visited: Today at 13:20
Advertisement
Converting RAW .crb emblems into images...
Discussion on Converting RAW .crb emblems into images... within the SRO Private Server forum part of the Silkroad Online category.
02/25/2014, 17:31
|
#1
|
elite*gold: 2
Join Date: Aug 2011
Posts: 833
Received Thanks: 1,130
|
Converting RAW .crb emblems into images...
After a few hours work today and lots of trial and error... I successfully wrote a php script that will convert the server side .crb guild / union emblems into workable image files...
here is the final result:  &
My question is... who would be interested in a system like this for their website?
It can be used to display emblems next to guild / character names on ranking / statistic pages or anywhere...
Seriously... you have no idea how hard it was to figure out how to convert the raw 2 bit crb file data into workable 3-3-2 bit image colors...
|
|
|
02/25/2014, 20:43
|
#2
|
elite*gold: 0
Join Date: Dec 2007
Posts: 3,210
Received Thanks: 6,298
|
I'm sorry for your lost time, you should have asked here so you would have saved some of it
|
|
|
02/25/2014, 21:42
|
#3
|
elite*gold: 2
Join Date: Aug 2011
Posts: 833
Received Thanks: 1,130
|
Quote:
Originally Posted by Synx7
I'm sorry for your lost time, you should have asked here so you would have saved some of it
|
Thats nice information, but its wrong... The explanation about the bmp format is correct.. but the vsro files do not store the dynamic image content in the usual format, the order is out of sequence.
Also... even if that does work... its a manual system... not automatic... and requires manually converting ALL emblems...
My system has the proper sequence of the color palette, and is automatic.. only converts the emblems that need to be displayed on the fly..
|
|
|
02/25/2014, 22:54
|
#4
|
elite*gold: 0
Join Date: Jun 2007
Posts: 722
Received Thanks: 390
|
Quote:
Originally Posted by Synx7
I'm sorry for your lost time, you should have asked here so you would have saved some of it
|
ow omg ! Nice blog !
|
|
|
02/26/2014, 01:20
|
#5
|
elite*gold: 0
Join Date: Feb 2008
Posts: 962
Received Thanks: 650
|
Just curious, who owns this blog? ;D
|
|
|
02/26/2014, 03:03
|
#6
|
elite*gold: 0
Join Date: Dec 2007
Posts: 3,210
Received Thanks: 6,298
|
Quote:
Originally Posted by Timlock
Thats nice information, but its wrong... The explanation about the bmp format is correct.. but the vsro files do not store the dynamic image content in the usual format, the order is out of sequence.
Also... even if that does work... its a manual system... not automatic... and requires manually converting ALL emblems...
My system has the proper sequence of the color palette, and is automatic.. only converts the emblems that need to be displayed on the fly..
|
I see. I never looked into the format myself, but though the blog was correct. The blog says the theory he used for implement the converter he made.
Quote:
Originally Posted by magicanoo
Just curious, who owns this blog? ;D
|
An old ESRO (also known as Zelos) developer, Ni, but he is not updating it anymore.
|
|
|
02/26/2014, 05:29
|
#7
|
Chat Killer In Duty
elite*gold: 5
Join Date: May 2008
Posts: 16,390
Received Thanks: 6,507
|
Quote:
Originally Posted by Synx7
I'm sorry for your lost time, you should have asked here so you would have saved some of it
|
Im gonna sound like a douche but if you are the Blog's owner(which is most likely seeing how organized it is) try adding the Epvpers backlink as with any other site you share here
I know is kinda idiotic but is better to stay that way
btw, since when this blog has been working?
nvm, i saw it is a old blog as well as the owner hasnt update it
nvm my post then
|
|
|
02/26/2014, 08:45
|
#8
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,748
Received Thanks: 2,010
|
Quote:
Originally Posted by Timlock
Thats nice information, but its wrong... The explanation about the bmp format is correct.. but the vsro files do not store the dynamic image content in the usual format, the order is out of sequence.
Also... even if that does work... its a manual system... not automatic... and requires manually converting ALL emblems...
My system has the proper sequence of the color palette, and is automatic.. only converts the emblems that need to be displayed on the fly..
|
That information is from early 2009 when we were still working with the old ksro files, it might have changed over the years, or the information might be wrong (I don't think I ever heard Ni talk about it).
However since we have access to the modules that convert the images, and since we can convert as many images as we want it shouldn't be too hard to reverse engineer the format, and writing an automatic php script to do it should be the least of your problems
|
|
|
02/26/2014, 11:14
|
#9
|
elite*gold: 0
Join Date: Feb 2008
Posts: 962
Received Thanks: 650
|
Woah. In 2009, I used to look for an Ong plvl party in iSRO 
I wish if I had known more about computers back then.
|
|
|
02/26/2014, 13:03
|
#10
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,748
Received Thanks: 2,010
|
Quote:
Originally Posted by magicanoo
Woah. In 2009, I used to look for an Ong plvl party in iSRO 
I wish if I had known more about computers back then.
|
I can't believe it's already more than 5 years ago
|
|
|
02/26/2014, 17:41
|
#11
|
elite*gold: 85
Join Date: Feb 2014
Posts: 1,055
Received Thanks: 1,643
|
I'm just curious tim... What was the reason of posting some screens of converting crb to *** here?
Did you really just come here to get some praise?
Good work!
Awesome!
Keep going!
Nice!
Hope that's enough if you really want to be praised that much.
|
|
|
02/27/2014, 00:25
|
#12
|
elite*gold: 2
Join Date: Aug 2011
Posts: 833
Received Thanks: 1,130
|
Quote:
Originally Posted by Nezekan
That information is from early 2009 when we were still working with the old ksro files, it might have changed over the years, or the information might be wrong (I don't think I ever heard Ni talk about it).
However since we have access to the modules that convert the images, and since we can convert as many images as we want it shouldn't be too hard to reverse engineer the format, and writing an automatic php script to do it should be the least of your problems
|
Im more experienced with php, then with other languages. And like i said twice... this is a function to automatically convert and display the images on a web page as needed... not a program to convert the files so you can manually upload / display them.
Quote:
Originally Posted by blablaRoyal
I'm just curious tim... What was the reason of posting some screens of converting crb to xxx here?
Did you really just come here to get some praise?
Good work!
Awesome!
Keep going!
Nice!
Hope that's enough if you really want to be praised that much.
|
Jesus dude, I do not give a flying fuck about "praise". I care about respect, and helping the community with something, as far as i know, that has not been done. If you are being sarcastic like I think you are you can go climb up a large pole and squat, if not... thanks, i guess.
|
|
|
02/27/2014, 13:07
|
#13
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,748
Received Thanks: 2,010
|
Quote:
Originally Posted by Timlock
Im more experienced with php, then with other languages. And like i said twice... this is a function to automatically convert and display the images on a web page as needed... not a program to convert the files so you can manually upload / display them.
Jesus dude, I do not give a flying **** about "praise". I care about respect, and helping the community with something, as far as i know, that has not been done. If you are being sarcastic like I think you are you can go climb up a large pole and squat, if not... thanks, i guess.
|
I love correcting native speakers
I might have misunderstood your first post, do you want to release this program/class or do you actually want to sell it?
|
|
|
02/27/2014, 16:21
|
#14
|
elite*gold: 2
Join Date: Aug 2011
Posts: 833
Received Thanks: 1,130
|
Quote:
Originally Posted by Nezekan
I love correcting native speakers
I might have misunderstood your first post, do you want to release this program/class or do you actually want to sell it?
|
I was typing fast...
I guess I was really just trying to see if people wanted it at all... but it doesnt seem like they care, so ill probably just keep it to myself...
|
|
|
02/28/2014, 12:05
|
#15
|
elite*gold: 60
Join Date: Feb 2012
Posts: 3,942
Received Thanks: 6,474
|
Time to write my own script :3
|
|
|
Similar Threads
|
Metin2 png images pack 300+ images
11/15/2014 - Metin2 PServer Guides & Strategies - 9 Replies
Hi, here is 300 piece png images pack, it is mobs, npc, character weapons, house and more images :)
Link to download: https://www.rapidshare.com/#!download|306|19862143 22|CirilGyujtemeny.rar|63099
Please take thanks for upload.
Password for extract: ciril
|
Converting to .map
12/25/2013 - CO2 Private Server - 3 Replies
First off, Merry Christmas!! Hope you all have a great day.
Second, does anyone know how to make a .map file to go into the server files, not the client.
Related to this: HERE
|
converting
01/27/2009 - Dekaron - 3 Replies
when using winhex after you change the offsets u want
how do u convert the winhex file to the files that acclaim uses
is there a program? or do i have to get the full version of winhex to do this
|
All times are GMT +1. The time now is 13:22.
|
|