ROM Hack Triangle Strategy modding

gh0stslayr

Well-Known Member
Member
Joined
Dec 20, 2021
Messages
152
Trophies
0
XP
371
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: 93
  • EveryoneLevel1Mod.zip
    3.5 KB · Views: 86

MarvinXLII

Active Member
Newcomer
Joined
Mar 12, 2021
Messages
33
Trophies
0
XP
1,083
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,526
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,225
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
152
Trophies
0
XP
371
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,861
Trophies
1
Location
Death Star
XP
2,330
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,083
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,861
Trophies
1
Location
Death Star
XP
2,330
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,083
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: 112

Coolmotif30

Well-Known Member
Member
Joined
Feb 22, 2020
Messages
106
Trophies
0
Age
38
XP
428
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
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    Float like a butterfly burns when I pee lol
    +1
  • BigOnYa @ BigOnYa:
    So does that mean your date was not good? It burns now?
    +2
  • K3Nv2 @ K3Nv2:
    Got two new stds in one night
    +1
  • BigOnYa @ BigOnYa:
    Giggity
    +1
  • The Catboy @ The Catboy:
    I don't bite! Minus the times when I did bite
  • The Catboy @ The Catboy:
    Like 5 minutes ago
  • K3Nv2 @ K3Nv2:
    Billie needs her lunch
  • K3Nv2 @ K3Nv2:
    Ffs papa brought back the cheeseburger pizza it's like the only decent pie they had since the 80s
  • BigOnYa @ BigOnYa:
    I'm not a fan of papa johns, but that does sound good. We hardly order out pizza, I like making my own, but when we do its donatoes
  • K3Nv2 @ K3Nv2:
    I get them like once every two months anymore
  • K3Nv2 @ K3Nv2:
    Just because it's half a mile from where I live
  • BigOnYa @ BigOnYa:
    Request next time you order, that Shaq deliver it to you
  • K3Nv2 @ K3Nv2:
    I want him to buy me a chain also
  • K3Nv2 @ K3Nv2:
    Open it right next to the one we have
    +1
  • BakerMan @ BakerMan:
    guys should i make a new thread and just count the amount of posts until kyle, luke or leo joins the thread for fun?
  • BakerMan @ BakerMan:
    kyle's fine, just waiting for that wario joke

    luke and leo though, they yap until the thread's enjoyability is about halved
  • K3Nv2 @ K3Nv2:
    Leo is Luke's alterego when he gets hard
  • BigOnYa @ BigOnYa:
    Luke is gone, he got banned. And I'm surprised Leo hasn't yet
  • K3Nv2 @ K3Nv2:
    Subway was actually pretty decent tonight
  • BigOnYa @ BigOnYa:
    Wut you get, a seafood and psi salad sub
  • K3Nv2 @ K3Nv2:
    Psi had my footlong meatball special
    +1
  • PandaPandel @ PandaPandel:
    i want a meatball sandwich
    now
  • K3Nv2 @ K3Nv2:
    Gay
  • BigOnYa @ BigOnYa:
    Bout time you came out and admitted it
  • K3Nv2 @ K3Nv2:
    Bigonya talks to himself often
    +1
    K3Nv2 @ K3Nv2: Bigonya talks to himself often +1