*******************************************************************************************
***		    	iDmacX NESiCA System Emulator Version 1.1	   (12/07/2016)	***
***					Special Thanks,					***
***		       Community of 1cc, Dendygar, mAGoLoUCo, FlyBit			***
***											***
***	Homepage: http://8ch.net/1cc/index.html						***
***					      				      by FlyBit	***
*******************************************************************************************
[ Community of 1cc ] - Main Engine, technical data, tests and designer.
[ Dendygar ] - Technical data and tests.
[ mAGoLoUCo ] - Technical data of the pipe code. - Salve Galera!
[ FlyBit ] - Reversal of CryptServer, Nesys and RFiD. - Salve Galera!


********************** [ HISTORY ] **********************

First release (iDmacX v1.0):
- Support for joysticks and player2.
- CryptServer emulation support.
- DirectSound wrapper support.
- DirectX9c wrapper support.
- Window Mode Support.
- Poll of the joysticks improved.

Current version (iDmacX v1.1):
- Support for XBox control. (experimental)
- Support for joysticks using Winmm and GetAsyncKeystate. (experimental)
- Support for individual game options.
- Automatic creation of system registry keys, you need to start JConfig as administrator.
- Support the creation of the sv folder in the current directory.
- Nesys offline emulation support.
- RFiD emulation support.
- Added a fix to the main engine to assimilate coin in other games. [Thanks Dendygar]
(When you click on coin, you will probably add more than 1 coin (We will still fix it better)).
- Fixed bug in Rumble Fish 2. Error: "Not recognize Key Board";


********************** [ NOTES ABOUT JConfig ] **********************

- High Resolution: When disabled sends packets of data from a specific card, when enabled 
sends standard RFiD data packets.

- DirectSound Wrapper: Adds two more channels to the games that support this item.

- Direct3D9 Wrapper & DX Window Mode: Allows to leave some games in window mode, changing the resolution 
window and/or DirectX internal structure.

- Delay: Adds a pause in the poll loop of the joysticks.

- Reverse: Reverse the order of the joysticks.

- CreateThread for Joysticks: Creates a parallel thread to read the joysticks, not interfering with the flow  
the emulator's main engine. Disable this item when games are out of sync with the machine.

- Joystick Type: Four different types of readings for joysticks. DirectInput, Xinput, Winmm, GetAsyncKeystate.
Commands for GetAsyncKeyState.
P1START		[1]
P1COIN		[2]
P1SERVICE	[6]
P1UP		[W]
P1DOWN		[S]
P1LEFT		[A]
P1RIGHT		[D]
P1BUTTON1	[U]
P1BUTTON2	[I]
P1BUTTON3	[O]
P1BUTTON4	[J]
P1BUTTON5	[K]
P1BUTTON6	[L]
P2START		[3]
P2COIN		[4]
P2SERVICE	[7]
P2UP		[UP]
P2DOWN		[DOWN]
P2LEFT		[LEFT]
P2RIGHT		[RIGHT]
P2BUTTON1	[NUMPAD7]
P2BUTTON2	[NUMPAD8]
P2BUTTON3	[NUMPAD9]
P2BUTTON4	[NUMPAD4]
P2BUTTON5	[NUMPAD5]
P2BUTTON6	[NUMPAD6]
TESTMODE	[8]
EXIT		[9]

- XBox Single Joystick (Experimental): When the XBox control is connected together with some control:
Enabled: Generic Joystick1, Generic Joystick2, Xbox Joystick3, Xbox Joystick4;

Disable: Generic Joystick1 = Xbox Joystick1
	 Generic Joystick2 = Xbox Joystick2.

- DEADZONE Sensitivity: Changes the pickup sensitivity of the joystick axes.

- Button Settings [ NESiCA Settings ]:

-- Individual Settings:
Settings can be individual for each specific game.
CoinCredit 1 - Coins Active (Game requires coins)
	   0 - Free Playon (Game is FREE play)
ScreenVertical 0 = Horizontal Screen mode (Normal play mode)
	       1 = Vertical Screen mode (STATE mode)
Resolution 1 = HD mode 1280x720
	   0 = SD mode 640x480

