Back to the main site

Apocalyptica script (SOLVED)

Hello,

I am writing a script for the following game Apocalyptica.
Since this is a CD version and the game is from 2003 I have a question which I did not find an answer within the scripting guide that has been provided.

In order for the “Autorun.exe” to run within the Application tab > Windows version needs to be set to Windows xp otherwise the “Autorun.exe” wouldn’t allow the game to be installed.

The default wine configuration is set to Windows 10.

I have been digging around to find any type of argument or option in order to change the windows version to XP but I did not find what I was looking for. My question is how can I specify in my script that the windows version should be Windows XP?

Here is my current local script (yaml) (solved):

script:
  game:
     exe: $GAMEDIR/drive_c/Program Files/Konami/Apocalyptica/Apocalyptica.exe
     arch: win32
     prefix: $GAMEDIR
 
  installer:
  - insert-disc:
      requires: Autoplay.exe
      
  - task:
      description: Creating Wine prefix...
      name: create_prefix
      arch: win32
      prefix: $GAMEDIR
  - task:
      name: winetricks
      prefix: $GAMEDIR
      app: winxp 
      
  - task:
      arch: win32
      description: Installing Apocalyptica...
      name: wineexec
      executable: $DISC/Autoplay.exe
      
     
  wine:
    Desktop: true

Never mind I forgot about winetricks.

here is how you can change the windows version:
- task:
name: winetricks
prefix: $GAMEDIR
app: winxp