ROM Hack Triangle Strategy modding

gh0stslayr

Well-Known Member
Member
Joined
Dec 20, 2021
Messages
151
Trophies
0
XP
367
Country
United States
@khuong, the recruitment and leveling are done via lua scripts. I modified the 1st chapter script to call the recruitment function for all characters. For certain characters, they were either at set levels (i.e. Anna at Level 2) or has a formula based on current level (i.e. Avlora is current level + 2) so I also updated that file to be entirely set at level 1. Compiled the lua scripts and utilized the Unreal Engine pak patching method.

@Dark_Ansem, no, this is just having everyone recruited at level 1 at the beginning of a fresh new game. The level edits I had made previously was just a test.

I've attached the save file (NG Hard).

I've also attached the mod file. If you want to test this, start a new game, wait until you are able to open the Roster screen, save, and remove the mod file. I suspect this will also work for PC versions. Maybe someone can try it out.
 

Attachments

  • EveryoneLevel1Save.zip
    462.2 KB · Views: 88
  • EveryoneLevel1Mod.zip
    3.5 KB · Views: 82

MarvinXLII

Active Member
Newcomer
Joined
Mar 12, 2021
Messages
33
Trophies
0
XP
1,065
Country
United States
Nice work. Be aware though that the Switch and Steam releases have different mount points, so paks typically aren't compatible for both releases, even if the modded files themselves should be (although in that case, you could just unpack the paks, I guess....). Regardless, the lub files here would need to be encrypted to be compatible with the Steam release, as their encryption is mandatory.

Just curious though, any reason for keeping rank upgrades for some characters?
 
Last edited by MarvinXLII,

khuong

Well-Known Member
Member
Joined
Jul 18, 2018
Messages
1,542
Trophies
1
Age
44
XP
6,515
Country
Canada
@khuong, the recruitment and leveling are done via lua scripts. I modified the 1st chapter script to call the recruitment function for all characters. For certain characters, they were either at set levels (i.e. Anna at Level 2) or has a formula based on current level (i.e. Avlora is current level + 2) so I also updated that file to be entirely set at level 1. Compiled the lua scripts and utilized the Unreal Engine pak patching method.

@Dark_Ansem, no, this is just having everyone recruited at level 1 at the beginning of a fresh new game. The level edits I had made previously was just a test.

I've attached the save file (NG Hard).

I've also attached the mod file. If you want to test this, start a new game, wait until you are able to open the Roster screen, save, and remove the mod file. I suspect this will also work for PC versions. Maybe someone can try it out.

Nice mate, ya I've been trying to hook the lua loading functions, to load custom scripts, or even input them and have the engine run them

I'll take a look when I have more time! Thanks
 

wisnumurti

Well-Known Member
Member
Joined
Aug 6, 2016
Messages
189
Trophies
0
Age
31
Location
Jakarta
XP
1,224
Country
Indonesia
@khuong, the recruitment and leveling are done via lua scripts. I modified the 1st chapter script to call the recruitment function for all characters. For certain characters, they were either at set levels (i.e. Anna at Level 2) or has a formula based on current level (i.e. Avlora is current level + 2) so I also updated that file to be entirely set at level 1. Compiled the lua scripts and utilized the Unreal Engine pak patching method.

@Dark_Ansem, no, this is just having everyone recruited at level 1 at the beginning of a fresh new game. The level edits I had made previously was just a test.

I've attached the save file (NG Hard).

I've also attached the mod file. If you want to test this, start a new game, wait until you are able to open the Roster screen, save, and remove the mod file. I suspect this will also work for PC versions. Maybe someone can try it out.
So where should I place the .PAK file?
 

gh0stslayr

Well-Known Member
Member
Joined
Dec 20, 2021
Messages
151
Trophies
0
XP
367
Country
United States
@MarvinXLII, sounds good regarding the PC version. Not much I can do since I don't have a copy. Did I miss some rank upgrades? Probably should've checked that too.

