Log in to reply
 

Hours wasted on OIV installer attempt...



  • I just discovered that all the work I had been doing for the last 5 hours were for nothing it seems.

    I took another user's assembly.xml, and used it as a template. I opened it in notepad ++, and painstakingly modified all the paths to mirror my own, while dragging every texture file I have ever created to it's directory structure I built in the same folder. I still had a ways to go, so I decided to call a break for tonight. After saving it, I opened it, and was horrified to find that all the tags were missing! It was just a big mess, only including the names of my files. Oddly enough, if I view the source in I.E., it displays all appropriate tags as it should. I then tried opening it with Chrome, and see error message as shown below -

    "This page contains the following errors:

    error on line 1439 at column 13: Opening and ending tag mismatch: archive line 0 and content
    Below is a rendering of the page up to the first error."

    Uhm...line 1439 is simply </content>

    Below is a sample of the output when viewed from a browser -

    Real-life Everything 1 0 STABLE eshenk Ed Schenk https://www.gta5-mods.com https://www.gta5-mods.com/users/eshenk/files $FF008302 $FF000000 dirtdecals+hidr.ytd hckbarbits+hidr.ytd hckbarbits.ydr hckbattables.ydr hckfirltpics+hidr.ytd hckfirltpics.ydr hckpics2.ydr hckpoollite+hidr.ytd hickbackroomshit+hidr.ytd hickbackroomshit.ydr hickbarshell+hidr.ytd hickbarshell.ydr hickbarvent+hidr.ytd hickbrskrtbck.ydr hickmats.ydr hickmoresignsfront.ydr hickneon+hidr.ytd hickneon.ydr hicksbarmats.ydr hicksmoresignsback+hidr.ytd hicks_wallshit1+hidr.ytd hicks_wallshit1.ydr cs4_14_hickbar+hidr.ytd cs4_14_hickbar.ydr cs4_14_hickbar_land+hidr.ytd cs4_14_hickbar_land.ydr cs4_14_hickbar_ov+hidr.ytd cs4_14_hickbar_ov.ydr v_ret_fh_coolbox+hifr.ytd v_ret_fh_emptybot1.yft v_ret_fh_emptybot2.yft v_ret_ml_6bottles.yft v_ret_ml_liqshelfa+hifr.ytd v_ret_ml_liqshelfa.yft v_ret_ml_liqshelfd+hifr.ytd

    I tried to use package manager, but it is far to cumbersome to use given the thousands of files involved. Isn't there anything I can do to make this right?



  • @eshenk Have you got the Hex-Editor plugin in Notepad++. If so, do all the tags show in that?

    If not, link the file somewhere and I will have a look at it.



  • @LeeC2202 Thanks a bunch. I just sent you the file via email.



  • @eshenk Looks fine to me. :\

    <add source="mods\x64h.rpf\levels\gta5\interiors\v_int_57.rpf\v_57_frankaunt1txd+hi.ytd">v_57_frankaunt1txd+hi.ytd</add>

    <add source="mods\x64i.rpf\levels\gta5\props\procedural\v_proc1.rpf\ng_ip_plants.ytd">ng_ip_plants.ytd</add>



  • @LeeC2202 Afraid you would say that. I wonder if there is a app out there that will allow you to make executable installations, i.e., RLE.exe?



  • @eshenk Don't know to be honest... I think people would be wary of exe installers, purely because of their ability to be compromised. It would also prevent people from opening and extracting the OIV to discover what it does.

    I would have thought making an XML creation app would be fairly straight forward... I wonder why people are having such problems with it? Considering there are people making 3D interactive map viewers, this kind of thing should be a walk in the park.



  • Just sent a copy of that XML file back as well. I loaded it and saved a copy, then sent that back as new-assembly.xml



  • @LeeC2202 Ok thanks, but when I opened it, it looks just as before -

    RLE 1 0 STABLE Ed Schenk https://www.gta5-mods.com/users/eshenk Everything combines every texture overhaul made to this date. All fake-named brands of food items, grocery items at convenient stores, candy, chips, soda, beer, whiskey, cigarettes, shampoo, dish soap, laundry detergent, cereal, custom advertisements, magazines and newspapers, shoe boxes, books, texture overhauls for interiors and exteriors such as Michael and Franks house, Aunty's house, low-end and mid-end apartments,

    Does it look like that when you view it?



  • @eshenk View it in what? Notepad++ is fine, if you open it in other things, it will parse the XML and display the contents of the tags, not the tags themselves.

    Only edit and view it in Notepad++.



  • And can you edit that to show just a section now that I have seen it? It's a bit of a wall-of-text. :D



  • @LeeC2202 I am confused. I opened up someone else's assembly.xml - not using notepad ++ - using a browser, and it displayed with the tags just as it does in notepad++.



  • I do get an error when I open that file, so maybe there is a problem in there.

    XML Parsing error at line 1435: Premature end of data in tag package line 8



  • Edit... yes, there are definitely erorrs in there somewhere. I when I format it with XML tools, the final </package> tag is indented by several levels... that's wrong.



  • @LeeC2202 Well that is the last entry in the file, </package> How can that be wrong?



  • There must be more opening tags than closing ones. The last </package> tag should be on the same level as the first. And yours is indented to ten levels.



  • @LeeC2202 Ok, I am starting to see what you mean now I believe. I will touch it up, and report back my results.



  • There's one missing on Line 57 for a starter, it needs a </archive> tag to close the outer archive tags.

    As you work your way down, collapse archives that are complete by pressing the minus sign in the side column.



  • @LeeC2202 I am finally with you. There is a lot of this throughout the whole doc. I will clean this up. This is a first time for me, so I will get on this later. I will let you know how it went. Thanks again for putting me on the right path.



  • @eshenk No problem... good luck. :slight_smile:



  • And if you haven't already got them yet, install the XML tools plugin into Notepad++ and use the XML Pretty Print option to format the output. Makes it dead easy to see where things are going wrong.



  • @LeeC2202 WILL do, googling it now! Thanks again. Have been wanting to get around to this for awhile.



  • @eshenk Would you object if I edited that wall of XML down to size? It's just a bit too much text for a site post... if you don't mind that is.



  • @LeeC2202 Please do, totally understand.


  • MODERATOR

    @eshenk For future reference: XML Validator I found it to be very handy, the other day, when I had an unclosed </Item> somewhere in my carscols.meta file.


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.