Skip to content

Commit

Permalink
Merge pull request #193 from Asnivor/dev
Browse files Browse the repository at this point in the history
Production release
  • Loading branch information
Asnivor authored Jan 15, 2018
2 parents 25941e3 + 1838ec6 commit 148d75b
Show file tree
Hide file tree
Showing 35 changed files with 1,824 additions and 78 deletions.
9 changes: 9 additions & 0 deletions BuildTools/ChangeLog/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ title: Changelog
------------------------------------
* None as yet

##### [0.5.18.5](https://medlaunch.info/releases/0-5-18-5)
###### 2018-01-15
* (BugFix) - Fixed UI transparency issue
* (BugFix) - Fixed issues with games library sidebar text 'jumping' when changing the selected game
* (Enhancement) - Some non-system related mednafen key bindings can now be set within MedLaunch
* (Enhancement) - Added detection of system for discs (discs will be added to the correct system on import, even if they are in the wrong folder)
* (Enhancement) - Megadrive *.smd interleaved format games can now be imported. On game launch, if interleaving is detected, the ROM will be converted into the cache folder and launched from there (this is still experimental - its easier to ditch your old *.smd roms and get something newer)
* (BugFix) - MegaDrive 6-button pad was missing the 'mode' button in control configuration

##### [0.5.18.1](https://medlaunch.info/releases/0-5-18-1)
###### 2017-09-25
* (BugFix) - New version downloads don't stall at 100% anymore (but obviously you will still have to manually update until you are running this version)
Expand Down
2 changes: 1 addition & 1 deletion BuildTools/HomePage/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ title: Home
**MedLaunch** is a .NET (Windows only) front-end for the excellent [Mednafen](http://mednafen.fobby.net/) multi-system emulator.

### Production Releases
* Latest Production Version: 0.5.18.1
* Latest Production Version: 0.5.18.5
* [![Build status](https://ci.appveyor.com/api/projects/status/4maii9la7yb72bw8/branch/master?svg=true&passingText=Latest%20MASTER%20Build%20-%20OK&failingText=Lastest%20MASTER%20Build%20-%20FAILED&pendingText=Latest%20MASTER%20Build%20-%20IN%20PROGRESS)](https://ci.appveyor.com/project/Asnivor/medlaunch/branch/master)
* Direct Production Download: [LATEST](https://downloads.medlaunch.info/latest)
* Compatible with Mednafen: 0.9.39.x - 0.9.48
Expand Down
40 changes: 40 additions & 0 deletions BuildTools/ReleaseNotes/0.5.18.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Direct Download: [0.5.18.5](https://downloads.medlaunch.info/?download=0_5_18_5)

(The latest version can always be downloaded [HERE](https://downloads.medlaunch.info/?download=latest))

#### Release Notes

This is a relatively small release that brings the dev branch changes (from back in Sep 2017) into master.

#### Notable Additions
* (BugFix) - Fixed UI transparency issue
* (BugFix) - Fixed issues with games library sidebar text 'jumping' when changing the selected game
* (Enhancement) - Some non-system related mednafen key bindings can now be set within MedLaunch
* (Enhancement) - Added detection of system for discs (discs will be added to the correct system on import, even if they are in the wrong folder)
* (Enhancement) - Megadrive *.smd interleaved format games can now be imported. On game launch, if interleaving is detected, the ROM will be converted into the cache folder and launched from there (this is still experimental - its easier to ditch your old *.smd roms and get something newer)
* (BugFix) - MegaDrive 6-button pad was missing the 'mode' button in control configuration


#### New Install
- Extract this release to a folder, run the 'MedLaunch.exe' executable and choose your Mednafen directory (must be the Mednafen 0.9.39 - 0.9.46 - 64-bit version is required if you want to emulate Saturn games).
- You are then prompted to choose whether to import all config settings from your Mednafen folder into the MedLaunch database (this is recommended).
- If you currently use system-specific config files with Mednafen the settings from these will be imported with the above process. However MedLaunch will write to these files when you launch a game - so back them up somewhere if you are not happy with this.

#### Upgrade

##### Preferred Method:
- Automatically download and upgrade using the 'Updates' tab within MedLaunch itself.
- Ensure you have the a supported version of Mednafen installed (v0.9.39.x - v0.9.46.x)
- Once MedLaunch has upgraded, go to the 'Configs' tab and click the 'IMPORT ALL CONFIGS FROM DISK' button
- In settings change your mednafen directory if you installed the new version of mednafen somewhere else

##### Manual Method:
- You can safely extract this new release over an existing MedLaunch folder (providing you do not have MedLaunch running at the time)
- Once extracted run the MedLaunch.exe executable and your current database will be upgraded before the application starts proper.
- Once MedLaunch has upgraded, go to the 'Configs' tab and click the 'IMPORT ALL CONFIGS FROM DISK' button
- In settings change your mednafen directory if you installed the new version of mednafen somewhere else



There is also (still) an official MedLaunch mednafen server running in the UK. More details can be found here:
[http://node.asnitech.co.uk/](http://node.asnitech.co.uk/) and the server is automatically listed in the server browser within MedLaunch.
8 changes: 8 additions & 0 deletions BuildTools/downloads.medlaunch.info/versions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

// build data array
$downloads_array = array(
array(
'2018-01-15',
'0_5_18_5',
'https://github.com/Asnivor/MedLaunch/releases/download/0.5.18.5/MedLaunch_v0_5_18_5.zip',
'<a href="http://mednafen.fobby.net/releases/files/mednafen-0.9.39.2-win64.zip" class="btn btn-info btn-sm">0.9.39.x</a> - <a href="https://mednafen.github.io/releases/files/mednafen-0.9.48-win64.zip" class="btn btn-info btn-sm">0.9.48.x</a>',
'1'
),

array(
'2017-09-25',
'0_5_18_1',
Expand Down
7 changes: 5 additions & 2 deletions MedLaunch/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ private void ApplicationStart(object sender, StartupEventArgs e)


/* is the OS x64 or x86? */


// determine windows install drive letter
string letter = Path.GetPathRoot(Environment.GetFolderPath(Environment.SpecialFolder.System));

Expand All @@ -106,7 +108,8 @@ private void ApplicationStart(object sender, StartupEventArgs e)
IsX86 = true;
}



IsX86 = false;
var splashScreen = new SplashScreen(@"Data\Graphics\mediconsplash-new.png");
splashScreen.Show(false);
Current.ShutdownMode = ShutdownMode.OnExplicitShutdown;
Expand Down Expand Up @@ -136,7 +139,7 @@ private void ApplicationStart(object sender, StartupEventArgs e)

// instantiate ScrapeDB
//ScrapedData = new ScrapeDB();
ScrapeDB sdb = new ScrapeDB();
//ScrapeDB sdb = new ScrapeDB();



Expand Down
1 change: 1 addition & 0 deletions MedLaunch/Classes/Controls/VirtualDevices/Md.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public static DeviceDefinition SixButton(int VirtualPort)
new Mapping { Description = "LEFT ←", MednafenCommand = device.CommandStart +".gamepad6.left" },
new Mapping { Description = "RIGHT →", MednafenCommand = device.CommandStart +".gamepad6.right" },
new Mapping { Description = "START", MednafenCommand = device.CommandStart +".gamepad6.start" },
new Mapping { Description = "Mode", MednafenCommand = device.CommandStart +".gamepad6.mode" },
new Mapping { Description = "A", MednafenCommand = device.CommandStart +".gamepad6.a" },
new Mapping { Description = "B", MednafenCommand = device.CommandStart +".gamepad6.b" },
new Mapping { Description = "C", MednafenCommand = device.CommandStart +".gamepad6.c" },
Expand Down
120 changes: 120 additions & 0 deletions MedLaunch/Classes/Controls/VirtualDevices/MiscBindings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MedLaunch.Classes.Controls.VirtualDevices
{
public class MiscBindings
{
public static DeviceDefinition Misc(int VirtualPort)
{
DeviceDefinition device = new DeviceDefinition();
device.DeviceName = "Misc Bindings";
device.CommandStart = "command";
device.VirtualPort = 0;
device.MapList = new List<Mapping>
{
new Mapping { Description = "Save state 0 select", MednafenCommand = "command.0" },
new Mapping { Description = "Save state 1 select", MednafenCommand = "command.1" },
new Mapping { Description = "Save state 2 select", MednafenCommand = "command.2" },
new Mapping { Description = "Save state 3 select", MednafenCommand = "command.3" },
new Mapping { Description = "Save state 4 select", MednafenCommand = "command.4" },
new Mapping { Description = "Save state 5 select", MednafenCommand = "command.5" },
new Mapping { Description = "Save state 6 select", MednafenCommand = "command.6" },
new Mapping { Description = "Save state 7 select", MednafenCommand = "command.7" },
new Mapping { Description = "Save state 8 select", MednafenCommand = "command.8" },
new Mapping { Description = "Save state 9 select", MednafenCommand = "command.9" },
new Mapping { Description = "Activate barcode(for Famicom)", MednafenCommand = "command.activate_barcode" },
//new Mapping { Description = "Advance frame", MednafenCommand = "command.advance_frame" },
/*
new Mapping { Description = "Select virtual device on virtual input port 1", MednafenCommand = "command.device_select1" },
new Mapping { Description = "Select virtual device on virtual input port 2", MednafenCommand = "command.device_select2" },
new Mapping { Description = "Select virtual device on virtual input port 3", MednafenCommand = "command.device_select3" },
new Mapping { Description = "Select virtual device on virtual input port 4", MednafenCommand = "command.device_select4" },
new Mapping { Description = "Select virtual device on virtual input port 5", MednafenCommand = "command.device_select5" },
new Mapping { Description = "Select virtual device on virtual input port 6", MednafenCommand = "command.device_select6" },
new Mapping { Description = "Select virtual device on virtual input port 7", MednafenCommand = "command.device_select7" },
new Mapping { Description = "Select virtual device on virtual input port 8", MednafenCommand = "command.device_select8" },
new Mapping { Description = "Select virtual device on virtual input port 9", MednafenCommand = "command.device_select9" },
new Mapping { Description = "Select virtual device on virtual input port 10", MednafenCommand = "command.device_select10" },
new Mapping { Description = "Select virtual device on virtual input port 11", MednafenCommand = "command.device_select11" },
new Mapping { Description = "Select virtual device on virtual input port 12", MednafenCommand = "command.device_select12" },
*/
new Mapping { Description = "Exit", MednafenCommand = "command.exit" },
new Mapping { Description = "Fast-forward", MednafenCommand = "command.fast_forward" },
/*
new Mapping { Description = "Configure buttons on virtual port 1", MednafenCommand = "command.input_config1" },
new Mapping { Description = "Configure buttons on virtual port 2", MednafenCommand = "command.input_config2" },
new Mapping { Description = "Configure buttons on virtual port 3", MednafenCommand = "command.input_config3" },
new Mapping { Description = "Configure buttons on virtual port 4", MednafenCommand = "command.input_config4" },
new Mapping { Description = "Configure buttons on virtual port 5", MednafenCommand = "command.input_config5" },
new Mapping { Description = "Configure buttons on virtual port 6", MednafenCommand = "command.input_config6" },
new Mapping { Description = "Configure buttons on virtual port 7", MednafenCommand = "command.input_config7" },
new Mapping { Description = "Configure buttons on virtual port 8", MednafenCommand = "command.input_config8" },
new Mapping { Description = "Configure buttons on virtual port 9", MednafenCommand = "command.input_config9" },
new Mapping { Description = "Configure buttons on virtual port 10", MednafenCommand = "command.input_config10" },
new Mapping { Description = "Configure buttons on virtual port 11", MednafenCommand = "command.input_config11" },
new Mapping { Description = "Configure buttons on virtual port 11", MednafenCommand = "command.input_config12" },
*/
new Mapping { Description = "Detect analog buttons on physical joysticks/gamepads(for use with the input configuration process)", MednafenCommand = "command.input_config_abd" },
new Mapping { Description = "Configure command key", MednafenCommand = "command.input_configc" },
//new Mapping { Description = "Configure command key, for all-pressed-to-trigger mode", MednafenCommand = "command.input_configc_am" },
new Mapping { Description = "Insert coin", MednafenCommand = "command.insert_coin" },
new Mapping { Description = "Insert/Eject disk/disc", MednafenCommand = "command.insert_eject_disk" },
//new Mapping { Description = "Load movie", MednafenCommand = "command.load_movie" },
new Mapping { Description = "Load state", MednafenCommand = "command.load_state" },
/*
new Mapping { Description = "Movie 0 select", MednafenCommand = "command.m0" },
new Mapping { Description = "Movie 1 select", MednafenCommand = "command.m1" },
new Mapping { Description = "Movie 2 select", MednafenCommand = "command.m2" },
new Mapping { Description = "Movie 3 select", MednafenCommand = "command.m3" },
new Mapping { Description = "Movie 4 select", MednafenCommand = "command.m4" },
new Mapping { Description = "Movie 5 select", MednafenCommand = "command.m5" },
new Mapping { Description = "Movie 6 select", MednafenCommand = "command.m6" },
new Mapping { Description = "Movie 7 select", MednafenCommand = "command.m7" },
new Mapping { Description = "Movie 8 select", MednafenCommand = "command.m8" },
new Mapping { Description = "Movie 9 select", MednafenCommand = "command.m9" },
*/
new Mapping { Description = "Power toggle", MednafenCommand = "command.power" },
new Mapping { Description = "Reset", MednafenCommand = "command.reset" },
//new Mapping { Description = "Rotate screen", MednafenCommand = "command.rotate_screen" },
//new Mapping { Description = "Return to normal mode after advancing frames", MednafenCommand = "command.run_normal" },
//new Mapping { Description = "Save movie", MednafenCommand = "command.save_movie" },
new Mapping { Description = "Save state", MednafenCommand = "command.save_state" },
new Mapping { Description = "Select disk/disc", MednafenCommand = "command.select_disk" },
new Mapping { Description = "Slow-forward", MednafenCommand = "command.slow_forward" },
new Mapping { Description = "Rewind", MednafenCommand = "command.state_rewind" },
new Mapping { Description = "Decrease selected save state slot by 1", MednafenCommand = "command.state_slot_dec" },
new Mapping { Description = "Increase selected save state slot by 1", MednafenCommand = "command.state_slot_inc" },
//new Mapping { Description = "Take scaled(and filtered) screen snapshot", MednafenCommand = "command.take_scaled_snapshot" },
new Mapping { Description = "Take screen snapshot", MednafenCommand = "command.take_snapshot" },
/*
new Mapping { Description = "Toggle graphics layer 1", MednafenCommand = "command.tl1" },
new Mapping { Description = "Toggle graphics layer 2", MednafenCommand = "command.tl2" },
new Mapping { Description = "Toggle graphics layer 3", MednafenCommand = "command.tl3" },
new Mapping { Description = "Toggle graphics layer 4", MednafenCommand = "command.tl4" },
new Mapping { Description = "Toggle graphics layer 5", MednafenCommand = "command.tl5" },
new Mapping { Description = "Toggle graphics layer 6", MednafenCommand = "command.tl6" },
new Mapping { Description = "Toggle graphics layer 7", MednafenCommand = "command.tl7" },
new Mapping { Description = "Toggle graphics layer 8", MednafenCommand = "command.tl8" },
new Mapping { Description = "Toggle graphics layer 9", MednafenCommand = "command.tl9" },
*/
//new Mapping { Description = "Toggle debugger", MednafenCommand = "command.toggle_debugger" },
new Mapping { Description = "Toggle DIP switch view", MednafenCommand = "command.toggle_dipview" },
//new Mapping { Description = "Toggle frames-per-second display", MednafenCommand = "command.toggle_fps_view" },
//new Mapping { Description = "Toggle fullscreen mode", MednafenCommand = "command.toggle_fs" },
//new Mapping { Description = "Grab input", MednafenCommand = "command.toggle_grab" },
new Mapping { Description = "Toggle help screen", MednafenCommand = "command.toggle_help" },
//new Mapping { Description = "Toggle state rewind functionality", MednafenCommand = "command.toggle_state_rewind" },
//new Mapping { Description = "Enable/Disable cheats", MednafenCommand = "command.togglecheatactive" },
//new Mapping { Description = "Toggle cheat console", MednafenCommand = "command.togglecheatview" },
new Mapping { Description = "Toggle netplay console", MednafenCommand = "command.togglenetview" },
};

DeviceDefinition.PopulateConfig(device);
return device;
}
}
}
Loading

0 comments on commit 148d75b

Please sign in to comment.