@khuong, sweet. Good luck with that!

@wisnumurti, probably should've been more clear with the folder structure but it should be EveryoneLevel1\romfs\Newera\Content\Paks\
 
  • Like
Reactions: wisnumurti

Dark_Ansem

Well-Known Member
Member
Joined
Oct 12, 2014
Messages
1,820
Trophies
1
Location
Death Star
XP
2,282
Country
United Kingdom
https://gbatemp.net/threads/how-to-unpack-and-repack-unreal-engine-4-files.531784/

The decryption tab is a must for PC, but bear in mind that it only decrypts the file indexing and assets in the pak file. It won't decrypt the lua code.
I used QuickBMS as a fix, does this also unpack the UEXP/UASSETS files?
Post automatically merged:

@GBJark324, unfortunately, I don't have the PC version so I can't really help you with this. Maybe you can try instructions from these links that apply for both Octopath Traveler and Bravely Default 2.




@Coolmotif30, I made some initial recruitment script modification with a new game. Hope to have another update on this soon.

View attachment 337286View attachment 337287

This doesn't work, sadly, for triangle strategy. Saves have something that makes the game crash on load.
 
Last edited by Dark_Ansem,

MarvinXLII

Active Member
Newcomer
Joined
Mar 12, 2021
Messages
33
Trophies
0
XP
1,065
Country
United States
QuickBMS is fine, but you need the right script, and you'll still need the encryption key. Both QuickBMS and UnrealPak extract all files (uasset, uexp, umap, lub, ...) from a pak file. I recommend UnrealPak since you'll need it for packing files if you want to share a mod.

Kind of jumping ahead, this is a really good editor for uasset/umap/uexp files. The AsanoDataEditor I recommended earlier had some issues modifying text, so use UAssetGUI instead.

https://github.com/atenfyr/UAssetGUI
 

Dark_Ansem

Well-Known Member
Member
Joined
Oct 12, 2014
Messages
1,820
Trophies
1
Location
Death Star
XP
2,282
Country
United Kingdom
QuickBMS is fine, but you need the right script, and you'll still need the encryption key. Both QuickBMS and UnrealPak extract all files (uasset, uexp, umap, lub, ...) from a pak file. I recommend UnrealPak since you'll need it for packing files if you want to share a mod.

Kind of jumping ahead, this is a really good editor for uasset/umap/uexp files. The AsanoDataEditor I recommended earlier had some issues modifying text, so use UAssetGUI instead.

https://github.com/atenfyr/UAssetGUI

Thank you, what I meant was how to get the stuff off the UEXP archives.
 

MarvinXLII

Active Member
Newcomer
Joined
Mar 12, 2021
Messages
33
Trophies
0
XP
1,065
Country
United States
What are you hoping to do? I'm confused because UAssetGUI should be fine, at least for viewing and modding basic data tables and text. All the parsed uexp data is displayed under "Export Data".
 

Chirijiraden

New Member
Newbie
Joined
Dec 13, 2022
Messages
2
Trophies
0
Age
26
XP
24
Country
Canada
So me and Narknon did a thing :)
 

Attachments

  • TriangleStrat.PNG
    TriangleStrat.PNG
    36 KB · Views: 108

Coolmotif30

Well-Known Member
Member
Joined
Feb 22, 2020
Messages
106
Trophies
0
Age
38
XP
422
Country
United States
@khuong, the recruitment and leveling are done via lua scripts. I modified the 1st chapter script to call the recruitment function for all characters. For certain characters, they were either at set levels (i.e. Anna at Level 2) or has a formula based on current level (i.e. Avlora is current level + 2) so I also updated that file to be entirely set at level 1. Compiled the lua scripts and utilized the Unreal Engine pak patching method.

@Dark_Ansem, no, this is just having everyone recruited at level 1 at the beginning of a fresh new game. The level edits I had made previously was just a test.

I've attached the save file (NG Hard).

