Posts for klmz


Post subject: Re: I'm just fooling around with C++ for fun
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
Bisqwit wrote:
I set the range to 40.
The default depth (500) of GCC 3.4.5 is OK for numbers up to 100 (list shortened):
klmz wrote:
$ gcc matp2.cpp matp2.cpp:4: error: expected unqualified-id before '{' token matp2.cpp:4: error: template parameters not used in partial specialization: matp2.cpp:4: error: `p' matp2.cpp: In instantiation of `O<1>': matp2.cpp:4: instantiated from `O<2>' matp2.cpp:4: instantiated from `O<3>' matp2.cpp:4: instantiated from `O<4>' matp2.cpp:4: instantiated from `O<5>' matp2.cpp:4: instantiated from `O<6>' matp2.cpp:4: instantiated from `O<7>' matp2.cpp:4: instantiated from `O<8>' matp2.cpp:4: instantiated from `O<9>' ... matp2.cpp:4: instantiated from `O<98>' matp2.cpp:4: instantiated from `O<99>' matp2.cpp:4: instantiated from `O<100>' matp2.cpp:4: instantiated from here matp2.cpp:4: error: creating array with size zero (`0') matp2.cpp: In instantiation of `O<4>': matp2.cpp:4: instantiated from `O<5>' matp2.cpp:4: instantiated from `O<6>' matp2.cpp:4: instantiated from `O<7>' matp2.cpp:4: instantiated from `O<8>' matp2.cpp:4: instantiated from `O<9>' ... matp2.cpp:4: instantiated from `O<98>' matp2.cpp:4: instantiated from `O<99>' matp2.cpp:4: instantiated from `O<100>' matp2.cpp:4: instantiated from here matp2.cpp:4: error: creating array with size zero (`0') matp2.cpp: In instantiation of `O<6>': matp2.cpp:4: instantiated from `O<7>' matp2.cpp:4: instantiated from `O<8>' matp2.cpp:4: instantiated from `O<9>' ... ... matp2.cpp:4: instantiated from `O<98>' matp2.cpp:4: instantiated from `O<99>' matp2.cpp:4: instantiated from `O<100>' matp2.cpp:4: instantiated from here matp2.cpp:4: error: creating array with size zero (`0') matp2.cpp: In instantiation of `O<95>': matp2.cpp:4: instantiated from `O<96>' matp2.cpp:4: instantiated from `O<97>' matp2.cpp:4: instantiated from `O<98>' matp2.cpp:4: instantiated from `O<99>' matp2.cpp:4: instantiated from `O<100>' matp2.cpp:4: instantiated from here matp2.cpp:4: error: creating array with size zero (`0') matp2.cpp: In instantiation of `O<96>': matp2.cpp:4: instantiated from `O<97>' matp2.cpp:4: instantiated from `O<98>' matp2.cpp:4: instantiated from `O<99>' matp2.cpp:4: instantiated from `O<100>' matp2.cpp:4: instantiated from here matp2.cpp:4: error: creating array with size zero (`0') matp2.cpp: In instantiation of `O<99>': matp2.cpp:4: instantiated from `O<100>' matp2.cpp:4: instantiated from here matp2.cpp:4: error: creating array with size zero (`0') matp2.cpp: In instantiation of `O<100>': matp2.cpp:4: instantiated from here matp2.cpp:4: error: creating array with size zero (`0') matp2.cpp:4:126: warning: no newline at end of file
The desired numbers:
matp2.cpp: In instantiation of `O<1>': matp2.cpp: In instantiation of `O<4>': matp2.cpp: In instantiation of `O<6>': matp2.cpp: In instantiation of `O<8>': matp2.cpp: In instantiation of `O<9>': matp2.cpp: In instantiation of `O<10>': ... matp2.cpp: In instantiation of `O<93>': matp2.cpp: In instantiation of `O<94>': matp2.cpp: In instantiation of `O<95>': matp2.cpp: In instantiation of `O<96>': matp2.cpp: In instantiation of `O<99>': matp2.cpp: In instantiation of `O<100>':
EDIT: Hmm.
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Post subject: I'm just fooling around with C++ for fun
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
C++: This is just for fun. It doesn't give exactly the expected output, and even fails to be complied by any C++ compiler. However all the desired numbers (from 1 to 1000 skipping every number prime or divisible by 7) can be generated by the compiler through error messages. WARNING: Don't compile this unless you are using a very powerful PC (eg. that can run smoothly unoptimized bad games like Crysis and even GTA4 under WINE on Linux </lie>) and a robust C++ compiler with correct template-depth settings! Honestly, I've only tested numbers up to 100 by myself using GCC. You may also change the number 1000 in the source to around 100 to save time and compile.
#define T ;};template<int p
#define E {enum{r
#define S struct
{T,int i>S C E=p%i&&C<p,i-1>::r}T>S C<p,1>E=1}T>S C<1,p>E=0}T>S O E=C<p,p-1>::r};O<p-1> o;int x[r|!(p%7)]T>S O<0>{};O<1000> o;
UPDATE: Actually, you don't need main() at all!
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
I hate the noise :(
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
It seems that I shouldn't have been worried about whether this movie would be ignored. :P
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
Hmm, I think I've found the fix for the desync problem in GBA movies recorded from SRAM. It has already existed in earlier versions and was not just introduced in VBA v20. In file "src/movie.cpp":
static void SetRecordEmuSettings(void)
{
    /* ................... */
#if (defined(WIN32) && !defined(SDL))
    // What is this piece of code supposed to do? It just causes the desync problem in GBA movies recoded right after some key-combos like reset (Ctrl+R). Comment out the following line to fix it!
    if(GetAsyncKeyState(VK_CONTROL) == 0) // FIXME: Comment me out!
#endif
    if(!memLagTempEnabled)
        Movie.header.optionFlags |= MOVIE_SETTING_LAGHACK;
    Movie.header.gbEmulatorType = gbEmulatorType;

    Movie.header.optionFlags |= MOVIE_SETTING_GBCFF55FIX;
    extern int gbDMASpeedVersion;
        gbDMASpeedVersion = 1;
    /* ................... */
}
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Post subject: Who made these in 2008?
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
It seems that anyone who made at least 7 published movies can be nominated for Top producers of TASes: *Censored* - 7 1080 NES Super Mario Bros 1091 NES Little Samson 1129 GBA Castlevania - Aria of Sorrow 1164 NES Jackal 1198 GBA "Maxim Version" Castlevania: Harmony of Dissonance 1219 GB Ninja Gaiden Shadow 1222 GBA Castlevania: Harmony of Dissonance
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
I nominate my VBALR project then.
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
Hmm, what category will be obsolete once the "100% soul" gets submitted and published? I'm wondering since they will never allow a non-M game to have more than 3 categories. EDIT: BTW, are you "100% soul" TASers using the death glitch? I'm afraid that it would make the run simply display how fast you might get the best equipments and how much time you have to waste just for soul collection. Perhaps you may choose to deny that single glitch in order to show more actions...
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
Just as I expected, the published run has got beaten. :D EDIT: It was very weird that when I saw the previous run, I had a strong feeling that it would be improved not too long...
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
Mr. Kelly R. Flewin wrote:
o.O I never noticed this thread before, but I am definitely interested in more more more! Please don't stop!
Wow, thanks! This makes me see the hope! I may finish other incomplete runs before pick this up again though. Anyway, what run would the audience like to see? All worlds/levels? Small/Middle/Hidden/High World only? Some selected worlds/levels only?
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
This is absolutely awesome! Great job done! Though I doubt whether there will be much love for this... Something quite sad for all puzzle games. EDIT: I especially liked those TAS-only solutions.
6: Turning around on steel by building then digging is used for the 1st time here. GameFAQs said going right is impossible for this level. :)
I did go right the first time I'd beaten the same level. ;) EDIT 2: Oops.
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
It just cost me a few hours to finish the last few levels which had been left for very, very long: "Small World" run in 16:56.27! It seems that there's no love for this game in this community, so I'd upload it somewhere else. There can be a 9-frame improvement in Level 23, but I won't bother unless I change my mind.
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
I didn't expect that the detour would be so long. However, yeah, you are right! It can fly! Hmm, maybe higher strength can help later boss battles...
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
If only the bosses had been done faster. 5.5/Abstained.
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
Do you all really want that screenshot replaced? Then I'll do the job. What screenshot do you like the most?
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
I guess zggzdydp is working on an even faster Julius run right now.
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
You see, good games to play don't nececessarily make good movies to watch. [/biassed] Castlevania: I showed the old COTM "warpless", old COTM "warped" old HOD "maxim warped", JXQ's HOD "less warped", new HOD "any%" and new AOS "any%" to my friends. The results: Four watched the old COTM "warpless": * Two unfamiliar with Castlevania at all couldn't sit for it. * One unfamiliar with Castlevania watched it whole: "It's good, though not very impressive." * One familiar with it failed to watch the whole: "It feels good, but I have something more important to do now." Four watched the old COTM "warped": * Three unfamiliar with Castlevania at all commented "WT*!?" * One familiar with Castlevania commented "LOL" Two watched JXQ's HOD "less warped": * One unfamiliar with Castlevania: "How could he make so many CRITICAL's!? Didn't he really cheat?" * One familiar with GBA Castlevania: "How could he fly!?" Three watched the old HOD "maxim warped": * One unfamiliar with commented "WT*!? That's all!?" * One only familiar with NES Castlevania demanded seeing more. * One familiar with GBA Castlevania: "They really broke the game." Only one watched the new HOD "any%": * One familiar with GBA Castlevania: "I couldn't follow it very well. However I especially liked the floating". Three watched the new AOS "any%": * One unfamiliar with Castlevania at all: "LOL" * One unfamiliar with Castlevania at all: "What's going on?" * One familiar with GBA Castlevania: "You really broke it!" It seemed that people unfamiliar with COTM didn't enjoy COTM "warpless" very well.
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
I still support Arkanoid for NES and Sparkster for SNES, while I think The Lost Vikings for Genesis should be put in the SNES/Genesis category as it isn't very conceptional and you can give one more star to the SNES/Genesis category.
Baxter wrote:
Bezman wrote:
I'd like to agree with those who suggested a 'puzzle game' category
The real question is, which of the currently assigned 24 stars should it get? We mustn't give away stars to categories too quickly, the total number of stars is somewhat limited.
Currently we have already 547 published movies, whose 5% is around 27. Therefore, we can afford 1 or 2 more stars for now, and reserve 3 or 2 stars for future additions (and I guess we may have 600+ published movies then, which may enable 3 more stars).
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
I guess you are going to take the flying form as your ultimate choice...
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
I nominate the Metroid Fusion "100%" that is being published. Judging from the ratings, it's better appreciated than the published MZM "100%", even with lots of "unnecessary" dialogues. EDIT: And it shows the "linar" Metroid, which is different enough from Super Metroid.
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
Do you mean to say "it's better to show that cool movies can be made from cool games to watch than to show that cool movies can be made from boring games to watch"? EDIT 2: I'd say that the quotation was quite confusing and/or deceiving.
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
Baxter wrote:
Four other TASes that were suggested by single people (by arkiandruski and Klmz... they suggested a LOT) that weren't added: Marble Madness Snake Rattle n Roll Super Bomberman 2 Tetris 'fast 999999' Super Mario land If reasons for these are needed, I'll provide them, or if there are arguments why I should add them, let me know.
Marble Madness and Snake Rattle n Roll are both pseudo-3D games with difficult manoeuvres. If such a "category" is affordable with only a star, Snake Rattle n Roll is better due to its "2-player" and infamous difficulty. Tetris 'fast 999999' is a good movie, but I think Arkanoid 'warpless' is a better show. With regard to Super Mario Land...sorry, I haven't got the movie stay synced, while from what has been synced, I haven't been able to tell anything very impressive. EDIT: For movies that I haven't watched, I'll leave them for those who have watched them.
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
Yrr wrote:
Btw, when was the layout of TASVideos changed?
I guess it's been a while... less than month. I do miss the background colours of the wiki headings though.
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Editor, Emulator Coder, Experienced Forum User, Published Author, Expert player (2108)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
EDIT: Wow, this is really awesome! It's a little strange that Snes 9x's sound quality appears better this time... um, for some reasons, this run looks even better than the published S-*censored*, uh, never mind. EDIT 2: If this will be pubished, the "left+right" thing shall be fixed...
pirate_sephiroth wrote:
TCHBWAH!
What does that mean? Some English hints, please?
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do