To access the regedit options you need to run JConfig as an administrator.
-- Load Regedit: Allows access to the universal NESiCA settings.
Loads or Creates the options in the system registry.

-- Save Regedit: Saves changes to the system registry.

-- CryptServer Emulation: Enable/Disable emulation of cryptography keys.

-- Nesys Emulation: Enable/Disable Nesysservice offline emulation.

-- RFiD Emulation: Enable/Disable RFiD Card emulation.

-- Create the sv folder in the current directory: Creates the sv folder in the game directory.
Only two games do not work:
720 BlazBlue Chrono Phantasma
701 Do Not Fall - Run For Your Drink


********************** [ADDITIONAL NOTES] **********************

- 100% Typex, does not need the iDmacDrv32.dll file.
706 3D Cosplay Mahjong
875 Battle Fantasy
878 Goketsuji Ichizoku - Matsuri Senzo Kuyo

- 100% for Windows, you do not need the iDmacDrv32.dll file.
886 Spica Adventure.

- It does not work with Dinput. Use Winmm, GetAsyncKeyState or Xinput.
876 Dragon Dance
883 Space Invaders

Games that have no instruction, run directly from the executable.

******************************************************************
**		   >>706 3D Cosplay Mahjong			**
******************************************************************
- 3D Cosplay Mahjong is ttx_monitor

******************************************************************
**		>>1127 Akai Katana Shin - 302201		**
******************************************************************
- RFiDGod.dll
- Direct3D9 Wrapper

******************************************************************
**	     >>623 Aquapazza: Aquaplus Dream Match		**
******************************************************************
- d3d9.dll (to remove)
- RFiDGod.dll
- Nesysservice.exe
- Direct3D9 Wrapper

******************************************************************
**		    >>710 Arcana Heart 2 v2.1			**
******************************************************************

******************************************************************
**	     >>626 Arcana Heart 3 LOVE MAX SIX STARS 		**
******************************************************************
- d3d9.dll (to remove)
- RFiDGod.dll
- Nesysservice.exe
- Direct3D9 Wrapper

******************************************************************
**		       >>875 Battle Fantasia 			**
******************************************************************
- Battle Fantasia is ttx_monitor

******************************************************************
**		 >>720 BlazBlue Chrono Phantasma 		**
******************************************************************
REQUIRES THE USE OF A KEY. THE KEY FOR BLAZBLUE IS 302510.key
- RFiDGod.dll
- CryptServer.exe
- Direct3D9 Wrapper

******************************************************************
**		    BlazBlue Continuum Shift 2			**
******************************************************************
- RFiDGod.dll
- Direct3D9 Wrapper

******************************************************************
**	   >>702 Chaos Code - New Sign of Catastrophe  		**
******************************************************************
- Direct3D9 Wrapper (unstable)

******************************************************************
**		       >>707 Crimzon Clover 			**
******************************************************************
- RFiDGod.dll
- Nesysservice.exe

******************************************************************
**	  >>1124 Daemon Bride - Additional Gain[401901]		**
******************************************************************
- Direct3D9 Wrapper

******************************************************************
**	     >>701 Do Not Fall - Run For Your Drink 		**
******************************************************************
- RFiDGod.dll

******************************************************************
**			>>876 Dragon Dance 			**
******************************************************************
- Only works with "Winmm Only" or "GetAsyncKeyState Only"
- game.exe ou game_liong.exe

******************************************************************
**		      >>877 Elevator Action 			**
******************************************************************
- Direct3D9 Wrapper

******************************************************************
**		    >>629 En-Eins Perfektewelt 			**
******************************************************************
- Direct3D9 Wrapper (unstable)

******************************************************************
**			 >>634 Exception			**
******************************************************************
- opengl32.dll (to remove)
- RFiDGod.dll

******************************************************************
**	  >>878 Goketsuji Ichizoku - Matsuri Senzo Kuyo 	**
******************************************************************
- Goketsuji Ichizoku is ttx_monitor.

******************************************************************
**			 >>709 Homura 				**
******************************************************************

******************************************************************
**   >>884 Hyper Street Fighter II - The Anniversary Edition 	**
******************************************************************
- RFiDGod.dll

