Search

Search found 3774 matches

by lurker
15 Jan 2011, 23:07
Forum: Lobby Clients & Server
Topic: Does any alternative exist for lobby with linux ?
Replies: 30
Views: 3468

Re: Does any alternative exist for lobby with linux ?

Well, does unzipping it work? Might need to grab spring portable so it can have unitsync.dll.
by lurker
12 Jan 2011, 15:56
Forum: Off Topic Discussion
Topic: That PS3 thing
Replies: 20
Views: 1070

Re: That PS3 thing

Huh, looks like PS3s count as federal interest computers and offering to work for someone is extortion. Who knew!
by lurker
07 Jan 2011, 02:21
Forum: Off Topic Discussion
Topic: Random Thread [contains immature stuff]
Replies: 196
Views: 13800

Unicode rendering quality test

__╠┤─▒╠┤╠┤╠í╠í╠í ╠í═îl╠í╠í╠í ╠í═îl╠í*╠í╠í ╠┤╠í─▒╠┤╠┤╠í ╠í╠í═í|╠▓╠▓╠▓═í═í═í ╠▓Ôû½╠▓═í ╠▓╠▓╠▓═í═í¤Ç╠▓╠▓═í═í ╠▓╠▓═íÔû½╠▓╠▓═í═í ╠▓|╠í╠í╠í ╠í ╠┤╠í─▒╠┤╠í╠í ╠í═îl╠í╠í╠í╠í.
by lurker
06 Jan 2011, 04:49
Forum: Off Topic Discussion
Topic: Random Thread [contains immature stuff]
Replies: 196
Views: 13800

Re: Random Thread [contains immature stuff]

Let's do this. http://tgchan.org/kusaba/kittens/1233316044_mg_7777-150x150.jpg http://tgchan.org/kusaba/kittens/12390446963405252969_4444bdc6d7_b-150x150.jpg http://tgchan.org/kusaba/kittens/1241569730dsc_0612-150x150.jpg http://tgchan.org/kusaba/kittens/1265770843.km_-150x150.jpg http://tgchan.org/...
by lurker
31 Dec 2010, 02:02
Forum: Engine
Topic: Static libs - can they be removed?
Replies: 40
Views: 4911

Re: Static libs - can they be removed?

Fallback should be the paragraph of code we have right now. Using the version in Boost sounds good assuming this isn't going to require linking an additional library; I'm not really sure how to check. Okay, maybe even if it does. But not an entire nonoptional dependency.
by lurker
29 Dec 2010, 05:05
Forum: Engine
Topic: Static libs - can they be removed?
Replies: 40
Views: 4911

Re: Static libs - can they be removed?

Is there a base64 lib?
by lurker
28 Dec 2010, 14:32
Forum: Engine
Topic: Static libs - can they be removed?
Replies: 40
Views: 4911

Re: Static libs - can they be removed?

Md5's implemented under /lib/ right now, but so is lua lobby, a piece of spring. All the other directories under /lib/ have a handful of files with notable functionality. Md5 is one .c with three functions, implementing an algorithm simple enough to be given in full as code on its wikipedia page. It...
by lurker
28 Dec 2010, 09:12
Forum: Engine
Topic: Static libs - can they be removed?
Replies: 40
Views: 4911

Re: Static libs - can they be removed?

To an extent it's the distribution's job, but it'll take a bit to convince me that something as simple as md5 is better off as a library. Zip libraries yes.
by lurker
22 Dec 2010, 23:00
Forum: Engine
Topic: What exactly is hang detect and why does it keep triggering?
Replies: 13
Views: 1064

Re: What exactly is hang detect and why does it keep triggering?

No, no, timer's more intelligent. I'd hate to have something detected as 'hung' because it was in the same spot every time it was checked.
by lurker
17 Dec 2010, 09:38
Forum: Engine
Topic: Static libs - can they be removed?
Replies: 40
Views: 4911

Re: Static libs - can they be removed?

I can't think of why md5 and 7zip would require that?

Lua has that and other customizations, and updates are pretty rare for it. Also we don't have a fully secured lua environment in the first place.
by lurker
15 Dec 2010, 21:12
Forum: Meeting Minutes
Topic: Dev Meeting Minutes (06-12-2010)
Replies: 49
Views: 4026

Re: Dev Meeting Minutes (06-12-2010)

Thank you, id10terror, for making my point. You only have to extract all the files before it if you want a file from the middle of a block. m??info.lua is very likely to be at the beginning of a block.
by lurker
15 Dec 2010, 01:22
Forum: Meeting Minutes
Topic: Dev Meeting Minutes (06-12-2010)
Replies: 49
Views: 4026

Re: Dev Meeting Minutes (06-12-2010)

solid refers to the fact that there is no index to the archive Wrong. All the metadata is stored in its own location, you can see it without extracting, and in fact the entire point of a solid block size is that you only need to extract the blocks you know the file is in, not the whole archive. no,...
by lurker
14 Dec 2010, 02:27
Forum: Meeting Minutes
Topic: Dev Meeting Minutes (06-12-2010)
Replies: 49
Views: 4026

Re: Dev Meeting Minutes (06-12-2010)

It doesn't seem to be anything complicated. Instead of compressing each file with LZMA, it compresses each X megabytes with LZMA. So it should be possible to easily extract items at the start of a block.

The order in which it compresses files, however, is still an unknown.
by lurker
13 Dec 2010, 21:49
Forum: Meeting Minutes
Topic: Dev Meeting Minutes (06-12-2010)
Replies: 49
Views: 4026

Re: Dev Meeting Minutes (06-12-2010)

LZMA doesn't work that way. There's no lookahead in decompression; you run through a stream linearly, keeping around the last X decompressed bytes so it can easily output repeated data. 7-zip's GUI reflects this. The 'memory usage for decompressing' is always the window size + 2MB, no matter how lar...
by lurker
13 Dec 2010, 03:11
Forum: Lua Scripts
Topic: modoption value to cob
Replies: 9
Views: 871

Re: modoption value to cob

Here, I'll show you what I mean, flozi. #define XMODOPTION 4096 + 0 moo(){ get(XMODOPTION); } function gadget:Initialize() local modOptions = Spring.GetModOptions() local XMODOPTION = 4096 + 0 Spring.SetCOBGlobalVar(XMODOPTION, modOptions.potatofarmer) end There are special cob storage values per un...
by lurker
12 Dec 2010, 21:50
Forum: Meeting Minutes
Topic: Dev Meeting Minutes (06-12-2010)
Replies: 49
Views: 4026

Re: Dev Meeting Minutes (06-12-2010)

1. If you want a file from a solid block, you have to decompress the whole solid block. There is no order of files that would matter there. If there are no solid blocks, or they are small, then you have to decompress little, and here order does not matter either. I do not know the default settings ...
by lurker
12 Dec 2010, 08:00
Forum: Lua Scripts
Topic: modoption value to cob
Replies: 9
Views: 871

Re: modoption value to cob

Option 1 lua_getXmodoption() {return 0;} lua_getXunitoption() {return 0;} moo(){ call-script lua_getmodoption(); get(LUA1); } local modOptions = Spring.GetModOptions() function _G.getXmodoption(unitID, unitDefID, teamID) return modOptions.potatofarmer end function _G.getXunitoption() return UnitDefs...
by lurker
12 Dec 2010, 07:36
Forum: Meeting Minutes
Topic: Dev Meeting Minutes (06-12-2010)
Replies: 49
Views: 4026

Re: Dev Meeting Minutes (06-12-2010)

It would help if you read the thread and saw how a way to detect solid archives was only now worked out.

Go to advanced search