SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 06-03-19, 04:31 PM   #11
Fader_Berg
中国水兵
 
Join Date: Jun 2009
Location: Uppland, Sweden
Posts: 278
Downloads: 48
Uploads: 0
Default

Quote:
Originally Posted by areo16 View Post
I do sympathize here as concerns to working with other people's code that may not have the same disciplines as yourself, same education or even understanding of design principles.
hsie made a great deal of work that impressed me and others. I really don't care how his code looks like while it works and I don't need to get in touch with it.


Quote:
Originally Posted by areo16 View Post
It's quite frustrating (not to say that either of those developers in question used bad practices as I haven't spent much time looking at the source. I do know however, that working with assembly is so low-level that any design concepts, if they can be applied, that are common with higher level languages can't be applied to assembly.). I'd really hate to design a whole application in assembly to begin with, why not read the byte values in a higher level language and output the modified bytes to executable?
The problem is where the two patches interfere with each other. It can't be avoided and has to be dealt with.
I tried at first. In some parts of the patSH3r source code you can still see that I tried it. It's mentioned in the comments (which I've forgotten to update when I gave up).


If I make one patch I might end up having to write two or more patches to make it compatible with hsies. One when hsie.A i enabled. One more when hsie.A is disabled. Fu*k... it crashes. This because a variable in the hsie.A-code are also being used in hsie.C and -F-code too, and doesn't get updated correctly now. I have to figure out how this variable works in fragmented, disorganized and very sparse commented code in gerrman. By the way... which other hsie-features uses this variable also?! Not to mention all variables that are being used between A, B, G and O that I may have missed, and doesn't result in a crash. That's gonna affect the game somehow. It probably ends up in some "when I got 56% oxy left and the clock is 12:42 a friday the submarine crashdives"-bug.
I just puked in my mouth.



No! If I have to fill my my spare time with something extremely hard and boring. I rather work extra and make some money instead.
__________________
patSH3r-developer, (https://fb.tuxxor.net)
Type II junkie

Last edited by Fader_Berg; 06-03-19 at 04:49 PM.
Fader_Berg is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:22 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.