Jump to content


Photo

ReLinker


  • Please log in to reply
141 replies to this topic

#31 hishutup

hishutup

    Daedric Prince

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,567 posts

Posted 18 August 2016 - 01:04 PM

Ok guys, I need heeelp! I'd really appreciate it if someone could get me some scripts, both compiled and source files, that contain the following functions:

  • GetModByName but without Game. before it;
  • GetFormFromFile but without Game. before it;
  • IsPluginLoaded;
  • checkModPresence.

For the last two, I think iNeed was the mod that used it.

#32 Ganda

Ganda

    Thane

  • Mod Authors
  • PipPipPipPipPipPip
  • 375 posts

Posted 18 August 2016 - 01:57 PM

For the last two, I think iNeed was the mod that used it.


Nope, filled with Game.GetFormFromFile though :/


  • 0

#33 hishutup

hishutup

    Daedric Prince

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,567 posts

Posted 18 August 2016 - 07:32 PM

I could have swore that it was one of these.

_sndlcquestscript.pscis from iNeed
_arissa_compatibility.psc is from Arissa
hm_mod.psc is from Honed Metal



#34 Ganda

Ganda

    Thane

  • Mod Authors
  • PipPipPipPipPipPip
  • 375 posts

Posted 18 August 2016 - 07:41 PM

Thanks, but I think that I found a solution where I don't need to know where the function name is :p Just matching up bytes now, fixing the delivery system and I'm good for a testing build


  • 0

#35 Ganda

Ganda

    Thane

  • Mod Authors
  • PipPipPipPipPipPip
  • 375 posts

Posted 20 August 2016 - 08:17 PM

Ok guys, just pushed a new build that no longer needs to decompile/recompile anything, it edits the pex files directly so should be a lot faster and produce less errors (if any do occur due to the scripts not working, send me the scripts).

 

Happy merging!


  • 0

#36 Mator

Mator

    Thane

  • Mod Authors
  • PipPipPipPipPipPip
  • 463 posts

Posted 20 August 2016 - 08:26 PM

Cool that you don't need to decompile, that's clever.  PEX files always looked like psuedo-plaintext to me, nice to know you can interface with them directly.


Edited by Mator, 20 August 2016 - 08:27 PM.

  • 0

#37 Ganda

Ganda

    Thane

  • Mod Authors
  • PipPipPipPipPipPip
  • 375 posts

Posted 20 August 2016 - 08:32 PM

Cool that you don't need to decompile, that's clever.  PEX files always looked like psuedo-plaintext to me, nice to know you can interface with them directly.

Thank the ReStringer author and hishy, they pushed me to do this! Yh, there's a description of the format in uesp and I'm gonna make a tiny library to handle them because it's something way too complex to host in the relinker alone.


  • 0

#38 hishutup

hishutup

    Daedric Prince

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,567 posts

Posted 20 August 2016 - 08:37 PM

Nexus page is up



#39 IsharaMeradin

IsharaMeradin

    Citizen

  • Mod Authors
  • Pip
  • 34 posts

Posted 20 August 2016 - 09:13 PM

Ok guys, I need heeelp! I'd really appreciate it if someone could get me some scripts, both compiled and source files, that contain the following functions:

  • GetModByName but without Game. before it;
  • GetFormFromFile but without Game. before it;
  • IsPluginLoaded;
  • checkModPresence.
I need to check how these are stored. Thanks! :D 
 

Do you still need this?  Cause I can whip one up fairly quick.


  • 0

#40 Ganda

Ganda

    Thane

  • Mod Authors
  • PipPipPipPipPipPip
  • 375 posts

Posted 20 August 2016 - 09:14 PM

Do you still need this?  Cause I can whip one up fairly quick.

No, that was to test the pex format and I ended up doing fine without those, but big thanks! :D


  • 0

#41 euphoricknave

euphoricknave

    Prisoner

  • Members
  • 2 posts

Posted 20 August 2016 - 11:38 PM

This is fantastic. Thank you so much for this.

 

With a modlist of 763 in MO, you've saved 31 scripts of mine. Though of those 6 were from mods I had to remove from my merges because they didn't work. 

Didn't think it would matter if I rebuilt them but it's easy enough to figure out which scripts I shouldn't keep.

 

Great stuff!!

 

Ok here's my suggestion for a feature. Could you output the source .psc scripts as well?


Edited by euphoricknave, 20 August 2016 - 11:43 PM.

  • 0

#42 archer

archer

    Guard

  • Members
  • PipPip
  • 63 posts

Posted 21 August 2016 - 01:18 AM

Only works wit MO? That's not good... :>:(:


  • 0

#43 hishutup

hishutup

    Daedric Prince

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,567 posts

Posted 21 August 2016 - 01:29 AM

Only works wit MO? That's not good... :>:(:

Its because it would overwrite a manual installation and when you go to rebuild it, the scripts would be permanently broken until they are replaced by the originals.

For Skyrim, MO is superior.


 

Ok here's my suggestion for a feature. Could you output the source .psc scripts as well?

That kind of defeats one of the reasons to edit the pex decompiler.

I guess Ganda could make it an optional but that is up to him

 

However, you can download the one we used.



#44 dunc001

dunc001

    Thane

  • Members
  • PipPipPipPipPipPip
  • 436 posts

Posted 21 August 2016 - 02:21 AM

Nexus page is up


I'll try and get round to writing some additional intro text for the OP so it can be understood by anyone who doesn't have a clue what you're talking about or the original problems this was designed to address...
  • 0

#45 Ganda

Ganda

    Thane

  • Mod Authors
  • PipPipPipPipPipPip
  • 375 posts

Posted 21 August 2016 - 08:48 AM

I'll try and get round to writing some additional intro text for the OP so it can be understood by anyone who doesn't have a clue what you're talking about or the original problems this was designed to address...

Thanks dunc :p I completely suck at descriptions


  • 0


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users