What's new

Demul -window mode screen resolution o problem

vrilski

New member
I have a problem with setting a higher resolution in windowed mode.
When you select a resolution of 1920x1080 or 1600x900 emulator runs only once in the resolution.
The next launch emulator - back to the 640x480 resolution
Why emulator does not remember settings ???
 

MetalliC

Demul developer
most likely you installed emulator to some folder where it haven't write permission/rights, so it simply cant save .ini files to his folder.
 
OP
V

vrilski

New member
Ok I tried to install Demul to c: \ Demul - now works properly: D
The problem is different:
I use Demul in Hyperspin + rocketlauncher on my tablet Surface Pro 2 (IntelHD
Graphics Card ) .
When Demul run without Hyperspin + RocketLuncher emulator function properly.
Saves the settings and remember the screen resolution.
If the launch Demul in RocketLuncher first start properly.
Next run Demul change the settings back to 640x480.
It rocketlauncher changes the resolution Demul.
But where is the problem :(.
 

Artman99

New member
HS will send it's own settings to Demul via autohotkey command line. You need to edit your demul(v0.xx) .ini in the RLauncher or Hyperlaunch module folder to the settings you want. Those settings will carry over to your launched demul window, regardless of what your demul .ini actually has in it.

You can also edit the module on a per-game basis in the RLauncherUI, but this forum is not the place for a full-on HS/RL tutorial. The HS forums are the place for that.
 
OP
V

vrilski

New member
Thanks :)

