RPG Maker MV Deployment to Windows Store via Visual Studio Issue

Discussion in 'RPG Maker MV Deployment' started by cunningorb, Jun 27, 2017.

  1. cunningorb

    cunningorb Veteran Veteran

    Messages:
    34
    Likes Received:
    13
    First Language:
    English
    Primarily Uses:
    RMMV
    When I deploy my game to the Windows Store, the plugins do not work.

    I am really loving RPG Maker MV! I do however have an issue deploying to the Windows Store using Visual Studio 2017 and Cordova 6.3.1. Points to note:
    • Plugins run in RPG Maker MV 1.5 testing.
    • Plugins run in debugging using Visual Studio.
    • Plugins run on release version testing for ARM and x86 using Visual Studio.
    • Plugins run on Android version in Google Play store.
    • All software is up to date (RPG Maker MV, Visual Studio 2017, Windows 10)
    • Deploying to .exe for Windows works fine, plugins ran in that version.
    • All .js files are in UTF-8 encoding.
    I found a couple of posts from someone else on this same issue but there is no answer. The internet at large (google, bing, duckduckgo, yahoo, etc.) is unaware of how to resolve this issue:
    https://forums.rpgmakerweb.com/index.php?threads/rpg-maker-mv-visual-studios-utf-8-problem.74989/
    https://forums.rpgmakerweb.com/index.php?threads/need-tutorial-for-deploying-to-windows-store.75297/
    If we can resolve this together as a community I will be more than happy to put a tutorial together on how I did it start to finish. It was not actually that hard to get a game made and published using Visual Studio.

    For reference, here are the plugins I'm using.
    Capture.PNG

    10/24/2017 Update: Fix Found
    Details: https://forums.rpgmakerweb.com/inde...-visual-studio-issue.80400/page-2#post-788226
     
    Last edited: Oct 25, 2017
    #1
  2. AceOfAces_Mod

    AceOfAces_Mod Engineering to infinity! Veteran

    Messages:
    1,683
    Likes Received:
    1,119
    First Language:
    Greek
    Primarily Uses:
    RMVXA
    Can you post the JavaScript Console's output? Visual Studio brings it up when you run the game.
     
    #2
  3. cunningorb

    cunningorb Veteran Veteran

    Messages:
    34
    Likes Received:
    13
    First Language:
    English
    Primarily Uses:
    RMMV
    1>------ Build started: Project: Likely Story RPG, Configuration: Release Windows-x86 ------
    Cordova 6.3.1
    ------ Platform windows already exists
    ------ Copying native files from D:\Visual Studio\Likely Story RPG\Likely Story RPG\res\native\windows to D:\Visual Studio\Likely Story RPG\Likely Story RPG\platforms\windows
    ------ Done copying native files to D:\Visual Studio\Likely Story RPG\Likely Story RPG\platforms\windows
    ------ Preparing platform: windows
    ____ _
    / ___|___ _ __ __| | _____ ____ _ _ __ _ __ ___ _ __ __ _ _ __ ___
    | | / _ \| '__/ _` |/ _ \ \ / / _` | | '_ \| '__/ _ \ '_ \ / _` | '__/ _ \
    | |__| (_) | | | (_| | (_) \ V / (_| | | |_) | | | __/ |_) | (_| | | | __/
    \____\___/|_| \__,_|\___/ \_/ \__,_| | .__/|_| \___| .__/ \__,_|_| \___|
    |_| |_|
    -----------------------------------------------------------------------------
    Running Cordova prepare on the project
    -----------------------------------------------------------------------------

    You have been opted out of telemetry. To change this, run: cordova telemetry on.
    No scripts found for hook "before_build".
    No scripts found for hook "before_prepare".
    Checking config.xml for saved platforms that haven't been added to the project
    Checking for any plugins added to the project that have not been installed in windows platform
    No differences found between plugins added to project and installed in windows platform. Continuing...
    Generating platform-specific config.xml from defaults for windows at D:\Visual Studio\Likely Story RPG\Likely Story RPG\platforms\windows\config.xml
    Merging project's config.xml into platform-specific windows config.xml
    Found "merges/windows" folder. Copying its contents into the windows project.
    Merging and updating files from [www, platforms\windows\platform_www, merges\windows] to platforms\windows\www
    copy platforms\windows\platform_www\cordova-js-src\confighelper.js platforms\windows\www\cordova-js-src\confighelper.js (updated file)
    copy platforms\windows\platform_www\cordova-js-src\exec.js platforms\windows\www\cordova-js-src\exec.js (updated file)
    copy platforms\windows\platform_www\cordova-js-src\platform.js platforms\windows\www\cordova-js-src\platform.js (updated file)
    copy platforms\windows\platform_www\cordova-js-src\splashscreen.js platforms\windows\www\cordova-js-src\splashscreen.js (updated file)
    copy platforms\windows\platform_www\cordova_plugins.js platforms\windows\www\cordova_plugins.js (updated file)
    copy www\data\Actors.json platforms\windows\www\data\Actors.json (updated file)
    copy www\data\Animations.json platforms\windows\www\data\Animations.json (updated file)
    copy www\data\Armors.json platforms\windows\www\data\Armors.json (updated file)
    copy www\data\Classes.json platforms\windows\www\data\Classes.json (updated file)
    copy www\data\CommonEvents.json platforms\windows\www\data\CommonEvents.json (updated file)
    copy www\data\Enemies.json platforms\windows\www\data\Enemies.json (updated file)
    copy www\data\Items.json platforms\windows\www\data\Items.json (updated file)
    copy www\data\Map001.json platforms\windows\www\data\Map001.json (updated file)
    copy www\data\Map002.json platforms\windows\www\data\Map002.json (updated file)
    copy www\data\Map003.json platforms\windows\www\data\Map003.json (updated file)
    copy www\data\Map004.json platforms\windows\www\data\Map004.json (updated file)
    copy www\data\Map005.json platforms\windows\www\data\Map005.json (updated file)
    copy www\data\Map006.json platforms\windows\www\data\Map006.json (updated file)
    copy www\data\Map007.json platforms\windows\www\data\Map007.json (updated file)
    copy www\data\Map008.json platforms\windows\www\data\Map008.json (updated file)
    copy www\data\Map009.json platforms\windows\www\data\Map009.json (updated file)
    copy www\data\Map010.json platforms\windows\www\data\Map010.json (updated file)
    copy www\data\Map011.json platforms\windows\www\data\Map011.json (updated file)
    copy www\data\Map012.json platforms\windows\www\data\Map012.json (updated file)
    copy www\data\Map013.json platforms\windows\www\data\Map013.json (updated file)
    copy www\data\Map014.json platforms\windows\www\data\Map014.json (updated file)
    copy www\data\Map015.json platforms\windows\www\data\Map015.json (updated file)
    copy www\data\Map016.json platforms\windows\www\data\Map016.json (updated file)
    copy www\data\Map017.json platforms\windows\www\data\Map017.json (updated file)
    copy www\data\Map018.json platforms\windows\www\data\Map018.json (updated file)
    copy www\data\Map019.json platforms\windows\www\data\Map019.json (updated file)
    copy www\data\Map020.json platforms\windows\www\data\Map020.json (updated file)
    copy www\data\Map021.json platforms\windows\www\data\Map021.json (updated file)
    copy www\data\Map022.json platforms\windows\www\data\Map022.json (updated file)
    copy www\data\Map023.json platforms\windows\www\data\Map023.json (updated file)
    copy www\data\Map024.json platforms\windows\www\data\Map024.json (updated file)
    copy www\data\Map025.json platforms\windows\www\data\Map025.json (updated file)
    copy www\data\Map026.json platforms\windows\www\data\Map026.json (updated file)
    copy www\data\Map027.json platforms\windows\www\data\Map027.json (updated file)
    copy www\data\Map028.json platforms\windows\www\data\Map028.json (updated file)
    copy www\data\Map029.json platforms\windows\www\data\Map029.json (updated file)
    copy www\data\Map030.json platforms\windows\www\data\Map030.json (updated file)
    copy www\data\Map031.json platforms\windows\www\data\Map031.json (updated file)
    copy www\data\Map032.json platforms\windows\www\data\Map032.json (updated file)
    copy www\data\Map033.json platforms\windows\www\data\Map033.json (updated file)
    copy www\data\Map034.json platforms\windows\www\data\Map034.json (updated file)
    copy www\data\Map035.json platforms\windows\www\data\Map035.json (updated file)
    copy www\data\Map036.json platforms\windows\www\data\Map036.json (updated file)
    copy www\data\Map038.json platforms\windows\www\data\Map038.json (updated file)
    copy www\data\MapInfos.json platforms\windows\www\data\MapInfos.json (updated file)
    copy www\data\Skills.json platforms\windows\www\data\Skills.json (updated file)
    copy www\data\States.json platforms\windows\www\data\States.json (updated file)
    copy www\data\System.json platforms\windows\www\data\System.json (updated file)
    copy www\data\Tilesets.json platforms\windows\www\data\Tilesets.json (updated file)
    copy www\data\Troops.json platforms\windows\www\data\Troops.json (updated file)
    copy www\data\Weapons.json platforms\windows\www\data\Weapons.json (updated file)
    copy www\fonts\gamefont.css platforms\windows\www\fonts\gamefont.css (updated file)
    copy www\index.html platforms\windows\www\index.html (updated file)
    copy www\js\libs\fpsmeter.js platforms\windows\www\js\libs\fpsmeter.js (updated file)
    copy www\js\libs\iphone-inline-video.browser.js platforms\windows\www\js\libs\iphone-inline-video.browser.js (updated file)
    copy www\js\libs\lz-string.js platforms\windows\www\js\libs\lz-string.js (updated file)
    copy www\js\libs\pixi-picture.js platforms\windows\www\js\libs\pixi-picture.js (updated file)
    copy www\js\libs\pixi-tilemap.js platforms\windows\www\js\libs\pixi-tilemap.js (updated file)
    copy www\js\libs\pixi.js platforms\windows\www\js\libs\pixi.js (updated file)
    copy www\js\main.js platforms\windows\www\js\main.js (updated file)
    copy www\js\plugins.js platforms\windows\www\js\plugins.js (updated file)
    copy www\js\plugins\MadeWithMv.js platforms\windows\www\js\plugins\MadeWithMv.js (updated file)
    copy www\js\plugins\MenuBackButton.js platforms\windows\www\js\plugins\MenuBackButton.js (updated file)
    copy www\js\plugins\RS_Window_KorNameEdit.js platforms\windows\www\js\plugins\RS_Window_KorNameEdit.js (updated file)
    copy www\js\plugins\SRD_AltMenuScreen_Mobile.js platforms\windows\www\js\plugins\SRD_AltMenuScreen_Mobile.js (updated file)
    copy www\js\plugins\SRD_CameraCore.js platforms\windows\www\js\plugins\SRD_CameraCore.js (updated file)
    copy www\js\plugins\VE_BasicModule.js platforms\windows\www\js\plugins\VE_BasicModule.js (updated file)
    copy www\js\plugins\VE_BattleCommandWindow.js platforms\windows\www\js\plugins\VE_BattleCommandWindow.js (updated file)
    copy www\js\plugins\YEP_BattleEngineCore.js platforms\windows\www\js\plugins\YEP_BattleEngineCore.js (updated file)
    copy www\js\plugins\YEP_CoreEngine.js platforms\windows\www\js\plugins\YEP_CoreEngine.js (updated file)
    copy www\js\plugins\YEP_CreditsPage.js platforms\windows\www\js\plugins\YEP_CreditsPage.js (updated file)
    copy www\js\plugins\YEP_ItemCore.js platforms\windows\www\js\plugins\YEP_ItemCore.js (updated file)
    copy www\js\plugins\YEP_PictureCommonEvents.js platforms\windows\www\js\plugins\YEP_PictureCommonEvents.js (updated file)
    copy www\js\plugins\YEP_SaveCore.js platforms\windows\www\js\plugins\YEP_SaveCore.js (updated file)
    copy www\js\plugins\YEP_X_BattleSysSTB.js platforms\windows\www\js\plugins\YEP_X_BattleSysSTB.js (updated file)
    copy www\js\plugins\YEP_X_VisualHpGauge.js platforms\windows\www\js\plugins\YEP_X_VisualHpGauge.js (updated file)
    copy www\js\rpg_core.js platforms\windows\www\js\rpg_core.js (updated file)
    copy www\js\rpg_managers.js platforms\windows\www\js\rpg_managers.js (updated file)
    copy www\js\rpg_objects.js platforms\windows\www\js\rpg_objects.js (updated file)
    copy www\js\rpg_scenes.js platforms\windows\www\js\rpg_scenes.js (updated file)
    copy www\js\rpg_sprites.js platforms\windows\www\js\rpg_sprites.js (updated file)
    copy www\js\rpg_windows.js platforms\windows\www\js\rpg_windows.js (updated file)
    Updating icons and splash screens at platforms\windows\images
    Prepared windows project successfully
    No scripts found for hook "pre_package".
    No scripts found for hook "after_prepare".
    Checking config.xml for saved plugins that haven't been added to the project
    ------ Building platform: windows
    ------ Build configuration options: --release -- --win --archs x86

    You have been opted out of telemetry. To change this, run: cordova telemetry on.
    No scripts found for hook "before_compile".
    Reading build config file: D:\Visual Studio\Likely Story RPG\Likely Story RPG\build.json
    Running command: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe" -version -nologo
    Command finished with error code 0: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe -version,-nologo
    Building project: D:\Visual Studio\Likely Story RPG\Likely Story RPG\platforms\windows\CordovaApp.Windows10.jsproj
    Configuration : release
    Platform : x86
    Running command: C:\Windows\system32\reg.exe query "HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows" /s /v InstallationFolder /reg:32
    Command finished with error code 0: C:\Windows\system32\reg.exe query,HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows,/s,/v,InstallationFolder,/reg:32
    Running command: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe" "D:\Visual Studio\Likely Story RPG\Likely Story RPG\platforms\windows\CordovaApp.Windows10.jsproj" /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo /p:Configuration=release /p:platform=x86
    CordovaApp.Windows10 -> D:\Visual Studio\Likely Story RPG\Likely Story RPG\platforms\windows\AppPackages\CordovaApp.Windows10_1.2.3.0_x86_Test\CordovaApp.Windows10_1.2.3.0_x86.appx
    Command finished with error code 0: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe D:\Visual Studio\Likely Story RPG\Likely Story RPG\platforms\windows\CordovaApp.Windows10.jsproj,/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal,/nologo,/p:Configuration=release,/p:platform=x86
    BUILD OUTPUT: D:\Visual Studio\Likely Story RPG\Likely Story RPG\platforms\windows\AppPackages\CordovaApp.Windows10_1.1.0.1_x86_Test\CordovaApp.Windows10_1.1.0.1_x86.appx
    No scripts found for hook "after_build".
    No scripts found for hook "after_compile".
    ------ Copying back to project: windows
    ------ Copying generated _pkginfo.txt file
    ------ Done copying compiled files: windows
    ------ Checking for: D:\Visual Studio\Likely Story RPG\Likely Story RPG\bin\Windows-x86\Release\CordovaApp.Windows10.build.appxrecipe
    ------ Renaming D:\Visual Studio\Likely Story RPG\Likely Story RPG\bin\Windows-x86\Release\CordovaApp.Windows10.build.appxrecipe to D:\Visual Studio\Likely Story RPG\Likely Story RPG\bin\Windows-x86\Release\Likely Story RPG.build.appxrecipe
    ------ Copying appx packages to output location
    ------ No packageOutputPath is specified for the project. Nothing to copy.
    2>------ Deploy started: Project: Likely Story RPG, Configuration: Release Windows-x86 ------
    2>Updating the layout...
    2>
    2>Copying files: Total 5 mb to layout...
    2>
    2>Registering the application to run from layout...
    2>
    2>Deployment complete (0:00:00.726). Full package name: "42205CoalesceGames.LikelyStoryRPG_1.2.3.0_x86__bpb0n1sr81hzc"
    2>
    ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
    ========== Deploy: 1 succeeded, 0 failed, 0 skipped ==========

    'WWAHost.exe' (Script): Loaded 'Script Code (MSAppHost/3.0)'.
    SourceMap D:\Visual Studio\Likely Story RPG\Likely Story RPG\www\js\libs\pixi.js.map read failed: Could not find file 'D:\Visual Studio\Likely Story RPG\Likely Story RPG\www\js\libs\pixi.js.map'..SourceMap D:\Visual Studio\Likely Story RPG\Likely Story RPG\www\js\libs\pixi-tilemap.js.map read failed: Could not find file 'D:\Visual Studio\Likely Story RPG\Likely Story RPG\www\js\libs\pixi-tilemap.js.map'..SourceMap D:\Visual Studio\Likely Story RPG\Likely Story RPG\www\js\libs\pixi-picture.js.map read failed: Could not find file 'D:\Visual Studio\Likely Story RPG\Likely Story RPG\www\js\libs\pixi-picture.js.map'..Exception was thrown at line 306, column 5 in ms-appx-web://42205coalescegames.likelystoryrpg/www/js/rpg_core.js
    0x800a138f - JavaScript runtime error: Unable to get property 'handleEvent' of undefined or null reference

    Note: this runs fine and all plugins work while debugging both the debug and release versions in Visual Studio. Thanks for checking into this!

    I'm also going to check into this link after work today. I am not super hopeful that they will work but if it helps someone else all the better:
    https://taco.visualstudio.com/en-us/docs/resolving-build-errors/
     
    #3
  4. AceOfAces_Mod

    AceOfAces_Mod Engineering to infinity! Veteran

    Messages:
    1,683
    Likes Received:
    1,119
    First Language:
    Greek
    Primarily Uses:
    RMVXA
    The Debug errors show that files are missing. Can you delete the js folder and import that folder (after you deploy the game) back to the Visual Studio project? If those files are already there, you also try rebuilding the project.
     
    #4
  5. cunningorb

    cunningorb Veteran Veteran

    Messages:
    34
    Likes Received:
    13
    First Language:
    English
    Primarily Uses:
    RMMV
    Very fast response! I'll try this tonight after I get back home from work. This was inevitable since I figured it was time to start different projects for different platforms.
     
    #5
  6. AceOfAces_Mod

    AceOfAces_Mod Engineering to infinity! Veteran

    Messages:
    1,683
    Likes Received:
    1,119
    First Language:
    Greek
    Primarily Uses:
    RMVXA
    I meant rebuilding the solution (Build -> Rebuild Solution).
     
    #6
  7. cunningorb

    cunningorb Veteran Veteran

    Messages:
    34
    Likes Received:
    13
    First Language:
    English
    Primarily Uses:
    RMMV
    Deleted js folder from visual studio project folder. Deployed game from RPG Maker. Copied js folder from RPG Maker deployment into visual studio project folder.

    1>------ Build started: Project: Likely Story RPG, Configuration: Release Windows-x86 ------
    Cordova 6.3.1
    ------ Platform windows already exists
    ------ Copying native files from D:\Visual Studio\Likely Story RPG\Likely Story RPG\res\native\windows to D:\Visual Studio\Likely Story RPG\Likely Story RPG\platforms\windows
    ------ Done copying native files to D:\Visual Studio\Likely Story RPG\Likely Story RPG\platforms\windows
    ------ Preparing platform: windows
    ____ _
    / ___|___ _ __ __| | _____ ____ _ _ __ _ __ ___ _ __ __ _ _ __ ___
    | | / _ \| '__/ _` |/ _ \ \ / / _` | | '_ \| '__/ _ \ '_ \ / _` | '__/ _ \
    | |__| (_) | | | (_| | (_) \ V / (_| | | |_) | | | __/ |_) | (_| | | | __/
    \____\___/|_| \__,_|\___/ \_/ \__,_| | .__/|_| \___| .__/ \__,_|_| \___|
    |_| |_|
    -----------------------------------------------------------------------------
    Running Cordova prepare on the project
    -----------------------------------------------------------------------------

    You have been opted out of telemetry. To change this, run: cordova telemetry on.
    No scripts found for hook "before_build".
    No scripts found for hook "before_prepare".
    Checking config.xml for saved platforms that haven't been added to the project
    Checking for any plugins added to the project that have not been installed in windows platform
    No differences found between plugins added to project and installed in windows platform. Continuing...
    Generating platform-specific config.xml from defaults for windows at D:\Visual Studio\Likely Story RPG\Likely Story RPG\platforms\windows\config.xml
    Merging project's config.xml into platform-specific windows config.xml
    Found "merges/windows" folder. Copying its contents into the windows project.
    Merging and updating files from [www, platforms\windows\platform_www, merges\windows] to platforms\windows\www
    copy platforms\windows\platform_www\cordova-js-src\confighelper.js platforms\windows\www\cordova-js-src\confighelper.js (updated file)
    copy platforms\windows\platform_www\cordova-js-src\exec.js platforms\windows\www\cordova-js-src\exec.js (updated file)
    copy platforms\windows\platform_www\cordova-js-src\platform.js platforms\windows\www\cordova-js-src\platform.js (updated file)
    copy platforms\windows\platform_www\cordova-js-src\splashscreen.js platforms\windows\www\cordova-js-src\splashscreen.js (updated file)
    copy platforms\windows\platform_www\cordova_plugins.js platforms\windows\www\cordova_plugins.js (updated file)
    copy www\data\Actors.json platforms\windows\www\data\Actors.json (updated file)
    copy www\data\Animations.json platforms\windows\www\data\Animations.json (updated file)
    copy www\data\Armors.json platforms\windows\www\data\Armors.json (updated file)
    copy www\data\Classes.json platforms\windows\www\data\Classes.json (updated file)
    copy www\data\CommonEvents.json platforms\windows\www\data\CommonEvents.json (updated file)
    copy www\data\Enemies.json platforms\windows\www\data\Enemies.json (updated file)
    copy www\data\Items.json platforms\windows\www\data\Items.json (updated file)
    copy www\data\Map001.json platforms\windows\www\data\Map001.json (updated file)
    copy www\data\Map002.json platforms\windows\www\data\Map002.json (updated file)
    copy www\data\Map003.json platforms\windows\www\data\Map003.json (updated file)
    copy www\data\Map004.json platforms\windows\www\data\Map004.json (updated file)
    copy www\data\Map005.json platforms\windows\www\data\Map005.json (updated file)
    copy www\data\Map006.json platforms\windows\www\data\Map006.json (updated file)
    copy www\data\Map007.json platforms\windows\www\data\Map007.json (updated file)
    copy www\data\Map008.json platforms\windows\www\data\Map008.json (updated file)
    copy www\data\Map009.json platforms\windows\www\data\Map009.json (updated file)
    copy www\data\Map010.json platforms\windows\www\data\Map010.json (updated file)
    copy www\data\Map011.json platforms\windows\www\data\Map011.json (updated file)
    copy www\data\Map012.json platforms\windows\www\data\Map012.json (updated file)
    copy www\data\Map013.json platforms\windows\www\data\Map013.json (updated file)
    copy www\data\Map014.json platforms\windows\www\data\Map014.json (updated file)
    copy www\data\Map015.json platforms\windows\www\data\Map015.json (updated file)
    copy www\data\Map016.json platforms\windows\www\data\Map016.json (updated file)
    copy www\data\Map017.json platforms\windows\www\data\Map017.json (updated file)
    copy www\data\Map018.json platforms\windows\www\data\Map018.json (updated file)
    copy www\data\Map019.json platforms\windows\www\data\Map019.json (updated file)
    copy www\data\Map020.json platforms\windows\www\data\Map020.json (updated file)
    copy www\data\Map021.json platforms\windows\www\data\Map021.json (updated file)
    copy www\data\Map022.json platforms\windows\www\data\Map022.json (updated file)
    copy www\data\Map023.json platforms\windows\www\data\Map023.json (updated file)
    copy www\data\Map024.json platforms\windows\www\data\Map024.json (updated file)
    copy www\data\Map025.json platforms\windows\www\data\Map025.json (updated file)
    copy www\data\Map026.json platforms\windows\www\data\Map026.json (updated file)
    copy www\data\Map027.json platforms\windows\www\data\Map027.json (updated file)
    copy www\data\Map028.json platforms\windows\www\data\Map028.json (updated file)
    copy www\data\Map029.json platforms\windows\www\data\Map029.json (updated file)
    copy www\data\Map030.json platforms\windows\www\data\Map030.json (updated file)
    copy www\data\Map031.json platforms\windows\www\data\Map031.json (updated file)
    copy www\data\Map032.json platforms\windows\www\data\Map032.json (updated file)
    copy www\data\Map033.json platforms\windows\www\data\Map033.json (updated file)
    copy www\data\Map034.json platforms\windows\www\data\Map034.json (updated file)
    copy www\data\Map035.json platforms\windows\www\data\Map035.json (updated file)
    copy www\data\Map036.json platforms\windows\www\data\Map036.json (updated file)
    copy www\data\Map038.json platforms\windows\www\data\Map038.json (updated file)
    copy www\data\MapInfos.json platforms\windows\www\data\MapInfos.json (updated file)
    copy www\data\Skills.json platforms\windows\www\data\Skills.json (updated file)
    copy www\data\States.json platforms\windows\www\data\States.json (updated file)
    copy www\data\System.json platforms\windows\www\data\System.json (updated file)
    copy www\data\Tilesets.json platforms\windows\www\data\Tilesets.json (updated file)
    copy www\data\Troops.json platforms\windows\www\data\Troops.json (updated file)
    copy www\data\Weapons.json platforms\windows\www\data\Weapons.json (updated file)
    copy www\fonts\gamefont.css platforms\windows\www\fonts\gamefont.css (updated file)
    copy www\index.html platforms\windows\www\index.html (updated file)
    copy www\js\libs\fpsmeter.js platforms\windows\www\js\libs\fpsmeter.js (updated file)
    copy www\js\libs\iphone-inline-video.browser.js platforms\windows\www\js\libs\iphone-inline-video.browser.js (updated file)
    copy www\js\libs\lz-string.js platforms\windows\www\js\libs\lz-string.js (updated file)
    copy www\js\libs\pixi-picture.js platforms\windows\www\js\libs\pixi-picture.js (updated file)
    copy www\js\libs\pixi-tilemap.js platforms\windows\www\js\libs\pixi-tilemap.js (updated file)
    copy www\js\libs\pixi.js platforms\windows\www\js\libs\pixi.js (updated file)
    copy www\js\main.js platforms\windows\www\js\main.js (updated file)
    copy www\js\plugins.js platforms\windows\www\js\plugins.js (updated file)
    copy www\js\plugins\MadeWithMv.js platforms\windows\www\js\plugins\MadeWithMv.js (updated file)
    copy www\js\plugins\MenuBackButton.js platforms\windows\www\js\plugins\MenuBackButton.js (updated file)
    copy www\js\plugins\RS_Window_KorNameEdit.js platforms\windows\www\js\plugins\RS_Window_KorNameEdit.js (updated file)
    copy www\js\plugins\SRD_AltMenuScreen_Mobile.js platforms\windows\www\js\plugins\SRD_AltMenuScreen_Mobile.js (updated file)
    copy www\js\plugins\SRD_CameraCore.js platforms\windows\www\js\plugins\SRD_CameraCore.js (updated file)
    copy www\js\plugins\VE_BasicModule.js platforms\windows\www\js\plugins\VE_BasicModule.js (updated file)
    copy www\js\plugins\VE_BattleCommandWindow.js platforms\windows\www\js\plugins\VE_BattleCommandWindow.js (updated file)
    copy www\js\plugins\YEP_BattleEngineCore.js platforms\windows\www\js\plugins\YEP_BattleEngineCore.js (updated file)
    copy www\js\plugins\YEP_CoreEngine.js platforms\windows\www\js\plugins\YEP_CoreEngine.js (updated file)
    copy www\js\plugins\YEP_CreditsPage.js platforms\windows\www\js\plugins\YEP_CreditsPage.js (updated file)
    copy www\js\plugins\YEP_ItemCore.js platforms\windows\www\js\plugins\YEP_ItemCore.js (updated file)
    copy www\js\plugins\YEP_PictureCommonEvents.js platforms\windows\www\js\plugins\YEP_PictureCommonEvents.js (updated file)
    copy www\js\plugins\YEP_SaveCore.js platforms\windows\www\js\plugins\YEP_SaveCore.js (updated file)
    copy www\js\plugins\YEP_X_BattleSysSTB.js platforms\windows\www\js\plugins\YEP_X_BattleSysSTB.js (updated file)
    copy www\js\plugins\YEP_X_VisualHpGauge.js platforms\windows\www\js\plugins\YEP_X_VisualHpGauge.js (updated file)
    copy www\js\rpg_core.js platforms\windows\www\js\rpg_core.js (updated file)
    copy www\js\rpg_managers.js platforms\windows\www\js\rpg_managers.js (updated file)
    copy www\js\rpg_objects.js platforms\windows\www\js\rpg_objects.js (updated file)
    copy www\js\rpg_scenes.js platforms\windows\www\js\rpg_scenes.js (updated file)
    copy www\js\rpg_sprites.js platforms\windows\www\js\rpg_sprites.js (updated file)
    copy www\js\rpg_windows.js platforms\windows\www\js\rpg_windows.js (updated file)
    Updating icons and splash screens at platforms\windows\images
    Prepared windows project successfully
    No scripts found for hook "pre_package".
    No scripts found for hook "after_prepare".
    Checking config.xml for saved plugins that haven't been added to the project
    ------ Building platform: windows
    ------ Build configuration options: --release -- --win --archs x86

    You have been opted out of telemetry. To change this, run: cordova telemetry on.
    No scripts found for hook "before_compile".
    Reading build config file: D:\Visual Studio\Likely Story RPG\Likely Story RPG\build.json
    Running command: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe" -version -nologo
    Command finished with error code 0: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe -version,-nologo
    Building project: D:\Visual Studio\Likely Story RPG\Likely Story RPG\platforms\windows\CordovaApp.Windows10.jsproj
    Configuration : release
    Platform : x86
    Running command: C:\Windows\system32\reg.exe query "HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows" /s /v InstallationFolder /reg:32
    Command finished with error code 0: C:\Windows\system32\reg.exe query,HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows,/s,/v,InstallationFolder,/reg:32
    Running command: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe" "D:\Visual Studio\Likely Story RPG\Likely Story RPG\platforms\windows\CordovaApp.Windows10.jsproj" /clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal /nologo /p:Configuration=release /p:platform=x86
    CordovaApp.Windows10 -> D:\Visual Studio\Likely Story RPG\Likely Story RPG\platforms\windows\AppPackages\CordovaApp.Windows10_1.2.3.0_x86_Test\CordovaApp.Windows10_1.2.3.0_x86.appx
    Command finished with error code 0: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe D:\Visual Studio\Likely Story RPG\Likely Story RPG\platforms\windows\CordovaApp.Windows10.jsproj,/clp:NoSummary;NoItemAndPropertyList;Verbosity=minimal,/nologo,/p:Configuration=release,/p:platform=x86
    BUILD OUTPUT: D:\Visual Studio\Likely Story RPG\Likely Story RPG\platforms\windows\AppPackages\CordovaApp.Windows10_1.1.0.1_x86_Test\CordovaApp.Windows10_1.1.0.1_x86.appx
    No scripts found for hook "after_build".
    No scripts found for hook "after_compile".
    ------ Copying back to project: windows
    ------ Copying generated _pkginfo.txt file
    ------ Done copying compiled files: windows
    ------ Checking for: D:\Visual Studio\Likely Story RPG\Likely Story RPG\bin\Windows-x86\Release\CordovaApp.Windows10.build.appxrecipe
    ------ Renaming D:\Visual Studio\Likely Story RPG\Likely Story RPG\bin\Windows-x86\Release\CordovaApp.Windows10.build.appxrecipe to D:\Visual Studio\Likely Story RPG\Likely Story RPG\bin\Windows-x86\Release\Likely Story RPG.build.appxrecipe
    ------ Copying appx packages to output location
    ------ No packageOutputPath is specified for the project. Nothing to copy.
    ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

    I leave for work in like 15 minutes, never expected to get this much troubleshooting done by 7am. Best forum ever! You rock @AcesofAces_Mod
     
    #7
  8. cunningorb

    cunningorb Veteran Veteran

    Messages:
    34
    Likes Received:
    13
    First Language:
    English
    Primarily Uses:
    RMMV
    I have an update.

    I created a new VS project and imported the game into it with no changes to any VS config files and built a release package. That release package worked in my environment. Of course the package won't upload to MS Dev Center until you change the config to match your info. So I changed the config.xml, rebuilt the packages and tested in my environment. It no longer worked. Something in my config.xml is apparently causing this issue.
    Capture.PNG Capture1.PNG
     
    #8
  9. cunningorb

    cunningorb Veteran Veteran

    Messages:
    34
    Likes Received:
    13
    First Language:
    English
    Primarily Uses:
    RMMV
    Bump.

    I'm still plagued by the same error despite all my efforts.

    SourceMap D:\Visual Studio\Likely Story RPG\Likely Story RPG\www\js\libs\pixi.js.map read failed: Could not find file 'D:\Visual Studio\Likely Story RPG\Likely Story RPG\www\js\libs\pixi.js.map'..SourceMap D:\Visual Studio\Likely Story RPG\Likely Story RPG\www\js\libs\pixi-tilemap.js.map read failed: Could not find file 'D:\Visual Studio\Likely Story RPG\Likely Story RPG\www\js\libs\pixi-tilemap.js.map'..SourceMap D:\Visual Studio\Likely Story RPG\Likely Story RPG\www\js\libs\pixi-picture.js.map read failed: Could not find file 'D:\Visual Studio\Likely Story RPG\Likely Story RPG\www\js\libs\pixi-picture.js.map'..Exception was thrown at line 306, column 5 in ms-appx-web://io.cordova.myappc1166f/www/js/rpg_core.js
    0x800a138f - JavaScript runtime error: Unable to get property 'handleEvent' of undefined or null reference
    The program '[5088] WWAHost.exe' has exited with code -1 (0xffffffff).

    • Deleted project completely, started from scratch.
    • Imported freshly deployed www files.
    • Confirmed project files are version 1.5.0 in js folder.
    • Google searched "read failed: Could not find file" to no avail.
    • Google searched "JavaScript runtime error: Unable to get property 'handleEvent' of undefined or null reference" to no avail.
    • I am completely stumped.
     
    #9
  10. AceOfAces_Mod

    AceOfAces_Mod Engineering to infinity! Veteran

    Messages:
    1,683
    Likes Received:
    1,119
    First Language:
    Greek
    Primarily Uses:
    RMVXA
    The could not find file error is shown when the files are missing. Check the js\lib folder using the Solution Explorer and copy over the files that are missing.
     
    #10
  11. Andar

    Andar Veteran Veteran

    Messages:
    27,233
    Likes Received:
    6,017
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    you can ignore the pixi.js.map errors, the important error is the one after that (the map files are for debugging purposes only, they aren't needed for the program itself)
     
    #11
  12. cunningorb

    cunningorb Veteran Veteran

    Messages:
    34
    Likes Received:
    13
    First Language:
    English
    Primarily Uses:
    RMMV
    I'm not in front of my PC right now but I recall that line 306. It was a passive event listener. The comments described it as something for determining whether a browser could handle passive events.

    Could this all be something as simple as Visual Studio not having read/write permissions in that js folder, or would that kick out a different error?
     
    #12
  13. cunningorb

    cunningorb Veteran Veteran

    Messages:
    34
    Likes Received:
    13
    First Language:
    English
    Primarily Uses:
    RMMV
    #13
  14. cunningorb

    cunningorb Veteran Veteran

    Messages:
    34
    Likes Received:
    13
    First Language:
    English
    Primarily Uses:
    RMMV
  15. cunningorb

    cunningorb Veteran Veteran

    Messages:
    34
    Likes Received:
    13
    First Language:
    English
    Primarily Uses:
    RMMV
    I know this is a while ago but Microsoft debugged the error in my code and the bug is gone.

    HOWEVER

    This did not fix my issue, I am still getting no plugins to run in the final release build for x86 / ARM / x64 from Visual Studio even though in VS testing the plugins run fine. Also still runs fine on release version for Android.

    Derrrrrrr

    Probably I need a new post but I wanted to close the loop somewhat here. Basically TL DR there is no fix for this issue.
     
    #15
  16. AceOfAces_Mod

    AceOfAces_Mod Engineering to infinity! Veteran

    Messages:
    1,683
    Likes Received:
    1,119
    First Language:
    Greek
    Primarily Uses:
    RMVXA
    The only thing I can think of as a temporal workaround is to make a separate WinJS project. It worked for me 100% well on my side (although there are a few issues).
     
    #16
  17. cunningorb

    cunningorb Veteran Veteran

    Messages:
    34
    Likes Received:
    13
    First Language:
    English
    Primarily Uses:
    RMMV
    Great tip, I will study on WinJS as a potential new way to package my game. I have not been telling anyone about this game because I am not proud of how buggy it is on Windows, yet people are still buying it! I am motivated and if I get stumped enough my plan is just to pay a fee to someone to fix this.

    I know, that's not ideal. But I'm really motivated like I said :o
     
    #17
  18. cunningorb

    cunningorb Veteran Veteran

    Messages:
    34
    Likes Received:
    13
    First Language:
    English
    Primarily Uses:
    RMMV
    Ok wow, I figured it out. When I run the windows certification kit, it errors out using the default file encoding on RPG Maker's .js files from the export. So I changed all the encoding to UTF8 as recommended. Of course this passes windows certification, but it BREAKS the game's ability to use plugins. Strange? Yes. I'm investigating. Any ideas here? @AceOfAces_Mod @Andar
     
    #18
  19. cunningorb

    cunningorb Veteran Veteran

    Messages:
    34
    Likes Received:
    13
    First Language:
    English
    Primarily Uses:
    RMMV
    Any idea how we can get the plugins to run when encoded in UTF8? This is when using either cordova or WinJS wrapper. It doesn't matter either way, they both act the same. Are we going to have to stop supporting the Windows UWP platform?
     
    #19
  20. AceOfAces_Mod

    AceOfAces_Mod Engineering to infinity! Veteran

    Messages:
    1,683
    Likes Received:
    1,119
    First Language:
    Greek
    Primarily Uses:
    RMVXA
    The only thing I can think of is copy clean copies of the files over to the project. I have no idea why it still happens (and I recall I was able to convert it over to UWP with both WinJS and Cordova). Was the UTF-8 conversion done with an error?
     
    #20

Share This Page