GuiAPI icon indicating copy to clipboard operation
GuiAPI copied to clipboard

Need documentation regarding twl's theme files

Open AlexCory opened this issue 13 years ago • 2 comments

In the package you have the theme and theme-dev directories. But I have not been able to figure out where to put the theme files yet. Minecraft does compile without them but throws "file not found" errors if you attempt to run(due to the examples i guess?). Could you please be a little more clear on this and add it to your readme or some other documentation? Thanks.

--AlexCory

AlexCory avatar Jan 29 '13 08:01 AlexCory

Actually, I thought I did say it. For developers you get the dev package, which is basically all the files GuiAPI needs besides the actual classes (they are in the releases branch, and for the latest you'd want https://github.com/ShaRose/GuiAPI/blob/releases/GuiAPI_Dev-Package_0.14.5-1.3.zip?raw=true ). The theme and theme-dev folders (Among the other folders besides MCP) are there if you want to create the dev package and full package entirely from git, and those are covered in the Packaging section.

ShaRose avatar Jan 29 '13 16:01 ShaRose

Thanks for the response.

I wont lie to you. Ive had numerous problems getting things setup correctly. The readme isnt exactly specific in various areas. For example, I never used forge to mod before so i had no clue what installer script you were talking about lol. Regardless I at least figured out it was included in forge's source files and got that part setup now.

This problem im having with themes tho... i know its already in the zip file. My problem is that when I setup mcp with forge, guiapi, and twl, everything compiles fine. Until i attempt to run it (without adding anything) then it throws an error. The error occurs on the "widget screen" being called by one of the guiapi examples. For some reason, this error points to the line of code where a theme file would normally be loaded. The obvious solution of course, would be to import the theme files you provide in the zip file. My problem is... where do i put them? Does it go in the minecraft source? Does it go in the mcp minecraft folder and reference it? Does it go in the bin folder? Does it go in the config folder?

I must be dumb cause its just not that obvious to me :(

If you want the exact error im getting, i can post it here later today when im at home. For now, hopefully, the description i provided will do.

Edit: oh and... that is something i havent tried yet. "Packaging"... I will attempt to do so when i get home later today. I guess i just assumed i could drag and drop those files into mcp and have them load. :-/

Edit #2:

Ok so, here's what Ive done so far.

  1. Download MCP
  2. Download source files from forge, place forge folder in MCP folder and run install.bat file.
  3. at this point game runs correctly.from eclipse
  4. drag and drop twl and sharose folders into mcp/src/minecraft
  5. No errors display in eclipse but there are a bunch of warnings.
  6. attempt to run in debug mode and receive the following error:

http://pastebin.com/7JezLdJz

judging from the steps I did, its not exactly different from your readme. So... what am I missing here?

AlexCory avatar Jan 29 '13 16:01 AlexCory