https://akurasu.net/downloads/Mazin_head.png
Come hang out with us in the Discord server.
Account creation is disabled due to spam.
If you want to help out on the Wiki, poke us in on our Discord server in #wiki.
Please consider supporting the site with the PlayAsia referral links here or via the donate buttons in the sidebar, it really does help.
https://akurasu.net/downloads/Flonne_cheer.png

Super Robot Wars/30/Modding: Difference between revisions

From Akurasu
Jump to navigationJump to search
Kalvinis (talk | contribs)
Added LUA file conditions
Kalvinis (talk | contribs)
mNo edit summary
Line 16: Line 16:
Start CriPakGUI. "File -> Open CPK", navigate to the .cpk you initially unpacked. Click "Patch CPK". First path, select the directory which contains ONLY your modded encrypted files. Second path, select the directory and name for your patched CPK. DO CHECK "Don't use CRILAYLA Compression". Click "Patck CPK" and wait.
Start CriPakGUI. "File -> Open CPK", navigate to the .cpk you initially unpacked. Click "Patch CPK". First path, select the directory which contains ONLY your modded encrypted files. Second path, select the directory and name for your patched CPK. DO CHECK "Don't use CRILAYLA Compression". Click "Patck CPK" and wait.


Make a backup of the .cpk file you modified, then replace the original .cpk in the "pc" directory with your patched .cpk. Be sure to rename the patched .cpk to the name of the original .cpk you are replacing. Done.
Make a backup of the original .cpk file, then replace the original .cpk in the "pc" directory with your patched .cpk. Be sure to rename the patched .cpk to the name of the original .cpk you are replacing. Done.


===mission_est010_en.cpk===
===mission_est010_en.cpk===

Revision as of 15:30, 22 November 2021

Under heavy construction. May take a while to fully complete.

Modding Super Robot Wars 30

Super Robot Wars 30 uses .cpk files that act as containers. To unpack and un-encrypt the files, a couple tools are required: CriPakGUI to unpack/repack the contents, and QuickBMS with the relevant scripts to un-encrypt/encrypt the contents. The following link has the tools needed, along with the QuickBMS scripts necessary and a readme: SRW Tool Package 0.1

Instructions: Start CriPakGUI. "File -> Open CPK", navigate to SRW 30/pc, then open the .cpk file of choice. Click "Extract Files", select output directory, files will be encrypted initially.

Start QuickBMS. Use 'srw30cryala.bms', select encrypted files (use * in name field to select all files in chosen directory), select the output directory for decrypted files. The files will be decrypted and readable.

Mod the file of your choice until you are satisfied. Then start QuickBMS. Use 'srw30encrypt.bms', select your modded file(s), then select the output directory. Rename the file to remove "_dec_layla" and replace it with .bin [Example: 61_dec_layla -> 61.bin], DO NOT SKIP THIS STEP.

Start CriPakGUI. "File -> Open CPK", navigate to the .cpk you initially unpacked. Click "Patch CPK". First path, select the directory which contains ONLY your modded encrypted files. Second path, select the directory and name for your patched CPK. DO CHECK "Don't use CRILAYLA Compression". Click "Patck CPK" and wait.

Make a backup of the original .cpk file, then replace the original .cpk in the "pc" directory with your patched .cpk. Be sure to rename the patched .cpk to the name of the original .cpk you are replacing. Done.

mission_est010_en.cpk

This file holds the main/non-DLC missions of Super Robot Wars 30. This file is located in [SRW30\pc\data\mission]. The majority of files in this .cpk container are structured as such:

.lua [contains unit information for battles]

.txt [contains script code for battles]

(3) .pyc files [first 2 contains dialogue for pre-battle|during battle|post-battle, last file contains AI data]

mission_est010_en.cpk LUA Files

This file contains information about the type of units that will exist in a given map. Unit conditions are as follows (subject to changes):

[NEW_ENTRY] This condition tells the game to add the unit to the list of player-controllable units, so long as it does not already exist on the player's save file.

[TEAM_EDIT] This condition tells the game to edit the currently available player roster on the map. Certain flags may be used in order to spawn various versions of the same unit (i.e. Huckebein 30 being added with either Az or Edge as pilot)

[VERSION_UP] This condition tells the game to change the unit in some fashion, whether it be to swap out a unit with another unit, a pilot with another pilot, or both (depending on flags set/used).

[SORTIE_NOT_NOTICE] Initial guess: This condition spawns the unit on to the field without notifying the player.