I tried adding names to names resoures dll
-
The issue is bigger I’m afraid. The DLL routine I created uses some Windows core functions (not .NET) which do NOT, for some reason, notify of a failed write attempt. I’ve looked around for a while and couldn’t find anything about it. Attempting to verify the file beforehand outside of this routine with .NET code works, but only for the “read-only” state; if the DLL is being used by FL, the update will also silently fail AND the .NET functions will still return it as being available for read-write.
Are you calling GetLastError() after using the WinAPI functions? The return value of that should tell you whether the last function call succeeded, and if not the error code.
-
It’s been a while since I last checked, but I believe I had large troubles with something related to it and I already knew about GetLastError.
-
FF - I will give one last chance for FL Dev…
BUT ONLY if and after you upgrade it…
After updating one dll successfully but only with a lot of pain, as I said the UPDATE button will not enable unless I go to the Infocard window first, then it would not save until I made a copy of my dll and renamed it, took another copy and renamed that one and used it. Grrrr…
Then I wasted the last 4 hours just now “updating” another one of my dll files, believing that it was saving the dll after I ensured it was NOT read-only and doing the same as I did with the first dll as above…
…and to be more sure, I clicked back to the Home tab after each bunch of changes and clicked Update on the freelancer.ini path, believing it was reloading the goddam dll files from the originals - NO, it was NOT!
It was showing me the changes from its goddam cache!
And - it was NOT saving my changes into either the original dll nor an RCXnn.tmp as it had done (once) before.
There’s another point - why did it write a RCXnn.tmp file only one time?
So - all my changes were fictitious.
Sorry to rain on your parade but this utility is next to useless in its current state, I want it to do what it thinks it is doing, but it’s been pissing on me for the past 4 hours and now it’s telling me it was raining!!
Clearly others have not tested it as I have done.
You must put in checks to be sure its dlls are not reserved, not read-only, and that the dll is really written each time, and you need to find out why it’s not reloading from the original files when I click the Update bar in the freelancer.ini path on the Home tab without closing the program and restarting it.
I’m not a “proper” programmer but the few utilities that I have written are full of error checks to prevent foolish people like myself from going wrong.
One tired and frustrated bunny-rabbit. It’s now 05:20 and I wasted my sleep time. Gnnaaaaaahhhhh!!
-
The issue is that I’ve never seen this kind of behavior unless Freelancer was running at the time you attempted to write your changes.
The Update button also works just fine over here, which makes me believe the problem might be on your end. Considering the amount of people who use FLDev and love it, I’m not sure everyone would’ve gone over such a blatant bug.
You will have to tell me which operating system you are on, whether you’ve downloaded the latest .NET framework, whether Freelancer was running during this period, if you were running multiple instances of FLDev at once, etc. Basically anything you were doing or which could have anything to do with FL, FLDev or Windows. I’m shooting in the dark here since your rant appears to be directed at my program and not at fixing the issue.
I hope we can resolve this issue together, otherwise I suggest you go back to FLEd-IDS and enjoy using it. Remember FLDev is still in beta for a reason; I can’t possibly debug it on all machines and combinations.
You might also want to try out using the Output folder option and pointing it elsewhere; it might alleviate some of the issues you are having.
P.S.: I’ve done quite a few error checks. If you’re paranoid, go in the Settings tab, select 1000 DLL backups and make them go at each minute. Otherwise, you can always export the changes with the “Export Changes” button in the DLL Editor tab to make sure you do not lose anything while using such a badly made and not foolproof tool. If you look in FLDev’s execution folder, you might even find a backup sitting there, who knows…
-
Yeh I’m still tired. And pissed at losing 4 hours of work and 4 hours of sleep.
Keep your hair on and I’ll try to help, I’m not pissed off at you, I’m pissed that these things happen. FL Dev will be very useful once it works the way you mean it to. Right now it doesn’t for me.
Right -
1. I’m running XP with SP2. My .NET Framework says v2.0
2. I am not running FL at the same time, and only 1 instance of FL Dev.
3. I rebooted the system several times to ensure no dlls were in use or locked. Started FL Dev only, as the first program. Same.
4. The FL Dev I have has no “Settings” tabs or Export settings buttons anywhere. Just the 4 tabs at the top, no menu or help button. Is this an old version? I just downloaded it a week ago or so??There is nothing to tell me what version it is.
Do this to follow what I do:-
First problem:-
1. Start FL Dev.
2. On the Home tab, click Freelancer.ini Path Browse and go find Freelancer.ini. FL Dev loads in my 8 dlls.
3. Click DLL Editor tab. Click nameresources.dll and type anything in the search window that it is sure to find, like “xenos”, check “search through all dlls” and click “Search”.
4. Click on entry 047083. Click in the upper edit window, type something. UPDATE does not enable on my machine.
5. Click the “Infocard” radiobutton, type something in the lower edit window. The UPDATE button enables. Delete the entry to go back to Name edit. Then UPDATE remains enabled. Alter the entry and can click UPDATE.I just switched back to FL Dev now from this post… and guess what - the Name edit window did not get redrawn, it’s just a blank space above the out-of-focus infocard edit window!!!
I give up. I’ll try to send you a screenshot by pm, don’t know how to upload it here.
(Sent it by email.)
-
Downloaded FL Dev and it is a different file, FLDev_1.001b01.zip
Installed it, there is a help link and the Update button works.
But no settings tab/button, no Output Folder option, no Export changes button.
And it still does not update the real dll, even from fresh reboot.
Where do I go now?
-
You didn’t get the last version. Get it there:
http://forge.the-starport.net/gf/project/fldev/frs/EDIT: Got your email. As I’ve said, get the 1.1 version; it’s been changed so much I can’t even begin to tell you what exactly was modified. It’s the result of like 4-5 months of usage
-
thanks alot for the fldev its working great and i copyed my freelancer folder to my d drive storage so i can mod from there. thanks alot.
-
Ah no! I had no idea the link was so old!
OK, I got the 1.1b, many thanks.
Maybe I can start regrowing my hair now.
It would be a good idea to hunt down those old links & update them - here’s the one I used this morning:
URL http://freelancercommunity.net/download.php?id=39Thanks pal.
-
Ya, I kinda knew I’d end up having problems by letting other sites hosting the files. I told Dwn to keep it updated, but he must’ve skipped the release…
-
Sending this link to Soupman, he does the updating. I just drink all the beer in the fridge. ;D
-
Deleted the download and added a link to the forge … no more missed updates ;D
-
Hi FF…
2 more problems to report…
1. Got 1.1, unzipped it. Ran FLDev after uninstalling the previous version. It takes 6-7 minutes to load the .dll files. CPU usage goes to 100% and it’s impossible to use the PC until the dlls are loaded. Then it works normally until I save changes, when it does the same again but for about 2 minutes.
2. When it saves changes it does it as Language 1033. Some dlls use Language 0 and so those nodes are not replaced, instead two language nodes exist and the updated 1033 node is not displayed by FL.
Sending screenshots by email.
Thanks.
-
The node problem would be hell to correct; I don’t know when I’ll be able to do it.
The performance issue I can’t do much about; I’ve optimised the program as much as possible, including multithreading. I don’t see what else could be done. What are your system specs?
-
I had the same issue using the doorstop computer - doesn’t the multithreading support cause problems on non-multithreaded systems, since the program always assumes you have multithreading?
-
Well I’d expect multithreading to be just “normal” on single-core CPUs; it shouldn’t be slower because of it…
-
It’s a single-core 3.6GHz with 1GB Ram.
This is a new problem with version 1.1b, the previous versions were loading all the dlls within 5-10 secs.
-
Just tried it myself on my old 2GHz P4 with similar results to ST, couldn’t even get task manager to start so I could see what was happening.
-
Gonna have to check, but as I’ve said I have other priorities right now (just look at the letter thread). Unfortunately that means it will not be very usable for single-core CPUs for a while.
24/36