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: 81

MarvinXLII

Active Member
Newcomer
Joined
Mar 12, 2021
Messages
33
Trophies
0
XP
1,058
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,514
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,220
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,817
Trophies
1
Location
Death Star
XP
2,277
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,058
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,817
Trophies
1
Location
Death Star
XP
2,277
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,058
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
419
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
  • ZeroT21 @ ZeroT21:
    fix? there were fixes?
  • ZeroT21 @ ZeroT21:
    i never heard or notice any fix
  • NO111ONE @ NO111ONE:
    @Xdqwerty crashd was the exploit for LG TVs to root practically any.
    I got word of it this january and rooted my TV. Was pretty impressed.
    Since then LG patched the command to root and then the developer mode app itself from making vulnerabilities.

    And then I found out that having a rooted TV lets you use PPPwn to jailbreak a PS4 on firmware 11. Finally uses for my rooted LG (I hate the playstation as such the use is gone)
    +1
  • K3Nv2 @ K3Nv2:
    @NO111ONE, Did you have a arch64 base?
  • NO111ONE @ NO111ONE:
    Honestly didn't care to even poke. The board is W18H
  • K3Nv2 @ K3Nv2:
    I got a 2023 Model turned off update in the homebrew channel maybe if I restore it and run the script again but it might auto update during the process
  • ZeroT21 @ ZeroT21:
    play it safe, keep it off
  • K3Nv2 @ K3Nv2:
    Script keeps getting stuck at Heap grooming now
  • ZeroT21 @ ZeroT21:
    nowadays i just keep my jailbroken ps4 for some exclusives i don't play on pc
  • K3Nv2 @ K3Nv2:
    The youtube adblocker looks nice in the homebrew channel but I pay for premium for like $4 a month under vpn lol
  • ZeroT21 @ ZeroT21:
    i dont even YT much, Net flix is just another bother
  • K3Nv2 @ K3Nv2:
    YT music apps pointless tbh
  • ZeroT21 @ ZeroT21:
    playing old music mostly while browsing/going through comics at archive.org
  • ZeroT21 @ ZeroT21:
    me doin' simple stuff
  • K3Nv2 @ K3Nv2:
    Don't always need a bunch of electronics to enjoy electronics
    +1
  • K3Nv2 @ K3Nv2:
    Issue is we want new and best then it piles up
  • ZeroT21 @ ZeroT21:
    i'm all gud if my browser don't lag
  • K3Nv2 @ K3Nv2:
    I fixed a 2010 netbook for someone and they were happy
  • ZeroT21 @ ZeroT21:
    i did something similar to for a friend, was a old acer netbook, he was over the moon, guess guys are just that simple
  • K3Nv2 @ K3Nv2:
    Still had xp all the works at least got 7 on it
  • ZeroT21 @ ZeroT21:
    even if MS says newer windows works fine on 1 Gb of ram, I'd still go for the default or similar OS
  • K3Nv2 @ K3Nv2:
    It loaded youtube with like a 5 minute lag lol
  • ZeroT21 @ ZeroT21:
    it's a old potato, can't expect much
  • K3Nv2 @ K3Nv2:
    I told her it's not a good porn book
  • ZeroT21 @ ZeroT21:
    it's fine if it work and can watch their fav porn
    ZeroT21 @ ZeroT21: it's fine if it work and can watch their fav porn