Search the Community
Showing results for tags 'filepatching'.
Found 3 results
-
Hello, I'm new to SQF. I'm writting a script to load an external .sqf file containing values stored in a HashMap, in order to have some mission configuration stored outside of a .pbo file for easier changes/tweaks. So far, the script works as expected. I've placed it in a dummy mission, exported it to multiplaier to generate a .pbo and copied that pbo onto a local server and created the sqf file. The datas are loaded. However, when I want to make changes in that sqf file while the server is running, I can't save the file and get a message telling that the file is actually busy, as if the file handler wasn't released Does preprocessFileLineNumbers open a file but doesn't close it once processed? Could the Arma server executable lock the file since it's now an external part of the pbo? How to overcome this? I still can turn the server off, save the file, and then start it again, but I hoped I could save the file in runtime and simply restart the mission Here the script, if needed
-
Hello, I am having issues with setting up a live dev environment. I want to be able to edit addon scripts on the fly. I have read several wiki pages and threads already. So far my PBOPREFIX works fine for CfgFunctions that I have defined. The issue is getting files on my P:\ drive to update during gameplay. Here is what I have: $PBOPREFIX$ contents: x\BNRG\addons\ServFav $PBOPREFIX$ location in addon ...\Arma 3\@BenTest\addons\ServFav(.pbo)\$PBOPREFIX$ $PBOPREFIX$ location in P P:\x\BNRG\addons\ServFav tst.sqf is the file I am trying to edit on the fly: Actual location ...\Arma 3\@BenTest\addons\ServFav(.pbo)\tst.sqf P:/ P:\x\BNRG\addons\ServFav How I can currently execute it in game (but not able to get changes from P:/ drive version) 0 execvm "x\BNRG\addons\ServFav\tst.sqf"; Resources I have used: https://community.bistudio.com/wiki/CMA:DevelopmentSetup#Develop_with_unpacked_data https://community.bistudio.com/wiki/Talk:PBOPREFIX https://community.bistudio.com/wiki/PBOPREFIX https://forums.bistudio.com/topic/83324-pboprefix-content/ https://forums.bistudio.com/topic/121921-pboprefix-development-setup-issues/ https://www.reddit.com/r/armadev/comments/3gdz0c/new_to_modding_trouble_with_functions/
- 3 replies
-
- pboprefix
- filePatching
-
(and 3 more)
Tagged with:
-
Hello, I have times a question how does the filepatching. Zb I have on my p drive a map lie and I change what can I see in the game then? So in general how does it work.