******************************************************************
**		 	>>630 Ikaruga 				**
******************************************************************
- RFiDGod.dll
- Nesysservice.exe
- Direct3D9 Wrapper

******************************************************************
** 	   >>881 King of Fighters 2002 Unlimited Match 		**
******************************************************************
- d3d9.dll (to remove)
- RFiDGod.dll
- Nesysservice.exe

******************************************************************
**	  >>880 King of Fighters 98 The Ultimate Match 		**
******************************************************************
- d3d9.dll (to remove)
- RFiDGod.dll
- Nesysservice.exe

******************************************************************
**		       >>1103 Magical Beat  			**
******************************************************************
REQUIRE THE USE OF A KEY. THE KEY FOR THIS GAME IS 302303.key
- RFiDGod.dll
- CryptServer.exe
- Nesysservice.exe
- Direct3D9 Wrapper

******************************************************************
**		    >>625 Nitroplus Blasterz 			**
******************************************************************
- d3d9.dll (to remove)
- RFiDGod.dll
- Nesysservice.exe
- Direct3D9 Wrapper

******************************************************************
**	  >>719 Persona 4 The Ultimax Ultra Suplex Hold 	**
******************************************************************
REQUIRES THE USE OF A KEY. THE KEY FOR PERSONA 4 IS 303108.key
- RFiDGod.dll
- CryptServer.exe
- Direct3D9 Wrapper

******************************************************************
** 	>>1558 Persona 4 - The Ultimate in Mayonaka Arena 	**
******************************************************************
- RFiDGod.dll
- CryptServer.exe
- Nesysservice.exe
- Direct3D9 Wrapper

******************************************************************
**		    >>708 Psychic Force 2012 			**
******************************************************************
- game.exe ou game2.exe

******************************************************************
**			>>632 Puzzle Bobble 			**
******************************************************************
- RFiDGod.dll
- Nesysservice.exe
- Direct3D9 Wrapper

******************************************************************
**			>>703 Raiden III 			**
******************************************************************
- Direct3D9 Wrapper

******************************************************************
**			>>705 Raiden IV				**
******************************************************************
- Direct3D9 Wrapper

******************************************************************
**			>>882 Rastan Saga 			**
******************************************************************
- Direct3D9 Wrapper

******************************************************************
**			>>638 Rumble Fish 2			**
******************************************************************
Release\game\game.exe -> Run direct from this folder

******************************************************************
**		>>1117 Senko no Ronde DUO v.2.35 		**
******************************************************************
- RFiDGod.dll
- Does not work with Nesysservice.exe on

******************************************************************
**			>>872 Skullgirls 			**
******************************************************************
- RFiDGod.dll
- Nesysservice.exe
- Direct3D9 Wrapper

******************************************************************
**			>>883 Space Invaders 			**
******************************************************************
- Only works with "Winmm Only" or "GetAsyncKeyState Only"

******************************************************************
**			>>886 Spica Adventure			**
******************************************************************
It's 100% for Windows
- Start = F1
- Coin = F2

******************************************************************
**		>>627 Strania The Stella Machina 		**
******************************************************************
- RFiDGod.dll
- Direct3D9 Wrapper
- Doesn't work with Nesysservice.exe on

******************************************************************
**		>>631 Street Fighter 3: Third Strike 		**
******************************************************************
- RFiDGod.dll

******************************************************************
**		   >>633 Street Fighter Zero 3 			**
******************************************************************
- RFiDGod.dll

******************************************************************
**		>>712 Suggoi! Arcana Heart 2 v2.6 		**
******************************************************************

******************************************************************
**		     >>885 Tottemo E Mahjong 			**
******************************************************************
- game.exe ou game2.exe
- Direct3D9 Wrapper

******************************************************************
** 	   >>628 Trouble Witches AC Amalgam no Joutachi 	**
******************************************************************
- Direct3D9 Wrapper

******************************************************************
**	    >>887 Vampire Savior - The Lord of Vampire		**
******************************************************************
- RFiDGod.dll

******************************************************************
**	    >>624 Yatagarasu Attack on Cataclysm		**
******************************************************************
- RFiDGod.dll
- Nesysservice.exe