I ask such a question on the forum Rlauncher but nobody answered me on this problem :(

I was looking in the C: \ rocketlauncher \ Modules \ Demul \ demul.ini but I do not see the settings causing the problem :(

Code:
# Glboal Settings:
# GlobalMax -										true (gives a windowed mode full screen, not true fullscreen), fullscreen (sets demul to go true fullscreen), false (demul runs in a normal window)
# MaxHideTaskbar -							If Max is true, hides the taskbar.
# GlobalPlugin -									Choices are gpuDX11, gpuDXv3, and gpuDXLegacy
# GlobalShaderUsePass 1 & 2 -		If true, turns on shader support for demul globally. (shaders are only supported using gpuDX11 video plugin)
# GlobalShaderNamePass 1 & 2 -	The shader to use for all games that do not have a custom shader defined in their section. Options are FXAA, HDR-TV, SCANLINES, CARTOON, RGB DOT(MICRO), RGB DOT(TINY), BLUR
# Per-Game Settings:
# Controls -											the controls prefix you want this game to use. Default is Standard if not set. For example to use driving controls, set this key to driving, and it will load the driving_JAMMA0_0 and driving_JAMMA0_1 profiles.
# Bios -													Set the number to the bios you want to use. Blank is automatic. Get this from setting the bios in the emu, then opening the demul ini and seeing what number it was set to.
# Max -													true (gives a windowed mode full screen, not true fullscreen), fullscreen (sets demul to go true fullscreen), false (demul runs in a normal window). Overrides the global setting.
# Plugin -												Choices are gpuDX11, gpuDXv3, and gpuDXLegacy, Overrides the global setting.
# ShaderUsePass 1 & 2 -					If true, turns on shader support for demul per-rom. (shaders are only supported using gpuDX11 video plugin). Overrides the global setting.
# ShaderNamePass 1 & 2 -				These are the shaders you want to use per-rom. Options are FXAA, HDR-TV, SCANLINES, CARTOON, RGB DOT(MICRO), RGB DOT(TINY), BLUR. Overrides the global setting.
[Settings]
ControllerCode = 16777216
MouseCode = 131072
KeyboardCode = 1073741824
LightgunCode = -2147483648
LastControlUsed =atvtrack
GlobalMax=fullscreen
MaxHideTaskbar =true
GlobalPlugin =gpuDX11
GlobalShaderUsePass1 =false
GlobalShaderUsePass2 =false
GlobalShaderNamePass1 =
GlobalShaderNamePass2 =

#/////////////////////////////////////// NAOMI & ATOMISWAVE CONTROLS //////////////////////////////////////////

[standard_JAMMA0_0]
PUSH1 =29
PUSH2 =56
PUSH3 =57
PUSH4 =42
PUSH5 =44
PUSH6 =45
PUSH7 =46
PUSH8 = 23
SERVICE = 71
START =2
COIN =8
DIGITALUP =72
DIGITALDOWN =80
DIGITALLEFT =75
DIGITALRIGHT =77
ANALOGUP = 33554689
ANALOGDOWN = 33554433
ANALOGLEFT = 33554688
ANALOGRIGHT = 33554432
ANALOGUP2 = 33554693
ANALOGDOWN2 = 33554437
ANALOGLEFT2 = 33554690
ANALOGRIGHT2 = 33554434

[standard_JAMMA0_1]
PUSH1 =30
PUSH2 =31
PUSH3 =16
PUSH4 =17
PUSH5 =18
PUSH6 =26
PUSH7 =27
PUSH8 =0
SERVICE = 0
START =3
COIN =9
DIGITALUP =19
DIGITALDOWN =33
DIGITALLEFT =32
DIGITALRIGHT =34
ANALOGUP = 0
ANALOGDOWN = 0
ANALOGLEFT = 0
ANALOGRIGHT = 0
ANALOGUP2 = 0
ANALOGDOWN2 = 0
ANALOGLEFT2 = 0
ANALOGRIGHT2 = 0

[sfstyle_JAMMA0_0]
PUSH1 =0
PUSH2 =56
PUSH3 =57
PUSH4 =42
PUSH5 = 44
PUSH6 =45
PUSH7 =46
PUSH8 =60
SERVICE =60
START =29
COIN =8
DIGITALUP =0
DIGITALDOWN =0
DIGITALLEFT =0
DIGITALRIGHT =0
ANALOGUP =72
ANALOGDOWN =80
ANALOGLEFT =75
ANALOGRIGHT =77
ANALOGUP2 = 33554693
ANALOGDOWN2 = 33554437
ANALOGLEFT2 = 33554690
ANALOGRIGHT2 = 33554434

[sfstyle_JAMMA0_1]
PUSH1 =0
PUSH2 =0
PUSH3 =0
PUSH4 =0
PUSH5 =0
PUSH6 =0
PUSH7 =0
PUSH8 =0
SERVICE = 0
START =0
COIN =0
DIGITALUP =0
DIGITALDOWN =0
DIGITALLEFT =0
DIGITALRIGHT =0
ANALOGUP = 0
ANALOGDOWN = 0
ANALOGLEFT = 0
ANALOGRIGHT = 0
ANALOGUP2 = 0
ANALOGDOWN2 = 0
ANALOGLEFT2 = 0
ANALOGRIGHT2 = 0

[ggxstyle_JAMMA0_0]
PUSH1 = 46
PUSH2 = 18
PUSH3 = 44
PUSH4 = 20
PUSH5 = 21
PUSH6 = 45
PUSH7 = 22
PUSH8 = 23
SERVICE = 71
START = 38
COIN = 39
DIGITALUP = 200
DIGITALDOWN = 208
DIGITALLEFT = 203
DIGITALRIGHT = 205
ANALOGUP = 33554689
ANALOGDOWN = 33554433
ANALOGLEFT = 33554688
ANALOGRIGHT = 33554432
ANALOGUP2 = 33554693
ANALOGDOWN2 = 33554437
ANALOGLEFT2 = 33554690
ANALOGRIGHT2 = 33554434

[ggxstyle_JAMMA0_1]
PUSH1 = 50
PUSH2 = 47
PUSH3 = 48
PUSH4 = 24
PUSH5 = 25
PUSH6 = 49
PUSH7 = 16
PUSH8 = 17
SERVICE = 0
START = 19
COIN = 51
DIGITALUP = 72
DIGITALDOWN = 76
DIGITALLEFT = 75
DIGITALRIGHT = 77
ANALOGUP = 0
ANALOGDOWN = 0
ANALOGLEFT = 0
ANALOGRIGHT = 0
ANALOGUP2 = 0
ANALOGDOWN2 = 0
ANALOGLEFT2 = 0
ANALOGRIGHT2 = 0

[reverse_JAMMA0_0]
PUSH1 =56
PUSH2 =57
PUSH3 =29
PUSH4 =42
PUSH5 =44
PUSH6 =45
PUSH7 =46
PUSH8 =6
SERVICE =60
START =2
COIN =8
DIGITALUP =72
DIGITALDOWN =80
DIGITALLEFT =75
DIGITALRIGHT =77
ANALOGUP = 33554689
ANALOGDOWN = 33554433
ANALOGLEFT = 33554688
ANALOGRIGHT = 33554432
ANALOGUP2 = 33554693
ANALOGDOWN2 = 33554437
ANALOGLEFT2 = 33554690
ANALOGRIGHT2 = 33554434

[reverse_JAMMA0_1]
PUSH1 =31
PUSH2 =16
PUSH3 =30
PUSH4 =17
PUSH5 =18
PUSH6 =26
PUSH7 =27
PUSH8 =7
SERVICE = 0
START =3
COIN =9
DIGITALUP =19
DIGITALDOWN =33
DIGITALLEFT =32
DIGITALRIGHT =34
ANALOGUP = 0
ANALOGDOWN = 0
ANALOGLEFT = 0
ANALOGRIGHT = 0
ANALOGUP2 = 0
ANALOGDOWN2 = 0
ANALOGLEFT2 = 0
ANALOGRIGHT2 = 0

[driving_JAMMA0_0]
PUSH1 =42
PUSH2 =44
PUSH3 =57
PUSH4 =40
PUSH5 =20
PUSH6 =0
PUSH7 =0
PUSH8 =0
SERVICE =59
START =2
COIN =8
DIGITALUP =0
DIGITALDOWN =0
DIGITALLEFT =0
DIGITALRIGHT =0
ANALOGUP =29
ANALOGDOWN =56
ANALOGLEFT =75
ANALOGRIGHT =77
ANALOGUP2 =0
ANALOGDOWN2 = 33554437
ANALOGLEFT2 = 33554690
ANALOGRIGHT2 = 33554434

[driving_JAMMA0_1]
PUSH1 =0
PUSH2 =0
PUSH3 =0
PUSH4 =0
PUSH5 =0
PUSH6 =0
PUSH7 =0
PUSH8 =0
SERVICE = 0
START =0
COIN =0
DIGITALUP =0
DIGITALDOWN =0
DIGITALLEFT =0
DIGITALRIGHT =0
ANALOGUP = 0
ANALOGDOWN = 0
ANALOGLEFT = 0
ANALOGRIGHT = 0
ANALOGUP2 = 0
ANALOGDOWN2 = 0
ANALOGLEFT2 = 0
ANALOGRIGHT2 = 0

[18wheel_JAMMA0_0]
PUSH1 =57
PUSH2 =46
PUSH3 =0
PUSH4 =44
PUSH5 =42
PUSH6 = 0
PUSH7 =6
PUSH8 = 0
SERVICE =60
START =2
COIN =8
DIGITALUP =72
DIGITALDOWN =80
DIGITALLEFT =0
DIGITALRIGHT =0
ANALOGUP =29
ANALOGDOWN =56
ANALOGLEFT =75
ANALOGRIGHT =77
ANALOGUP2 = 33554693
ANALOGDOWN2 = 33554437
ANALOGLEFT2 = 33554690
ANALOGRIGHT2 = 33554434

[18wheel_JAMMA0_1]
PUSH1 =0
PUSH2 =0
PUSH3 =0
PUSH4 =0
PUSH5 =0
PUSH6 =0
PUSH7 =0
PUSH8 =0
SERVICE = 0
START =0
COIN =0
DIGITALUP =0
DIGITALDOWN =0
DIGITALLEFT =0
DIGITALRIGHT =0
ANALOGUP = 0
ANALOGDOWN = 0
ANALOGLEFT = 0
ANALOGRIGHT = 0
ANALOGUP2 = 0
ANALOGDOWN2 = 0
ANALOGLEFT2 = 0
ANALOGRIGHT2 = 0

[jambodriving_JAMMA0_0]
PUSH1 =42
PUSH2 =57
PUSH3 =44
PUSH4 =0
PUSH5 =0
PUSH6 =0
PUSH7 =0
PUSH8 =0
SERVICE =60
START =2
COIN =8
DIGITALUP =72
DIGITALDOWN =80
DIGITALLEFT =0
DIGITALRIGHT =0
ANALOGUP =29
ANALOGDOWN =56
ANALOGLEFT =75
ANALOGRIGHT =77
ANALOGUP2 = 0
ANALOGDOWN2 = 0
ANALOGLEFT2 =0
ANALOGRIGHT2 =0

[jambodriving_JAMMA0_1]
PUSH1 =0
PUSH2 =0
PUSH3 =0
PUSH4 =0
PUSH5 =0
PUSH6 =0
PUSH7 =0
PUSH8 =0
SERVICE = 0
START =0
COIN =0
DIGITALUP =0
DIGITALDOWN =0
DIGITALLEFT =0
DIGITALRIGHT =0
ANALOGUP = 0
ANALOGDOWN = 0
ANALOGLEFT = 0
ANALOGRIGHT = 0
ANALOGUP2 = 0
ANALOGDOWN2 = 0
ANALOGLEFT2 = 0
ANALOGRIGHT2 = 0

[wldrider_JAMMA0_0]
PUSH1 =42
PUSH2 = 0
PUSH3 =0
PUSH4 =0
PUSH5 = 0
PUSH6 =45
PUSH7 =46
PUSH8 =6
SERVICE =60
START =2
COIN =8
DIGITALUP =0
DIGITALDOWN =0
DIGITALLEFT =0
DIGITALRIGHT =0
ANALOGUP =29
ANALOGDOWN =0
ANALOGLEFT =75
ANALOGRIGHT =77
ANALOGUP2 =72
ANALOGDOWN2 =80
ANALOGLEFT2 =56
ANALOGRIGHT2 =57

[wldrider_JAMMA0_1]
PUSH1 =0
PUSH2 =0
PUSH3 =0
PUSH4 =0
PUSH5 =0
PUSH6 =0
PUSH7 =0
PUSH8 =0
SERVICE = 0
START =0
COIN =0
DIGITALUP =0
DIGITALDOWN =0
DIGITALLEFT =0
DIGITALRIGHT =0
ANALOGUP = 0
ANALOGDOWN = 0
ANALOGLEFT = 0
ANALOGRIGHT = 0
ANALOGUP2 = 0
ANALOGDOWN2 = 0
ANALOGLEFT2 = 0
ANALOGRIGHT2 = 0

[fps_JAMMA0_0]
PUSH1 =42
PUSH2 =29
PUSH3 =0
PUSH4 =0
PUSH5 =46
PUSH6 =6
PUSH7 =21
PUSH8 =22
SERVICE =60
START =0
COIN =8
DIGITALUP =44
DIGITALDOWN =45
DIGITALLEFT =0
DIGITALRIGHT =0
ANALOGUP =72
ANALOGDOWN =80
ANALOGLEFT =56
ANALOGRIGHT =57
ANALOGUP2 =0
ANALOGDOWN2 =33
ANALOGLEFT2 =75
ANALOGRIGHT2 =77

[fps_JAMMA0_1]
PUSH1 =0
PUSH2 =0
PUSH3 =0
PUSH4 =0
PUSH5 =0
PUSH6 =0
PUSH7 =0
PUSH8 =0
SERVICE = 0
START =0
COIN =0
DIGITALUP =0
DIGITALDOWN =0
DIGITALLEFT =0
DIGITALRIGHT =0
ANALOGUP = 0
ANALOGDOWN = 0
ANALOGLEFT = 0
ANALOGRIGHT = 0
ANALOGUP2 = 0
ANALOGDOWN2 = 0
ANALOGLEFT2 = 0
ANALOGRIGHT2 = 0

[samba_JAMMA0_0]
PUSH1 =29
PUSH2 =6
PUSH3 =0
PUSH4 =0
PUSH5 =0
PUSH6 =0
PUSH7 =0
PUSH8 =0
SERVICE = 71
START =2
COIN =8
DIGITALUP =72
DIGITALDOWN =80
DIGITALLEFT =75
DIGITALRIGHT =77
ANALOGUP = 33554693
ANALOGDOWN = 33554437
ANALOGLEFT = 33554690
ANALOGRIGHT = 33554434
ANALOGUP2 = 33554689
ANALOGDOWN2 = 33554433
ANALOGLEFT2 = 33554688
ANALOGRIGHT2 = 33554432

[samba_JAMMA0_1]
PUSH1 =57
PUSH2 =0
PUSH3 =0
PUSH4 =0
PUSH5 =0
PUSH6 =0
PUSH7 =0
PUSH8 =0
SERVICE = 0
START =3
COIN =9
DIGITALUP =56
DIGITALDOWN =44
DIGITALLEFT =42
DIGITALRIGHT =45
ANALOGUP = 0
ANALOGDOWN = 0
ANALOGLEFT = 0
ANALOGRIGHT = 0
ANALOGUP2 = 0
ANALOGDOWN2 = 0
ANALOGLEFT2 = 0
ANALOGRIGHT2 = 0

[Club Kart_JAMMA0_0]
PUSH1 = 24
PUSH2 = 25
PUSH3 = 48
PUSH4 = 49
PUSH5 = 50
PUSH6 = 47
PUSH7 = 16
PUSH8 = 17
SERVICE = 0
START = 19
COIN = 51
DIGITALUP = 72
DIGITALDOWN = 76
DIGITALLEFT = 75
DIGITALRIGHT = 77
ANALOGUP = 0
ANALOGDOWN = 0
ANALOGLEFT = 0
ANALOGRIGHT = 0
ANALOGUP2 = 0
ANALOGDOWN2 = 0
ANALOGLEFT2 = 0
ANALOGRIGHT2 = 0

#/////////////////////////////////////// SEGA NAOMI CART //////////////////////////////////////////

[18whlrur]
Controls = 18wheel
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[cspike]
Controls =standard
Bios=8 - Naomi epr-21577h (USA)
ListSorting=true
[jambo]
Controls = jambodriving
Bios=8 - Naomi epr-21577h (USA)
ListSorting=true
[mbaa]
Controls =standard
ListSorting=true
Bios=0 - Naomi epr-21576h (Japan)
[pjustic]
Controls =standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[sl2007]
LoadDecrypted=
Controls=standard
ListSorting=true

[confmiss]
Controls =standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[dygolf]
Controls =standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[lupinsho]
Controls =standard
Bios=8 - Naomi epr-21577h (USA)
ListSorting=true
[meltyba]
Controls = ggxstyle
ListSorting=true
[meltybld]
Controls =standard
ListSorting=true
[mok]
Controls =standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)

[clubkrte]
Controls =ClubKart
ListSorting=true
Bios=33 - Naomi 2 epr-23608c (Export)


[anmlbskt]
Plugin = gpuDX11
Controls=standard
ListSorting=true
LoadDecrypted=false
ShaderUsePass1=false
ShaderUsePass2=false
[demofist]
Plugin = gpuDX11
Controls=standard
ListSorting=true
[dirtypig]
Plugin = gpuDX11
Controls=standard
ListSorting=true
[dolphin]
Plugin = gpuDX11
Controls=standard
ListSorting=true
[fotns]
Controls =standard
Plugin = gpuDX11
ListSorting=true
[ftspeed]
Plugin = gpuDX11
Controls=driving
ListSorting=true
[ggisuka]
Controls =standard
Plugin = gpuDX11
ListSorting=true
[ggx15]
Plugin = gpuDX11
Controls=standard
ListSorting=true
[kofxi]
Plugin = gpuDX11
Controls=standard
ListSorting=true
[kofnw]
Controls =standard
Plugin = gpuDX11
ListSorting=true
[kofnwj]
Controls = sfstyle
Plugin = gpuDX11
[kov7sprt]
Plugin = gpuDX11
Controls=standard
ListSorting=true
[maxspeed]
Plugin = gpuDX11
Controls=driving
ListSorting=true
[mslug6]
Plugin = gpuDX11
Controls=standard
ListSorting=true
[ngbc]
Plugin = gpuDX11
Controls=standard
ListSorting=true
[rangrmsn]
Controls = lightgun
Plugin = gpuDX11
ListSorting=true
[rumblef]
Controls =standard
Plugin = gpuDX11
[rumblef2]
Plugin = gpuDX11
Controls=standard
ListSorting=true
[salmankt]
Plugin = gpuDX11
[samsptk]
Plugin = gpuDX11
Controls=standard
[sprtshot]
Controls =standard
Plugin = gpuDX11
ListSorting=true
[vfurlong]
Plugin = gpuDX11
[xtrmhunt]
Controls =standard
Plugin = gpuDX11
ListSorting=true
[xtrmhnt2]
Controls =standard
Plugin = gpuDX11
ListSorting=true
[ggram2]
Controls=standard
ListSorting=true
[gram2000]
Controls=standard
ListSorting=true
[gwing2]
Controls=standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[illvelo]
Controls=standard
ListSorting=true
[toukon4]
Controls=standard
ListSorting=true
[vs2_2k]
Controls=reverse
Bios=8 - Naomi epr-21577h (USA)
ListSorting=true
[vtennis]
ListSorting=true
Controls=standard
Bios=8 - Naomi epr-21577h (USA)
[wrungp]
Controls=wldrider
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[zerogu2]
Controls=standard
ListSorting=true
[spkrbtl]
Controls=standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[tetkiwam]
Controls=standard
ListSorting=true
[vtennis2]
Controls=standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[asndynmt]
Controls=standard
Bios=8 - Naomi epr-21577h (USA)
ListSorting=true
[ausfache]
Controls=standard
ListSorting=true
[azumanga]
Controls=standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[bdrdown]
Controls=standard
Bios=8 - Naomi epr-21577h (USA)
ListSorting=true
[cfield]
Controls=standard
ListSorting=true
[cleoftp]
Controls=standard
ListSorting=true
Bios=14 - Naomi epr-21578g (Export)
[zombrvn]
Controls=standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[wwfroyal]
Controls=standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[deathcox]
Controls=standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[trgheart]
Controls=standard
ListSorting=true
[csmash]
Controls=standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[cvs2gd]
Controls=standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[doa2]
Controls=standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[doa2m]
Controls=standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[hotd2]
Controls=standard
ListSorting=true
[sgtetris]
Controls=standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[ClubKart_JAMMA0_0]
PUSH1=57
PUSH7=46
PUSH8=23
PUSH2=0
PUSH3=0
PUSH4=0
PUSH5=0
PUSH6=0
SERVICE=71
START=2
COIN=8
DIGITALUP=72
DIGITALDOWN=80
DIGITALLEFT=0
DIGITALRIGHT=0
ANALOGUP=29
ANALOGDOWN=56
ANALOGLEFT=75
ANALOGRIGHT=77
ANALOGUP2=0
ANALOGDOWN2=0
ANALOGLEFT2=0
ANALOGRIGHT2=0
[crzytaxi]
Controls=driving
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[ggx]
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
Controls=standard
[chocomk]
Controls=standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[ggxx]
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
Controls=standard
[ggxxac]
Controls=standard
ListSorting=true
[ggxxrl]
Controls=standard
ListSorting=true
[ggxxsla]
Controls=standard
ListSorting=true
[gundmgd]
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
Controls=standard
[gundmxgd]
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
Controls=standard
[gunsur2e]
ListSorting=true
Controls=fps
[virnbao]
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
Controls=standard
[jingystm]
ListSorting=true
Controls=standard
[ikaruga]
ListSorting=true
Controls=standard
Bios=8 - Naomi epr-21577h (USA)
[karous]
ListSorting=true
Controls=standard
[kurucham]
Controls=standard
ListSorting=true
[mamonoro]
ListSorting=true
Controls=standard
[mbaaa]
ListSorting=true
Controls=standard
[meltyb]
ListSorting=true
Controls=standard
[monkeyba]
ListSorting=true
Controls=sfstyle
Bios=8 - Naomi epr-21577h (USA)
[mvsc2]
Controls=standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[otrigger]
Controls=standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[pstone]
ListSorting=true
Controls=standard
Bios=8 - Naomi epr-21577h (USA)
[pstone2]
ListSorting=true
Controls=standard
Bios=8 - Naomi epr-21577h (USA)
[psyvar2]
Controls=standard
ListSorting=true
[puyoda]
Controls=standard
ListSorting=true
[puyofev]
ListSorting=true
Controls=standard
[radirgy]
Controls=standard
ListSorting=true
[radirgyn]
Controls=standard
ListSorting=true
[ringout]
ListSorting=true
Controls=ringout4x4
Bios=8 - Naomi epr-21577h (USA)
[ringout4x4_JAMMA0_0]
PUSH1=29
PUSH2=57
PUSH3=0
PUSH4=0
PUSH5=44
PUSH6=45
PUSH7=46
PUSH8=23
SERVICE=71
START=2
COIN=8
DIGITALUP=0
DIGITALDOWN=0
DIGITALLEFT=0
ANALOGUP=56
ANALOGDOWN=80
ANALOGLEFT=75
ANALOGRIGHT=77
[ringout4x4_JAMMA0_1]
PUSH1=30
PUSH2=16
PUSH3=0
PUSH4=0
PUSH5=0
PUSH6=26
PUSH7=27
PUSH8=0
SERVICE=0
START=3
COIN=8
DIGITALUP=0
DIGITALDOWN=0
DIGITALLEFT=0
DIGITALRIGHT=0
ANALOGUP=31
ANALOGDOWN=0
ANALOGLEFT=32
ANALOGRIGHT=34
[senko]
ListSorting=true
Controls=standard
[senkosp]
Controls=standard
ListSorting=true
[sfz3ugd]
ListSorting=true
Controls=standard
[shikgam2]
ListSorting=true
Controls=standard
Bios=13 - Naomi epr-21578h (Export)
[slasho]
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
Controls=standard
[sprtjam]
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
Controls=standard
[ss2005]
ListSorting=true
Controls=standard
[sstrkfgt]
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
Controls=segastrikefighter
[segastrikefighter_JAMMA0_0]
PUSH1=29
PUSH2=56
PUSH3=57
PUSH4=42
PUSH5=0
PUSH6=0
PUSH7=46
PUSH8=23
SERVICE=71
START=2
COIN=8
DIGITALUP=0
DIGITALDOWN=0
DIGITALLEFT=0
DIGITALRIGHT=0
ANALOGUP=72
ANALOGDOWN=80
ANALOGLEFT=75
ANALOGRIGHT=77
ANALOGUP2=44
ANALOGDOWN2=45
[starseek]
Controls=standard
ListSorting=true
[takoron]
ListSorting=true
Controls=standard
[toyfight]
ListSorting=true
Controls=standard
Bios=8 - Naomi epr-21577h (USA)
[undefeat]
Controls=standard
ListSorting=true
[vathlete]
ListSorting=true
Controls=standard
Bios=8 - Naomi epr-21577h (USA)
[spawn]
Controls=standard
ListSorting=false
Bios=8 - Naomi epr-21577h (USA)
Plugin=gpuDX10
ShaderUsePass1=false
ShaderUsePass2=false
[hmgeo]
Controls=standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
Plugin=gpuDX10
[vstrik3c]
Controls=standard
ListSorting=true
Bios=31 - Naomi 2 epr-23607b (USA)
[trizeal]
Controls=standard
ListSorting=true
[ninjaslt4]
Controls=Standard
ListSorting=true
Bios=8 - Naomi epr-21577h (USA)
[vonot]
Controls=samba
Bios=8 - Naomi epr-21577h (USA)
ListSorting=true
[atvtrack_JAMMA0_0]
PUSH1=36
PUSH2=0
PUSH3=0
PUSH4=0
PUSH5=0
PUSH6=0
PUSH7=0
PUSH8=0
SERVICE=71
START=2
COIN=8
DIGITALLEFT=56
DIGITALRIGHT=57
DIGITALDOWN=0
DIGITALUP=0
ANALOGUP=29
ANALOGDOWN=0
ANALOGLEFT=75
ANALOGRIGHT=77
ANALOGUP2=0
ANALOGDOWN2=0
ANALOGLEFT2=0
ANALOGRIGHT2=0
[smashingdrive_JAMMA0_0]
PUSH1=29
PUSH2=56
PUSH3=57
PUSH4=0
PUSH5=0
PUSH6=0
PUSH7=0
PUSH8=0
SERVICE=71
START=2
COIN=8
ANALOGLEFT=75
ANALOGRIGHT=77
DIGITALUP=0
DIGITALDOWN=0
DIGITALLEFT=0
DIGITALRIGHT=0
ANALOGUP=0
ANALOGDOWN=0
ANALOGUP2=0
ANALOGDOWN2=0
ANALOGLEFT2=0
ANALOGRIGHT2=0
[atvtrack]
Controls=atvtrack
ListSorting=true
Max=true
Plugin=gpuDX11
[smshdrv]
Controls=smashingdrive
Max=true
ListSorting=true
Plugin=gpuDX11
 

Artman99

New member
Try changing the [Settings] portion of your HS Demul ini to match below (there are additional lines added directly after "GlobalShaderNamePass2 =")

Code:
[Settings]
ControllerCode = 16777216
MouseCode = 131072
KeyboardCode = 1073741824
LightgunCode = -2147483648
LastControlUsed =standard
GlobalMax=fullscreen
MaxHideTaskbar =true
GlobalPlugin =gpuDX11
GlobalShaderUsePass1 =false
GlobalShaderUsePass2 =false
GlobalShaderNamePass1 =
GlobalShaderNamePass2 =
Fullscreen=truefullscreen
Plugin=gpuDX11
ShaderUsePass1=false
ShaderUsePass2=false
ListSorting=true
InternalResolutionScale=1
HideDemulGUI=true

If you don't want a "truefullscreen" image (i.e. - you want it windowed), then just change that word to "windowed" or "windowedfullscreen". The window/full screen settings in Demul are over-written by the HS Demul module ini, which is why the above code needs to be correct. I can't imagine why you would want windowed or windowed fullscreen, unless you're doing something with the fade in. But I've found the HS fade and Demul tend not to play very nice together.

Also ensure your gpuDX11.ini file is set appropriately via the video settings within Demul - the windows size settings are there if you really want windowed. After adjusting the settings and closing Demul, you may want to set the gpuDX11.ini to read-only so the settings stay locked, but that's up to you.

Anyway - give that a try. - A
 
OP
V

vrilski

New member
Thank you very much for the info :)

