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,063
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,063
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,063
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
  • Psionic Roshambo @ Psionic Roshambo:
    But it's a dead end
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, people who cant download it can still play the game
  • BigOnYa @ BigOnYa:
    If your internet speeds are fast enough. Streaming 4k takes alot. I used to only have 20mb sec, and 4k struggled. Now I have 300mb sec and 4k plays fine.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i only have like 1 or 2 mb sec
  • BigOnYa @ BigOnYa:
    Did you feed the hamster in your internet router? It prob died and is running slow now.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why did you start saying my pc has a hamster in the first place?
    +1
  • BigOnYa @ BigOnYa:
    Its actua!ly just a old joke, meaning its slow. Was just kidding around with you.
    +1
  • BigOnYa @ BigOnYa:
    I bet @AncientBoi has some hamsters hidden somewhere tho....
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I think Game streaming should work like this.... Local Hardware able the run the game fine, game engine and common assets stored locally, all FMV and music and textures could be streaming
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Some temporary storage
  • Xdqwerty @ Xdqwerty:
    also @BigOnYa im making some progress on my gdevelop project, implemented various mechanics
  • Psionic Roshambo @ Psionic Roshambo:
    They went all in on streaming, should have been more of a hybrid approach
    +1
  • BigOnYa @ BigOnYa:
    Or free government supplied high speed internet be nice also. Like Obama care. Xdqwerty that's cool, its time consuming but rewarding once done or playable, to see what you've made from scratch. Animations take forever, but worth it.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, although the bullets are a bit buggy
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not to mention this would be a massive pain to pirate
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    and the visual aspect of the game is quite crude (the sprite that looks best is that of the protagonist just because he is a stickman with sunglasses)
    +1
  • BigOnYa @ BigOnYa:
    There is a bullets behaviour you assign to your character, that makes the code easier, under "behaviours"
  • Xdqwerty @ Xdqwerty:
    i meant that when the character is pointing to the right, the bullets spawn where they should, but when he is on the right, they move to the right but the spawn point is incorrect
  • BigOnYa @ BigOnYa:
    Itch.io has lots of free assets also. Under the bullets behavior tab, there is a "rotate bullets" option, can try that. Or in the code can try
    - fire bullet Player.X(PlayerDirection)
  • Xdqwerty @ Xdqwerty:
    im taking a break for today anyway
    +1
  • BigOnYa @ BigOnYa:
    YEa gotta after a while, looking at code for long periods will bug your eyes.
    +1
  • BigOnYa @ BigOnYa:
    That's cool tho, I'm proud of you going back to it, not giving up. It is difficult at first to learn, but fun once you get the hang of it. I think I've watched every tutorial video there is, but I still struggle sometimes to get stuff to work right. But gotta keep trying dif things, and eventually you will get it right.
    +1
    Xdqwerty @ Xdqwerty: https://www.youtube.com/watch?v=zT-Cy-hap_Q