The forum

[Script] Starlight Resonance (星彩のレゾナンス)

Visual novel / 3D Beat 'em up

Author Replies
markingdude Sunday 6 October 2013 at 13:55
markingdudeAnonymous

Released in February of this year, this visual novel features some pretty cool 3D fighting elements similar to other modern games. This is one of the few games I own that supports the Xbox 360 controller (tested with wired controller on Mac). Remember to read this thread for installing Xbox 360 controller drivers on Linux (Mac users, click here).

There are some graphical glitches during 3D gameplay, but nothing that prevents you from beating the story and arcade modes. Also, if you play the opening movie more than once while the game's running, a "signal:11" message will appear and crash the game.

[code language=playonlinux]
#!/bin/bash
# Date : (2013-03-01)
# Last revision : (2013-07-09)
# Wine version used : 1.6
# Distribution used to test : Mac OS X 10.8.4
# Author : Marking

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

# Setup some needed variables
TITLE="Starlight Resonance (星彩のレゾナンス)"
PREFIX="SeisaiReson"
WINEVERSION="1.7.3"
EDITOR="Yatagarasu"
GAME_URL="http://www.yatanootori.com/yatagarasu/"
AUTHOR="Marking"

# Download images for installation script
POL_GetSetupImages "http://images.markinglifestyle.com/playonmac/script_icons/Saisen-64x64.png" "http://images.markinglifestyle.com/playonmac/script_banners/Starlight.jpg" "$TITLE"

# Initialize the script, debugging, and set required version
POL_SetupWindow_Init
POL_RequiredVersion "4.1.6" || POL_Debug_Fatal "$APPLICATION_TITLE 4.1.6 is required to install $TITLE"
POL_Debug_Init
 
# Setup presentation window
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Begin setting up the Wine Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Installs components needed to run VN, play OP movie, support (Xbox 360) controllers, and render 3D graphics
POL_Call POL_Install_d3dx9
POL_Call POL_Install_quartz
POL_Call POL_Install_devenum
POL_Call POL_Install_amstream
POL_Call POL_Install_xinput

# Ask user for either DVD or Local installation
POL_SetupWindow_InstallMethod "LOCAL,DVD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    # Ask user to find "launcher.exe"
    POL_SetupWindow_browse "$(eval_gettext 'Please locate installation program (Launcher.exe)')" "$TITLE"

    # Tell user what to do while the installation program is running
    POL_SetupWindow_message "$(eval_gettext 'When the launcher opens, click on the top button to open the installer. When a new window opens, click OK. When another window opens, click on the button with the letter N until it is installing. Wait until it is done and click the right button to quit. Click Next to begin installation.')" "Installation instructions"
    LANG="ja_JP.UTF-8" POL_Wine "$APP_ANSWER"
       
elif [ "$INSTALL_METHOD" = "DVD" ]
then
    # Launches the installation program from CD/DVD
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom

    # Tell user what to do while the installation program is running
    POL_SetupWindow_message "$(eval_gettext 'When the launcher opens,
click on the top button to open the installer. When a new window opens,
click OK. When another window opens, click on the button with the letter
N until it is installing. Wait until it is done and click the right
button to quit. Click Next to begin installation.')" "Installation
instructions"
    LANG="ja_JP.UTF-8" POL_Wine "$CDROM/launcher.exe"
fi
   
# Create a shortcut for easy access
POL_Shortcut "星彩のレゾナンス.exe" "星彩のレゾナンス"
# Insert a command to run as a Japanese application
POL_Shortcut_InsertBeforeWine "星彩のレゾナンス" "LANG=ja_JP.UTF-8"

POL_SetupWindow_Close
exit
[/code]

The images:
Screenshot 01
Screenshot 02
22x22 icon
48x48 icon
Top right icon
Left banner

Edited by markingdude

petch Sunday 6 October 2013 at 16:58
petch

Looks ok.
By the way devenum is a dependency of quartz, installing quartz will install devenum as needed.
So you could just not mention devenum installation, but if you do it feels weird that it's mentionned after quartz ;)
markingdude Sunday 6 October 2013 at 17:05
markingdudeAnonymous

All right, cool. I sent the script and deleted the devenum line.
petch Sunday 6 October 2013 at 17:25
petch

Script validated.
I removed the PlayOnLinux 4.1.6 requirement, that was linked to the use of POL_System_unzip, not used in the script.
markingdude Sunday 6 October 2013 at 18:22
markingdudeAnonymous

Oh OK, forgot about that. Thanks for the help.
markingdude Monday 7 October 2013 at 2:45
markingdudeAnonymous

Thanks, petch!

Edited by markingdude

petch Monday 7 October 2013 at 21:40
petch

markingdude Sunday 27 April 2014 at 16:52
markingdudeAnonymous

The main script has been updated to now silently install the application without input from the user.

#!/bin/bash
# Date : (2013-03-01)
# Last revision : (2013-07-09)
# Wine version used : 1.6
# Distribution used to test : Mac OS X 10.8.4
# Author : Marking

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

# Setup some needed variables
TITLE="Starlight Resonance (星彩のレゾナンス)"
PREFIX="SeisaiReson"
WINEVERSION="1.6.2"
EDITOR="Yatagarasu"
GAME_URL="http://www.yatanootori.com/yatagarasu/"
AUTHOR="Marking"
SHORTCUT_NAME="星彩のレゾナンス"

# Download images for installation script
POL_GetSetupImages "http://images.markinglifestyle.com/playonmac/script_icons/Saisen-64x64.png" "http://images.markinglifestyle.com/playonmac/script_banners/Starlight.jpg" "$TITLE"

# Initialize the script, debugging, and set required version
POL_SetupWindow_Init
POL_Debug_Init
 
# Setup presentation window
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Begin setting up the Wine Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Installs components needed to run VN, play OP movie, support (Xbox 360) controllers, and render 3D graphics properly
POL_Call POL_Install_d3dx9
POL_Call POL_Install_quartz
POL_Call POL_Install_xinput

# Ask user for either DVD or Local installation
POL_SetupWindow_InstallMethod "LOCAL,DVD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    # Ask user to find "Resonance.msi"
    POL_SetupWindow_browse "$(eval_gettext 'Please locate installation program in Data folder (Resonance.msi)')" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    LANG="ja_JP.UTF-8" POL_Wine msiexec /qn /i "$APP_ANSWER"

elif [ "$INSTALL_METHOD" = "DVD" ]
then
    # Launches the installation program from CD/DVD
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom "launcher.exe"
    POL_Wine_WaitBefore "$TITLE"
    LANG="ja_JP.UTF-8" POL_Wine msiexec /qn /i "$CDROM"/data/Resonance.msi
fi
    
# Create a shortcut for easy access
POL_Shortcut "星彩のレゾナンス.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png"
# Insert a command to run as a Japanese application
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" "LANG=ja_JP.UTF-8"

POL_SetupWindow_Close
exit

petch Sunday 27 April 2014 at 17:50
petch

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com