News 2010-03-13PR (Princed Resources) Front-End Version 2.0 beta
DLL version available!!!
- Now you don't need to put a valid PR.EXE file in the main executable path... just get the zip file, unpack it to a folder and you will have three files, PRFend.exe, pr.dll and resources.xml
- DLL was built from the PR Unofficial Fix version available on
David's website
- Like CusPop Executable it now has the option to save the settings and load the settings with the new *.PFS (Princed Front-End Settings File) files and it reminds the previous settings as it writes a file named "PRFend.pfs" in the main executable path like Custom Pop Executable 2.0 does with a file named "CusPop.cps".
Curently in Beta testing... because of the following
1 - I need people to test it. I will wait until the next week, after 2010-03-20 I will take out the "beta" text and release it even if I don't receive any replies in this topic... as looks like the people here aren't posting so often.
2 - Optimize XML File (Disabled file Menu option)
In "main.c" file I need to implement this to the project but I don't know if I will implement it... it will depend of my time. I mean... It's not hard to implement because all functions of PR are exported and that "tTAg" I know the specs of that structure.
Code:
if (optimizeXmlFile) { /* special case optimize */
tTag* tree;
tree=xmlParseFile(optimizeXmlFile,&result);
if (result==PR_RESULT_SUCCESS) {
if (tree) xmlOptimizeCommonFactor(tree->child);
resourceTreeFixInheritances(&tree);
result=xmlGenerateFile(optimizeXmlFile,tree);
freeTagStructure(tree);
}
3 - Set Compression Level Check Box and SpinEdit
Not fully functional... I need to implement properly the function
setCompressionLevel found on "image16.c"
About my DLL...
It was built using
MinGW Compiler because it is easy to port and it is very easy to build DLL's using MinGW, you don't need to declare the exports/imports, just follow this
guide at MinGW website and voilá, you have all the functions exported. ;-)
I just got the Makefile and edited it with the following information
Code:
dll: $(LIBOBJ)
$(MAKEDIR) bin
$(INFO) Making dynamic library...
$(CC) $(OPTIONS) -o bin/pr.dll $(LIBOBJ) -Llibc -shared -dynamic --no-undefined --enable-runtime-pseudo-reloc
$(INFO) DLL successfully compiled
$(INFO)
$(INFO) Please read readme.coders.txt and pr.h for interfaces
$(INFO)
And at "#command options"
Code:
.PHONY: clean cleanxml build all libs dll
You can get a good
DLL Exporter Viewer or just create one with your favorite programming language (in my case Delphi Object Pascal) ;-)
So... what are you waiting for?
Go get it on
Butchered website or click my signature below.