Possible to clone a mod project without breaking?
3 Jul 2020, 13:10 PM
#1
Posts: 80
Wanting to release a test branch for my mod, but all the refs and locstrings break when I do so. Wondering if there is a way to do this without me having to manually fix them.
3 Jul 2020, 13:31 PM
#2
Posts: 817 | Subs: 5
I did this once by creating a new empty mod. Then copy the 'instances', 'data' and 'locale' folders from the old mod to the new one. You can drag the whole new mod folder into Notepad++ and use find/replace on the folder to change the old mod ID's to the new mod ID's (ID's can be found in attrib.xml). Afterwards you only have to update the info/title/preview image in the .mod file manually.
4 Jul 2020, 16:02 PM
#3
Posts: 80
I did this once by creating a new empty mod. Then copy the 'instances', 'data' and 'locale' folders from the old mod to the new one. You can drag the whole new mod folder into Notepad++ and use find/replace on the folder to change the old mod ID's to the new mod ID's (ID's can be found in attrib.xml). Afterwards you only have to update the info/title/preview image in the .mod file manually.
SneakEye, thanks for the reply. I did try this however, custom abilities, units, etc. don't seem to have retained the paths within the mod structure. Im assuming that because it is xml you could also just go through and swap the paths too when checking for differences.
edit: Did a find/replace in Notepad++ for the mod ID and that's all it seems I needed to do. Thanks for your help SneakEye
PAGES (1)
1 user is browsing this thread:
1 guest
Livestreams
9 | |||||
6 | |||||
3 | |||||
2 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.34957.860+14
- 3.605219.734-1
- 4.1109614.644+10
- 5.276108.719+27
- 6.305114.728+1
- 7.916405.693-2
- 8.722440.621+4
- 9.261137.656+2
- 10.1041674.607-2
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1235
Board Info
827 users are online:
827 guests
0 post in the last 24h
8 posts in the last week
34 posts in the last month
8 posts in the last week
34 posts in the last month
Registered members: 49109
Welcome our newest member, KingdbEllis
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, KingdbEllis
Most online: 2043 users on 29 Oct 2023, 01:04 AM