I downloaded the testlauncher, set my date to the 2nd of this month, and still no success.
As for the iDateTest it gave me the number 2.
This is getting exciting! Thanks for all your help and effort you put into making this work :smile.gif:
Cheers!
Got it. You're non-US. Localization is the answer. So I actually can use
if date:~4,2==20 (set month=%date:~9,2%) else if (localization branch goes here)
Excellent! This should be a piece of cake now that we know where the problem is. Hmm.. Wouldn't it be fun if I pinged the CMOS clock directly? Let's give that a shot.
Edit: Thinking about it more, if you're returning a value of 2.. then your date should be reading YYYYMMDD.
And this color-coded chart informs me that I really only need to worry about the cyan, magenta, yellow, green, red, and gray regions (the entire map, lol). http://en.wikipedia.org/wiki/Date_format_by_country
At least that tells me that querying the country isn't a viable answer since all formats are required. So localization is out. Back to the drawing board.
I'm still not sure why the iDate value doesn't accurately represent the international date format in all cases because that's the sole reason for the existence of that registry key.
Ed, sorry to keep you going back and forth. Run this test and let me know exactly how it outputs your date, even specifically the day of week it lists. I also left in the iDate check just to make sure it's still reading a value of 2. I think we might have to write off iDate as a solution as it seems it's not as directly correlated as I thought. It would seem that the time format is written in to XP directly corresponding to the specific country registered on original OS installation, which can technically be changed, but that's not a viable solution for a Minecraft texture project. I could write it so that it temporarily changes your country, but if the program or your machine ever crashed, then it would be stuck that way until you ran the launcher again, and we don't want that. Less invasive is better. http://minecraft-textures.googlecode.com/files/dateformattest.bat
The Meaning of Life, the Universe, and Everything.
Location:
Earth
Join Date:
11/12/2010
Posts:
389
Member Details
I think I'm going about this all wrong. If I understand correctly, the seasons are inversely related by hemisphere due to the rotational axis of the earth, so the southern hemisphere is currently in winter. So what we need is 6 launchers. Our variables are north and south hemispheres, and little-, big-, and middle-endian. Since there's no way I know of to automate hemisphere detection except to have the launcher run a check for every possible country.. well. Now that I think about it, it would take some leg work but really wouldn't take that long to process. I think that's what I'll do in the long run, but for now, I'll go ahead and whip up those alternative launchers.
Edit: This is nightmarishly complicated. I just remembered that German copies of Windows, all Windows ever, apparently don't output the day of the week in the command prompt, so there's a 7th version of the launcher. Full automation is definitely the way to go.
I just packed them all together. The files are small, so it doesn't impact the download much. I've just uploaded the new pack with launcher alternatives. There's also updated instructions on how to switch out launchers and drop in the java error fix for anyone who still has that issue. That should take care of the region problems for the time being.
Mikejones, judging from your avatar, I'm willing to bet you'll really like the summer holiday based on the logic that if you like seagulls, particularly video game types, you'll be as much a fan of pelickens.
I'd like you to remove all content you stole from Norsecraft because I never gave you permission to use it and my thread clearly states that I don't want any of it's content redistributed or used in remixes.
Sure thing. Consider it done. I did mention I may have forgotten someone and apologized in advance, but again, sorry for the mix up.
The Meaning of Life, the Universe, and Everything.
Location:
Earth
Join Date:
11/12/2010
Posts:
389
Member Details
In response to the Norsecraft squid snafu, I've designed a new mob skin for the Summer Holiday pack. I know I said I wouldn't release anything previewing the holidays yet, but this turned out really nice, so I think you guys deserve a sneak peak. I present to you Lovecraft inspired Cthulhu squids!
I've packed this new skin in to the update in the first post as well as an update to the launcher where I removed an unnecessary wait call that was eating up about an extra second of time. Enjoy!
The download link doesn't work. It just says error :tongue.gif:
Sorry about that. I accidentally took that file down when I uploaded the last update. It doesn't really matter anymore since I think I've got it all worked out now. Does one of the new launcher variants work for you?
I think I've sorted out how to fully automate the launcher. You can judge hemisphere just by looking at a map. I just need to do some more research in to Microsoft distribution in foreign countries. For instance, United States uses middle-endian date formatting, MM-DD-YYYY, as does Belize. However, I don't know if Belize gets their own distribution of Windows unless I were to reference something like this: http://msdn.microsoft.com/en-us/goglobal/bb896001
Now, in the previous example, it actually wouldn't matter because both countries are middle-endian, so the date formatting is the same. However, Germany, for example, is little-endian like many of the countries in Europe, but the date formatting is distinctly different where the output would read DD/MM/YYYY as opposed to DAY DD/MM/YYYY, meaning that Germany will have to have its own unique conditional statement so the launcher doesn't try to pull the date from the placeholder seven characters in. I could automate this process today except that I'm not entirely sure that there aren't any other exceptions like Germany that need to be adjusted for. In the mean time, bear with me and continue to use the multiple launcher system.
For you code junkies who are still following me, if you've got any ideas or information to contribute, I'd love an outside perspective.
Okay, due to some sort of clarification of the rules sent to me in a PM, it's no longer a problem as long as the original author has no problem; but I am still awaiting some acknowledgement I exist. Care to stop ignoring me?
Okay, due to some sort of clarification of the rules sent to me in a PM, it's no longer a problem as long as the original author has no problem; but I am still awaiting some acknowledgement I exist. Care to stop ignoring me?
Sorry, Billy. With the time format issue being such a hot topic, it was difficult for me to focus on anything else for a little while. I know we've communicated via PM and some in this thread, but I don't remember where we left off. How can I help you?
To mind your own business implies that you shouldn't criticize for criticizing's sake. I wasn't telling you to go away but rather was simply suggesting you hold your tongue if you don't have anything productive to contribute. Your first post was a flame. Your new post is a troll.
As for permission, I've gone through the appropriate channels and have credited the sources in my file. I will not provide email and PM excerpts as this is not required and I don't owe you personally any burden of proof. You can't prove any rule breaking, so you shouldn't be getting so excited, not that there are any rules being broken in the first place where permission and crediting are concerned.
As far as the Must Read is concerned, thank you. I didn't know about the naming convention and am genuinely appreciative of your advice. However, I should point out that the first paragraph of that post says:
"Do not troll, flame, or spam in simple texture pack threads. If you don't like them, don't post. You will be warned otherwise."
You should heed this warning. If you were to simply reword your posts to make them a little more productive and a little less presumptive, we wouldn't be having this discussion. Again, genuine thanks for the useful advice.
I can understand that. However, I am still awaiting information on just how I flamed and then trolled. Baseless accusations are also against the rules, if you didn't know.
Thank you for doing so. As I said before, I did not know that, and so I asked before I tried reporting or contacting a mod. I really don't understand how it is I that is getting excited, as I have noticed multiple counts of you saying I've flamed and trolled without any evidence, as well as completely ignoring me when I point out how you yourself have been rude.
Also note how that specifically says not to do that in simple packs. I was, to my knowledge, the one who got that in place by PMing CyborgDragon, so don't you try twisting things around. Refraining from trolling and flaming are forum rules, and I don't require to be reminded of them.
Again, I would like to say that I never intended to be rude or hurtful, and I really wish that you hadn't gone on the defensive right away; I asked a set of simple questions and I'm glad that, one way or another, you've answered them. I'm glad you got permission, but I had no way of knowing, so I asked.
Thanks for thanking me for the advice. I'm glad we can be at least somewhat civil. But another word of advice: it's polite to reply to every point someone makes, as not doing so makes it seems as if you're purposefully ignoring them. I'd find you a lot more nice if you didn't ignore a lot of the points I've made, as it's hurtful to me when I'm ignored.
The Meaning of Life, the Universe, and Everything.
Location:
Earth
Join Date:
11/12/2010
Posts:
389
Member Details
Almost done with the update for 1.6, but I've got to run to buy some furniture and pick up my wife for dinner. The shrubs are the hold-up since I've got to make a series of seasonal varieties. Also the new grass, which I'm planning something different to go with that. Should be done tonight or early tomorrow.
The Meaning of Life, the Universe, and Everything.
Location:
Earth
Join Date:
11/12/2010
Posts:
389
Member Details
Making progress. The seed grass is planned to be wild wheat. It's not looking so hot, but once I've got the tone matching the environment, I'm going to put a custom topper on the wheat, yellow-green for spring, bright yellow for summer, orange-yellow for fall, and light brown for winter. In my tests, the yellows and browns work well in conjunction with the biome color filters.
The desert trees have been changed to tumbleweed and it looks fantastic, so we're going to call that one done.
Map and trapdoor and finished. Anyone else think the map is scaled way too far out? A separate big map and small map item option would be nice.
To be honest, I'm not offended anymore. You've provided a positive contribution to the discussion and I'm prepared to let by-gones be by-gones and put our original disagreements behind us.
The Meaning of Life, the Universe, and Everything.
Location:
Earth
Join Date:
11/12/2010
Posts:
389
Member Details
A Brave New World is updated for 1.6 and is ready for download. http://minecraft-textures.googlecode.com/files/ABNW1.6v1.zip
I've changed the naming convention of updates so as not to be confused with the Minecraft update naming convention, especially since none of the recent updates after 1.6 affected textures.
I want to do more with the seasons regarding the wild wheat and fern shrubs. The color-tipped wheat didn't end up working out in all circumstances, so I had to scrap that idea. I might look in to it more, but for now it works and is fairly functional. Enjoy!
(Not using edit function because this announcement is entirely unrelated to my previous post.)
To be honest, I'm not offended anymore. You've provided a positive contribution to the discussion and I'm prepared to let by-gones be by-gones and put our original disagreements behind us.
Okay, that sounds great. Again, I'd like to apologize for cases where I was kind of rude.
Rollback Post to RevisionRollBack
In the middle ages, pink was a manly color!
To post a comment, please login or register a new account.
Got it. You're non-US. Localization is the answer. So I actually can use
Excellent! This should be a piece of cake now that we know where the problem is. Hmm.. Wouldn't it be fun if I pinged the CMOS clock directly? Let's give that a shot.
Edit: Thinking about it more, if you're returning a value of 2.. then your date should be reading YYYYMMDD.
Check this out.
http://support.microsoft.com/kb/259120
And this color-coded chart informs me that I really only need to worry about the cyan, magenta, yellow, green, red, and gray regions (the entire map, lol).
http://en.wikipedia.org/wiki/Date_format_by_country
At least that tells me that querying the country isn't a viable answer since all formats are required. So localization is out. Back to the drawing board.
I'm still not sure why the iDate value doesn't accurately represent the international date format in all cases because that's the sole reason for the existence of that registry key.
Ed, sorry to keep you going back and forth. Run this test and let me know exactly how it outputs your date, even specifically the day of week it lists. I also left in the iDate check just to make sure it's still reading a value of 2. I think we might have to write off iDate as a solution as it seems it's not as directly correlated as I thought. It would seem that the time format is written in to XP directly corresponding to the specific country registered on original OS installation, which can technically be changed, but that's not a viable solution for a Minecraft texture project. I could write it so that it temporarily changes your country, but if the program or your machine ever crashed, then it would be stuck that way until you ran the launcher again, and we don't want that. Less invasive is better.
http://minecraft-textures.googlecode.com/files/dateformattest.bat
Edit: This is nightmarishly complicated. I just remembered that German copies of Windows, all Windows ever, apparently don't output the day of the week in the command prompt, so there's a 7th version of the launcher. Full automation is definitely the way to go.
No, but you're welcome to try your hand at converting the code. I'll gladly host a Mac version if someone can convert it for me.
I just packed them all together. The files are small, so it doesn't impact the download much. I've just uploaded the new pack with launcher alternatives. There's also updated instructions on how to switch out launchers and drop in the java error fix for anyone who still has that issue. That should take care of the region problems for the time being.
Mikejones, judging from your avatar, I'm willing to bet you'll really like the summer holiday based on the logic that if you like seagulls, particularly video game types, you'll be as much a fan of pelickens.
Sure thing. Consider it done. I did mention I may have forgotten someone and apologized in advance, but again, sorry for the mix up.
I've packed this new skin in to the update in the first post as well as an update to the launcher where I removed an unnecessary wait call that was eating up about an extra second of time. Enjoy!
Sorry about that. I accidentally took that file down when I uploaded the last update. It doesn't really matter anymore since I think I've got it all worked out now. Does one of the new launcher variants work for you?
I think I've sorted out how to fully automate the launcher. You can judge hemisphere just by looking at a map. I just need to do some more research in to Microsoft distribution in foreign countries. For instance, United States uses middle-endian date formatting, MM-DD-YYYY, as does Belize. However, I don't know if Belize gets their own distribution of Windows unless I were to reference something like this:
http://msdn.microsoft.com/en-us/goglobal/bb896001
Now, in the previous example, it actually wouldn't matter because both countries are middle-endian, so the date formatting is the same. However, Germany, for example, is little-endian like many of the countries in Europe, but the date formatting is distinctly different where the output would read DD/MM/YYYY as opposed to DAY DD/MM/YYYY, meaning that Germany will have to have its own unique conditional statement so the launcher doesn't try to pull the date from the placeholder seven characters in. I could automate this process today except that I'm not entirely sure that there aren't any other exceptions like Germany that need to be adjusted for. In the mean time, bear with me and continue to use the multiple launcher system.
For you code junkies who are still following me, if you've got any ideas or information to contribute, I'd love an outside perspective.
Sorry, Billy. With the time format issue being such a hot topic, it was difficult for me to focus on anything else for a little while. I know we've communicated via PM and some in this thread, but I don't remember where we left off. How can I help you?
i would suggest you to go through all your files and remove things you dont have permission for
EDIT: You were right. Good catch. I've corrected it.
I can understand that. However, I am still awaiting information on just how I flamed and then trolled. Baseless accusations are also against the rules, if you didn't know.
Thank you for doing so. As I said before, I did not know that, and so I asked before I tried reporting or contacting a mod. I really don't understand how it is I that is getting excited, as I have noticed multiple counts of you saying I've flamed and trolled without any evidence, as well as completely ignoring me when I point out how you yourself have been rude.
Also note how that specifically says not to do that in simple packs. I was, to my knowledge, the one who got that in place by PMing CyborgDragon, so don't you try twisting things around. Refraining from trolling and flaming are forum rules, and I don't require to be reminded of them.
Again, I would like to say that I never intended to be rude or hurtful, and I really wish that you hadn't gone on the defensive right away; I asked a set of simple questions and I'm glad that, one way or another, you've answered them. I'm glad you got permission, but I had no way of knowing, so I asked.
Thanks for thanking me for the advice. I'm glad we can be at least somewhat civil. But another word of advice: it's polite to reply to every point someone makes, as not doing so makes it seems as if you're purposefully ignoring them. I'd find you a lot more nice if you didn't ignore a lot of the points I've made, as it's hurtful to me when I'm ignored.
The desert trees have been changed to tumbleweed and it looks fantastic, so we're going to call that one done.
Map and trapdoor and finished. Anyone else think the map is scaled way too far out? A separate big map and small map item option would be nice.
To be honest, I'm not offended anymore. You've provided a positive contribution to the discussion and I'm prepared to let by-gones be by-gones and put our original disagreements behind us.
http://minecraft-textures.googlecode.com/files/ABNW1.6v1.zip
I've changed the naming convention of updates so as not to be confused with the Minecraft update naming convention, especially since none of the recent updates after 1.6 affected textures.
I want to do more with the seasons regarding the wild wheat and fern shrubs. The color-tipped wheat didn't end up working out in all circumstances, so I had to scrap that idea. I might look in to it more, but for now it works and is fairly functional. Enjoy!
(Not using edit function because this announcement is entirely unrelated to my previous post.)
Okay, that sounds great. Again, I'd like to apologize for cases where I was kind of rude.