Changelog: Jun 13, 2009 - r67, r66, r65 r67 - win32 - add internal audio buffer for avi writer r66 - separated "Lua drawings in image" from "Text in image", gui.gdscreenshot now overlays uncommited Lua drawings if needed. r65 - _WIN32, __WIN32, __WIN32__ => WIN32 May 09, 2009 - r63 fixed some issues with the linux build and added a few feature like Lua support and -ignoreframes for encoders Apr 27, 2009 - r62 1.43 change #92 (Quick fix for the issue that the current working directory is changed by snes9x, the script host. (I think this fix is incomplete, when a function which is provided by snes9x changes the current directory unintentionally, the current directory will be lost anyway)) Apr 24, 2009 - r61 added gui.clearuncommitted for easy flicker reduction when gui.register can't be used Apr 21, 2009 - r60 improved gui.popup (win32), added input.popup Apr 20 - 2009 - r59, r58, r57, r56, r55, r54 r59 - Small SFMT changes. r58 - Changed the draw timing of Lua GUI (use gui.register to display something) r57 - added full superscope/mouse/justifier support to joypad.get() and joypad.set(), added joypad.gettype() and joypad.settype() for checking or changing what type of controller is plugged into each port, made joypad.get()/joypad.set() first argument optional, fixed bug where frame and lag counter looked corrupted if input display got too wide, added autodetect of a couple common games needing mouse or superscope in case NRST headers aren't found r56 - 1.43 change #80 and #81 (gui.gdoverlay improvements, D&D behavior) r55 - increasing V1_RR_UNOFFICIAL for the same reason as it was done in the 1.43 branch (so we don't drop old savestate compatibility) r54 - more convenient hotkey setup for frame/lag counters Apr 19, 2009 - r53, r52 r53 - gocha's change #78 to 1.43 (Hi-res support for gui.gdscreenshot, Added StretchScreenshots to cfg file.) + my change #79 to 1.43 (made gui.gdoverlay act like it does in Gens (i.e. full transparency support, coordinates are optional, extra transparency modifier allowed), and unrestricted input.get mouse coords) r52 - mainly savestate and reset desync fixes similar to the ones done on the 1.43 branch Apr 12, 2009 - r51, r50 r51 - Replaced math.random and math.randomseed with SFMT version, because C rand's quality is bad, generally speaking. r50 - made the savestate compression level configurable in the emulator settings menu, and chose a faster compression level as the default Apr 10, 2009 - r49 added gui.getpixel, saved lua filename to config so reload will work across sessions, added savestate.verify in debug for catching/testing desyncs, minor script load dialog improvements (done by nitsuja for 1.43) Apr 08, 2009 - r48, r47 r48 - tried to fix 1.43 issue 10 (http://code.google.com/p/snes9x143-rerecording/issues/detail?id=10) r47 - added "TV Width Pixels" video menu option, added scanline-free "bright" versions of Blargg's NTSC filter, and (probably) fixed NTSC filter modes showing garbage in the rightmost 1 pixel column Apr 01, 2009 - r46 fix for a crash when closing snes9x (nitsuja, 1.43 revision 61) Mar 31, 2009 - r45, r44, r43 r45 - Added something ugly which is not used after all (24/32 bit color version of render method for Lua GUI) r44 - input.get added r43 - fix for leaking .luasav files of anonymous savestates Mar 30, 2009 - r42 fixing a bunch of warnings, turning up the Release mode optimization level, and adding a vcproj.user file to make Lua script reloading not insanely slow by default when running from the debugger in Release mode (if you've opened the project before, you'll have to delete your snes9xw.vcproj.COMPUTERNAME.USERNAME.user file for this last change to take effect) Mat 29, 2009 - r41, r40, r39, r38 r41 - Fixed wrong default opacity of gui.text. r40 - Fixed the crash on Lua external module use (thanks our hero nitsuja!) r39 - Added gui.opacity, SHIFT, alternative names for certain methods. r38 - Lua savestate register (nitsuja provided it, and I modified it a bit for 1.51 use, though I didn't test it at all) Mar 26, 2009 - r37, r36 r37 - str2colour bugfix, gui.drawbox optimization. Removed (commented out) the clipping code from gui.text. r36 - Lua now uses the small font of Gens. Modified S9xLuaWriteInform to handle bank mirroring (Thanks nitsuja for contributing these changes). | Changed color order from "#aarrggbb" to "#rrggbbaa" (Gens compatible) Mar 24, 2009 - r35, r34 r35 - Added lua source codes to the project instead of linking to the static library. Fixed some of "exit silently" behaviors. r34 - Changed the location of lua directory Mar 23, 2009 - r33 Enabled file manipulation on file browse dialog | Cut Win98 support off again, because it brings some inconvenience. Mar 22, 2009 - r32 Fixed KeyUp handling again | added menu items for sound interface switching Mar 21, 2009 - r31 removed emu.OnClose | experimental addition of snes9x.registerbefore, snes9x.registerafter, snes9x.registerexit | added snes9x.framecount, snes9x.lagcount, snes9x.lagged | changed Lua GUI font-width Mar 20, 2009 - r30, r29, r28, r27 r30 - Disabled fast-forward status message | Fixed KeyUp handling r29 - Merged WAV/AVI Record/Stop command r28 - Forgot to add new files in previous revision. I feel dumb. r27 - Removed modal cheat search | Name change: Cheat Search => RAM Search | Moved RAM Search codes from wsnes9x.cpp to another file Mar 19, 2009 - r26 various win32 sound fixes Mar 16, 2009 - r25, r24 r25 - new option OldFashionedFrameCounter r24 - fixed random crash on exit Mar 15, 2009 - r23 Merged new sound code from OV2's Snes9x Direct3D Mar 13, 2007 - r22 sln+vcproj upgrade (to open these with VS2005, modify sln version 10.00 => 9.00, and vcproj version 9.00 => 8.00) | DirectX SDK upgrade Mar 07, 2009 - r21 inserted chdir code before lua_load for dofile Mar 05, 2009 - r20, r19 r20 - quick fix for Mystical Ninja pipe sound... hope it won't cause another problem. r19 - added memory.readdword, memory.writedword, memory.readbyterange Mar 03, 2009 - r18 ported emu.OnClose from FCEUX source Feb 28, 2009 - r17, r16 r17 - Added secret joypad buttons (b1, b2, b3) for custom input display support. r16 - Changed joypad.read to return the actual input which will be sent to SNES (e.g. movie input) Feb 22, 2009 - r15 Lua improvements (same as 1.43-rr r24-27) Feb 21, 2009 - r14 Expanded lua graphic buffer from 16bit to 32bit. Feb 18, 2009 - r13 Ported lua-scripting from snes9x-rr 1.43. I didn't touch unix/*.cpp yet, see ./lua_todo.patch if you plan to add the lua code. Also, there is a little problem => Issue 3 (http://code.google.com/p/snes9x151-rerecording/issues/detail?id=3) Feb 15, 2009 - r12 set D3DCREATE_FPU_PRESERVE at D3D CreateDevice() call, for future additional lua module support Jan 04, 2009 - r11, r10 r11 - little lag-counter fix r10 - simple platform-dependent snapshot code for temporary solution for lag counter Nov 08, 2008 - r9, r8, r7, r6, r5, r4, r3, r2 r9 - it doesn't need decode certainly, but needs to set block pointer. r8 - feels dumb, xsmp_count as well... r7 - ch->nb_* should be 0 after snapshot load for the time being :/ r6 - S9xFixSoundAfterSnapshotLoad() : set needs_decode always true is wrong, fixed. prepare to add some sound variables in savestate (I think I'll add them after I ask zones.) r5 - fixed spc dump after snapshot load (spc_dump_dsp removed) r4 - fix release build r3 - fix vs2005 build r2 - initial upload