This way for me or not working :(
I change demul.ini in rocketlauncher setings "windowed" or "windowed fullscreen" and it does not work.
If you change the settings demul video to 1920x1080 and start RockeLauncher emulator start only
once in the correct resolution .Nastepne start going back to 640x480 :(
Rocketlauncher automatically change the settings to demul ustawieć early.
I try to change gpuDX11.ini read-only but rocketlauncher shows me the error:

Code:
08:22:48:433 | MD |     INFO  | +0     | Module Setting - [standard_JAMMA0_1] - DIGITALRIGHT: 
08:22:48:433 | MD |     INFO  | +0     | Module Setting - [standard_JAMMA0_1] - ANALOGUP: 
08:22:48:433 | MD |     INFO  | +0     | Module Setting - [standard_JAMMA0_1] - ANALOGDOWN: 
08:22:48:433 | MD |     INFO  | +0     | Module Setting - [standard_JAMMA0_1] - ANALOGLEFT: 
08:22:48:433 | MD |     INFO  | +0     | Module Setting - [standard_JAMMA0_1] - ANALOGRIGHT: 
08:22:48:433 | MD |     INFO  | +0     | Module Setting - [standard_JAMMA0_1] - ANALOGUP2: 
08:22:48:433 | MD |     INFO  | +0     | Module Setting - [standard_JAMMA0_1] - ANALOGDOWN2: 
08:22:48:433 | MD |     INFO  | +0     | Module Setting - [standard_JAMMA0_1] - ANALOGLEFT2: 
08:22:48:433 | MD |     INFO  | +0     | Module Setting - [standard_JAMMA0_1] - ANALOGRIGHT2: 
08:22:48:433 | MD |     INFO  | +0     | Module - Demul is reading the config with videomode = 0
08:22:48:434 | MD |     INFO  | +0     | Module - Demul is updating the config with videomode = 0
08:22:48:434 | MD |     INFO  | +0     | Module - Demul is configured with 2 rom path(s). Scanning these for a romPath to this rom.
08:22:48:434 | MD |     INFO  | +0     | Module - Path0: C:\Users\VRil\Desktop\Nowy folder\roms\
08:22:48:434 | MD |     INFO  | +0     | Module - Path1: C:\Users\VRil\Desktop\demul\games\
08:22:48:434 | MD |     INFO  | +0     | Module - Stopping search because Demul is already configured with the correct romPath to this rom: C:\Users\VRil\Desktop\demul\games\
[COLOR="#FF0000"]08:22:48:434 | MD |  WARNING  | +0     | Module - Turning off Fade_Out because it doesn't let Demul exit properly.
08:22:48:434 | MD |     INFO  | +0     | CheckFile - Checking if C:\Users\VRil\Desktop\demul\gpuDX11.ini exists
08:22:49:708 | MD |    ERROR  | +1279  | ScriptError - RL_getFileEncoding - Exception thrown:[/COLOR]

08:22:49:708 | MD |     INFO  | +0     | ExitModule - Started
08:22:49:708 | MD |     INFO  | +0     | Starting Updating Statistics:
08:22:49:770 | MD |     INFO  | +62    | Game section statistics updated.
08:22:49:770 | MD |     INFO  | +0     | ExitModule - Ended
08:22:49:770 | MD |     INFO  | +0     | End of Module Logs
08:22:49:894 | RL |     INFO  | +1638  | Main - Module ended, exiting RocketLauncher normally
08:22:49:894 | RL |     INFO  | +0     | ExitScript - Started
08:22:50:112 | RL |     INFO  | +219   | SystemCursor - Restoring mouse cursor
08:22:50:112 | RL |     INFO  | +0     | ExitScript - Ended]



My RL.ahk:

Code:
MCRC=BCDA734B
MVersion=1.0

; This library allows access to various supported methods for the RocketLauncher.dll

;--- Startup Function ---

; Required to create the RL dll object before using any of the dll's methods
RL_start(file) {
	try {
		If !FileExist(file)
		{	MsgBox, 16, Error, Missing %file%, 5
			ExitApp
		}
		CLR_Start()
		If !hModule := CLR_LoadLibrary(file)
			ScriptError("Error loading the DLL: " . file)
		If !Object := CLR_CreateObject(hModule,"RocketLauncher.Utils.MainDriver")
			ScriptError("Error creating object. There may be something wrong with the dll file: " . file)
		Return Object
	}
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

initDllObject(ByRef dllObject) {
  Global RLObject

  If (!dllObject)
    dllObject := RLObject
}


;--- Zip Functions ---

; Sets the path to the 7z Library
; public void set7zdllPath(String sevenzdllPath)
RL_set7zdllPath(sevenzdllPath,ByRef dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.set7zdllPath(sevenzdllPath)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Returns the first found file inside a supported archive when only supplying an extension. Returns empty string if no matches are found.
; public String findByExtension(String zipfilepath, String extensions)
RL_findByExtension(zipfilepath,extension  s,dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.findByExtension(zipfilepath,ex  tensions)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Returns the length of the path for deepest file inside the archive. This can be used to check if extracting an archive won't break the 255 character limit that exists in Windows.
; public int getLongestPathSize(String zipfilepath)
RL_getLongestPathSize(zipfilepath,dllObj  ect="") {
    initDllObject(dllObject)

	try
		Return dllObject.getLongestPathSize(zipfilepath  )
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Returns the number of files inside the archive (folders are not considered).
; public int getZipFileCount(String zipfilepath)
RL_getZipFileCount(zipfilepath,dllObject  ="") {
    initDllObject(dllObject)

	try
		Return dllObject.getZipFileCount(zipfilepath)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Returns a | separated string of all files inside a supported archive. Also returns the compression method for each file. Output format is "filename 1|compression type/filename 2|compression type/..." This can be useful for example to debug situations while the progress bar stays at 0% for a while due to the compression method used
; public String getZipFileList(String zipfilepath)
RL_getZipFileList(zipfilepath,dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.getZipFileList(zipfilepath)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Check if compressed files contain illegal filename characters which wouldn't allow it to be uncompressed under Windows. This is needed for the WinUAE module for example as some invalid Windows characters are actually valid AmigaDOS filenames. Returns 1 - Has invalid chars; 0 - No invalid chars
; public int checkInvalidCharacters(String zipfilepath)
RL_checkInvalidCharacters(zipfilepath,dl  lObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.checkInvalidCharacters(zipfile  path)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Searches for a specific file inside a supported archive. The first file matching the conditions will be returned. Returns empty string if no matches are found
; public String findFileInZip(String zipfilepath, String filenames, String extensions)
RL_findFileInZip(zipfilepath,filenames,e  xtensions,dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.findFileInZip(zipfilepath,file  names,extensions)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Returns the uncompressed size in bytes, or size on disk, of all files an archive will use when extracted.
; public ulong getZipExtractedSize(String zipfilepath)
RL_getZipExtractedSize(zipfilepath,dllOb  ject="") {
    initDllObject(dllObject)

	try
		Return dllObject.getZipExtractedSize(zipfilepat  h)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Returns a | separated string of the current file being extracted and a percentage for the global extraction. Used as a method to determine extraction progress. Only use the Fast Extraction Mode (mode=1) when you are expecting a folder with hundreds of small files inside it otherwise always use the Accurate one (mode=0).
; public String getExtractionProgress(String extractionPath, long totalSize, int mode)
RL_getExtractionProgress(extractionPath,  totalSize,mode,dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.getExtractionProgress(extracti  onPath,totalSize,mode)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Returns a | separated string of the current file being extracted and current size on disk. Used as a method to determine extraction progress. Only use the Fast Extraction Mode (mode=1) when you are expecting a folder with hundreds of small files inside it otherwise always use the Accurate one (mode=0).
; public String getExtractionSize(String path, int mode)
RL_getExtractionSize(path,mode,dllObject  ="") {
    initDllObject(dllObject)

	try
		Return dllObject.getExtractionSize(path,mode)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Returns the size in bytes of the specified folder and all it's contents including sub-folders. Only use the Fast Extraction Mode (mode=1) when you are expecting a folder with hundreds of small files inside it otherwise always use the Accurate one (mode=0).
; public long getFolderSize(String path, int mode)
RL_getFolderSize(path,mode,dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.getFolderSize(path,mode)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Detects if the specified archive contains a unique folder as the archive root. It will return an empty String if there are multiple folders in the archive root or if any file is found in the archive root
; public String getZipRootFolder(String zipfilepath)
RL_getZipRootFolder(zipfilepath,dllObjec  t="") {
    initDllObject(dllObject)

	try
		Return dllObject.getZipRootFolder(zipfilepath)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}


;--- PDF Functions ---

; Converts a PDF file to several PNG files (one per page). firstPage and lastPage are optional and if not provided it will convert the whole PDF file. PNG files will be generated to outputPath and will be named pageX.png where X is the page number.
; public void generatePngFromPdf(String inputPath, String outputPath, int dpiResolution, int maximumHeight = 0, int firstPage = 1, int lastPage = 0, String pageLayout = null)
RL_generatePngFromPdf(inputPath,outputPa  th,dpiResolution,maximumHeight=0,firstPa  ge=1,lastPage=0,pageLayout="null",dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.generatePngFromPdf(inputPath,o  utputPath,dpiResolution,maximumHeight,fi  rstPage,lastPage,pageLayout)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Returns the number of pages of a PDF file
; public int getPdfPageCount(String inputPath, String pageLayout = null)
RL_getPdfPageCount(inputPath,pageLayout="null",dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.getPdfPageCount(inputPath,page  Layout)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}


;--- Controller Functions ---

; Returns a binary string with 16 characters representing the 16 possible joystick ports windows supports. Example 1100000000000000. A 1 represents a joystick is in that port, 0 means no joystick. You read the binary from left to right with left most number being port 0 and right most port being port 15 (16 ports in total).
; public String getConnectedJoysticks()
RL_getConnectedJoysticks(dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.getConnectedJoysticks()
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}


;--- Module Functions ---

; Checks if a Module CRC matches the one in the module header can also test Library or Extensions
; For Module CRC Checking use: checkModuleCRC(PATH_TO_AHK_FILE, "", true)
; For Ahk Library CRC Checking (CLR,Gdip,etc.) use: checkModuleCRC(PATH_TO_AHK_FILE, CRC_VALUE, false)
; For RocketLauncher Extensions Checking (Pause,FadeAnimations,etc.) use: checkModuleCRC(PATH_TO_AHK_FILE, "", false)
; Returns: -1 - Module file not found; 0 - CRC doesn't match; 1 - CRC matches; 2 - Module has no CRC defined on the header
; public int checkModuleCRC(string fileName, string crc, bool isModule)
RL_checkModuleCRC(fileName,crc,isModule,  dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.checkModuleCRC(fileName,crc,is  Module)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}


;--- Rom Functions ---

; Validates if the contents of a CUE file is valid, namely if all files referenced by it exist. Returns 0-If CUE is invalid, 1-If CUE is valid, 2-If CUE cannot be found.
; public int validateCUE(String cueFilePath)
RL_validateCUE(cueFilePath,dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.validateCUE(cueFilePath)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

;  Validates if GDI file is valid, namely if all files referenced by it exist. Returns 0-If GDI is invalid, 1-If GDI is valid, 2-If GDI cannot be found, 3-If Invalid Double Quotes were found.
; public int validateGDI(String gdiFilePath, bool acceptDoubleQuotes)
RL_validateGDI(gdiFilePath,acceptDoubleQ  uotes,dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.validateGDI(gdiFilePath,accept  DoubleQuotes)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Searches CUE file for tracks with the specified file extensions. Useful to determine if mp3 files are being referenced by the CUE file for example since Daemon Tools Lite won't support them. Returns 0-Not found, 1-Found, 2-CUE file cannot be found, 3-CUE is invalid.
; public int findCUETracksByExtension(String cueFilePath, String file_extensions)
RL_findCUETracksByExtension(cueFilePath,  file_extensions,dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.findCUETracksByExtension(cueFi  lePath,file_extensions)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Lists all files referenced by the provided CUE file split with the | character. The CUE file won't be validated so make sure you call validateCUE before calling this method if you want to be sure the file is valid. cueIndex=0 will list all entries, cueIndex=1 will list only the first entry and so on.
; public String listCUEFiles(String cueFilePath, int cueIndex = 0)
RL_listCUEFiles(cueFilePath,cueIndex=0,d  llObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.listCUEFiles(cueFilePath,cueIn  dex)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}


;--- File Functions ---

; Reads file contents with a certain length and starting with a specified offset. Return data read, if an invalid mode is specified will return ERROR.
; public String readFileData(String filePath, int startOffset, int bytesToRead, String mode)
RL_readFileData(filePath,startOffset,byt  esToRead,mode,dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.readFileData(filePath,startOff  set,bytesToRead,mode)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Gets the File Encoding from a file based on the byte order mark (BOM) character in a text file if one exists. If the BOM character isn't set or not recognized it will return an empty string.
; public String getFileEncoding(String filePath)
RL_getFileEncoding(filePath,dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.getFileEncoding(filePath)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Removes BOM character from a text file if it exists. Returns 1-If BOM character was removed; 0-If there was nothing to remove.
; public int removeBOM(String filePath)
RL_removeBOM(filePath,dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.removeBOM(filePath)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}


;--- Service Functions ---

; Returns status of the service. Returns -1 if status could not be determined; 0 if not running; 1 if running.
; public int getServiceStatus(String serviceName)
RL_getServiceStatus(serviceName,ByRef dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.getServiceStatus(serviceName)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}


;--- Display Functions ---

; Checks if it's possible to change the display settings to the desired values. Returns 1 is it's possible, error message otherwise.
; public String checkDisplaySettings(String displayName, uint width, uint height, uint bitDepth, uint frequency)
RL_checkDisplaySettings(displayName,widt  h,height,bitDepth,frequency,dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.checkDisplaySettings(displayNa  me,width,height,bitDepth,frequency)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Changes display settings to the specified values. Returns 1 if change succeeded, error message otherwise.
; public String changeDisplaySettings(String displayName, uint width, uint height, uint bitDepth, uint frequency)
RL_changeDisplaySettings(displayName,wid  th,height,bitDepth,frequency,dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.changeDisplaySettings(displayN  ame,width,height,bitDepth,frequency)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Returns display settings for the specified monitor in format: width|height|bits|frequency|orientation
; public String getDisplaySettings(String displayName)
RL_getDisplaySettings(displayName,dllObj  ect="") {
    initDllObject(dllObject)

	try
		Return dllObject.getDisplaySettings(displayName  )
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}


;--- Windows Functions ---

; Returns the language in which the Windows UI is displayed right now. This might be different from the windows install UI if there's a MUI or LIP installed.
; public String getWindowsUILanguage()
RL_getWindowsUILanguage(dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.getWindowsUILanguage()
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Returns the Locale specified for formats. This should be exposed by Control Panel >> Region and Language >> Formats
; public String getFormatsLocale()
RL_getFormatsLocale(dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.getFormatsLocale()
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Returns the encoding for the operating system's current ANSI code page.
; public String getTextEncoding()
RL_getTextEncoding(dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.getTextEncoding()
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Returns the current system locale. This controls the language used when displaying text in programs that do not support Unicode. Should be exposed by ControlPanel >> Region and Language >> Administrative >> Change System Locale.
; public String getSystemLocale()
RL_getSystemLocale(dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.getSystemLocale()
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}


;--- Log Functions ---

; Sets current Log Mode. newlogMode can be one of: 0-Disabled; 1-Log to File (RocketLauncher.DLL.log); 2-Log to Memory (use readLogData() to retrieve log entries).
; public void setLogMode(String newlogMode, int newFile, String logThread)
RL_setLogMode(newlogMode,newFile,logThre  ad,ByRef dllObject="") {
    initDllObject(dllObject)

    try
        Return dllObject.setLogMode(newlogMode,newFile,  logThread)
    catch
        ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Redirects log to a different file other than the default one. Default name is RocketLauncher.DLL.log
; public void setLogFilename(String filename)
RL_setLogFilename(filename,dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.setLogFilename(filename)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Returns all log entries from memory
; public String readLogData()
RL_readLogData(dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.readLogData()
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Writes all log entries from memory to the log file
; public void writeLogData()
RL_writeLogData(dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.writeLogData()
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}


;--- Security Functions ---

; Verifies if the specified password is valid
; public int VerifyPassword(String plainValue, String hashedValue)
RL_VerifyPassword(plainValue,hashedValue  ,dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.VerifyPassword(plainValue,hash  edValue)
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}


;--- Test Functions ---

; Testing purposes, returns "OK"
; public String test()
RL_test(dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.test()
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}

; Testing purposes, always throw an Exception
; public String testException()
RL_testException(dllObject="") {
    initDllObject(dllObject)

	try
		Return dllObject.testException()
	catch
		ScriptError(A_ThisFunc . " - Exception thrown:`n" e.message)
}


Now I'll tell you what I want to run Demul in windowed or fullscreen windowed mode.
I build a system arcade game on my Surface Pro 2. To control and play is the best imo application Virtual Game pad -Touch Anyway :)

This application runs in fullscreen mode only for some emulators (PCSX2, PPsPP).
For other emulators require version window mode.
Watch a video on this application has a button ("LOCK") that simulates the Alt + Enter to obtain full screen
and it works properly.
You can press this button for full screen but I prefer that it did automatically :)
 

Top