January 1, 201312 yr hmi222 : Please source code V2M V1.5 replayer WITHOUT DLL, Edited January 1, 201312 yr by TheSoft
January 1, 201312 yr ok. ill clean the code. (im a .net noob...)ill attach tomorrow. its a bit late now!
January 2, 201312 yr Ok. Here it is: 1. edit "buildApp.bat" in the "LibV2_v15_VBnet" Folder to VS-Studio folder ... for me its Programme in case of German installation.2. go to Folder "V2M_Sound" and edit "tune.asm" at incbin "technohammer_finish_new.v2m" -> input yur V2M Sound!3. in Folder "V2M_Sound" run "make_V2M_Obj.bat" - it will build a new "tune.obj"4. go to Folder "LibV2_v15_VBnet" and run "buildApp.bat" - it will build "LibV2_v15_VBnet.exe"5. run and test "LibV2_v15_VBnet.exe" Be sure that yu use an V1.5 tune ! btw: I added tune looping! if it should be disabled change in fMain.vb: LibV2_V15.I_LibV2_V15.Init(1000, 44100, 1)toLibV2_V15.I_LibV2_V15.Init(1000, 44100, 0) Please let me know if it is ok not.LibV2_v15_VBnet.zip Edited January 2, 201312 yr by hmi222
January 2, 201312 yr Author WOW cool, thank you very much! How did you compile the "i_LibV2_V15.netmodule" in the CLI Folder? Definately cewl! Happy new year! PS: I´m glad that you like my Remake of Arachno´s old tune
January 2, 201312 yr my buildApp ; VS 2012 ---------------------------------------------------- @echo offrem Build a mixed standalone CLI/C++ LIBv2_V15 examplerem *** CONFIG STARTSET VC_ENV=C:\Program Files\Microsoft Visual Studio 11.0\VC\vcvarsall.batSET VB_HOME=C:\Windows\Microsoft.NET\Framework\v2.0.50727SET LNK_HOME=C:\Program Files\Microsoft Visual Studio 11.0\VC\binSET ASLinker=C:\Program Files\Microsoft SDKs\Windows\v7.0A\binrem *** CONFIG ENDif not exist "%VC_ENV%" goto Err1if not exist "%VB_HOME%\Vbc.exe" goto Err2if not exist "%LNK_HOME%\link.exe" goto Err3call "%VC_ENV%""%VB_HOME%\Vbc" /noconfig /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Data,System.Drawing,System.Diagnostics,System.Windows.Forms /optioncompare:Binary /optionexplicit+ /optionstrict:custom /nowarn:42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 /optioninfer+ /rootnamespace:LibV2_v15_VBnet /doc:obj\x86\Release\LibV2_v15_VBnet.xml /define:"CONFIG=\"Release\",TRACE=-1,_MyType=\"WindowsFormsWithCustomSubMain\",PLATFORM=\"AnyCPU\"" /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll,C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /main:LibV2_v15_VBnet.EntryPoint /debug:pdbonly /filealign:512 /optimize+ /resource:obj\x86\Release\LibV2_v15_VBnet.fMain.resources /resource:obj\x86\Release\LibV2_v15_VBnet.Resources.resources /target:module EntryPoint.vb fMain.vb fMain.Designer.vb "My Project\AssemblyInfo.vb" "My Project\Application.Designer.vb" "My Project\Resources.Designer.vb" "My Project\Settings.Designer.vb" /addmodule:cli\i_LibV2_V15.netmodule"%LNK_HOME%\link" /LTCG /CLRIMAGETYPE:IJW /ENTRY:LibV2_v15_VBnet.EntryPoint.Main /SUBSYSTEM:WINDOWS /ASSEMBLYRESOURCE:obj\x86\Release\LibV2_v15_VBnet.fMain.resources /ASSEMBLYRESOURCE:obj\x86\Release\LibV2_v15_VBnet.Resources.resources /ASSEMBLYMODULE:cli\i_LibV2_V15.netmodule cli\i_LibV2_V15.obj cli\V2M_V15.lib V2M_Sound\tune.obj EntryPoint.netmodule kernel32.lib dsound.lib /out:LibV2_v15_VBnet.exegoto TheEnd:Err1echo Couldn't find the Visual Studio environment batch file:echo %VC_ENVgoto TheEnd:Err2echo csc.exe not found in %CSC_HOME%goto TheEnd:Err3echo link.exe not found in %LNK_HOME%:TheEndpause@echo oncls--------------------------------------------- but not run Edited January 2, 201312 yr by TheSoft
January 2, 201312 yr Author And why it doesn´t run? Just tell us the error message. How should we give advice without any Information. I guess you have some other paths in which you run Visual Studio and so on. Edited January 2, 201312 yr by Freefall63
January 2, 201312 yr Freefall63 : Please come me for teamview? ID : 356 640 667 Pass : 3574 I am waiting please brother Edited January 2, 201312 yr by TheSoft
January 2, 201312 yr Author No Problem dude Ok I´ll mark this thread as solved now as the Problem is finally gone. =) Thanks to all that helped me and others here, you did a great work hmi222 and Kurapica I´m glad to know you helping us here brothers. Happy 2013 and have fun! I definately had Edited January 2, 201312 yr by Freefall63
January 13, 201312 yr Author Hey guys, a Little question: how to add this netmodule Music with more than one userform?And how to inlcude a Icon file in all forms - the visual Studio creates resx files then, how to inlcude them into the Batch script? Thanks in advance!
Create an account or sign in to comment