Posts for Warepire

Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
It's not guaranteed to be a problem with your bot but a problem with the Gens emulation of the Genesis being slightly inaccurate. Do you have any other games for which there are TASes?
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
I just read that GetEnvironmentVariable is not made available on Windows 8 by including Windows.h like previously. To ensure compilation on Windows 8 if you're using this function somewhere the following is needed to be added for each file that uses the function:
#ifdef NTDDI_WIN8
#include processenv.h
#endif
(don't forget to add the < > around the include, the site parser removes the .h if I have them in the code-box.) Also in my previous function suggestion, turns out OSVER is a macro in windows.h and should probably be renamed.
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
Nach wrote:
If one wanted to go for something fresh to show it wasn't in the game, they should plaster TASVideos all over the screen. Maybe even recreate part of the site look in the game (screenshot loading is easy), along with some custom music, perhaps jumping between SMB Overworld, MM2 Wily Stage 1, Bloody Tears, to hit popular TAS franchises, and recognizable tunes.
Yes yes yes!
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
While I liked the current published TAS for the element of surprise in the end when the screen went black and code started filling the screen (almost like watching The Matrix) this TAS had a much more suitable, widely understandable payload and reaches it faster. Tough call, but I think that there is no other option but to vote Yes, and for Star.
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
libretro version of bsnes was fully updated to support bsnes version 0.92 last week. Perhaps BizHawk can be updated as well to have this new version of libretro? http://gitorious.org/bsnes/bsnes/commits/libretro
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
Wow... The sprites used when Croc moves to the left and right looks like he is completely brain dead This game is so bad, yet strangely entertaining. Yes vote for Moon publication. Now make it 100%.
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
Very nice improvement. Yes vote.
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
That sucks. I hope the game will cooperate more on level 4.
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
How's the TAS going?
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
I noticed in the source code that you want a more secure way of finding the OS version due to the current one becoming wrong when running Hourglass in compatibility mode. This is a bit hackish but it should give better results: Get major and minor version numbers of svchost.exe in the System32 folder, at least on XP, XP 64bit, Vista, Win7 and Win8 the major and minor version number is the same as the OS. The reason to use the svchost.exe file is that no program ever need it (so it is not likely it will ever have a compatibility version) and it's a corner stone of Windows (so it is not likely to be removed in future versions of Windows) The GetFileVersion-function in the Windows API should do the trick. EDIT: I was bored, here's an untested function I threw together, it may contain a few errors but it should be close enough to the final implementation to be of help.
Language: C++

enum OSVER { FAILED, XP, VISTA, WIN7, WIN8, }; // Returns the Windows version if it's a success. The value FAILED it returned if it doesn't succeed. OSVER GetWindowsVersion() { LPTSTR filename[MAX_PATH+1]; UINT value = GetWindowsDirectory(filename, MAX_PATH); if(value == 0) { errorlog("Failed to determinate Windows version, using old method."); return FAILED; } StringCchCat(filename, (size_t)value, _T("\\System32\\svchost.exe")); LPDWORD handle = NULL; UINT size = 0; LPBYTE buffer = NULL; DWORD infoSize = GetFileVersionInfoSize(filename, handle); if(infoSize != 0) { LPTSTR verInfo = new LPTSTR[infoSize]; BOOL verInfoSuccess = GetFileVersionInfo(filename, handle, infoSize, verInfo); if(verInfoSuccess != FALSE) { BOOL parseSuccess = VerQueryValue(verInfo, "\\",(LPVOID*)&buffer, &size); if (parseSuccess != FALSE && size > 0) { if (((VS_FIXEDFILEINFO *)verInfo)->dwSignature == 0xFEEF04BD) { int major = HIWORD(verInfo->dwFileVersionMS); int minor = LOWORD(verInfo->dwFileVersionMS); delete [] verInfo; // We no longer need to hold on to this. /* svchost.exe versions and their Windows counter parts: 5.2 = XP 6.0 = Vista 6.1 = Win7 6.2 = Win8 */ if(major == 5 && minor == 2) { return XP; } if(major == 6) { switch(minor) { case 0: { return VISTA; break; } case 1: { return WIN7; break; } case 2: { return WIN8; break; } default: { break; } } } errorlog("Unknown Windows version, update the function?"); return FAILED; } } } delete [] verInfo; } errorlog("Failed to determinate Windows version, using old method."); return FAILED; }
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
We're not responsible for the Wiimote emulation in Dolphin, you may be able to receive better help with your problem on the official Dolphin forums: http://forums.dolphin-emu.org/
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
got4n wrote:
Encode: Link to video
Fixed your video-embed.
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
Odongdong wrote:
You know what, I just found a critical mistake on stage 3. A textbox in the beginning can be skipped 21 frame earlier. Now I have to start it from here. Aw....
Maybe you can hex the remaining levels afterwards, so you don't have to re-do everything.
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
Looks good to me so far.
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
That is correct, it should produce a vbm. When you want to resume work on a vbm it can be done in 2 ways. First way is to play back the vbm using Tools -> Movie -> Play Movie... with Read Only mode marked and pausing one or two frames before the movie ends. When you reach pause you go into Tools -> Movie and unmark Read Only mode, then Tools -> Movie -> Resume Record From Now Second way is that you make a save-state, continue TASing for one or two frames, then when you want to resume you load the save state. I prefer the first way but both work equally good. The first way is however necessary if you later want to TAS with a more unstable emulator like Mupen or Dolphin.
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
Sounds like you are looking at the AVI Recording, that is not used when the TAS is made, that is for creating an .avi video when the TAS is finished. To create the TAS use this: With the ROM loaded: Tools -> Movie -> Record New Movie... Fill in Author (it makes it easier to see you made the movie if you submit here) Fill in Description if you want, but it's not necessary Record options is recommended to use "From start" and it's normally the only option that is allowed to submit. "From reset" is usually OK if you have a good reason to, but ask first if you want to submit the result to TASvideos. "From now" is useful if you want to demonstrate something short somewhere in the game. If something is explained badly or otherwise unclear, say so and I will try to explain better.
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
I think it's because all those systems count as home computers.
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
FractalFusion wrote:
TheKDX7 wrote:
Thank you to have put that. But I think that they made a mistake for January 2013 they put back TAS of January 2012 if to look at you in the video.
By the way, you guys didn't forget the 2012 yearly ranking, right?
I was actually unaware of that they did yearly rankings.
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
TheKDX7 wrote:
Warepire wrote:
TheKDX7 wrote:
Had anybody forgotten? December 2012 rankings: http://www.nicovideo.jp/watch/sm19822546
Embedded it for you: -video- And here is January 2013 rankings: -video-
Thank you to have put that. But I think that they made a mistake for January 2013 they put back TAS of January 2012 if to look at you in the video.
You're right, I've removed the embed. Thanks for catching that.
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
TheKDX7 wrote:
Had anybody forgotten? December 2012 rankings: http://www.nicovideo.jp/watch/sm19822546
Embedded it for you: Link to video
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
There is a little problem with hacks however, while I don't know how this one has been made some hacks do things that work in older emulators because they are inaccurate but doesn't work in emulators like bsnes. If there is the case that an entertaining hack will not work on the more accurate emulator due to shoddy coding, should we accept a TAS made on an inaccurate emulator or not accept the hack at all? Two threads on the matter: http://www.smwcentral.net/?p=viewthread&t=50310 + http://www.smwcentral.net/?p=viewthread&t=42475
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
ALAKTORN wrote:
Warepire wrote:
I would like to suggest that there should be a notes field for each address in case it has a special behavior that you do not want to put in the address "name" (Description).
I think you’re misinterpreting something that’s just a list of games with addresses, the first coloumn says how many and the “View…” is to actually view said addresses
I don't think I am misinterpreting something. Since you can download a BizHawk wch file constructed from the address list of a given game the description is most conveniently kept short like "X-speed" or "Boss HP". In some games addresses can have really weird behavior that takes quite a bit of words to describe. Some examples: (forgive the self-plug, I remember my own searches faster than others) • http://tasvideos.org/forum/viewtopic.php?p=336392#336392http://tasvideos.org/forum/viewtopic.php?p=329049#329049 (and basically the entire next page) Fitting such massive descriptions in the Description field will be annoying when watching them in RAM Watch. It may cause problems in the wch file (I don't know how BizHawk handles them).
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
A very cool idea! I would like to suggest that there should be a notes field for each address in case it has a special behavior that you do not want to put in the address "name" (Description). I also second the motion that all editor-levels and players shall be able to contribute to this list.
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
A crazy question: From where on your harddrive are you executing the emulator?
Warepire
He/Him
Editor, Experienced Forum User
Joined: 3/2/2010
Posts: 2174
Location: A little to the left of nowhere (Sweden)
DeliciousOctorok wrote:
I uploaded another WIP, but I still don't know how to post the input files.
The WIP looks really nice, the speed boost trick is a really cool find! To post the .pjm you can upload it anywhere you want really, and then post the link. If you don't want to worry about your file expiring you can most conveniently upload it to the TASvideos userfiles directory. Here's a quick step by step on how to do that: • Log in on TASvideos.org (Different from the forum, click the Login link on top of the homepage, use your forum username and password) • Click on the "your own storage" link on the resulting page once you logged in. • Click on the "Your movies" link right above the "Users with movies" list. • Follow the form. You can ignore the Game drop-down list since this game has no previous published movies. • You should get a link after clicking the "Create" button at the bottom, copy that link and paste it into this thread (either in a new post or by editing one of your existing posts) I hope that cleared it up, if it didn't, I will try again.