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
10 | |||||
152 | |||||
18 | |||||
4 | |||||
3 | |||||
2 | |||||
2 | |||||
2 | |||||
2 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.34957.860+14
- 3.589215.733+4
- 4.1101614.642+2
- 5.305114.728+1
- 6.916405.693-2
- 7.271108.715+22
- 8.721440.621+3
- 9.1041674.607-2
- 10.17146.788+1
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1231
Board Info
773 users are online:
773 guests
1 post in the last 24h
8 posts in the last week
38 posts in the last month
8 posts in the last week
38 posts in the last month
Registered members: 49082
Welcome our newest member, 23winlocker
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, 23winlocker
Most online: 2043 users on 29 Oct 2023, 01:04 AM