I've also attached the mod file. If you want to test this, start a new game, wait until you are able to open the Roster screen, save, and remove the mod file. I suspect this will also work for PC versions. Maybe someone can try it out.
I've been waiting for this since the game released! thank you so much
 

Fatjoe

New Member
Newbie
Joined
Jan 7, 2023
Messages
2
Trophies
0
Age
58
XP
46
Country
United States
Does anybody know if it would be possible to make the npcs and bosses playable? I tried this myself but I can’t figure out how I’m supposed to edit .pak files
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • RedColoredStars @ RedColoredStars:
    I had soooooooooooo many of them. All still sealed.
    +1
  • RedColoredStars @ RedColoredStars:
    I eventually had to contact a domestic abuse advocate to help me get out of the apartment I was in a lease with her. And filed a restraining order on her cuz she kept harassing me after i left her.
    +1
  • Xdqwerty @ Xdqwerty:
    I didnt bring my Charger and nobody here has one compatible with my phone
  • RedColoredStars @ RedColoredStars:
    either you have usb C and no one else does, or everone else has usb c except you. haha
    +1
  • Xdqwerty @ Xdqwerty:
    @RedColoredStars, i don't have usb c
  • RedColoredStars @ RedColoredStars:
    That happened to me for like a year. lol. I was the only one of all my friends and family to still have an old phone.
  • Xdqwerty @ Xdqwerty:
    @RedColoredStars, my phone is from around 2019
  • RedColoredStars @ RedColoredStars:
    Mine was from 2017. lolol. I just got this new one like 6 months ago. Not even new, second hand cheapo $40 phone. But it has usb c. lol
  • RedColoredStars @ RedColoredStars:
    I cant justify $1k+ on a nice ass phone. I can spend that on a 75" tv screen. Why a 6" screen device cost me the same? lol
    +2
  • BigOnYa @ BigOnYa:
    I had a iPhone 5 for like 6 years, till last year, and had to get new phone, when phone companies stop using the cdna networks, which the iphone5 used.
  • K3Nv2 @ K3Nv2:
    A phone can do more than a TV
    +2
  • BigOnYa @ BigOnYa:
    These smart TVs are getting close tho. Gonna be like "back to future" TVs before long.
    +1
  • K3Nv2 @ K3Nv2:
    Nah a phones going to always be more powerful than a TV if the TVs $2grand maybe but why when I can put a smaller device in my pocket that does basically everything a TV already does
    +1
  • K3Nv2 @ K3Nv2:
    I can justify a decent $800 smartphone that'll last 3 years when I could get a 65" TV for $400 and buy a decent micro computer for $100 more
  • K3Nv2 @ K3Nv2:
    Tbf there are decent $400 smartphones in today's market that make top end spec phones unjust it's just what you want
  • Xdqwerty @ Xdqwerty:
    Found a Charger that works with my phone
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah Ken I have 3 Samsung Phones now and honestly all 3 feel about the same
  • Psionic Roshambo @ Psionic Roshambo:
    A35 a S23 FE S24 Ultra lol
  • Psionic Roshambo @ Psionic Roshambo:
    Camera is about the only thing that legit separates them, unless you play games on your phone....
  • K3Nv2 @ K3Nv2:
    I honestly just download movies on my phone put them on my card reader then on my tv so much better than wireless transfer bs
  • K3Nv2 @ K3Nv2:
    Glad I bought a card reader type c and usb A makes life easy
  • Xdqwerty @ Xdqwerty:
    Yawn
  • RedColoredStars @ RedColoredStars:
    i download movies on my PC that is connected to my living room tv.
  • RedColoredStars @ RedColoredStars:
    Monitors are too small for my bad eyesight so I use my main tv and wirelss keyboard and wireless trackball mouse.
    RedColoredStars @ RedColoredStars: Monitors are too small for my bad eyesight so I use my main tv and wirelss keyboard and wireless...