Mopstar wrote:i dont want to live in this world anymoreravenguard19 wrote:Maybe jorb or loftar will say something?
plz we will not sell any part of source code
or hmm maybe jorb and loftar can make single player version of H&H?
its will be awesome
u can sell single player version just like minecraft and earn a lot of cash
-
SacreDoom
- Posts: 2590
- Joined: Tue Apr 06, 2010 3:14 pm
Re: Offline play
-
Butko
- Posts: 542
- Joined: Tue Sep 07, 2010 10:05 am
Re: Offline play
Image Class in Resource class get an array of bytes where 11 or 12 first bytes stores some data about image. Is that data transfered from server or is it stored inside each image?loftar wrote:It's stored as a pair of signed 16-bit numbers starting at byte 7 in the resources' image layers.Resource.java, line 472 wrote:Code: Select all
o = cdec(buf, 7);
It's pain in the ass to write out all those offsets for each image. There must be some way to easily get them. Now only solutions are:
-stored on server and transfered to client each time
-stored in each image as additional data and need to be decoded out
-calculated by some miracle math.
That is all what interests me today
-
Butko
- Posts: 542
- Joined: Tue Sep 07, 2010 10:05 am
Re: Offline play
Nvm just figured out from source of res extractor, modified it and now I can also extract exact locations of each image into meta dataButko wrote:Image Class in Resource class get an array of bytes where 11 or 12 first bytes stores some data about image. Is that data transfered from server or is it stored inside each image?loftar wrote:It's stored as a pair of signed 16-bit numbers starting at byte 7 in the resources' image layers.Resource.java, line 472 wrote:Code: Select all
o = cdec(buf, 7);
It's pain in the ass to write out all those offsets for each image. There must be some way to easily get them. Now only solutions are:
-stored on server and transfered to client each time
-stored in each image as additional data and need to be decoded out
-calculated by some miracle math.
That is all what interests me todayWould speed up some of my work I'm working on past few days.
-
will1701-a
- Posts: 89
- Joined: Mon May 09, 2011 2:09 am
Re: Offline play
ITT: Butko tries to Java. Butko can't Java. Butko asks devs for source code. Devs say LOLwut. Butko still can't Java.
-
Jackard
- Posts: 8849
- Joined: Sun Jul 12, 2009 6:07 am
- Location: fucking curios how do they work
Re: Offline play
good god why is this still a thread